shipit-engine 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/shipit/commit_deployment.rb +1 -1
- data/app/models/shipit/deploy.rb +1 -1
- data/lib/shipit/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d5393d2f7c4aa382b7b0466888eb89086ebb9f0
|
4
|
+
data.tar.gz: f58594b87525c88cb87e1127e56d297bfbc58173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 308a57a785ef7a4ac7d9b1c851387b1f519fc4bfed8b438bcba5e8afb1a4610cf52c40e953fd18d76a6dacd7f567e0b45e03f08426101adba381d2366dc48c1d
|
7
|
+
data.tar.gz: 8336d05b58459dd13d1705f3bdba0ece313d9eab7efe3bef3be3c56ec1ea69d06fa26a49c2236b65e9ca5361636f415a2c7b3dd1e4616b05848bd5544fca3f1c
|
@@ -2,7 +2,7 @@ module Shipit
|
|
2
2
|
class CommitDeployment < ActiveRecord::Base
|
3
3
|
belongs_to :commit
|
4
4
|
belongs_to :task
|
5
|
-
has_many :statuses, class_name: 'CommitDeploymentStatus'
|
5
|
+
has_many :statuses, dependent: :destroy, class_name: 'CommitDeploymentStatus'
|
6
6
|
|
7
7
|
after_commit :schedule_create_on_github, on: :create
|
8
8
|
|
data/app/models/shipit/deploy.rb
CHANGED
@@ -11,7 +11,7 @@ module Shipit
|
|
11
11
|
after_transition any => any, do: :update_commit_deployments
|
12
12
|
end
|
13
13
|
|
14
|
-
has_many :commit_deployments, inverse_of: :task, foreign_key: :task_id do
|
14
|
+
has_many :commit_deployments, dependent: :destroy, inverse_of: :task, foreign_key: :task_id do
|
15
15
|
GITHUB_STATUSES = {
|
16
16
|
'pending' => 'pending',
|
17
17
|
'failed' => 'failure',
|
data/lib/shipit/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shipit-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|