poise 2.8.1 → 2.8.2

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.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +35 -30
  3. data/CHANGELOG.md +5 -0
  4. data/Gemfile +1 -0
  5. data/lib/poise/helpers/defined_in.rb +1 -0
  6. data/lib/poise/helpers/subresources/container.rb +2 -2
  7. data/lib/poise/version.rb +1 -1
  8. data/poise.gemspec +1 -1
  9. data/test/gemfiles/{chef-12.12.gemfile → chef-12.20.gemfile} +2 -5
  10. data/test/gemfiles/{chef-12.13.gemfile → chef-12.21.gemfile} +2 -5
  11. data/test/gemfiles/chef-12.gemfile +1 -1
  12. data/test/gemfiles/{chef-12.9.gemfile → chef-13.1.gemfile} +2 -6
  13. data/test/gemfiles/{chef-12.11.gemfile → chef-13.10.gemfile} +2 -6
  14. data/test/gemfiles/chef-13.2.gemfile +19 -0
  15. data/test/gemfiles/chef-13.3.gemfile +19 -0
  16. data/test/gemfiles/chef-13.4.gemfile +19 -0
  17. data/test/gemfiles/chef-13.5.gemfile +19 -0
  18. data/test/gemfiles/chef-13.6.gemfile +19 -0
  19. data/test/gemfiles/chef-13.8.gemfile +19 -0
  20. data/test/gemfiles/chef-13.9.gemfile +19 -0
  21. data/test/gemfiles/chef-13.gemfile +1 -1
  22. data/test/gemfiles/chef-14.0.gemfile +19 -0
  23. data/test/gemfiles/chef-14.1.gemfile +19 -0
  24. data/test/gemfiles/chef-14.2.gemfile +19 -0
  25. data/test/gemfiles/chef-14.3.gemfile +19 -0
  26. data/test/gemfiles/chef-14.gemfile +19 -0
  27. data/test/spec/helpers/defined_in_spec.rb +1 -1
  28. data/test/spec/helpers/lwrp_polyfill_spec.rb +0 -9
  29. metadata +39 -35
  30. data/test/gemfiles/chef-12.0.gemfile +0 -23
  31. data/test/gemfiles/chef-12.1.gemfile +0 -23
  32. data/test/gemfiles/chef-12.10.gemfile +0 -23
  33. data/test/gemfiles/chef-12.2.gemfile +0 -23
  34. data/test/gemfiles/chef-12.3.gemfile +0 -23
  35. data/test/gemfiles/chef-12.4.gemfile +0 -24
  36. data/test/gemfiles/chef-12.5.gemfile +0 -23
  37. data/test/gemfiles/chef-12.6.gemfile +0 -27
  38. data/test/gemfiles/chef-12.7.gemfile +0 -27
  39. data/test/gemfiles/chef-12.8.gemfile +0 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0ea39bcec935e12ff80e73f172ac0b58b69f3458
4
- data.tar.gz: 40a821e3aa86d2bd7327794e48be511d2c5a98ba
2
+ SHA256:
3
+ metadata.gz: ef6cc69302677ca607eac15d20e980b9c68c68468a3674cb316f1b1008a5d509
4
+ data.tar.gz: da3b9d6fe3267975ec38e2a533751cf20748933f82d6ee3cf56e140a53e43d04
5
5
  SHA512:
6
- metadata.gz: 9f0c2b8987b8059b5053ce852bf765887edf043f2c538478006d39ccf1ea1f2bb79228792a7140e167cca34863ca30a9a70de537171ee3fec2abc5b884bfa926
7
- data.tar.gz: f9de6f4687a5b0188a796d49d425fc93c6a8eba9b2e77bda78e22af12ff7f2745c388ad273aecb496056e9da048f3e3c3896e5530adac750a06f276393997a7b
6
+ metadata.gz: 874ead38af4499e001bfc897ee13bc3c5cacbf10395dc1b28c30d35da44286aa18fa91801b9f82d681f404d73a9682fbc1e11e29a2d956ee0e6f1e7588fb5c07
7
+ data.tar.gz: d0a438216f49a64ba550146f48e6a62e24c276daca1e9321d48ad2c1e7992b757280384f862dce3ab2c4864508d6bcd6e227cf3d0b0450fe6ad479aadc334ee1
@@ -1,3 +1,4 @@
1
+ dist: trusty
1
2
  sudo: false
