poise 2.7.1 → 2.7.2

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: db0750542b28e7db48e5ebf069e0863f43581d0f
4
- data.tar.gz: a5f28e9508593727c7687cd1f2b263aa37b397a0
3
+ metadata.gz: e4f5f347c4ac46d945e302da580b9d96bbc98a01
4
+ data.tar.gz: 6e9868f60685f15137b28f0426bdacb1e96bd745
5
5
  SHA512:
6
- metadata.gz: bd525050643e03179fec00f880e0a86eaf637bdbaf599dec1dc5b8004005ba99822330fda52f0a342073c1bc650c97d25daeff0c808891c7a127f78cae701821
7
- data.tar.gz: adf8639f787fb123cd076a551cdcb909bfd3289634f63aeaa21de72d5fa3fc291991f26e28011e798bc5feaf2287e4f0b857165917e2c841a2f6375048490e0f
6
+ metadata.gz: e33ba3e0fb640af0cb2b0f79c3fc9748c996af6739193aa627540be0076ed4e4a6d29cd8d7efa63cba221e203cc891010c873ef78498439fad3cbaf20615b11f
7
+ data.tar.gz: 812198bacc38efaaddd10373a535c75295faeea4928b55cc1ae920127539f55e77c38df70e6ac562d87a6b011498ba6d7ea663577f5af5ce36f1d152800969c7
@@ -2,7 +2,7 @@ sudo: false
2
2
  cache: bundler
3
3
  language: ruby
4
4
  rvm:
5
- - '2.2'
5
+ - 2.3.1
6
6
  env:
7
7
  global:
8
8
  - secure: ax5czUwK8PVHXu/B3qbRZ8AACqXW4scIElQbn4sBuLp+VyTeutGax1uO6yTi7yv3xJUbEL3Z6gdZD/sOZpSKm8SL0YhkijoSs68HJCsau8cl7fvPJ0+JIlKqWazKEA1PaCmJHQv5J9TEyPyeSxZaIyacqOwOcUTyOkRDGyC+im8=
@@ -27,4 +27,7 @@ gemfile:
27
27
  - test/gemfiles/chef-12.6.gemfile
28
28
  - test/gemfiles/chef-12.7.gemfile
29
29
  - test/gemfiles/chef-12.8.gemfile
30
+ - test/gemfiles/chef-12.9.gemfile
31
+ - test/gemfiles/chef-12.10.gemfile
32
+ - test/gemfiles/chef-12.11.gemfile
30
33
  - test/gemfiles/master.gemfile
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.7.2
4
+
5
+ * Test harness fixes for Chef.
6
+
3
7
  ## v2.7.1
4
8
 
5
9
  * Minor tweak for compatability with Chef master.
@@ -16,6 +16,7 @@
16
16
 
17
17
  require 'chef/provider'
18
18
  require 'chef/resource'
19
+ require 'chef/run_context'
19
20
 
20
21
  require 'poise/utils/resource_provider_mixin'
21
22
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Poise
19
- VERSION = '2.7.1'
19
+ VERSION = '2.7.2'
20
20
  end
@@ -0,0 +1,19 @@
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'
@@ -0,0 +1,19 @@
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.11.18'
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
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
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
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
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
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
@@ -0,0 +1,19 @@
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.9.41'
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.6'
19
+ gem 'chef', '~> 12.11'
@@ -17,6 +17,7 @@
17
17
  require 'spec_helper'
18
18
 
19
19
  describe Poise::Helpers::Inversion::OptionsResource do
20
+ let(:chefspec_options) { {platform: 'ubuntu', version: '16.04'} }
20
21
  let(:default_attributes) do
21
22
  {'poise-test' => {}}
22
23
  end
@@ -46,7 +47,7 @@ describe Poise::Helpers::Inversion::OptionsResource do
46
47
  end
47
48
  end
48
49
 
49
- it { is_expected.to run_poise_test_options('test').with(_options: {'foo' => 'bar', 'baz' => 'chefspec.local'}) }
50
+ it { is_expected.to run_poise_test_options('test').with(_options: {'foo' => 'bar', 'baz' => 'fauxhai.local'}) }
50
51
  end # /context with node options
51
52
 
52
53
  context 'with new_resource-based options' do
@@ -91,7 +92,7 @@ describe Poise::Helpers::Inversion::OptionsResource do
91
92
  end
92
93
  end
93
94
 
94
- it { is_expected.to run_poise_test_options('test').with(_options: {'foo' => 'chefspec.local', 'baz' => 'chefspec.locala'}) }
95
+ it { is_expected.to run_poise_test_options('test').with(_options: {'foo' => 'fauxhai.local', 'baz' => 'fauxhai.locala'}) }
95
96
  end # /context with derived options
96
97
 
97
98
  context 'with a provider' do
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.7.1
4
+ version: 2.7.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: 2016-06-18 00:00:00.000000000 Z
11
+ date: 2017-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: halite
@@ -132,6 +132,8 @@ files:
132
132
  - test/docker/docker.pem
133
133
  - test/gemfiles/chef-12.0.gemfile
134
134
  - test/gemfiles/chef-12.1.gemfile
135
+ - test/gemfiles/chef-12.10.gemfile
136
+ - test/gemfiles/chef-12.11.gemfile
135
137
  - test/gemfiles/chef-12.2.gemfile
136
138
  - test/gemfiles/chef-12.3.gemfile
137
139
  - test/gemfiles/chef-12.4.gemfile
@@ -139,6 +141,7 @@ files:
139
141
  - test/gemfiles/chef-12.6.gemfile
140
142
  - test/gemfiles/chef-12.7.gemfile
141
143
  - test/gemfiles/chef-12.8.gemfile
144
+ - test/gemfiles/chef-12.9.gemfile
142
145
  - test/gemfiles/chef-12.gemfile
143
146
  - test/gemfiles/master.gemfile
144
147
  - test/integration/default/default_spec.rb
@@ -213,6 +216,8 @@ test_files:
213
216
  - test/docker/docker.pem
214
217
  - test/gemfiles/chef-12.0.gemfile
215
218
  - test/gemfiles/chef-12.1.gemfile
219
+ - test/gemfiles/chef-12.10.gemfile
220
+ - test/gemfiles/chef-12.11.gemfile
216
221
  - test/gemfiles/chef-12.2.gemfile
217
222
  - test/gemfiles/chef-12.3.gemfile
218
223
  - test/gemfiles/chef-12.4.gemfile
@@ -220,6 +225,7 @@ test_files:
220
225
  - test/gemfiles/chef-12.6.gemfile
221
226
  - test/gemfiles/chef-12.7.gemfile
222
227
  - test/gemfiles/chef-12.8.gemfile
228
+ - test/gemfiles/chef-12.9.gemfile
223
229
  - test/gemfiles/chef-12.gemfile
224
230
  - test/gemfiles/master.gemfile
225
231
  - test/integration/default/default_spec.rb
@@ -258,4 +264,3 @@ test_files:
258
264
  - test/spec/utils/win32_helper/windows/synchronize.rb
259
265
  - test/spec/utils/win32_spec.rb
260
266
  - test/spec/utils_spec.rb
261
- has_rdoc: