heroku_release 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ # 0.2.4 (Sep 27 2011)
4
+
5
+ * Bugfix: we would prompt twice for tag comment if it was not in an environment variable
6
+
3
7
  # 0.2.3 (Sep 27 2011)
4
8
 
5
9
  * Bugfix: The changelog file was missing the current release, it needs to include the tag that has not been added yet. The heroku_release:log was correct though. I considered removing the CHANGELOG file altogether to simplify things but I'm keeping it around since I like it (unfortunately the code is getting smelly now - refactoring needed).
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- heroku_release (0.2.3)
4
+ heroku_release (0.2.4)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -34,6 +34,7 @@ module HerokuRelease
34
34
 
35
35
  def tag
36
36
  release_name = get_release_name
37
+ tag_comment = get_tag_comment
37
38
  quoted_tag_comment = single_quote(tag_comment)
38
39
 
39
40
  if config.version_file_path || config.changelog_path
@@ -102,7 +103,7 @@ module HerokuRelease
102
103
  string.gsub("'") { %q{'\''} } # quote single quotes
103
104
  end
104
105
 
105
- def tag_comment
106
+ def get_tag_comment
106
107
  return ENV['COMMENT'] if ENV['COMMENT']
107
108
  if config.prompt_for_comments
108
109
  print "Required - please enter a release comment: "
@@ -1,3 +1,3 @@
1
1
  module HerokuRelease
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: heroku_release
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.3
5
+ version: 0.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Peter Marklund
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-27 00:00:00 Z
13
+ date: 2011-09-28 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- hash: -1580450884279506336
85
+ hash: 1602853448831888376
86
86
  segments:
87
87
  - 0
88
88
  version: "0"
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- hash: -1580450884279506336
94
+ hash: 1602853448831888376
95
95
  segments:
96
96
  - 0
97
97
  version: "0"