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 +3 -0
- data/lib/chef/knife/community_release.rb +1 -1
- data/lib/knife-community/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
@@ -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
|
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
|
|
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.
|
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-
|
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: -
|
222
|
+
hash: -2561771346968209415
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
225
|
rubygems_version: 1.8.25
|