chef 12.3.0.rc.0 → 12.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/audit/runner.rb +1 -0
- data/lib/chef/mixin/provides.rb +1 -0
- data/lib/chef/provider_resolver.rb +3 -1
- data/lib/chef/version.rb +1 -1
- data/spec/unit/provider_resolver_spec.rb +4 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8106caa3ebdeed124b7d48ad5c24b5e47d93a844
|
4
|
+
data.tar.gz: 3f03dcdde35ca5468590d30ed7143d3e1d922df5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dc023f2762cc9ce0a9b54660c76181a2fb8f2f699f00f221fb8587b69185a563f924714e4167e52c4c653d20f025ca3ff7a2623fe6cd05f459a19e2b49bdbcc
|
7
|
+
data.tar.gz: 759ae4706418ac77799141829e7bb286e5e17c694bf00a20395a88463711b7e9ee2254be645f942d06b35f66f5b09a95036464ea767c2f56a068019c7607fc71
|
data/lib/chef/audit/runner.rb
CHANGED
data/lib/chef/mixin/provides.rb
CHANGED
@@ -47,7 +47,9 @@ class Chef
|
|
47
47
|
def enabled_handlers
|
48
48
|
@enabled_handlers ||=
|
49
49
|
providers.select do |klass|
|
50
|
-
|
50
|
+
# NB: this is different from resource_resolver which must pass a resource_name
|
51
|
+
# FIXME: deprecate this and normalize on passing resource_name here
|
52
|
+
klass.provides?(node, resource)
|
51
53
|
end.sort {|a,b| a.to_s <=> b.to_s }
|
52
54
|
end
|
53
55
|
|
data/lib/chef/version.rb
CHANGED
@@ -46,6 +46,10 @@ describe Chef::ProviderResolver do
|
|
46
46
|
|
47
47
|
let(:resource) { double(Chef::Resource, provider: provider, resource_name: resource_name) }
|
48
48
|
|
49
|
+
before do
|
50
|
+
allow(resource).to receive(:is_a?).with(Chef::Resource).and_return(true)
|
51
|
+
end
|
52
|
+
|
49
53
|
describe "resolving service resource" do
|
50
54
|
def stub_service_providers(*services)
|
51
55
|
services ||= []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.3.0
|
4
|
+
version: 12.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-config
|
@@ -2040,12 +2040,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2040
2040
|
version: 2.0.0
|
2041
2041
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2042
2042
|
requirements:
|
2043
|
-
- - "
|
2043
|
+
- - ">="
|
2044
2044
|
- !ruby/object:Gem::Version
|
2045
|
-
version:
|
2045
|
+
version: '0'
|
2046
2046
|
requirements: []
|
2047
2047
|
rubyforge_project:
|
2048
|
-
rubygems_version: 2.4.
|
2048
|
+
rubygems_version: 2.4.4
|
2049
2049
|
signing_key:
|
2050
2050
|
specification_version: 4
|
2051
2051
|
summary: A systems integration framework, built to bring the benefits of configuration
|