2
3
  cache: bundler
3
4
  language: ruby
@@ -20,36 +21,12 @@ matrix:
20
21
  include:
21
22
  - rvm: 2.3.1
22
23
  gemfile: test/gemfiles/chef-12.gemfile
23
- - rvm: 2.4.1
24
+ - rvm: 2.4.3
24
25
  gemfile: test/gemfiles/chef-13.gemfile
25
- - rvm: 2.1.4
26
- gemfile: test/gemfiles/chef-12.0.gemfile
27
- - rvm: 2.1.4
28
- gemfile: test/gemfiles/chef-12.1.gemfile
29
- - rvm: 2.1.4
30
- gemfile: test/gemfiles/chef-12.2.gemfile
31
- - rvm: 2.1.4
32
- gemfile: test/gemfiles/chef-12.3.gemfile
33
- - rvm: 2.1.6
34
- gemfile: test/gemfiles/chef-12.4.gemfile
35
- - rvm: 2.1.6
36
- gemfile: test/gemfiles/chef-12.5.gemfile
37
- - rvm: 2.1.6
38
- gemfile: test/gemfiles/chef-12.6.gemfile
39
- - rvm: 2.1.6
40
- gemfile: test/gemfiles/chef-12.7.gemfile
41
- - rvm: 2.1.6
42
- gemfile: test/gemfiles/chef-12.8.gemfile
43
- - rvm: 2.1.8
44
- gemfile: test/gemfiles/chef-12.9.gemfile
45
- - rvm: 2.1.8
46
- gemfile: test/gemfiles/chef-12.10.gemfile
47
- - rvm: 2.1.8
48
- gemfile: test/gemfiles/chef-12.11.gemfile
49
- - rvm: 2.1.8
50
- gemfile: test/gemfiles/chef-12.12.gemfile
51
- - rvm: 2.1.9
52
- gemfile: test/gemfiles/chef-12.13.gemfile
26
+ - rvm: 2.5.1
27
+ gemfile: test/gemfiles/chef-14.gemfile
28
+ - rvm: 2.5.1
29
+ gemfile: test/gemfiles/master.gemfile
53
30
  - rvm: 2.3.1
54
31
  gemfile: test/gemfiles/chef-12.14.gemfile
55
32
  - rvm: 2.3.1
@@ -62,7 +39,35 @@ matrix:
62
39
  gemfile: test/gemfiles/chef-12.18.gemfile
63
40
  - rvm: 2.3.1
64
41
  gemfile: test/gemfiles/chef-12.19.gemfile
42
+ - rvm: 2.3.1
43
+ gemfile: test/gemfiles/chef-12.20.gemfile
44
+ - rvm: 2.3.1
45
+ gemfile: test/gemfiles/chef-12.21.gemfile
65
46
  - rvm: 2.4.1
66
47
  gemfile: test/gemfiles/chef-13.0.gemfile
67
48
  - rvm: 2.4.1
68
- gemfile: test/gemfiles/master.gemfile
49
+ gemfile: test/gemfiles/chef-13.1.gemfile
50
+ - rvm: 2.4.1
51
+ gemfile: test/gemfiles/chef-13.2.gemfile
52
+ - rvm: 2.4.1
53
+ gemfile: test/gemfiles/chef-13.3.gemfile
54
+ - rvm: 2.4.2
55
+ gemfile: test/gemfiles/chef-13.4.gemfile
56
+ - rvm: 2.4.2
57
+ gemfile: test/gemfiles/chef-13.5.gemfile
58
+ - rvm: 2.4.2
59
+ gemfile: test/gemfiles/chef-13.6.gemfile
60
+ - rvm: 2.4.3
61
+ gemfile: test/gemfiles/chef-13.8.gemfile
62
+ - rvm: 2.4.3
63
+ gemfile: test/gemfiles/chef-13.9.gemfile
64
+ - rvm: 2.4.3
65
+ gemfile: test/gemfiles/chef-13.10.gemfile
66
+ - rvm: 2.5.1
67
+ gemfile: test/gemfiles/chef-14.0.gemfile
68
+ - rvm: 2.5.1
69
+ gemfile: test/gemfiles/chef-14.1.gemfile
70
+ - rvm: 2.5.1
71
+ gemfile: test/gemfiles/chef-14.2.gemfile
72
+ - rvm: 2.5.1
73
+ gemfile: test/gemfiles/chef-14.3.gemfile
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.8.2
4
+
5
+ * Remove support for Chef before 12.14.
6
+ * Fixed compatibility with Chef 14.3.
7
+
3
8
  ## v2.8.1
4
9
 
5
10
  * Fix a missing `require` when using `subclass_providers!` on Chef 12.3.
data/Gemfile CHANGED
@@ -30,3 +30,4 @@ end
30
30
  dev_gem 'halite'
31
31
  dev_gem 'poise-boiler'
32
32
  dev_gem 'poise-profiler'
33
+ gem 'kitchen-sync', git: 'https://github.com/coderanger/kitchen-sync.git'
@@ -14,6 +14,7 @@
14
14
  # limitations under the License.
15
15
  #
16
16
 
17
+ require 'poise'
17
18
  require 'poise/error'
18
19
  require 'poise/utils'
19
20
 
@@ -217,8 +217,8 @@ module Poise
217
217
  def included(klass)
218
218
  super
219
219
  klass.extend(ClassMethods)
220
- klass.const_get(:HIDDEN_IVARS) << :@subcontexts
221
- klass.const_get(:FORBIDDEN_IVARS) << :@subcontexts
220
+ klass.const_set(:HIDDEN_VARS, klass.const_get(:HIDDEN_IVARS) + [:@subcontexts])
221
+ klass.const_set(:FORBIDDEN_IVARS, klass.const_get(:FORBIDDEN_IVARS) + [:@subcontexts])
222
222
  end
223
223
  end
224
224
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Poise
19
- VERSION = '2.8.1'
19
+ VERSION = '2.8.2'
20
20
  end
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
35
35
  spec.require_paths = %w{lib}
36
36
 
37
- spec.add_dependency 'chef', '>= 12', '< 14'
37
+ spec.add_dependency 'chef', '>= 12.14', '< 15'
38
38
  spec.add_dependency 'halite', '~> 1.0'
39
39
 
40
40
  spec.add_development_dependency 'fauxhai', '>= 3.3.0' # For now.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2017, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,7 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.12.15'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
19
+ gem 'chef', '~> 12.20.3'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2017, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,7 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.13.37'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
19
+ gem 'chef', '~> 12.21.31'
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.19'
19
+ gem 'chef', '~> 12.21'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,8 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.9.41'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
19
+ gem 'chef', '~> 13.1.31'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,8 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.11.18'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
19
+ gem 'chef', '~> 13.10.0'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.2.20'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.3.42'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.4.24'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.5.3'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.6.4'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.8.0'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.9.4'
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 13.0'
19
+ gem 'chef', '~> 13.10'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 14.0.202'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 14.1.12'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 14.2.0'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 14.3.37'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 14.3'
@@ -17,7 +17,7 @@
17
17
  require 'spec_helper'
18
18
 
19
19
  describe Poise::Helpers::DefinedIn do
20
- let(:run_context) { double('run context') }
20
+ let(:run_context) { double('run context', logger: double('logger', with_child: nil)) }
21
21
  subject { resource(:poise_test) }
22
22
  resource(:poise_test) do
23
23
  include described_class
@@ -141,15 +141,6 @@ describe Poise::Helpers::LWRPPolyfill do
141
141
  it { is_expected.to eq 'helper' }
142
142
  end # /context with an intermediary class
143
143
 
144
- context 'with no new_resource' do
145
- provider(:poise_test, auto: false) do
146
- include described_class
147
- end
148
- subject { provider(:poise_test).new(nil, nil).load_current_resource }
149
- it { is_expected.to be_a Chef::Resource }
150
- it { is_expected.to_not be_a resource(:poise_test) }
151
- end # context with no new_resource
152
-
153
144
  context 'calling super' do
154
145
  provider(:poise_test, auto: false) do
155
146
  include described_class
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poise
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Kantrowitz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2018-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '12'
19
+ version: '12.14'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '14'
22
+ version: '15'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '12'
29
+ version: '12.14'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '14'
32
+ version: '15'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: halite
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -151,29 +151,31 @@ files:
151
151
  - test/cookbook/recipes/inversion.rb
152
152
  - test/docker/docker.ca
153
153
  - test/docker/docker.pem
154
- - test/gemfiles/chef-12.0.gemfile
155
- - test/gemfiles/chef-12.1.gemfile
156
- - test/gemfiles/chef-12.10.gemfile
157
- - test/gemfiles/chef-12.11.gemfile
158
- - test/gemfiles/chef-12.12.gemfile
159
- - test/gemfiles/chef-12.13.gemfile
160
154
  - test/gemfiles/chef-12.14.gemfile
161
155
  - test/gemfiles/chef-12.15.gemfile
162
156
  - test/gemfiles/chef-12.16.gemfile
163
157
  - test/gemfiles/chef-12.17.gemfile
164
158
  - test/gemfiles/chef-12.18.gemfile
165
159
  - test/gemfiles/chef-12.19.gemfile
166
- - test/gemfiles/chef-12.2.gemfile
167
- - test/gemfiles/chef-12.3.gemfile
168
- - test/gemfiles/chef-12.4.gemfile
169
- - test/gemfiles/chef-12.5.gemfile
170
- - test/gemfiles/chef-12.6.gemfile
171
- - test/gemfiles/chef-12.7.gemfile
172
- - test/gemfiles/chef-12.8.gemfile
173
- - test/gemfiles/chef-12.9.gemfile
160
+ - test/gemfiles/chef-12.20.gemfile
161
+ - test/gemfiles/chef-12.21.gemfile
174
162
  - test/gemfiles/chef-12.gemfile
175
163
  - test/gemfiles/chef-13.0.gemfile
164
+ - test/gemfiles/chef-13.1.gemfile
165
+ - test/gemfiles/chef-13.10.gemfile
166
+ - test/gemfiles/chef-13.2.gemfile
167
+ - test/gemfiles/chef-13.3.gemfile
168
+ - test/gemfiles/chef-13.4.gemfile
169
+ - test/gemfiles/chef-13.5.gemfile
170
+ - test/gemfiles/chef-13.6.gemfile
171
+ - test/gemfiles/chef-13.8.gemfile
172
+ - test/gemfiles/chef-13.9.gemfile
176
173
  - test/gemfiles/chef-13.gemfile
174
+ - test/gemfiles/chef-14.0.gemfile
175
+ - test/gemfiles/chef-14.1.gemfile
176
+ - test/gemfiles/chef-14.2.gemfile
177
+ - test/gemfiles/chef-14.3.gemfile
178
+ - test/gemfiles/chef-14.gemfile
177
179
  - test/gemfiles/master.gemfile
178
180
  - test/integration/default/default_spec.rb
179
181
  - test/integration/default/inversion_spec.rb
@@ -232,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
234
  version: '0'
233
235
  requirements: []
234
236
  rubyforge_project:
235
- rubygems_version: 2.6.11
237
+ rubygems_version: 2.7.6
236
238
  signing_key:
237
239
  specification_version: 4
238
240
  summary: Helpers for writing extensible Chef cookbooks.
@@ -246,29 +248,31 @@ test_files:
246
248
  - test/cookbook/recipes/inversion.rb
247
249
  - test/docker/docker.ca
248
250
  - test/docker/docker.pem
249
- - test/gemfiles/chef-12.0.gemfile
250
- - test/gemfiles/chef-12.1.gemfile
251
- - test/gemfiles/chef-12.10.gemfile
252
- - test/gemfiles/chef-12.11.gemfile
253
- - test/gemfiles/chef-12.12.gemfile
254
- - test/gemfiles/chef-12.13.gemfile
255
251
  - test/gemfiles/chef-12.14.gemfile
256
252
  - test/gemfiles/chef-12.15.gemfile
257
253
  - test/gemfiles/chef-12.16.gemfile
258
254
  - test/gemfiles/chef-12.17.gemfile
259
255
  - test/gemfiles/chef-12.18.gemfile
260
256
  - test/gemfiles/chef-12.19.gemfile
261
- - test/gemfiles/chef-12.2.gemfile
262
- - test/gemfiles/chef-12.3.gemfile
263
- - test/gemfiles/chef-12.4.gemfile
264
- - test/gemfiles/chef-12.5.gemfile
265
- - test/gemfiles/chef-12.6.gemfile
266
- - test/gemfiles/chef-12.7.gemfile
267
- - test/gemfiles/chef-12.8.gemfile
268
- - test/gemfiles/chef-12.9.gemfile
257
+ - test/gemfiles/chef-12.20.gemfile
258
+ - test/gemfiles/chef-12.21.gemfile
269
259
  - test/gemfiles/chef-12.gemfile
270
260
  - test/gemfiles/chef-13.0.gemfile
261
+ - test/gemfiles/chef-13.1.gemfile
262
+ - test/gemfiles/chef-13.10.gemfile
263
+ - test/gemfiles/chef-13.2.gemfile
264
+ - test/gemfiles/chef-13.3.gemfile
265
+ - test/gemfiles/chef-13.4.gemfile
266
+ - test/gemfiles/chef-13.5.gemfile
267
+ - test/gemfiles/chef-13.6.gemfile
268
+ - test/gemfiles/chef-13.8.gemfile
269
+ - test/gemfiles/chef-13.9.gemfile
271
270
  - test/gemfiles/chef-13.gemfile
271
+ - test/gemfiles/chef-14.0.gemfile
272
+ - test/gemfiles/chef-14.1.gemfile
273
+ - test/gemfiles/chef-14.2.gemfile
274
+ - test/gemfiles/chef-14.3.gemfile
275
+ - test/gemfiles/chef-14.gemfile
272
276
  - test/gemfiles/master.gemfile
273
277
  - test/integration/default/default_spec.rb
274
278
  - test/integration/default/inversion_spec.rb
@@ -1,23 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.0.3'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
@@ -1,23 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.1.2'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
@@ -1,23 +0,0 @@
1
- #
2
- # Copyright 2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.10.24'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
@@ -1,23 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.2.1'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
@@ -1,23 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.3.0'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
@@ -1,24 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.4.3'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'gh', '0.14.0'
24
- gem 'rack', '< 2'
@@ -1,23 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.5.1'
20
- gem 'chefspec', '< 6'
21
- gem 'fauxhai', '<= 3.9.0'
22
- gem 'foodcritic', '< 8'
23
- gem 'rack', '< 2'
@@ -1,27 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.6.0'
20
-
21
- # Disable "Thread.exclusive is deprecated, use Mutex" warnings because they
22
- # overflow the Travis logs.
23
- $VERBOSE = nil
24
- gem 'chefspec', '< 6'
25
- gem 'fauxhai', '<= 3.9.0'
26
- gem 'foodcritic', '< 8'
27
- gem 'rack', '< 2'
@@ -1,27 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.7.2'
20
-
21
- # Disable "Thread.exclusive is deprecated, use Mutex" warnings because they
22
- # overflow the Travis logs.
23
- $VERBOSE = nil
24
- gem 'chefspec', '< 6'
25
- gem 'fauxhai', '<= 3.9.0'
26
- gem 'foodcritic', '< 8'
27
- gem 'rack', '< 2'
@@ -1,27 +0,0 @@
1
- #
2
- # Copyright 2015-2016, Noah Kantrowitz
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
-
17
- eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
-
19
- gem 'chef', '~> 12.8.1'
20
-
21
- # Disable "Thread.exclusive is deprecated, use Mutex" warnings because they
22
- # overflow the Travis logs.
23
- $VERBOSE = nil
24
- gem 'chefspec', '< 6'
25
- gem 'fauxhai', '<= 3.9.0'
26
- gem 'foodcritic', '< 8'
27
- gem 'rack', '< 2'