compat_resource 12.10.2 → 12.10.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5ed711ca2e962b498a3d0f57d83e968f22c3413
4
- data.tar.gz: 09a6bf93b34094e41df052900426c11fa1863bab
3
+ metadata.gz: f64aaeffed11d6b20db847ee9d74a2bdb047cdaf
4
+ data.tar.gz: 4c8cd6aff2e0292cbb6d9634ecedefa4db832db6
5
5
  SHA512:
6
- metadata.gz: e1444ac99b53e4a3af0c7d9121f78bc49942ad4c5c55cf006dde1e5830b5b7758d61fdc16a8ae1f38937a1d742d4dcb6e9a3a718560a00e860db4af0989fcedc
7
- data.tar.gz: 1d39e68480d28af7e4506e4115475dd0cac935ef25fd9c6ad17ba7ff56c96e9dff4b4214bb352f4ab717de5098f3f7232ef14bbb545ec093d60848585867a9d5
6
+ metadata.gz: 172466c9ce55516872d4cce22d184ea3438b7972ea828ce44b14617ecd7d0088bed4424690e97b77b260ad28aa9288172c1f6867f6521312389ec0e0d9f7815f
7
+ data.tar.gz: a7759bf0853dc2568981e592c3f5bcd105527d53fdb7d8032ba4169b2d8d9dbce84a235d6e21b65d9b36bb960e346cd8920ab7b5075585f7b14a0ae4802f7fa4
@@ -10,7 +10,7 @@ class Chef
10
10
  chef_gem_path = File.expand_path("../..",::Chef::Resource.instance_method(:initialize).source_location[0])
11
11
  caller(0..10).each do |c|
12
12
  if !c.start_with?(chef_gem_path) && !c.start_with?(chef_compat_gem_path)
13
- new_location = c
13
+ location = c
14
14
  break
15
15
  end
16
16
  end
@@ -16,6 +16,14 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+ # XXX: we now have two copies of this file in the compat_resource cookbook. I'm uncertain if this is a
20
+ # bug or a feature, and I suspect it is actually a feature. The point of this file is that for all
21
+ # resources and cookbooks the global Chef::ResourceBuilder class must be upgraded to at least the
22
+ # 12.10.24 version. The point of the other copy is that for compat_resource cookbooks all their
23
+ # resources should be using the lastest version that has been sync'd. So these two files should
24
+ # diverge as times goes on. I believe that is the correct behavior and that we want to have both
25
+ # files in this cookbook.
26
+
19
27
  # NOTE: this was extracted from the Recipe DSL mixin, relevant specs are in spec/unit/recipe_spec.rb
20
28
 
21
29
  if Gem::Requirement.new("< 12.10.24").satisfied_by?(Gem::Version.new(Chef::VERSION))
@@ -1,3 +1,3 @@
1
1
  module CompatResource
2
- VERSION = '12.10.2'
2
+ VERSION = '12.10.3'
3
3
  end
@@ -0,0 +1 @@
1
+ --- {}
@@ -0,0 +1,94 @@
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compat_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.10.2
4
+ version: 12.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
@@ -118,7 +118,9 @@ files:
118
118
  - files/lib/compat_resource/gemspec.rb
119
119
  - files/lib/compat_resource/version.rb
120
120
  - files/spec/cookbook_spec.rb
121
+ - files/spec/data/.bundle/config
121
122
  - files/spec/data/Gemfile
123
+ - files/spec/data/Gemfile.lock
122
124
  - files/spec/data/config.rb
123
125
  - files/spec/data/cookbooks/cloning/metadata.rb
124
126
  - files/spec/data/cookbooks/cloning/providers/resource.rb
@@ -172,3 +174,4 @@ signing_key:
172
174
  specification_version: 4
173
175
  summary: Bring some new features of Chef 12.5 to previous 12.X releases
174
176
  test_files: []
177
+ has_rdoc: