compat_resource 12.10.4 → 12.10.5
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab9e3ef9dbc6697131f98e1369ae6209eba39c7b
|
|
4
|
+
data.tar.gz: fe8dc25d19100903fc99a29ba8814b42c0d4a1c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a0041a4035563c7b0f0e15f8ef4bec6e97db78a655098f3d73a4d86c489d07303de16e8178fa46dd048f6ed89a1ebe29b3104c6b3ea3aba27102579074a1f45
|
|
7
|
+
data.tar.gz: fa4153f2085dbf13e0e015542f6cc84f7400ecb0ceb50edacc1c70f6164584b3ab4363e5c935796941b9d3560835002d8f1bb07ff5ba1d4535878a3389608de5
|
data/Rakefile
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
begin
|
|
2
|
+
require 'chef/provider/noop'
|
|
3
|
+
rescue LoadError; end
|
|
4
|
+
|
|
5
|
+
require 'chef_compat/copied_from_chef'
|
|
6
|
+
class Chef
|
|
7
|
+
module ::ChefCompat
|
|
8
|
+
module CopiedFromChef
|
|
9
|
+
#
|
|
10
|
+
# Author:: Thom May (<thom@chef.io>)
|
|
11
|
+
# Copyright:: Copyright (c) 2016 Chef Software, Inc.
|
|
12
|
+
# License:: Apache License, Version 2.0
|
|
13
|
+
#
|
|
14
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
15
|
+
# you may not use this file except in compliance with the License.
|
|
16
|
+
# You may obtain a copy of the License at
|
|
17
|
+
#
|
|
18
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
19
|
+
#
|
|
20
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
21
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
22
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
23
|
+
# See the License for the specific language governing permissions and
|
|
24
|
+
# limitations under the License.
|
|
25
|
+
#
|
|
26
|
+
|
|
27
|
+
class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
28
|
+
class Provider < (defined?(::Chef::Provider) ? ::Chef::Provider : Object)
|
|
29
|
+
class Noop < (defined?(::Chef::Provider::Noop) ? ::Chef::Provider::Noop : Chef::Provider)
|
|
30
|
+
def load_current_resource; end
|
|
31
|
+
|
|
32
|
+
def respond_to_missing?(method_sym, include_private = false)
|
|
33
|
+
method_sym.to_s.start_with?("action_") || super
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def method_missing(method_sym, *arguments, &block)
|
|
37
|
+
if method_sym.to_s =~ /^action_/
|
|
38
|
+
Chef::Log.debug("NoOp-ing for #{method_sym}")
|
|
39
|
+
else
|
|
40
|
+
super
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: compat_resource
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 12.10.
|
|
4
|
+
version: 12.10.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Keiser
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: files/bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -90,6 +90,7 @@ files:
|
|
|
90
90
|
- files/lib/chef_compat/copied_from_chef/chef/mixin/properties.rb
|
|
91
91
|
- files/lib/chef_compat/copied_from_chef/chef/property.rb
|
|
92
92
|
- files/lib/chef_compat/copied_from_chef/chef/provider.rb
|
|
93
|
+
- files/lib/chef_compat/copied_from_chef/chef/provider/noop.rb
|
|
93
94
|
- files/lib/chef_compat/copied_from_chef/chef/resource.rb
|
|
94
95
|
- files/lib/chef_compat/copied_from_chef/chef/resource/action_class.rb
|
|
95
96
|
- files/lib/chef_compat/copied_from_chef/chef/resource_builder.rb
|
|
@@ -118,9 +119,7 @@ files:
|
|
|
118
119
|
- files/lib/compat_resource/gemspec.rb
|
|
119
120
|
- files/lib/compat_resource/version.rb
|
|
120
121
|
- files/spec/cookbook_spec.rb
|
|
121
|
-
- files/spec/data/.bundle/config
|
|
122
122
|
- files/spec/data/Gemfile
|
|
123
|
-
- files/spec/data/Gemfile.lock
|
|
124
123
|
- files/spec/data/config.rb
|
|
125
124
|
- files/spec/data/cookbooks/cloning/metadata.rb
|
|
126
125
|
- files/spec/data/cookbooks/cloning/providers/resource.rb
|
|
@@ -169,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
169
168
|
version: '0'
|
|
170
169
|
requirements: []
|
|
171
170
|
rubyforge_project:
|
|
172
|
-
rubygems_version: 2.4.
|
|
171
|
+
rubygems_version: 2.4.5.1
|
|
173
172
|
signing_key:
|
|
174
173
|
specification_version: 4
|
|
175
174
|
summary: Bring some new features of Chef 12.5 to previous 12.X releases
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
--- {}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
GEM
|
|
2
|
-
remote: https://rubygems.org/
|
|
3
|
-
specs:
|
|
4
|
-
chef (12.0.1)
|
|
5
|
-
chef-zero (~> 3.2)
|
|
6
|
-
diff-lcs (~> 1.2, >= 1.2.4)
|
|
7
|
-
erubis (~> 2.7)
|
|
8
|
-
ffi-yajl (~> 1.2)
|
|
9
|
-
highline (~> 1.6, >= 1.6.9)
|
|
10
|
-
mixlib-authentication (~> 1.3)
|
|
11
|
-
mixlib-cli (~> 1.4)
|
|
12
|
-
mixlib-config (~> 2.0)
|
|
13
|
-
mixlib-log (~> 1.3)
|
|
14
|
-
mixlib-shellout (>= 2.0.0.rc.0, < 3.0)
|
|
15
|
-
net-ssh (~> 2.6)
|
|
16
|
-
net-ssh-multi (~> 1.1)
|
|
17
|
-
ohai (~> 8.0)
|
|
18
|
-
plist (~> 3.1.0)
|
|
19
|
-
pry (~> 0.9)
|
|
20
|
-
chef-zero (3.2.1)
|
|
21
|
-
ffi-yajl (~> 1.1)
|
|
22
|
-
hashie (~> 2.0)
|
|
23
|
-
mixlib-log (~> 1.3)
|
|
24
|
-
rack
|
|
25
|
-
uuidtools (~> 2.1)
|
|
26
|
-
coderay (1.1.1)
|
|
27
|
-
diff-lcs (1.2.5)
|
|
28
|
-
erubis (2.7.0)
|
|
29
|
-
ffi (1.9.10)
|
|
30
|
-
ffi-yajl (1.4.0)
|
|
31
|
-
ffi (~> 1.5)
|
|
32
|
-
libyajl2 (~> 1.2)
|
|
33
|
-
hashie (2.1.2)
|
|
34
|
-
highline (1.7.8)
|
|
35
|
-
ipaddress (0.8.3)
|
|
36
|
-
libyajl2 (1.2.0)
|
|
37
|
-
method_source (0.8.2)
|
|
38
|
-
mime-types (2.99.1)
|
|
39
|
-
mixlib-authentication (1.4.0)
|
|
40
|
-
mixlib-log
|
|
41
|
-
rspec-core (~> 3.2)
|
|
42
|
-
rspec-expectations (~> 3.2)
|
|
43
|
-
rspec-mocks (~> 3.2)
|
|
44
|
-
mixlib-cli (1.6.0)
|
|
45
|
-
mixlib-config (2.2.1)
|
|
46
|
-
mixlib-log (1.6.0)
|
|
47
|
-
mixlib-shellout (2.2.6)
|
|
48
|
-
net-ssh (2.9.4)
|
|
49
|
-
net-ssh-gateway (1.2.0)
|
|
50
|
-
net-ssh (>= 2.6.5)
|
|
51
|
-
net-ssh-multi (1.2.1)
|
|
52
|
-
net-ssh (>= 2.6.5)
|
|
53
|
-
net-ssh-gateway (>= 1.2.0)
|
|
54
|
-
ohai (8.4.0)
|
|
55
|
-
ffi (~> 1.9)
|
|
56
|
-
ffi-yajl (>= 1.1, < 3.0)
|
|
57
|
-
ipaddress
|
|
58
|
-
mime-types (~> 2.0)
|
|
59
|
-
mixlib-cli
|
|
60
|
-
mixlib-config (~> 2.0)
|
|
61
|
-
mixlib-log
|
|
62
|
-
mixlib-shellout (~> 2.0)
|
|
63
|
-
rake (~> 10.1)
|
|
64
|
-
systemu (~> 2.6.4)
|
|
65
|
-
wmi-lite (~> 1.0)
|
|
66
|
-
plist (3.1.0)
|
|
67
|
-
pry (0.10.3)
|
|
68
|
-
coderay (~> 1.1.0)
|
|
69
|
-
method_source (~> 0.8.1)
|
|
70
|
-
slop (~> 3.4)
|
|
71
|
-
rack (1.6.4)
|
|
72
|
-
rake (10.5.0)
|
|
73
|
-
rspec-core (3.4.4)
|
|
74
|
-
rspec-support (~> 3.4.0)
|
|
75
|
-
rspec-expectations (3.4.0)
|
|
76
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
77
|
-
rspec-support (~> 3.4.0)
|
|
78
|
-
rspec-mocks (3.4.1)
|
|
79
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
80
|
-
rspec-support (~> 3.4.0)
|
|
81
|
-
rspec-support (3.4.1)
|
|
82
|
-
slop (3.6.0)
|
|
83
|
-
systemu (2.6.5)
|
|
84
|
-
uuidtools (2.1.5)
|
|
85
|
-
wmi-lite (1.0.0)
|
|
86
|
-
|
|
87
|
-
PLATFORMS
|
|
88
|
-
ruby
|
|
89
|
-
|
|
90
|
-
DEPENDENCIES
|
|
91
|
-
chef (= 12.0.1)
|
|
92
|
-
|
|
93
|
-
BUNDLED WITH
|
|
94
|
-
1.12.1
|