poise-ruby-build 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +58 -21
  3. data/CHANGELOG.md +6 -0
  4. data/Gemfile +4 -1
  5. data/README.md +1 -1
  6. data/Rakefile +1 -1
  7. data/chef/attributes/default.rb +1 -1
  8. data/lib/poise_ruby/ruby_build.rb +1 -1
  9. data/lib/poise_ruby/ruby_build/cheftie.rb +1 -1
  10. data/lib/poise_ruby/ruby_build/provider.rb +3 -4
  11. data/lib/poise_ruby/ruby_build/version.rb +2 -2
  12. data/poise-ruby-build.gemspec +4 -4
  13. data/test/cookbook/metadata.rb +1 -1
  14. data/test/cookbook/recipes/default.rb +1 -1
  15. data/test/gemfiles/chef-12.1.gemfile +5 -1
  16. data/{Berksfile → test/gemfiles/chef-12.10.gemfile} +7 -8
  17. data/test/gemfiles/chef-12.11.gemfile +23 -0
  18. data/test/gemfiles/chef-12.12.gemfile +22 -0
  19. data/test/gemfiles/chef-12.13.gemfile +22 -0
  20. data/test/gemfiles/chef-12.14.gemfile +19 -0
  21. data/test/gemfiles/chef-12.15.gemfile +19 -0
  22. data/test/gemfiles/chef-12.16.gemfile +19 -0
  23. data/test/gemfiles/chef-12.17.gemfile +19 -0
  24. data/test/gemfiles/chef-12.18.gemfile +19 -0
  25. data/test/gemfiles/chef-12.19.gemfile +19 -0
  26. data/test/gemfiles/chef-12.2.gemfile +5 -1
  27. data/test/gemfiles/chef-12.3.gemfile +5 -1
  28. data/test/gemfiles/chef-12.4.gemfile +6 -3
  29. data/test/gemfiles/chef-12.5.gemfile +5 -1
  30. data/test/gemfiles/chef-12.6.gemfile +5 -1
  31. data/test/gemfiles/chef-12.7.gemfile +23 -0
  32. data/test/gemfiles/chef-12.8.gemfile +23 -0
  33. data/test/gemfiles/chef-12.9.gemfile +23 -0
  34. data/test/gemfiles/chef-12.gemfile +2 -2
  35. data/test/gemfiles/chef-13.0.gemfile +19 -0
  36. data/test/gemfiles/chef-13.gemfile +19 -0
  37. data/test/gemfiles/master.gemfile +5 -1
  38. data/test/integration/default/serverspec/Gemfile +1 -1
  39. data/test/integration/default/serverspec/default_spec.rb +1 -1
  40. data/test/spec/provider_spec.rb +2 -2
  41. data/test/spec/spec_helper.rb +5 -1
  42. metadata +75 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1f54d7cef4dc8ff0ef87e1b6438d1daaab3a5a2
4
- data.tar.gz: 2f17a794cb20c0e0459c2081eb7c06557c6d457d
3
+ metadata.gz: a3a674d3682bc2d96ebdc40f853f599f563ce228
4
+ data.tar.gz: 85cfc8e13d2433fa7a92ffe4d83dad5bb4827e7a
5
5
  SHA512:
6
- metadata.gz: 4cab153c49cf867e85f1b414a500783ee98198b0b3e7c62d7247d1a5956ada74ef62668b827e71df1c6f126191bfe21a4f58f6d81bbea6411a395306bd1ede33
7
- data.tar.gz: 1e192871d2bed258b1d53b96f9558bcbf48d1cd87c0ec467c9320f91ef6c914901db8bce390750de105435ad2377e2cb4110841e0beddec27a1baa6ddf3df6db
6
+ metadata.gz: 6d1a9123391135d30066c52e854b04788395a6bdd5c5fdae51d8f91f6ec4631e5ea2b00e8fe25fc0870661d091844ffb73129d2d4e450ee919e154d7a2e128fd
7
+ data.tar.gz: 33c7fbd5fa8573fef50515581a1545e45fd20baaea1f43c466cfbde11aabc9e2c72ed0031d5ea781467022bdf2d963ac4c0db63135b7b749f0af95469c11ebf5
@@ -1,27 +1,64 @@
1
- ---
2
1
  sudo: false
3
2
  cache: bundler
4
3
  language: ruby
5
- rvm:
6
- - '2.2'
7
- addons:
8
- apt:
9
- packages:
10
- - libgecode-dev
11
4
  env:
12
5
  global:
13
- - USE_SYSTEM_GECODE=true
14
- - secure: lqst12Un4L5SLj0I8VlU7aRwXDoEPemuRcQrP1+wQA8f1YGnxe5fWMnjnWNHi3dsxshYDBZmjyXzKxnju2v7OJdtLNSGcJlFAz/0PwJOwAuM/rFqK/PXMgYZDS2BgvYdsDOEYoVdC8dL7N5Q/Ri3nst4uCThDcv2XX9F7gAAWLc=
15
- before_install: "gem install bundler"
16
- bundler_args: "--binstubs=$PWD/bin --jobs 3 --retry 3"
6
+ - secure: lqst12Un4L5SLj0I8VlU7aRwXDoEPemuRcQrP1+wQA8f1YGnxe5fWMnjnWNHi3dsxshYDBZmjyXzKxnju2v7OJdtLNSGcJlFAz/0PwJOwAuM/rFqK/PXMgYZDS2BgvYdsDOEYoVdC8dL7N5Q/Ri3nst4uCThDcv2XX9F7gAAWLc=
7
+ before_install:
8
+ - 'if [[ $BUNDLE_GEMFILE == *master.gemfile ]]; then gem update --system; fi'
9
+ - gem --version
10
+ - gem install bundler
11
+ - bundle --version
12
+ - 'bundle config --local path ${BUNDLE_PATH:-$(dirname $BUNDLE_GEMFILE)/vendor/bundle}'
13
+ - bundle config --local bin $PWD/bin
14
+ install: bundle update --jobs=3 --retry=3
17
15
  script:
18
- - "./bin/rake travis"
19
- gemfile:
20
- - test/gemfiles/chef-12.gemfile
21
- - test/gemfiles/chef-12.1.gemfile
22
- - test/gemfiles/chef-12.2.gemfile
23
- - test/gemfiles/chef-12.3.gemfile
24
- - test/gemfiles/chef-12.4.gemfile
25
- - test/gemfiles/chef-12.5.gemfile
26
- - test/gemfiles/chef-12.6.gemfile
27
- - test/gemfiles/master.gemfile
16
+ - ./bin/rake travis
17
+ matrix:
18
+ include:
19
+ - rvm: 2.3.1
20
+ gemfile: test/gemfiles/chef-12.gemfile
21
+ - rvm: 2.4.1
22
+ gemfile: test/gemfiles/chef-13.gemfile
23
+ - rvm: 2.1.4
24
+ gemfile: test/gemfiles/chef-12.1.gemfile
25
+ - rvm: 2.1.4
26
+ gemfile: test/gemfiles/chef-12.2.gemfile
27
+ - rvm: 2.1.4
28
+ gemfile: test/gemfiles/chef-12.3.gemfile
29
+ - rvm: 2.1.6
30
+ gemfile: test/gemfiles/chef-12.4.gemfile
31
+ - rvm: 2.1.6
32
+ gemfile: test/gemfiles/chef-12.5.gemfile
33
+ - rvm: 2.1.6
34
+ gemfile: test/gemfiles/chef-12.6.gemfile
35
+ - rvm: 2.1.6
36
+ gemfile: test/gemfiles/chef-12.7.gemfile
37
+ - rvm: 2.1.6
38
+ gemfile: test/gemfiles/chef-12.8.gemfile
39
+ - rvm: 2.1.8
40
+ gemfile: test/gemfiles/chef-12.9.gemfile
41
+ - rvm: 2.1.8
42
+ gemfile: test/gemfiles/chef-12.10.gemfile
43
+ - rvm: 2.1.8
44
+ gemfile: test/gemfiles/chef-12.11.gemfile
45
+ - rvm: 2.1.8
46
+ gemfile: test/gemfiles/chef-12.12.gemfile
47
+ - rvm: 2.1.9
48
+ gemfile: test/gemfiles/chef-12.13.gemfile
49
+ - rvm: 2.3.1
50
+ gemfile: test/gemfiles/chef-12.14.gemfile
51
+ - rvm: 2.3.1
52
+ gemfile: test/gemfiles/chef-12.15.gemfile
53
+ - rvm: 2.3.1
54
+ gemfile: test/gemfiles/chef-12.16.gemfile
55
+ - rvm: 2.3.1
56
+ gemfile: test/gemfiles/chef-12.17.gemfile
57
+ - rvm: 2.3.1
58
+ gemfile: test/gemfiles/chef-12.18.gemfile
59
+ - rvm: 2.3.1
60
+ gemfile: test/gemfiles/chef-12.19.gemfile
61
+ - rvm: 2.4.1
62
+ gemfile: test/gemfiles/chef-13.0.gemfile
63
+ - rvm: 2.4.1
64
+ gemfile: test/gemfiles/master.gemfile
@@ -1,5 +1,11 @@
1
1
  # Poise-Ruby-Build Changelog
2
2
 
3
+ ## v1.1.0
4
+
5
+ * Chef 13 support.
6
+ * Switch to `poise-git` and `poise-build-essential` rather than the traditional
7
+ cookbooks to ensure support for older Chef and clean up lingering bugs.
8
+
3
9
  ## v1.0.2
4
10
 
5
11
  * Fix a typo that prevented uninstalling `ruby_build` runtimes.
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.
@@ -29,7 +29,10 @@ end
29
29
 
30
30
  dev_gem 'halite'
31
31
  dev_gem 'poise'
32
+ dev_gem 'poise-archive'
32
33
  dev_gem 'poise-boiler'
34
+ dev_gem 'poise-build-essential'
35
+ dev_gem 'poise-git'
33
36
  dev_gem 'poise-ruby'
34
37
  dev_gem 'poise-languages'
35
38
  dev_gem 'poise-profiler'
data/README.md CHANGED
@@ -38,7 +38,7 @@ The Poise test server infrastructure is sponsored by [Rackspace](https://rackspa
38
38
 
39
39
  ## License
40
40
 
41
- Copyright 2015-2016, Noah Kantrowitz
41
+ Copyright 2015-2017, Noah Kantrowitz
42
42
 
43
43
  Licensed under the Apache License, Version 2.0 (the "License");
44
44
  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.
@@ -146,8 +146,7 @@ module PoiseRuby
146
146
  #
147
147
  # @return [Chef::Resource::Git]
148
148
  def install_ruby_build
149
- include_recipe 'git' unless options['no_dependencies']
150
- git ::File.join(options['prefix'], 'install', options['install_rev']) do
149
+ poise_git ::File.join(options['prefix'], 'install', options['install_rev']) do
151
150
  repository options['install_repo']
152
151
  revision options['install_rev']
153
152
  user 'root'
@@ -160,7 +159,7 @@ module PoiseRuby
160
159
  # @return [Chef::Resource::Package]
161
160
  def install_dependencies
162
161
  return if options['no_dependencies']
163
- include_recipe 'build-essential'
162
+ poise_build_essential 'build_essential'
164
163
  unless options['version'].start_with?('jruby')
165
164
  pkgs = node.value_for_platform_family(
166
165
  debian: %w{libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev libxml2-dev libxslt1-dev},
@@ -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.
@@ -17,6 +17,6 @@
17
17
 
18
18
  module PoiseRuby
19
19
  module RubyBuild
20
- VERSION = '1.0.2'
20
+ VERSION = '1.1.0'
21
21
  end
22
22
  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,12 +33,12 @@ 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', '< 14'
36
37
  spec.add_dependency 'halite', '~> 1.0'
37
38
  spec.add_dependency 'poise', '~> 2.0'
39
+ spec.add_dependency 'poise-build-essential', '~> 1.0'
40
+ spec.add_dependency 'poise-git', '~> 1.0'
38
41
  spec.add_dependency 'poise-ruby', '~> 2.1'
39
42
 
40
- spec.add_development_dependency 'berkshelf', '~> 4.0'
41
43
  spec.add_development_dependency 'poise-boiler', '~> 1.6'
42
-
43
- spec.metadata['halite_dependencies'] = 'git ~> 4.2, build-essential ~> 2.2'
44
44
  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.
@@ -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.
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.1.2'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015-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.
@@ -14,11 +14,10 @@
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
- cookbook 'poise-ruby-build', gem: 'poise-ruby-build'
19
+ gem 'chef', '~> 12.10.24'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -0,0 +1,23 @@
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.11.18'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -0,0 +1,22 @@
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.12.15'
20
+ gem 'foodcritic', '< 8'
21
+ gem 'fauxhai', '<= 3.9.0'
22
+ gem 'chefspec', '< 6'
@@ -0,0 +1,22 @@
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.13.37'
20
+ gem 'foodcritic', '< 8'
21
+ gem 'fauxhai', '<= 3.9.0'
22
+ gem 'chefspec', '< 6'
@@ -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'
@@ -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.18.31'
@@ -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.19.36'
@@ -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.
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.2.1'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -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.
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.3.0'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -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.
@@ -17,5 +17,8 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.4.3'
20
- # Pending https://github.com/berkshelf/ridley/pull/335
21
- gem 'ridley', '4.4.1'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
24
+ 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.
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.5.1'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -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.
@@ -17,3 +17,7 @@
17
17
  eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
18
18
 
19
19
  gem 'chef', '~> 12.6.0'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -0,0 +1,23 @@
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.7.2'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -0,0 +1,23 @@
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.8.1'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -0,0 +1,23 @@
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.9.41'
20
+ gem 'rack', '< 2'
21
+ gem 'foodcritic', '< 8'
22
+ gem 'fauxhai', '<= 3.9.0'
23
+ gem 'chefspec', '< 6'
@@ -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.6'
19
+ gem 'chef', '~> 12.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', '~> 13.0.113'
@@ -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', '~> 13.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,8 +18,12 @@ 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'
23
+ gem 'poise-archive', github: 'poise/poise-archive'
22
24
  gem 'poise-boiler', github: 'poise/poise-boiler'
25
+ gem 'poise-build-essential', github: 'poise/poise-build-essential'
26
+ gem 'poise-git', github: 'poise/poise-git'
23
27
  gem 'poise-ruby', github: 'poise/poise-ruby'
24
28
  gem 'poise-languages', github: 'poise/poise-languages'
25
29
  gem 'poise-profiler', github: 'poise/poise-profiler'
@@ -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.
@@ -31,7 +31,7 @@ describe PoiseRuby::RubyBuild::Provider do
31
31
  it { is_expected.to create_directory('/opt/ruby_build') }
32
32
  it { is_expected.to create_directory('/opt/ruby_build/install') }
33
33
  it { is_expected.to create_directory('/opt/ruby_build/builds') }
34
- it { is_expected.to sync_git('/opt/ruby_build/install/master') }
34
+ it { is_expected.to sync_poise_git('/opt/ruby_build/install/master') }
35
35
  it { is_expected.to run_execute('ruby-build install').with(command: %w{/opt/ruby_build/install/master/bin/ruby-build 2.2.2 /opt/ruby_build/builds/2}) }
36
36
  it { is_expected.to create_file('/opt/ruby_build/builds/2/VERSION').with(content: '2.2.2') }
37
37
  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.
@@ -16,3 +16,7 @@
16
16
 
17
17
  require 'poise_boiler/spec_helper'
18
18
  require 'poise_ruby/ruby_build'
19
+ require 'poise_ruby/cheftie'
20
+ require 'poise_build_essential/cheftie'
21
+ require 'poise_git/cheftie'
22
+ require 'poise_ruby/ruby_build/cheftie'
metadata CHANGED
@@ -1,15 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poise-ruby-build
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.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-04-29 00:00:00.000000000 Z
11
+ date: 2017-04-13 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
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '14'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '12.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '14'
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: halite
15
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,33 +59,47 @@ dependencies:
39
59
  - !ruby/object:Gem::Version
40
60
  version: '2.0'
41
61
  - !ruby/object:Gem::Dependency
42
- name: poise-ruby
62
+ name: poise-build-essential
43
63
  requirement: !ruby/object:Gem::Requirement
44
64
  requirements:
45
65
  - - "~>"
46
66
  - !ruby/object:Gem::Version
47
- version: '2.1'
67
+ version: '1.0'
48
68
  type: :runtime
49
69
  prerelease: false
50
70
  version_requirements: !ruby/object:Gem::Requirement
51
71
  requirements:
52
72
  - - "~>"
53
73
  - !ruby/object:Gem::Version
54
- version: '2.1'
74
+ version: '1.0'
55
75
  - !ruby/object:Gem::Dependency
56
- name: berkshelf
76
+ name: poise-git
57
77
  requirement: !ruby/object:Gem::Requirement
58
78
  requirements:
59
79
  - - "~>"
60
80
  - !ruby/object:Gem::Version
61
- version: '4.0'
62
- type: :development
81
+ version: '1.0'
82
+ type: :runtime
63
83
  prerelease: false
64
84
  version_requirements: !ruby/object:Gem::Requirement
65
85
  requirements:
66
86
  - - "~>"
67
87
  - !ruby/object:Gem::Version
68
- version: '4.0'
88
+ version: '1.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: poise-ruby
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '2.1'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '2.1'
69
103
  - !ruby/object:Gem::Dependency
70
104
  name: poise-boiler
71
105
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +125,6 @@ files:
91
125
  - ".kitchen.yml"
92
126
  - ".travis.yml"
93
127
  - ".yardopts"
94
- - Berksfile
95
128
  - CHANGELOG.md
96
129
  - Gemfile
97
130
  - LICENSE
@@ -108,12 +141,27 @@ files:
108
141
  - test/docker/docker.ca
109
142
  - test/docker/docker.pem
110
143
  - test/gemfiles/chef-12.1.gemfile
144
+ - test/gemfiles/chef-12.10.gemfile
145
+ - test/gemfiles/chef-12.11.gemfile
146
+ - test/gemfiles/chef-12.12.gemfile
147
+ - test/gemfiles/chef-12.13.gemfile
148
+ - test/gemfiles/chef-12.14.gemfile
149
+ - test/gemfiles/chef-12.15.gemfile
150
+ - test/gemfiles/chef-12.16.gemfile
151
+ - test/gemfiles/chef-12.17.gemfile
152
+ - test/gemfiles/chef-12.18.gemfile
153
+ - test/gemfiles/chef-12.19.gemfile
111
154
  - test/gemfiles/chef-12.2.gemfile
112
155
  - test/gemfiles/chef-12.3.gemfile
113
156
  - test/gemfiles/chef-12.4.gemfile
114
157
  - test/gemfiles/chef-12.5.gemfile
115
158
  - test/gemfiles/chef-12.6.gemfile
159
+ - test/gemfiles/chef-12.7.gemfile
160
+ - test/gemfiles/chef-12.8.gemfile
161
+ - test/gemfiles/chef-12.9.gemfile
116
162
  - test/gemfiles/chef-12.gemfile
163
+ - test/gemfiles/chef-13.0.gemfile
164
+ - test/gemfiles/chef-13.gemfile
117
165
  - test/gemfiles/master.gemfile
118
166
  - test/integration/default/serverspec/Gemfile
119
167
  - test/integration/default/serverspec/default_spec.rb
@@ -122,8 +170,7 @@ files:
122
170
  homepage: https://github.com/poise/poise-ruby-build
123
171
  licenses:
124
172
  - Apache 2.0
125
- metadata:
126
- halite_dependencies: git ~> 4.2, build-essential ~> 2.2
173
+ metadata: {}
127
174
  post_install_message:
128
175
  rdoc_options: []
129
176
  require_paths:
@@ -140,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
187
  version: '0'
141
188
  requirements: []
142
189
  rubyforge_project:
143
- rubygems_version: 2.6.2
190
+ rubygems_version: 2.6.11
144
191
  signing_key:
145
192
  specification_version: 4
146
193
  summary: A Chef cookbook for managing Ruby installations using ruby-build.
@@ -150,15 +197,29 @@ test_files:
150
197
  - test/docker/docker.ca
151
198
  - test/docker/docker.pem
152
199
  - test/gemfiles/chef-12.1.gemfile
200
+ - test/gemfiles/chef-12.10.gemfile
201
+ - test/gemfiles/chef-12.11.gemfile
202
+ - test/gemfiles/chef-12.12.gemfile
203
+ - test/gemfiles/chef-12.13.gemfile
204
+ - test/gemfiles/chef-12.14.gemfile
205
+ - test/gemfiles/chef-12.15.gemfile
206
+ - test/gemfiles/chef-12.16.gemfile
207
+ - test/gemfiles/chef-12.17.gemfile
208
+ - test/gemfiles/chef-12.18.gemfile
209
+ - test/gemfiles/chef-12.19.gemfile
153
210
  - test/gemfiles/chef-12.2.gemfile
154
211
  - test/gemfiles/chef-12.3.gemfile
155
212
  - test/gemfiles/chef-12.4.gemfile
156
213
  - test/gemfiles/chef-12.5.gemfile
157
214
  - test/gemfiles/chef-12.6.gemfile
215
+ - test/gemfiles/chef-12.7.gemfile
216
+ - test/gemfiles/chef-12.8.gemfile
217
+ - test/gemfiles/chef-12.9.gemfile
158
218
  - test/gemfiles/chef-12.gemfile
219
+ - test/gemfiles/chef-13.0.gemfile
220
+ - test/gemfiles/chef-13.gemfile
159
221
  - test/gemfiles/master.gemfile
160
222
  - test/integration/default/serverspec/Gemfile
161
223
  - test/integration/default/serverspec/default_spec.rb
162
224
  - test/spec/provider_spec.rb
163
225
  - test/spec/spec_helper.rb
164
- has_rdoc: