knife-chef-inventory 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +8 -0
- data/knife-chef-inventory.gemspec +2 -0
- data/lib/chef/knife/inventory_chef_client.rb +1 -1
- data/lib/chef/knife/inventory_cookbook.rb +1 -1
- data/lib/knife-chef-inventory/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 891a467a33c1abb7858971a44f1fe4bf5a3ca027
|
4
|
+
data.tar.gz: 821c5da2b406afddd996d41256c46987fd87408d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd37739b7bcd75d96a883690a91cfcfe555e6ef4fa2b5fd5ae9873e6491675ec44a206a44d2e7853759f0562f6b2f511a8bc9c3a7dc544973388041faa0b55f4
|
7
|
+
data.tar.gz: f61c912efc5a9db935c6307e8a4a52434922637569327363e8fea9d1f366e19fc3303496e7448cb8076bddde4b6a6e19906b3cf63558a77bea3a36f6598c09cb
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.1.8
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,18 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v0.2.0](https://github.com/brentm5/knife-chef-inventory/tree/v0.2.0) (2016-08-16)
|
4
|
+
[Full Changelog](https://github.com/brentm5/knife-chef-inventory/compare/v0.1.0...v0.2.0)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- Fix when using ruby 2.1.8 [\#9](https://github.com/brentm5/knife-chef-inventory/pull/9) ([brentm5](https://github.com/brentm5))
|
9
|
+
|
3
10
|
## [v0.1.0](https://github.com/brentm5/knife-chef-inventory/tree/v0.1.0) (2016-08-12)
|
4
11
|
[Full Changelog](https://github.com/brentm5/knife-chef-inventory/compare/v0.0.1...v0.1.0)
|
5
12
|
|
6
13
|
**Merged pull requests:**
|
7
14
|
|
15
|
+
- Add changelog generator and cleanup naming [\#7](https://github.com/brentm5/knife-chef-inventory/pull/7) ([brentm5](https://github.com/brentm5))
|
8
16
|
- Update banner for inventory\_cookbook.rb [\#6](https://github.com/brentm5/knife-chef-inventory/pull/6) ([afiune](https://github.com/afiune))
|
9
17
|
- Add more information to readme [\#4](https://github.com/brentm5/knife-chef-inventory/pull/4) ([brentm5](https://github.com/brentm5))
|
10
18
|
- Add more to the readme and fix travis [\#3](https://github.com/brentm5/knife-chef-inventory/pull/3) ([brentm5](https://github.com/brentm5))
|
@@ -58,7 +58,7 @@ class Chef
|
|
58
58
|
client_usage = client_usage_per_version[version]
|
59
59
|
return unless client_usage
|
60
60
|
|
61
|
-
ui.info "#{version} is used by #{client_usage} hosts" if client_usage
|
61
|
+
ui.info "#{version} is used by #{client_usage} hosts" if client_usage > 0
|
62
62
|
end
|
63
63
|
|
64
64
|
def time_since(timestamp)
|
@@ -93,7 +93,7 @@ class Chef
|
|
93
93
|
def analyze_version(version)
|
94
94
|
cookbook_usage = cookbook_usage_per_version[version]
|
95
95
|
if cookbook_usage
|
96
|
-
ui.info "#{version} is used by #{cookbook_usage} hosts" if cookbook_usage
|
96
|
+
ui.info "#{version} is used by #{cookbook_usage} hosts" if cookbook_usage > 0
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-chef-inventory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brent Montague
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|
@@ -111,9 +111,9 @@ require_paths:
|
|
111
111
|
- lib
|
112
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- - "
|
114
|
+
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '2.1'
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
119
|
- - ">="
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.5
|
124
|
+
rubygems_version: 2.2.5
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: Chef Knife plugin to help cleanup outdated cookbooks
|