cheffish 3.0.0 → 3.0.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 +4 -4
- data/Rakefile +3 -3
- data/lib/cheffish/rspec/repository_support.rb +3 -5
- data/lib/cheffish/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: 23aab5da23af33b7dde2a9492c9ad1aa385fdbe6
|
|
4
|
+
data.tar.gz: f3fc0553f1eecd73c40cef4c6deceb9685192936
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0a690e7e2b33ea065b392c5c5fd276c61e19acbd49a368e4ab8becadce326396b2d3bf3e0d1755499837de2d645cf50519583a4ff8be38e8b9ae528fa6aca50
|
|
7
|
+
data.tar.gz: 78ba6fc34f0391b88b33004913de857d86e6839d9718e214dc9d0c43669dfa5040556f58b826b5d62e3e61d97403ab8da3d8f5cecdb7a64ac52448491d7ab3e8
|
data/Rakefile
CHANGED
|
@@ -28,9 +28,9 @@ begin
|
|
|
28
28
|
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
29
29
|
require "cheffish/version"
|
|
30
30
|
config.future_release = Cheffish::VERSION
|
|
31
|
-
config.enhancement_labels = "enhancement,Enhancement,New Feature".split(
|
|
32
|
-
config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(
|
|
33
|
-
config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog".split(
|
|
31
|
+
config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature".split(",")
|
|
32
|
+
config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
|
|
33
|
+
config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question,Discussion".split(",")
|
|
34
34
|
end
|
|
35
35
|
rescue LoadError
|
|
36
36
|
end
|
|
@@ -14,7 +14,7 @@ module Cheffish
|
|
|
14
14
|
raise "Can only create one directory per test" if @repository_dir
|
|
15
15
|
@repository_dir = Dir.mktmpdir('chef_repo')
|
|
16
16
|
Chef::Config.chef_repo_path = @repository_dir
|
|
17
|
-
%w(client cookbook data_bag
|
|
17
|
+
%w(client cookbook data_bag environment node role user).each do |object_name|
|
|
18
18
|
Chef::Config.delete("#{object_name}_path".to_sym)
|
|
19
19
|
end
|
|
20
20
|
end
|
|
@@ -22,7 +22,7 @@ module Cheffish
|
|
|
22
22
|
after :each do
|
|
23
23
|
if @repository_dir
|
|
24
24
|
begin
|
|
25
|
-
%w(client cookbook data_bag
|
|
25
|
+
%w(client cookbook data_bag environment node role user).each do |object_name|
|
|
26
26
|
Chef::Config.delete("#{object_name}_path".to_sym)
|
|
27
27
|
end
|
|
28
28
|
Chef::Config.delete(:chef_repo_path)
|
|
@@ -48,10 +48,8 @@ module Cheffish
|
|
|
48
48
|
FileUtils.mkdir_p(dir) unless dir == '.'
|
|
49
49
|
File.open(filename, 'w') do |file|
|
|
50
50
|
raw = case contents
|
|
51
|
-
when Hash
|
|
51
|
+
when Hash, Array
|
|
52
52
|
JSON.pretty_generate(contents)
|
|
53
|
-
when Array
|
|
54
|
-
contents.join("\n")
|
|
55
53
|
else
|
|
56
54
|
contents
|
|
57
55
|
end
|
data/lib/cheffish/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cheffish
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Keiser
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-08-
|
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chef-zero
|
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
130
130
|
version: '0'
|
|
131
131
|
requirements: []
|
|
132
132
|
rubyforge_project:
|
|
133
|
-
rubygems_version: 2.
|
|
133
|
+
rubygems_version: 2.6.6
|
|
134
134
|
signing_key:
|
|
135
135
|
specification_version: 4
|
|
136
136
|
summary: A library to manipulate Chef in Chef.
|