cheffish 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +9 -0
- data/Rakefile +9 -6
- data/cheffish.gemspec +0 -3
- data/lib/cheffish/basic_chef_client.rb +1 -2
- data/lib/cheffish/chef_run.rb +1 -1
- data/lib/cheffish/version.rb +1 -1
- metadata +3 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 022a485b17e434b4e98527e43e8845ab31a296b3
|
4
|
+
data.tar.gz: 3fb4cfab763245933d1d3ef81a7dbf296d4e3adb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5045161d216acfd17e94f0f87c3ab1f9babf014c144f8c964a61409cf9c2a65e973e65a0dd77f4d5416e7ac5af86978b303558d4f34a0c413f90f16513225114
|
7
|
+
data.tar.gz: e7f5462c25028a933b25aaf9a25c631f843a7e2e4af551fe738141e42f2c26d1536ee2214180aa70de43a36bc08150308f0c2b41521bbeef9d4165c95a4efc4b
|
data/Gemfile
CHANGED
@@ -3,6 +3,15 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in ruby-project-template.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
+
group :development do
|
7
|
+
gem 'rake'
|
8
|
+
gem 'rspec', '~> 3.0'
|
9
|
+
end
|
10
|
+
|
11
|
+
group :changelog do
|
12
|
+
gem 'github_changelog_generator'
|
13
|
+
end
|
14
|
+
|
6
15
|
# Allow Travis to run tests with different dependency versions
|
7
16
|
if ENV['GEMFILE_MOD']
|
8
17
|
puts ENV['GEMFILE_MOD']
|
data/Rakefile
CHANGED
@@ -22,11 +22,14 @@ RDoc::Task.new do |rdoc|
|
|
22
22
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
23
23
|
end
|
24
24
|
|
25
|
-
|
25
|
+
begin
|
26
|
+
require 'github_changelog_generator/task'
|
26
27
|
|
27
|
-
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
29
|
+
# config.future_release = ChefZero::VERSION
|
30
|
+
config.enhancement_labels = "enhancement,Enhancement,New Feature".split(',')
|
31
|
+
config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(',')
|
32
|
+
config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog".split(',')
|
33
|
+
end
|
34
|
+
rescue LoadError
|
32
35
|
end
|
data/cheffish.gemspec
CHANGED
@@ -16,9 +16,6 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.add_dependency 'compat_resource'
|
17
17
|
|
18
18
|
s.add_development_dependency 'chef', '~> 12.2'
|
19
|
-
s.add_development_dependency 'rake'
|
20
|
-
s.add_development_dependency 'rspec', '~> 3.0'
|
21
|
-
s.add_development_dependency 'github_changelog_generator'
|
22
19
|
s.bindir = "bin"
|
23
20
|
s.executables = %w( )
|
24
21
|
|
@@ -48,7 +48,6 @@ module Cheffish
|
|
48
48
|
attr_reader :run_context
|
49
49
|
attr_accessor :cookbook_name
|
50
50
|
attr_accessor :recipe_name
|
51
|
-
def_delegators :@run_context, :resource_collection, :immediate_notifications, :delayed_notifications
|
52
51
|
|
53
52
|
def add_resource(resource)
|
54
53
|
with_chef_config do
|
@@ -66,7 +65,7 @@ module Cheffish
|
|
66
65
|
|
67
66
|
def converge
|
68
67
|
with_chef_config do
|
69
|
-
Chef::Runner.new(
|
68
|
+
Chef::Runner.new(run_context).converge
|
70
69
|
end
|
71
70
|
end
|
72
71
|
|
data/lib/cheffish/chef_run.rb
CHANGED
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: 2.0.
|
4
|
+
version: 2.0.3
|
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-
|
11
|
+
date: 2016-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-zero
|
@@ -52,48 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '12.2'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '3.0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: github_changelog_generator
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
55
|
description: A library to manipulate Chef in Chef.
|
98
56
|
email: jkeiser@chef.io
|
99
57
|
executables: []
|
@@ -186,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
144
|
version: '0'
|
187
145
|
requirements: []
|
188
146
|
rubyforge_project:
|
189
|
-
rubygems_version: 2.
|
147
|
+
rubygems_version: 2.5.2
|
190
148
|
signing_key:
|
191
149
|
specification_version: 4
|
192
150
|
summary: A library to manipulate Chef in Chef.
|