knife-tidy 0.6.0 → 0.6.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: 4e939b5f2365a5bc785f96d981cb13689a2d2fe8
4
- data.tar.gz: 173c5171a7aa7370076f9ffa62d5b5aa0ad57f93
3
+ metadata.gz: 60a150c120a04db504d0a45032efbf9426bbdcfc
4
+ data.tar.gz: 21e0ade15f1e70010c329b0e957e2346ca1cb364
5
5
  SHA512:
6
- metadata.gz: 63f3d78e8a54eaf7ebebbc68a60d3dc929abac189631e1d08d47cc856d6a51e366c1cf3b0e24223430ca9883bfb50cc6a2aff8325e84ff8c016189d34c25e268
7
- data.tar.gz: 2c9fdce8962ee8e7dcbebc780733d40e3dc4297dfc6542b2367b4718f01837543e9cbff6566be7c5f89af7a93c5c1299243a68072a55a1391e236a561767dcb5
6
+ metadata.gz: 4534399f82061ce69215d280b431a4880c42accaa39f229e4f38cf9c71ff12d856734ebf6a129c1318e0f8b72c6a5ed1c61e81dd7bd6380733fa28750a583e13
7
+ data.tar.gz: f0dbc8390ffb48af2193e100ac0a06a7b081359113a03bd2acac64b8e7f929860025fca818f15f1fcb33d2f97fdb8302d8e0a43c9e9b152837de20ea1a6bab5d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.6.1](https://github.com/chef-customers/knife-tidy/tree/0.6.1) (2017-10-26)
4
+ [Full Changelog](https://github.com/chef-customers/knife-tidy/compare/0.6.0...0.6.1)
5
+
6
+ **Closed issues:**
7
+
8
+ - knife tidy server clean - org names with \_ [\#53](https://github.com/chef-customers/knife-tidy/issues/53)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - fixing orgs with underscores [\#54](https://github.com/chef-customers/knife-tidy/pull/54) ([jeremymv2](https://github.com/jeremymv2))
13
+ - Jeremymv2/release 0 6 0 [\#52](https://github.com/chef-customers/knife-tidy/pull/52) ([jeremymv2](https://github.com/jeremymv2))
14
+
3
15
  ## [0.6.0](https://github.com/chef-customers/knife-tidy/tree/0.6.0) (2017-10-23)
4
16
  [Full Changelog](https://github.com/chef-customers/knife-tidy/compare/0.5.2...0.6.0)
5
17
 
@@ -132,13 +132,13 @@ class Chef
132
132
  end
133
133
 
134
134
  def report_files
135
- Dir[::File.join(tidy.reports_dir, '**')]
135
+ Dir[::File.join(tidy.reports_dir, '**.json')]
136
136
  end
137
137
 
138
138
  def all_orgs
139
139
  orgs = []
140
140
  report_files.each do |file|
141
- org = ::File.basename(file).match(/^(.*?)_/).captures[0]
141
+ org = ::File.basename(file).match(/^(.*?)_(cookbook_count|unused_cookbooks|stale_nodes)\.json/).captures[0]
142
142
  if org
143
143
  orgs.push(org) unless orgs.include?(org)
144
144
  end
@@ -1,4 +1,4 @@
1
1
  module KnifeTidy
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.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.6.0
4
+ version: 0.6.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-23 00:00:00.000000000 Z
11
+ date: 2017-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake