poise-ruby 2.2.0 → 2.3.0

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +9 -1
  3. data/CHANGELOG.md +4 -0
  4. data/Gemfile +1 -1
  5. data/README.md +1 -1
  6. data/Rakefile +1 -1
  7. data/chef/attributes/default.rb +1 -1
  8. data/chef/recipes/default.rb +1 -1
  9. data/lib/poise_ruby.rb +1 -1
  10. data/lib/poise_ruby/bundler_mixin.rb +1 -1
  11. data/lib/poise_ruby/cheftie.rb +1 -1
  12. data/lib/poise_ruby/error.rb +1 -1
  13. data/lib/poise_ruby/resources.rb +1 -1
  14. data/lib/poise_ruby/resources/bundle_install.rb +7 -3
  15. data/lib/poise_ruby/resources/ruby_execute.rb +1 -1
  16. data/lib/poise_ruby/resources/ruby_gem.rb +1 -1
  17. data/lib/poise_ruby/resources/ruby_runtime.rb +1 -1
  18. data/lib/poise_ruby/resources/ruby_runtime_test.rb +1 -1
  19. data/lib/poise_ruby/ruby_command_mixin.rb +1 -1
  20. data/lib/poise_ruby/ruby_providers.rb +1 -1
  21. data/lib/poise_ruby/ruby_providers/base.rb +1 -1
  22. data/lib/poise_ruby/ruby_providers/chef.rb +1 -1
  23. data/lib/poise_ruby/ruby_providers/dummy.rb +1 -1
  24. data/lib/poise_ruby/ruby_providers/scl.rb +1 -1
  25. data/lib/poise_ruby/ruby_providers/system.rb +1 -1
  26. data/lib/poise_ruby/version.rb +2 -2
  27. data/poise-ruby.gemspec +2 -2
  28. data/test/cookbook/metadata.rb +1 -1
  29. data/test/cookbook/recipes/bundle_install.rb +1 -1
  30. data/test/cookbook/recipes/default.rb +1 -1
  31. data/test/gemfiles/chef-12.1.gemfile +3 -1
  32. data/test/gemfiles/chef-12.10.gemfile +3 -1
  33. data/test/gemfiles/chef-12.11.gemfile +3 -1
  34. data/test/gemfiles/chef-12.12.gemfile +3 -1
  35. data/test/gemfiles/chef-12.13.gemfile +3 -1
  36. data/test/gemfiles/chef-12.14.gemfile +19 -0
  37. data/test/gemfiles/chef-12.15.gemfile +19 -0
  38. data/test/gemfiles/chef-12.16.gemfile +19 -0
  39. data/test/gemfiles/chef-12.17.gemfile +19 -0
  40. data/test/gemfiles/chef-12.2.gemfile +3 -1
  41. data/test/gemfiles/chef-12.3.gemfile +3 -1
  42. data/test/gemfiles/chef-12.4.gemfile +4 -2
  43. data/test/gemfiles/chef-12.5.gemfile +3 -1
  44. data/test/gemfiles/chef-12.6.gemfile +3 -1
  45. data/test/gemfiles/chef-12.7.gemfile +3 -1
  46. data/test/gemfiles/chef-12.8.gemfile +3 -1
  47. data/test/gemfiles/chef-12.9.gemfile +3 -1
  48. data/test/gemfiles/chef-12.gemfile +2 -2
  49. data/test/gemfiles/master.gemfile +3 -1
  50. data/test/integration/default/serverspec/Gemfile +1 -1
  51. data/test/integration/default/serverspec/bundle_install_spec.rb +1 -1
  52. data/test/integration/default/serverspec/default_spec.rb +1 -1
  53. data/test/spec/resources/bundle_install_spec.rb +3 -3
  54. data/test/spec/resources/ruby_execute_spec.rb +1 -1
  55. data/test/spec/ruby_command_mixin_spec.rb +1 -1
  56. data/test/spec/ruby_providers/dummy_spec.rb +1 -1
  57. data/test/spec/ruby_providers/scl_spec.rb +1 -1
  58. data/test/spec/spec_helper.rb +1 -1
  59. metadata +19 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5f1a76e15ea8f865ea1c8554e3182d554d544e3
4
- data.tar.gz: e633f5ea2e76c65065f108c73582f5842afc7182
3
+ metadata.gz: c7efb4dbedbb97c97324b797d098c42ed0b21ac3
4
+ data.tar.gz: 21014daee3169145193c8de9ba3a99e5c9cecfcb
5
5
  SHA512:
6
- metadata.gz: 2b72ae8794ea15ae047385713c3b50316409b721f141c9f4ceb080cc707829b70bb9e0f35290f49ba5f10ff02d7f020fa84c33136bb66fdd99e0e210aec196f7
7
- data.tar.gz: eb3b40436fb673eec9b7e2f74dee79981553c910dbdb4dfce97a42c3500c69fa4f28280efd884165a144f9a62bb0dd8508c266b7e47a2bdf444dbe2b63b29c9f
6
+ metadata.gz: 3ee101538989e548a27d124a5971cfcd634a927e3d014c5d7eda1889a1259be241e5ebf2b431aea3ccf764df2fe84261833401288057d7964144443af38354b0
7
+ data.tar.gz: dd6e311f66f8441337291b2007df90f128b1bdfb7a84e766406e4c6fccc9691e3bb857777f251c9c1d5583c4f202da7bf8aedb9a4f9b84034a234f9edf04f6f1
@@ -10,7 +10,7 @@ script:
10
10
  - ./bin/rake travis
11
11
  matrix:
12
12
  include:
13
- - rvm: 2.1.9
13
+ - rvm: 2.3.1
14
14
  gemfile: test/gemfiles/chef-12.gemfile
15
15
  - rvm: 2.1.4
16
16
  gemfile: test/gemfiles/chef-12.1.gemfile
@@ -38,5 +38,13 @@ matrix:
38
38
  gemfile: test/gemfiles/chef-12.12.gemfile
39
39
  - rvm: 2.1.9
40
40
  gemfile: test/gemfiles/chef-12.13.gemfile
41
+ - rvm: 2.3.1
42
+ gemfile: test/gemfiles/chef-12.14.gemfile
43
+ - rvm: 2.3.1
44
+ gemfile: test/gemfiles/chef-12.15.gemfile
45
+ - rvm: 2.3.1
46
+ gemfile: test/gemfiles/chef-12.16.gemfile
47
+ - rvm: 2.3.1
48
+ gemfile: test/gemfiles/chef-12.17.gemfile
41
49
  - rvm: 2.3.1
42
50
  gemfile: test/gemfiles/master.gemfile
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.3.0
4
+
5
+ * Chef 13 support.
6
+
3
7
  ## v2.2.0
4
8
 
5
9
  * Add support for Ubuntu 16.04 system packages.
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
data/README.md CHANGED
@@ -290,7 +290,7 @@ The Poise test server infrastructure is sponsored by [Rackspace](https://rackspa
290
290
 
291
291
  ## License
292
292
 
293
- Copyright 2015-2016, Noah Kantrowitz
293
+ Copyright 2015-2017, Noah Kantrowitz
294
294
 
295
295
  Licensed under the Apache License, Version 2.0 (the "License");
296
296
  you may not use this file except in compliance with the License.
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -128,7 +128,7 @@ module PoiseRuby
128
128
  #
129
129
  # @return [String]
130
130
  def bundler_binary
131
- @bundler_binary ||= ::File.join(gem_bindir, 'bundle')
131
+ @bundler_binary ||= ::File.join(poise_gem_bindir, 'bundle')
132
132
  end
133
133
 
134
134
  # Find the absolute path to the Gemfile. This mirrors bundler's internal
@@ -168,8 +168,12 @@ module PoiseRuby
168
168
  # the required configuration on the resource combined with gem having
169
169
  # terrible output formats.
170
170
  #
171
+ # Renamed from #gem_bindir in 2.3.0 because of a conflict with a method
172
+ # of the same name in Chef::Mixin::PathSanity (which is pulled in via
173
+ # ShellOut) added in 13.0.
174
+ #
171
175
  # @return [String]
172
- def gem_bindir
176
+ def poise_gem_bindir
173
177
  cmd = ruby_shell_out!(new_resource.gem_binary, 'environment')
174
178
  # Parse a line like:
175
179
  # - EXECUTABLE DIRECTORY: /usr/local/bin
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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,5 +16,5 @@
16
16
 
17
17
 
18
18
  module PoiseRuby
19
- VERSION = '2.2.0'
19
+ VERSION = '2.3.0'
20
20
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
34
34
  spec.require_paths = %w{lib}
35
35
 
36
- spec.add_dependency 'chef', '~> 12.1'
36
+ spec.add_dependency 'chef', '>= 12.1', '< 14'
37
37
  spec.add_dependency 'halite', '~> 1.0'
38
38
  spec.add_dependency 'poise', '~> 2.0'
39
39
  spec.add_dependency 'poise-languages', '~> 2.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.1.2'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2016-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.10.24'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2016-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.11.18'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2016-2017, 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.
@@ -17,3 +17,5 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.12.15'
20
+ gem 'foodcritic', '< 8'
21
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2016-2017, 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.
@@ -17,3 +17,5 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.13.37'
20
+ gem 'foodcritic', '< 8'
21
+ gem 'fauxhai', '<= 3.9.0'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2016-2017, 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.14.89'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2016-2017, 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.15.19'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, 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.16.42'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, 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.17.44'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.2.1'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.3.0'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -18,4 +18,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.4.3'
20
20
  gem 'rack', '< 2'
21
- gem 'ridley', '4.4.1'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'gh', '0.14.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.5.1'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.6.0'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2016-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.7.2'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2016-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.8.1'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2016, Noah Kantrowitz
2
+ # Copyright 2016-2017, 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.
@@ -18,3 +18,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.9.41'
20
20
  gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.13'
19
+ gem 'chef', '~> 12.17'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -18,8 +18,10 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', github: 'chef/chef'
20
20
  gem 'halite', github: 'poise/halite'
21
+ gem 'ohai', github: 'chef/ohai'
21
22
  gem 'poise', github: 'poise/poise'
22
23
  gem 'poise-archive', github: 'poise/poise-archive'
23
24
  gem 'poise-boiler', github: 'poise/poise-boiler'
24
25
  gem 'poise-languages', github: 'poise/poise-languages'
25
26
  gem 'poise-profiler', github: 'poise/poise-profiler'
27
+
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -116,7 +116,7 @@ EOH
116
116
  describe '#gem_bin' do
117
117
  let(:new_resource) { double('new_resource', gem_binary: '/usr/local/bin/gem', parent_ruby: nil, timeout: 900, ruby: '/usr/bin/ruby') }
118
118
  let(:gem_environment) { '' }
119
- subject { provider.send(:gem_bindir) }
119
+ subject { provider.send(:poise_gem_bindir) }
120
120
  before do
121
121
  expect(provider).to receive(:ruby_shell_out!).with('/usr/local/bin/gem', 'environment').and_return(double(stdout: gem_environment))
122
122
  end
@@ -252,7 +252,7 @@ EOH
252
252
  let(:action) { '' }
253
253
  subject { provider.send(:bundler_command, action) }
254
254
  before do
255
- allow(provider).to receive(:gem_bindir).and_return('/test')
255
+ allow(provider).to receive(:poise_gem_bindir).and_return('/test')
256
256
  allow(provider).to receive(:bundler_options).and_return(%w{--binstubs --deployment})
257
257
  end
258
258
 
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-2016, Noah Kantrowitz
2
+ # Copyright 2015-2017, 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.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poise-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
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-08-29 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '12.1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '14'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '12.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '14'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: halite
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -127,6 +133,10 @@ files:
127
133
  - test/gemfiles/chef-12.11.gemfile
128
134
  - test/gemfiles/chef-12.12.gemfile
129
135
  - test/gemfiles/chef-12.13.gemfile
136
+ - test/gemfiles/chef-12.14.gemfile
137
+ - test/gemfiles/chef-12.15.gemfile
138
+ - test/gemfiles/chef-12.16.gemfile
139
+ - test/gemfiles/chef-12.17.gemfile
130
140
  - test/gemfiles/chef-12.2.gemfile
131
141
  - test/gemfiles/chef-12.3.gemfile
132
142
  - test/gemfiles/chef-12.4.gemfile
@@ -166,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
176
  version: '0'
167
177
  requirements: []
168
178
  rubyforge_project:
169
- rubygems_version: 2.6.4
179
+ rubygems_version: 2.6.11
170
180
  signing_key:
171
181
  specification_version: 4
172
182
  summary: A Chef cookbook for managing Ruby installations.
@@ -181,6 +191,10 @@ test_files:
181
191
  - test/gemfiles/chef-12.11.gemfile
182
192
  - test/gemfiles/chef-12.12.gemfile
183
193
  - test/gemfiles/chef-12.13.gemfile
194
+ - test/gemfiles/chef-12.14.gemfile
195
+ - test/gemfiles/chef-12.15.gemfile
196
+ - test/gemfiles/chef-12.16.gemfile
197
+ - test/gemfiles/chef-12.17.gemfile
184
198
  - test/gemfiles/chef-12.2.gemfile
185
199
  - test/gemfiles/chef-12.3.gemfile
186
200
  - test/gemfiles/chef-12.4.gemfile