knife-community 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.1.1 - March 1, 2013
2
+
3
+ - BugFix: Version bumper was updating more than it should, in the case where a version string was found more than once in `metadata.rb`.
1
4
 
2
5
  # v0.1.0 - February 26, 2013
3
6
 
@@ -215,7 +215,7 @@ module KnifeCommunity
215
215
  def set_new_cb_version
216
216
  metadata_file = File.join(@cb_path, "metadata.rb")
217
217
  fi = File.read(metadata_file)
218
- fi.gsub!(@cb_version.to_s, @version.to_s)
218
+ fi.gsub!(/version(\s+)('|")#{@cb_version.to_s}('|")/, "version\\1\\2#{@version.to_s}\\3")
219
219
  fo = File.open(metadata_file, 'w') { |file| file.puts fi }
220
220
  end
221
221
 
@@ -1,3 +1,3 @@
1
1
  module KnifeCommunity
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-community
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  segments:
221
221
  - 0
222
- hash: -2662573135951615840
222
+ hash: -2561771346968209415
223
223
  requirements: []
224
224
  rubyforge_project:
225
225
  rubygems_version: 1.8.25