heroku_deployer 0.7 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/amitree/heroku_client.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27968f17a3e95c34581da21e78f483fc3022c423
|
4
|
+
data.tar.gz: 9b0e2575ea4d85fc03063364ecd4f5512d60ef5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0c8dbc1420dd29e1a964c97ac14c7535c47a54f83239ac903d87a8921b7f3c5163bf469bed553692701a37bb917c70faee832bfdc92d1f1268315323da7fb89
|
7
|
+
data.tar.gz: 8204e6b73ffa3865de513f1d4052a6944fe05c534f2d595f774f0a12cc8c01b61506c644cff9dabab37e77d737c2764e462954d1884397687025891a6a75609f
|
@@ -34,14 +34,14 @@ module Amitree
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def staging_release_name(production_release)
|
37
|
-
unless production_release['
|
38
|
-
raise Error.new "Production release was not promoted from staging: #{production_release['
|
37
|
+
unless production_release['description'] =~ @promoted_release_regexp
|
38
|
+
raise Error.new "Production release was not promoted from staging: #{production_release['description']}"
|
39
39
|
end
|
40
40
|
$1
|
41
41
|
end
|
42
42
|
|
43
43
|
def promoted_from_staging?(release)
|
44
|
-
release['
|
44
|
+
release['description'] =~ @promoted_release_regexp
|
45
45
|
end
|
46
46
|
|
47
47
|
def staging_releases_since(staging_release_name)
|