shipit-engine 0.17.0 → 0.18.0
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/pull_request.rb +8 -2
- data/app/models/shipit/task.rb +8 -2
- data/lib/shipit/version.rb +1 -1
- data/lib/shipit.rb +1 -1
- metadata +8 -92
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f13ba52ac100c1c0d4bf8d32359864ccca6c0e4
|
4
|
+
data.tar.gz: 7ed436ab9d86d67a4501f7a68917fd8a625fe4dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 329503af159a4b9eabcd4a01e4fc82d48ab44b5e75780fe3c3d7a4cf3e7850b6074f489be837ba3d06a009f3adaffd88b92ef97b28980bbf3cff5e5af0a663e2
|
7
|
+
data.tar.gz: 3d5c1db15114c286e8d6196a92ca7ac38401b3ff5a1d86ab6adfeb1d8935e2cd964fe86046ee9cd15c98251b7428b9fc0c213612d68d6ab370a941c4049e75f9
|
@@ -243,8 +243,14 @@ module Shipit
|
|
243
243
|
|
244
244
|
private
|
245
245
|
|
246
|
-
|
247
|
-
|
246
|
+
if Rails.gem_version >= Gem::Version.new('5.1.0.beta1')
|
247
|
+
def record_merge_status_change
|
248
|
+
@merge_status_changed ||= saved_change_to_attribute?(:merge_status)
|
249
|
+
end
|
250
|
+
else
|
251
|
+
def record_merge_status_change
|
252
|
+
@merge_status_changed ||= merge_status_changed?
|
253
|
+
end
|
248
254
|
end
|
249
255
|
|
250
256
|
def emit_hooks
|
data/app/models/shipit/task.rb
CHANGED
@@ -242,8 +242,14 @@ module Shipit
|
|
242
242
|
File.join(stack.deploys_path, id.to_s)
|
243
243
|
end
|
244
244
|
|
245
|
-
|
246
|
-
|
245
|
+
if Rails.gem_version >= Gem::Version.new('5.1.0.beta1')
|
246
|
+
def record_status_change
|
247
|
+
@status_changed ||= saved_change_to_attribute?(:status)
|
248
|
+
end
|
249
|
+
else
|
250
|
+
def record_status_change
|
251
|
+
@status_changed ||= status_changed?
|
252
|
+
end
|
247
253
|
end
|
248
254
|
|
249
255
|
def emit_hooks
|
data/lib/shipit/version.rb
CHANGED
data/lib/shipit.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shipit-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
@@ -25,103 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '10.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.
|
33
|
+
version: 5.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: actionview
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 5.0.0
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 5.0.0
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: activejob
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 5.0.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 5.0.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: activemodel
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 5.0.0
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 5.0.0
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: activerecord
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 5.0.0
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 5.0.0
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: activesupport
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 5.0.0
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 5.0.0
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: railties
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 5.0.0
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 5.0.0
|
40
|
+
version: 5.1.0
|
125
41
|
- !ruby/object:Gem::Dependency
|
126
42
|
name: securecompare
|
127
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +72,14 @@ dependencies:
|
|
156
72
|
requirements:
|
157
73
|
- - "~>"
|
158
74
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
75
|
+
version: 0.3.0
|
160
76
|
type: :runtime
|
161
77
|
prerelease: false
|
162
78
|
version_requirements: !ruby/object:Gem::Requirement
|
163
79
|
requirements:
|
164
80
|
- - "~>"
|
165
81
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.
|
82
|
+
version: 0.3.0
|
167
83
|
- !ruby/object:Gem::Dependency
|
168
84
|
name: state_machines-activerecord
|
169
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +156,14 @@ dependencies:
|
|
240
156
|
requirements:
|
241
157
|
- - "~>"
|
242
158
|
- !ruby/object:Gem::Version
|
243
|
-
version: 2.
|
159
|
+
version: 2.4.0
|
244
160
|
type: :runtime
|
245
161
|
prerelease: false
|
246
162
|
version_requirements: !ruby/object:Gem::Requirement
|
247
163
|
requirements:
|
248
164
|
- - "~>"
|
249
165
|
- !ruby/object:Gem::Version
|
250
|
-
version: 2.
|
166
|
+
version: 2.4.0
|
251
167
|
- !ruby/object:Gem::Dependency
|
252
168
|
name: attr_encrypted
|
253
169
|
requirement: !ruby/object:Gem::Requirement
|