knife-solve 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/knife/solve.rb +7 -1
- data/lib/knife-solve/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69089312483fd902f72804d5be36ade7c8402183
|
4
|
+
data.tar.gz: a9cd69a52e4d83fc125a0e8d85af0fd5c84201ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e862f4ed61efd2aeac5bca8badd93ec4787de918ce60ccd38c83a6fcd75e0ac4c58ef5678f438610a82cbbc435525ff260cdc837babd7246f3283bd8624dcb20
|
7
|
+
data.tar.gz: 2728f9540330e42f01e5ffdea17e16b4a0181915633f1e86e953a9f486293cecb1ce4df41481ba7f1d7e3f5da1a3c87d58d44f05478f08e97296053cece6e999
|
data/lib/chef/knife/solve.rb
CHANGED
@@ -58,7 +58,13 @@ class Chef
|
|
58
58
|
ui.info("Solving [#{cookbooks.join(', ')}] in #{environment} environment")
|
59
59
|
solution = solve_cookbooks(environment, cookbooks)
|
60
60
|
solution.sort.each do |name, cb|
|
61
|
-
|
61
|
+
# Newer Chef doesn't auto-inflate the object.
|
62
|
+
version = if cb.is_a?(Hash)
|
63
|
+
cb['version']
|
64
|
+
else
|
65
|
+
cb.version
|
66
|
+
end
|
67
|
+
msg("#{name} #{version}")
|
62
68
|
end
|
63
69
|
end
|
64
70
|
|
data/lib/knife-solve/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-solve
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02
|
11
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.
|
136
|
+
rubygems_version: 2.5.2
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: A knife plugin to display cookbook version solutions.
|