knife-tidy 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/chef/knife/tidy_backup_clean.rb +1 -1
- data/lib/knife-tidy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 574027ab3af26d4383f69f812b5d4eb29c6ab51a
|
4
|
+
data.tar.gz: 1b94365fec7c20cd8428873fc30cebc9e3e3fc3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 422a2d9b1d01215eff25ce18d261a144dd05dac39b1097baae5ba1c685135b1555449fd92b970adec770b72535d8c6c8405adfad35e0c60ea221e51326aba158
|
7
|
+
data.tar.gz: 691b7f8399fb3cd3f6edb0ebd9c77a6c3b5a7685b19110200e94b568f4340f04bf075a2e59f1b18e28fb71227c00c2951e5a03651a1162be9b32f26983e0381e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [0.5.2](https://github.com/chef-customers/knife-tidy/tree/0.5.2) (2017-10-20)
|
4
|
+
[Full Changelog](https://github.com/chef-customers/knife-tidy/compare/0.5.1...0.5.2)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- fixing regex for whitespace [\#48](https://github.com/chef-customers/knife-tidy/pull/48) ([jeremymv2](https://github.com/jeremymv2))
|
9
|
+
- bump patch to 0.5.1 [\#47](https://github.com/chef-customers/knife-tidy/pull/47) ([jeremymv2](https://github.com/jeremymv2))
|
10
|
+
|
3
11
|
## [0.5.1](https://github.com/chef-customers/knife-tidy/tree/0.5.1) (2017-10-19)
|
4
12
|
[Full Changelog](https://github.com/chef-customers/knife-tidy/compare/0.5.0...0.5.1)
|
5
13
|
|
@@ -130,7 +130,7 @@ class Chef
|
|
130
130
|
def add_cookbook_name_to_metadata(cookbook_name, rb_path)
|
131
131
|
puts "REPAIRING: Correcting `name` in #{rb_path}"
|
132
132
|
content = IO.readlines(rb_path)
|
133
|
-
new_content = content.reject { |line| line =~ /^name
|
133
|
+
new_content = content.reject { |line| line =~ /^name\s+/ }
|
134
134
|
name_field = "name '#{cookbook_name}'\n"
|
135
135
|
IO.write rb_path, name_field + new_content.join('')
|
136
136
|
end
|
data/lib/knife-tidy/version.rb
CHANGED
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.
|
4
|
+
version: 0.5.2
|
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-
|
11
|
+
date: 2017-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|