poise-ruby 2.1.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.kitchen.yml +1 -7
  3. data/.travis.yml +36 -14
  4. data/CHANGELOG.md +5 -0
  5. data/Gemfile +3 -1
  6. data/README.md +17 -2
  7. data/Rakefile +1 -1
  8. data/chef/attributes/default.rb +1 -1
  9. data/chef/recipes/default.rb +1 -1
  10. data/lib/poise_ruby.rb +1 -1
  11. data/lib/poise_ruby/bundler_mixin.rb +1 -1
  12. data/lib/poise_ruby/cheftie.rb +1 -1
  13. data/lib/poise_ruby/error.rb +1 -1
  14. data/lib/poise_ruby/resources.rb +1 -1
  15. data/lib/poise_ruby/resources/bundle_install.rb +1 -1
  16. data/lib/poise_ruby/resources/ruby_execute.rb +1 -1
  17. data/lib/poise_ruby/resources/ruby_gem.rb +1 -1
  18. data/lib/poise_ruby/resources/ruby_runtime.rb +1 -1
  19. data/lib/poise_ruby/resources/ruby_runtime_test.rb +1 -1
  20. data/lib/poise_ruby/ruby_command_mixin.rb +1 -1
  21. data/lib/poise_ruby/ruby_providers.rb +1 -1
  22. data/lib/poise_ruby/ruby_providers/base.rb +1 -1
  23. data/lib/poise_ruby/ruby_providers/chef.rb +1 -1
  24. data/lib/poise_ruby/ruby_providers/dummy.rb +1 -1
  25. data/lib/poise_ruby/ruby_providers/scl.rb +6 -28
  26. data/lib/poise_ruby/ruby_providers/system.rb +2 -1
  27. data/lib/poise_ruby/version.rb +2 -2
  28. data/poise-ruby.gemspec +4 -3
  29. data/test/{cookbooks/poise-ruby_test → cookbook}/metadata.rb +1 -2
  30. data/test/{cookbooks/poise-ruby_test → cookbook}/recipes/bundle_install.rb +2 -2
  31. data/test/{cookbooks/poise-ruby_test → cookbook}/recipes/default.rb +8 -2
  32. data/{Berksfile → test/gemfiles/chef-12.1.gemfile} +4 -12
  33. data/test/gemfiles/chef-12.10.gemfile +20 -0
  34. data/test/gemfiles/chef-12.11.gemfile +20 -0
  35. data/test/gemfiles/chef-12.12.gemfile +19 -0
  36. data/test/gemfiles/chef-12.13.gemfile +19 -0
  37. data/test/gemfiles/chef-12.2.gemfile +20 -0
  38. data/test/gemfiles/chef-12.3.gemfile +20 -0
  39. data/test/gemfiles/chef-12.4.gemfile +21 -0
  40. data/test/gemfiles/chef-12.5.gemfile +20 -0
  41. data/test/gemfiles/chef-12.6.gemfile +20 -0
  42. data/test/gemfiles/chef-12.7.gemfile +20 -0
  43. data/test/gemfiles/chef-12.8.gemfile +20 -0
  44. data/test/gemfiles/chef-12.9.gemfile +20 -0
  45. data/test/gemfiles/chef-12.gemfile +2 -2
  46. data/test/gemfiles/master.gemfile +3 -1
  47. data/test/integration/default/serverspec/Gemfile +1 -1
  48. data/test/integration/default/serverspec/bundle_install_spec.rb +9 -2
  49. data/test/integration/default/serverspec/default_spec.rb +1 -1
  50. data/test/spec/resources/bundle_install_spec.rb +1 -1
  51. data/test/spec/resources/ruby_execute_spec.rb +1 -1
  52. data/test/spec/ruby_command_mixin_spec.rb +1 -1
  53. data/test/spec/ruby_providers/dummy_spec.rb +1 -1
  54. data/test/spec/ruby_providers/scl_spec.rb +83 -0
  55. data/test/spec/spec_helper.rb +1 -1
  56. metadata +55 -16
  57. data/.kitchen.travis.yml +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c37f4fd1f40c2bc25476f6a16e84f49408ac5f44
4
- data.tar.gz: d7d8ac619e6a514cdf767f31efae47060d616dc6
3
+ metadata.gz: d5f1a76e15ea8f865ea1c8554e3182d554d544e3
4
+ data.tar.gz: e633f5ea2e76c65065f108c73582f5842afc7182
5
5
  SHA512:
6
- metadata.gz: 3747f04fbaf99670b71955eb8dc9fa2c913dd3b2e5e3c7359d6bc297a116e535f600ca9281633d98310236285db98d1554ee567baf942e450ef5ba06372710f9
7
- data.tar.gz: f6f4ea7602f61564bbf316914a29423115bcb5cb9423fc26e7c4b3bd0f59183a953ab2357e3fb97696c4fee51c15f4758c92eeb7eb8effd99ced35448a7a29d4
6
+ metadata.gz: 2b72ae8794ea15ae047385713c3b50316409b721f141c9f4ceb080cc707829b70bb9e0f35290f49ba5f10ff02d7f020fa84c33136bb66fdd99e0e210aec196f7
7
+ data.tar.gz: eb3b40436fb673eec9b7e2f74dee79981553c910dbdb4dfce97a42c3500c69fa4f28280efd884165a144f9a62bb0dd8508c266b7e47a2bdf444dbe2b63b29c9f
@@ -1,9 +1,3 @@
1
1
  ---
2
2
  #<% require 'poise_boiler' %>
3
- <%= PoiseBoiler.kitchen(platforms: 'linux') %>
4
-
5
- suites:
6
- - name: default
7
- run_list:
8
- - recipe[poise-ruby_test]
9
- - recipe[poise-ruby_test::bundle_install]
3
+ <%= PoiseBoiler.kitchen %>
@@ -1,20 +1,42 @@
1
1
  sudo: false
2
2
  cache: bundler
3
3
  language: ruby
4
- addons:
5
- apt:
6
- packages:
7
- - libgecode-dev
8
- rvm:
9
- - '2.2'
10
4
  env:
11
5
  global:
12
- - USE_SYSTEM_GECODE=true
13
- - KITCHEN_LOCAL_YAML=.kitchen.travis.yml
14
- - secure: YOM++OBAaAhRGG4IkODRzmscd0JAW1w5jnfTcpF1nV9pGFEicFGGneHANzT2FdNl/xU2BDzoQd46Wv5rSPb0C+Kw00qYyadTsyWaVVggHL60FLFWGpnFq29iApHnKA+HX5qoKGgtW5ZPczJlwumuZvr+pgstUOVYTk/RJqFy+vw=
15
- bundler_args: "--binstubs=$PWD/bin --jobs 3 --retry 3"
6
+ - secure: YOM++OBAaAhRGG4IkODRzmscd0JAW1w5jnfTcpF1nV9pGFEicFGGneHANzT2FdNl/xU2BDzoQd46Wv5rSPb0C+Kw00qYyadTsyWaVVggHL60FLFWGpnFq29iApHnKA+HX5qoKGgtW5ZPczJlwumuZvr+pgstUOVYTk/RJqFy+vw=
7
+ before_install: gem install bundler
8
+ bundler_args: '--binstubs=$PWD/bin --jobs 3 --retry 3'
16
9
  script:
17
- - "./bin/rake travis"
18
- gemfile:
19
- - test/gemfiles/chef-12.gemfile
20
- - test/gemfiles/master.gemfile
10
+ - ./bin/rake travis
11
+ matrix:
12
+ include:
13
+ - rvm: 2.1.9
14
+ gemfile: test/gemfiles/chef-12.gemfile
15
+ - rvm: 2.1.4
16
+ gemfile: test/gemfiles/chef-12.1.gemfile
17
+ - rvm: 2.1.4
18
+ gemfile: test/gemfiles/chef-12.2.gemfile
19
+ - rvm: 2.1.4
20
+ gemfile: test/gemfiles/chef-12.3.gemfile
21
+ - rvm: 2.1.6
22
+ gemfile: test/gemfiles/chef-12.4.gemfile
23
+ - rvm: 2.1.6
24
+ gemfile: test/gemfiles/chef-12.5.gemfile
25
+ - rvm: 2.1.6
26
+ gemfile: test/gemfiles/chef-12.6.gemfile
27
+ - rvm: 2.1.6
28
+ gemfile: test/gemfiles/chef-12.7.gemfile
29
+ - rvm: 2.1.6
30
+ gemfile: test/gemfiles/chef-12.8.gemfile
31
+ - rvm: 2.1.8
32
+ gemfile: test/gemfiles/chef-12.9.gemfile
33
+ - rvm: 2.1.8
34
+ gemfile: test/gemfiles/chef-12.10.gemfile
35
+ - rvm: 2.1.8
36
+ gemfile: test/gemfiles/chef-12.11.gemfile
37
+ - rvm: 2.1.8
38
+ gemfile: test/gemfiles/chef-12.12.gemfile
39
+ - rvm: 2.1.9
40
+ gemfile: test/gemfiles/chef-12.13.gemfile
41
+ - rvm: 2.3.1
42
+ gemfile: test/gemfiles/master.gemfile
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.2.0
4
+
5
+ * Add support for Ubuntu 16.04 system packages.
6
+ * Support new SCL structure and packages.
7
+
3
8
  ## v2.1.1
4
9
 
5
10
  * Create ChefSpec matchers for the `ruby_gem` resource.
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -29,5 +29,7 @@ end
29
29
 
30
30
  dev_gem 'halite'
31
31
  dev_gem 'poise'
32
+ dev_gem 'poise-archive'
32
33
  dev_gem 'poise-boiler'
33
34
  dev_gem 'poise-languages'
35
+ dev_gem 'poise-profiler'
data/README.md CHANGED
@@ -29,7 +29,7 @@ end
29
29
 
30
30
  ## Requirements
31
31
 
32
- Chef 12 or newer is required.
32
+ Chef 12.1 or newer is required.
33
33
 
34
34
  ## Attributes
35
35
 
@@ -245,6 +245,21 @@ end
245
245
  * `package_version` – Override auto-detection of the package version.
246
246
  * `version` – Override the Ruby version.
247
247
 
