heroku_deployer 0.7.19 → 0.7.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7c02dd3f037c99b8a123a4ff3def4bcbf60f75b
4
- data.tar.gz: ae27febcd91d3dbd02a1944530ffbf811e18383f
3
+ metadata.gz: 283f7123f1226998c26c440aa8e492445abf20a9
4
+ data.tar.gz: fc1351fa7c82ede930111417116a7920328b357e
5
5
  SHA512:
6
- metadata.gz: 4ca71b8902ab3bf3d048ae9df748d2d1357a9bdd050f11d74e0ecaaa671430154ecf0b9647319880d7efdef7ee330b88c48d3cfd8059d74d79fe033af3669887
7
- data.tar.gz: 47752e1dc28a9919d22c46a84e8f04418843b2a3224032c116598b5b5544cdbb223d05a8517f0e724982d91052bfaac00a31283b2e098cddfec59fce1bb2ea09
6
+ metadata.gz: afe580321eff5319bc7cfbc90ca08d14a93f9c06a34ac3fedd0f92e5fdde999e8effe78965e6f9eebd1eff17e1f29ee9e17a0c4c5fb411db01258bf0e5f9c836
7
+ data.tar.gz: ffae0e8881c910b84c6623901e9508f92d6eace8d57aa10db759611574272bb5210f5fde1c9eeea39496be4381446cd269e930fa9f344675720ce1f332a1a560
@@ -72,6 +72,8 @@ module Amitree
72
72
  story.blocked_by = unaccepted_story_ids
73
73
  end
74
74
  puts " - Some stories are not yet accepted: #{unaccepted_story_ids.inspect}" if options[:verbose]
75
+ elsif story_ids.length == 0 && !options[:allow_empty]
76
+ puts " - Refusing to deploy empty release" if options[:verbose]
75
77
  else
76
78
  story_ids_referenced_later = story_ids & @git.stories_worked_on_between(staging_commit, 'HEAD')
77
79
  if story_ids_referenced_later.length > 0
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.19
4
+ version: 0.7.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Wargnier