heroku_deployer 0.7 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/amitree/heroku_client.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b37db385331039d22c8a8606c068690774e52e3
4
- data.tar.gz: d83ad7799d516a0a07aecbc2f3d70507c833b59b
3
+ metadata.gz: 27968f17a3e95c34581da21e78f483fc3022c423
4
+ data.tar.gz: 9b0e2575ea4d85fc03063364ecd4f5512d60ef5a
5
5
  SHA512:
6
- metadata.gz: 577e8d776958ab6e9e02c54c68b12f14be2d398fb0b8b1c331a40aea665e8d77571b353ddad35b6f430feaeeacc527e9f2ab296ac645fe5b3dd87daa294c418e
7
- data.tar.gz: 018b0dc7afd3c5cd3a67900a51e4aaa40c5fc60c0d229756307d8eaf9a0f160f2245bfaf1aca838a28c2e33b0e1f60a7441f660ec85cc5e9671ec16c5a81198a
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['descr'] =~ @promoted_release_regexp
38
- raise Error.new "Production release was not promoted from staging: #{production_release['descr']}"
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['descr'] =~ @promoted_release_regexp
44
+ release['description'] =~ @promoted_release_regexp
45
45
  end
46
46
 
47
47
  def staging_releases_since(staging_release_name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Wargnier