248
+ ### `scl`
249
+
250
+ The `scl` provider installs Ruby using the [Software Collections](https://www.softwarecollections.org/)
251
+ packages. This is only available on RHEL and CentOS. SCL offers more
252
+ recent versions of Ruby than the system packages for the most part. If an SCL
253
+ package exists for the requested version, it will be used in preference to the
254
+ `system` provider.
255
+
256
+ ```ruby
257
+ ruby_runtime 'myapp' do
258
+ provider :scl
259
+ version '2.2'
260
+ end
261
+ ```
262
+
248
263
  ### `chef`
249
264
 
250
265
  The `chef` provider uses the Ruby environment included in the Omnibus packages.
@@ -275,7 +290,7 @@ The Poise test server infrastructure is sponsored by [Rackspace](https://rackspa
275
290
 
276
291
  ## License
277
292
 
278
- Copyright 2015, Noah Kantrowitz
293
+ Copyright 2015-2016, Noah Kantrowitz
279
294
 
280
295
  Licensed under the Apache License, Version 2.0 (the "License");
281
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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -25,33 +25,11 @@ module PoiseRuby
25
25
  class Scl < Base
26
26
  include PoiseLanguages::Scl::Mixin
27
27
  provides(:scl)
28
- scl_package('2.2.2', 'rh-ruby22', 'rh-ruby22-ruby-devel', {
29
- ['redhat', 'centos'] => {
30
- '~> 7.0' => 'https://www.softwarecollections.org/en/scls/rhscl/rh-ruby22/epel-7-x86_64/download/rhscl-rh-ruby22-epel-7-x86_64.noarch.rpm',
31
- '~> 6.0' => 'https://www.softwarecollections.org/en/scls/rhscl/rh-ruby22/epel-6-x86_64/download/rhscl-rh-ruby22-epel-6-x86_64.noarch.rpm',
32
- },
33
- })
34
- scl_package('2.0.0', 'ruby200', 'ruby200-ruby-devel', {
35
- ['redhat', 'centos'] => {
36
- # On CentOS 7, the system package is Ruby 2.0.0 and is newer than the SCL build.
37
- #'~> 7.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby200/epel-7-x86_64/download/rhscl-ruby200-epel-7-x86_64.noarch.rpm',
38
- '~> 6.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby200/epel-6-x86_64/download/rhscl-ruby200-epel-6-x86_64.noarch.rpm',
39
- },
40
- 'fedora' => {
41
- '~> 21.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby200/fedora-21-x86_64/download/rhscl-ruby200-fedora-21-x86_64.noarch.rpm',
42
- '~> 20.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby200/fedora-20-x86_64/download/rhscl-ruby200-fedora-20-x86_64.noarch.rpm',
43
- },
44
- })
45
- scl_package('1.9.3', 'ruby193', 'ruby193-ruby-devel', {
46
- ['redhat', 'centos'] => {
47
- '~> 7.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby193/epel-7-x86_64/download/rhscl-ruby193-epel-7-x86_64.noarch.rpm',
48
- '~> 6.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby193/epel-6-x86_64/download/rhscl-ruby193-epel-6-x86_64.noarch.rpm',
49
- },
50
- 'fedora' => {
51
- '~> 21.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby193/fedora-21-x86_64/download/rhscl-ruby193-fedora-21-x86_64.noarch.rpm',
52
- '~> 20.0' => 'https://www.softwarecollections.org/en/scls/rhscl/ruby193/fedora-20-x86_64/download/rhscl-ruby193-fedora-20-x86_64.noarch.rpm',
53
- },
54
- })
28
+ scl_package('2.3.0', 'rh-ruby23', 'rh-ruby23-ruby-devel', '>= 7.0')
29
+ scl_package('2.2.2', 'rh-ruby22', 'rh-ruby22-ruby-devel')
30
+ # On EL7, the system package is Ruby 2.0.0 and is newer than the SCL build.
31
+ scl_package('2.0.0', 'ruby200', 'ruby200-ruby-devel', '~> 6.0')
32
+ scl_package('1.9.3', 'ruby193', 'ruby193-ruby-devel')
55
33
 
56
34
  def ruby_binary
57
35
  ::File.join(scl_folder, 'root', 'usr', 'bin', 'ruby')
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -34,6 +34,7 @@ module PoiseRuby
34
34
  '6' => %w{ruby1.8},
35
35
  },
36
36
  ubuntu: {
37
+ '16.04' => %w{ruby2.3},
37
38
  '14.04' => %w{ruby2.0 ruby1.9.3},
38
39
  '12.04' => %w{ruby1.9.3 ruby1.8},
39
40
  '10.04' => %w{ruby1.9.1 ruby1.8},
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.1.1'
19
+ VERSION = '2.2.0'
20
20
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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,9 +33,10 @@ 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
37
  spec.add_dependency 'halite', '~> 1.0'
37
38
  spec.add_dependency 'poise', '~> 2.0'
38
- spec.add_dependency 'poise-languages', '~> 1.2'
39
+ spec.add_dependency 'poise-languages', '~> 2.0'
39
40
 
40
- spec.add_development_dependency 'poise-boiler', '~> 1.0'
41
+ spec.add_development_dependency 'poise-boiler', '~> 1.6'
41
42
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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,3 @@
16
16
 
17
17
  name 'poise-ruby_test'
18
18
  depends 'poise-ruby'
19
- depends 'build-essential'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -24,7 +24,7 @@ directory '/opt/bundle1'
24
24
  file '/opt/bundle1/Gemfile' do
25
25
  content <<-EOH
26
26
  source 'https://rubygems.org/'
27
- gem 'rake'
27
+ gem 'rake', '~> 10.0'
28
28
  EOH
29
29
  end
30
30
 
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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,11 @@
16
16
 
17
17
  require 'poise_ruby/resources/ruby_runtime_test'
18
18
 
19
- include_recipe 'build-essential'
19
+ # Poor man's build-essential.
20
+ package value_for_platform_family(
21
+ debian: %w{autoconf binutils-doc bison build-essential flex gettext ncurses-dev},
22
+ rhel: %w{autoconf bison flex gcc gcc-c++ kernel-devel make m4 patch},
23
+ )
20
24
 
21
25
  # Install lsb-release because Debian 6 doesn't by default and serverspec requires it
22
26
  package 'lsb-release' if platform?('debian') && node['platform_version'].start_with?('6')
@@ -38,3 +42,5 @@ if platform_family?('rhel')
38
42
  else
39
43
  file '/no_scl'
40
44
  end
45
+
46
+ include_recipe '::bundle_install'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -14,15 +14,7 @@
14
14
  # limitations under the License.
15
15
  #
16
16
 
17
- source 'https://supermarket.chef.io/'
18
- extension 'halite'
17
+ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
19
18
 
20
- # Force the rebuild every time for development.
21
- cookbook 'poise', gem: 'poise'
22
- cookbook 'poise-languages', gem: 'poise-languages'
23
- cookbook 'poise-ruby', gem: 'poise-ruby'
24
-
25
- group :test do
26
- cookbook 'poise-ruby_test', path: 'test/cookbooks/poise-ruby_test'
27
- cookbook 'apt'
28
- end
19
+ gem 'chef', '~> 12.1.2'
20
+ gem 'rack', '< 2'
@@ -0,0 +1,20 @@
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 'rack', '< 2'
@@ -0,0 +1,20 @@
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'
20
+ gem 'rack', '< 2'
@@ -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.12.15'
@@ -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.13.37'
@@ -0,0 +1,20 @@
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 'rack', '< 2'
@@ -0,0 +1,20 @@
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 'rack', '< 2'
@@ -0,0 +1,21 @@
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 'rack', '< 2'
21
+ gem 'ridley', '4.4.1'
@@ -0,0 +1,20 @@
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 'rack', '< 2'
@@ -0,0 +1,20 @@
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
+ gem 'rack', '< 2'
@@ -0,0 +1,20 @@
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.7.2'
20
+ gem 'rack', '< 2'
@@ -0,0 +1,20 @@
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.8.1'
20
+ gem 'rack', '< 2'
@@ -0,0 +1,20 @@
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'
20
+ gem 'rack', '< 2'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.0'
19
+ gem 'chef', '~> 12.13'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -19,5 +19,7 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
19
19
  gem 'chef', github: 'chef/chef'
20
20
  gem 'halite', github: 'poise/halite'
21
21
  gem 'poise', github: 'poise/poise'
22
+ gem 'poise-archive', github: 'poise/poise-archive'
22
23
  gem 'poise-boiler', github: 'poise/poise-boiler'
23
24
  gem 'poise-languages', github: 'poise/poise-languages'
25
+ gem 'poise-profiler', github: 'poise/poise-profiler'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -66,7 +66,14 @@ describe 'bundle_install' do
66
66
  it { is_expected.to be_a_file }
67
67
  end
68
68
 
69
- describe command('/opt/bundle3/bin/rake --version') do
69
+ scl_name = case os[:release]
70
+ when /^6/
71
+ 'rh-ruby22'
72
+ else
73
+ 'rh-ruby23'
74
+ end
75
+
76
+ describe command("scl enable #{scl_name} \"/opt/bundle3/bin/rake --version\"") do
70
77
  its(:exit_status) { is_expected.to eq 0 }
71
78
  end
72
79
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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.
@@ -0,0 +1,83 @@
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
+ require 'spec_helper'
18
+
19
+ describe PoiseRuby::RubyProviders::Scl do
20
+ let(:ruby_version) { '' }
21
+ let(:chefspec_options) { {platform: 'centos', version: '7.0'} }
22
+ let(:default_attributes) { {poise_ruby_version: ruby_version} }
23
+ let(:ruby_runtime) { chef_run.ruby_runtime('test') }
24
+ step_into(:ruby_runtime)
25
+ recipe do
26
+ ruby_runtime 'test' do
27
+ provider :scl
28
+ version node['poise_ruby_version']
29
+ end
30
+ end
31
+
32
+ shared_examples_for 'scl provider' do |pkg|
33
+ it { expect(ruby_runtime.provider_for_action(:install)).to be_a described_class }
34
+ it { expect(ruby_runtime.ruby_binary).to eq File.join('', 'opt', 'rh', pkg, 'root', 'usr', 'bin', 'ruby') }
35
+ it { is_expected.to install_poise_languages_scl(pkg) }
36
+ it do
37
+ expect_any_instance_of(described_class).to receive(:install_scl_package)
38
+ run_chef
39
+ end
40
+ it do
41
+ expect_any_instance_of(described_class).to receive(:scl_environment)
42
+ ruby_runtime.ruby_environment
43
+ end
44
+ end
45
+
46
+ context 'with version ""' do
47
+ let(:ruby_version) { '' }
48
+ it_behaves_like 'scl provider', 'rh-ruby23'
49
+ end # /context with version ""
50
+
51
+ context 'with version "2.2"' do
52
+ let(:ruby_version) { '2.2' }
53
+ it_behaves_like 'scl provider', 'rh-ruby22'
54
+ end # /context with version "2.2"
55
+
56
+ context 'with version "2"' do
57
+ let(:ruby_version) { '2' }
58
+ it_behaves_like 'scl provider', 'rh-ruby23'
59
+ end # /context with version "2"
60
+
61
+
62
+ context 'with version "" on CentOS 6' do
63
+ let(:chefspec_options) { {platform: 'centos', version: '6.0'} }
64
+ let(:ruby_version) { '' }
65
+ it_behaves_like 'scl provider', 'rh-ruby22'
66
+ end # /context with version "" on CentOS 6
67
+
68
+ context 'action :uninstall' do
69
+ recipe do
70
+ ruby_runtime 'test' do
71
+ action :uninstall
72
+ provider :scl
73
+ version node['poise_ruby_version']
74
+ end
75
+ end
76
+
77
+ it do
78
+ expect_any_instance_of(described_class).to receive(:uninstall_scl_package)
79
+ run_chef
80
+ end
81
+ it { expect(ruby_runtime.provider_for_action(:uninstall)).to be_a described_class }
82
+ end # /context action :uninstall
83
+ end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2016, 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,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poise-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.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: 2015-10-16 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: chef
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '12.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '12.1'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: halite
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +58,28 @@ dependencies:
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '1.2'
61
+ version: '2.0'
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '1.2'
68
+ version: '2.0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: poise-boiler
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '1.0'
75
+ version: '1.6'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '1.0'
82
+ version: '1.6'
69
83
  description: A Chef cookbook for managing Ruby installations.
70
84
  email:
71
85
  - noah@coderanger.net
@@ -74,11 +88,9 @@ extensions: []
74
88
  extra_rdoc_files: []
75
89
  files:
76
90
  - ".gitignore"
77
- - ".kitchen.travis.yml"
78
91
  - ".kitchen.yml"
79
92
  - ".travis.yml"
80
93
  - ".yardopts"
81
- - Berksfile
82
94
  - CHANGELOG.md
83
95
  - Gemfile
84
96
  - LICENSE
@@ -105,11 +117,24 @@ files:
105
117
  - lib/poise_ruby/ruby_providers/system.rb
106
118
  - lib/poise_ruby/version.rb
107
119
  - poise-ruby.gemspec
108
- - test/cookbooks/poise-ruby_test/metadata.rb
109
- - test/cookbooks/poise-ruby_test/recipes/bundle_install.rb
110
- - test/cookbooks/poise-ruby_test/recipes/default.rb
120
+ - test/cookbook/metadata.rb
121
+ - test/cookbook/recipes/bundle_install.rb
122
+ - test/cookbook/recipes/default.rb
111
123
  - test/docker/docker.ca
112
124
  - test/docker/docker.pem
125
+ - test/gemfiles/chef-12.1.gemfile
126
+ - test/gemfiles/chef-12.10.gemfile
127
+ - test/gemfiles/chef-12.11.gemfile
128
+ - test/gemfiles/chef-12.12.gemfile
129
+ - test/gemfiles/chef-12.13.gemfile
130
+ - test/gemfiles/chef-12.2.gemfile
131
+ - test/gemfiles/chef-12.3.gemfile
132
+ - test/gemfiles/chef-12.4.gemfile
133
+ - test/gemfiles/chef-12.5.gemfile
134
+ - test/gemfiles/chef-12.6.gemfile
135
+ - test/gemfiles/chef-12.7.gemfile
136
+ - test/gemfiles/chef-12.8.gemfile
137
+ - test/gemfiles/chef-12.9.gemfile
113
138
  - test/gemfiles/chef-12.gemfile
114
139
  - test/gemfiles/master.gemfile
115
140
  - test/integration/default/serverspec/Gemfile
@@ -119,6 +144,7 @@ files:
119
144
  - test/spec/resources/ruby_execute_spec.rb
120
145
  - test/spec/ruby_command_mixin_spec.rb
121
146
  - test/spec/ruby_providers/dummy_spec.rb
147
+ - test/spec/ruby_providers/scl_spec.rb
122
148
  - test/spec/spec_helper.rb
123
149
  homepage: https://github.com/poise/poise-ruby
124
150
  licenses:
@@ -140,16 +166,29 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
166
  version: '0'
141
167
  requirements: []
142
168
  rubyforge_project:
143
- rubygems_version: 2.4.8
169
+ rubygems_version: 2.6.4
144
170
  signing_key:
145
171
  specification_version: 4
146
172
  summary: A Chef cookbook for managing Ruby installations.
147
173
  test_files:
148
- - test/cookbooks/poise-ruby_test/metadata.rb
149
- - test/cookbooks/poise-ruby_test/recipes/bundle_install.rb
150
- - test/cookbooks/poise-ruby_test/recipes/default.rb
174
+ - test/cookbook/metadata.rb
175
+ - test/cookbook/recipes/bundle_install.rb
176
+ - test/cookbook/recipes/default.rb
151
177
  - test/docker/docker.ca
152
178
  - test/docker/docker.pem
179
+ - test/gemfiles/chef-12.1.gemfile
180
+ - test/gemfiles/chef-12.10.gemfile
181
+ - test/gemfiles/chef-12.11.gemfile
182
+ - test/gemfiles/chef-12.12.gemfile
183
+ - test/gemfiles/chef-12.13.gemfile
184
+ - test/gemfiles/chef-12.2.gemfile
185
+ - test/gemfiles/chef-12.3.gemfile
186
+ - test/gemfiles/chef-12.4.gemfile
187
+ - test/gemfiles/chef-12.5.gemfile
188
+ - test/gemfiles/chef-12.6.gemfile
189
+ - test/gemfiles/chef-12.7.gemfile
190
+ - test/gemfiles/chef-12.8.gemfile
191
+ - test/gemfiles/chef-12.9.gemfile
153
192
  - test/gemfiles/chef-12.gemfile
154
193
  - test/gemfiles/master.gemfile
155
194
  - test/integration/default/serverspec/Gemfile
@@ -159,5 +198,5 @@ test_files:
159
198
  - test/spec/resources/ruby_execute_spec.rb
160
199
  - test/spec/ruby_command_mixin_spec.rb
161
200
  - test/spec/ruby_providers/dummy_spec.rb
201
+ - test/spec/ruby_providers/scl_spec.rb
162
202
  - test/spec/spec_helper.rb
163
- has_rdoc:
@@ -1,9 +0,0 @@
1
- ---
2
- driver:
3
- name: docker
4
- binary: "./docker"
5
- socket: tcp://docker.poise.io:443
6
- tls_verify: true
7
- tls_cacert: test/docker/docker.ca
8
- tls_cert: test/docker/docker.pem
9
- tls_key: test/docker/docker.key