chef 12.3.0.rc.0-x86-mingw32 → 12.3.0-x86-mingw32
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: eb639d2c2583d9b19124978c7fab0ba163fa9cfa
|
4
|
+
data.tar.gz: c4d50ed83d16869edea7ef90ab02e1b36977bc24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df53fd500a09615e01dd3267a301c00b463232aeea19a4640623054dee8732fa3770861f2a9259f7fad9807ae57d897033a562fd2db584aee38c66636fde6d15
|
7
|
+
data.tar.gz: 4db10cb9ac723b9dee1a7c210423256aaa69401f7c09a8706fb2a0f14af52ee1d1122f0b031718848f102a91e04d6ecb5fa0032d1f808fb395c7282004af4929
|
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: x86-mingw32
|
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
|
@@ -2215,12 +2215,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2215
2215
|
version: 2.0.0
|
2216
2216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2217
2217
|
requirements:
|
2218
|
-
- - "
|
2218
|
+
- - ">="
|
2219
2219
|
- !ruby/object:Gem::Version
|
2220
|
-
version:
|
2220
|
+
version: '0'
|
2221
2221
|
requirements: []
|
2222
2222
|
rubyforge_project:
|
2223
|
-
rubygems_version: 2.4.
|
2223
|
+
rubygems_version: 2.4.4
|
2224
2224
|
signing_key:
|
2225
2225
|
specification_version: 4
|
2226
2226
|
summary: A systems integration framework, built to bring the benefits of configuration
|