knife-spork 1.0.10 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +10 -0
- data/knife-spork.gemspec +1 -1
- data/lib/chef/knife/spork-upload.rb +5 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,17 @@
|
|
1
|
+
## 1.0.12 (22nd November, 2012)
|
2
|
+
Bugfixes:
|
3
|
+
|
4
|
+
- Fix bug where cookbook dependancy loading broke in older chef client versions as a result of a fix in 1.0.10
|
5
|
+
|
6
|
+
## 1.0.11 (22nd November, 2012)
|
7
|
+
|
8
|
+
Yanked
|
9
|
+
|
1
10
|
## 1.0.10 (22nd November, 2012)
|
2
11
|
Bugfixes:
|
3
12
|
|
4
13
|
- Load all cookbook versions from remote server when checking dependencies (thanks to gmcmillan)
|
14
|
+
- Fix case where git plugin would update a previously loaded cookbook, resulting in out of data metadata being used. (thanks to zsol)
|
5
15
|
|
6
16
|
## 1.0.9 (28th October, 2012)
|
7
17
|
Features:
|
data/knife-spork.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'knife-spork'
|
5
|
-
gem.version = '1.0.
|
5
|
+
gem.version = '1.0.12'
|
6
6
|
gem.authors = ["Jon Cowie"]
|
7
7
|
gem.email = 'jonlives@gmail.com'
|
8
8
|
gem.homepage = 'https://github.com/jonlives/knife-spork'
|
@@ -108,7 +108,11 @@ module KnifeSpork
|
|
108
108
|
end
|
109
109
|
|
110
110
|
def server_side_cookbooks(cookbook_name, version)
|
111
|
-
|
111
|
+
if Chef::CookbookVersion.respond_to?(:list_all_versions)
|
112
|
+
@server_side_cookbooks ||= Chef::CookbookVersion.list_all_versions
|
113
|
+
else
|
114
|
+
@server_side_cookbooks ||= Chef::CookbookVersion.list
|
115
|
+
end
|
112
116
|
|
113
117
|
hash = @server_side_cookbooks[cookbook_name]
|
114
118
|
hash && hash['versions'] && hash['versions'].any?{ |v| Chef::VersionConstraint.new(version).include?(v['version']) }
|