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 +4 -4
- data/.travis.yml +4 -1
- data/CHANGELOG.md +4 -0
- data/lib/poise.rb +1 -0
- data/lib/poise/version.rb +1 -1
- data/test/gemfiles/chef-12.10.gemfile +19 -0
- data/test/gemfiles/chef-12.11.gemfile +19 -0
- data/test/gemfiles/chef-12.6.gemfile +4 -0
- data/test/gemfiles/chef-12.7.gemfile +4 -0
- data/test/gemfiles/chef-12.8.gemfile +4 -0
- data/test/gemfiles/chef-12.9.gemfile +19 -0
- data/test/gemfiles/chef-12.gemfile +1 -1
- data/test/spec/helpers/inversion/options_resource_spec.rb +3 -2
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4f5f347c4ac46d945e302da580b9d96bbc98a01
|
4
|
+
data.tar.gz: 6e9868f60685f15137b28f0426bdacb1e96bd745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e33ba3e0fb640af0cb2b0f79c3fc9748c996af6739193aa627540be0076ed4e4a6d29cd8d7efa63cba221e203cc891010c873ef78498439fad3cbaf20615b11f
|
7
|
+
data.tar.gz: 812198bacc38efaaddd10373a535c75295faeea4928b55cc1ae920127539f55e77c38df70e6ac562d87a6b011498ba6d7ea663577f5af5ce36f1d152800969c7
|
data/.travis.yml
CHANGED
@@ -2,7 +2,7 @@ sudo: false
|
|
2
2
|
cache: bundler
|
3
3
|
language: ruby
|
4
4
|
rvm:
|
5
|
-
-
|
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
|
data/CHANGELOG.md
CHANGED
data/lib/poise.rb
CHANGED
data/lib/poise/version.rb
CHANGED
@@ -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'
|
@@ -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'
|
@@ -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' => '
|
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' => '
|
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.
|
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:
|
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:
|