knife-tidy 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9766f389dc78f0c5c764b04ad056d0c74278751
4
- data.tar.gz: 6df96008461814fa24005126d3df61a117288cd3
3
+ metadata.gz: 071bb6ad4e8a7d71253a9c27d2d4ee403e6ba717
4
+ data.tar.gz: f0f2a4f16234607bb640b9b8f08fb3ad90ec724b
5
5
  SHA512:
6
- metadata.gz: 21bf46076b9e8dee58aea293820e13ea93d724ea240cb95c9b44e43942aab098a754aea3e31affbd9f481acacfc3eda39c9f9d1787210039aed5f20691ed00b5
7
- data.tar.gz: ec2a71913df5a0e69949e3a0a6efe59814df404db9de70d29255a77a340430ca83836cdba78ad8d8927c8a183f2516ba027a54c07be1272681f5e33521e481a9
6
+ metadata.gz: c74f705ff021fad51d91b72e4613ede50ab8bd6c64725931952f36ce64b1a903234b0df39c71cfad94e5563f89d1b3787977a5db8f77c3137047f1db1e1e8151
7
+ data.tar.gz: 7e919520072df002de5565fb0a9b81d617f04aaf20b02a11a7b293bdac01a9b3637cb645a0a06df11547b2e4e26a503ec9aa6dabfcb00651440ef87cbc81d822
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.5.1](https://github.com/chef-customers/knife-tidy/tree/0.5.1) (2017-10-19)
4
+ [Full Changelog](https://github.com/chef-customers/knife-tidy/compare/0.5.0...0.5.1)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Add node\_count to stale node json output. [\#46](https://github.com/chef-customers/knife-tidy/pull/46) ([MarkGibbons](https://github.com/MarkGibbons))
9
+ - bump to 0.5.0 [\#45](https://github.com/chef-customers/knife-tidy/pull/45) ([jeremymv2](https://github.com/jeremymv2))
10
+
3
11
  ## [0.5.0](https://github.com/chef-customers/knife-tidy/tree/0.5.0) (2017-10-06)
4
12
  [Full Changelog](https://github.com/chef-customers/knife-tidy/compare/0.4.1...0.5.0)
5
13
 
@@ -62,7 +62,7 @@ class Chef
62
62
  end
63
63
  end
64
64
 
65
- stale_nodes_hash = {'threshold_days': node_threshold, 'count': stale_nodes.count, 'list': stale_nodes}
65
+ stale_nodes_hash = {'threshold_days': node_threshold, 'org_total_node_count': nodes.count, 'count': stale_nodes.count, 'list': stale_nodes}
66
66
  stale_orgs.push(org) if stale_nodes.count == nodes.count
67
67
 
68
68
  tidy.write_new_file(unused_cookbooks(used_cookbooks, cb_list), ::File.join(tidy.reports_dir, "#{org}_unused_cookbooks.json"))
@@ -1,4 +1,4 @@
1
1
  module KnifeTidy
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  MAJOR, MINOR, TINY = VERSION.split('.')
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-tidy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake