Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Commit

Permalink
Update boilerplate.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderanger committed Jan 28, 2018
1 parent 25e91c8 commit ffc7f95
Show file tree
Hide file tree
Showing 26 changed files with 207 additions and 7 deletions.
24 changes: 20 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist: trusty
sudo: false
cache: bundler
language: ruby
Expand All @@ -17,17 +18,14 @@ matrix:
include:
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.gemfile
- rvm: 2.4.1
- rvm: 2.4.3
gemfile: test/gemfiles/chef-13.gemfile
- rvm: 2.1.4
gemfile: test/gemfiles/chef-12.1.gemfile
dist: precise
- rvm: 2.1.4
gemfile: test/gemfiles/chef-12.2.gemfile
dist: precise
- rvm: 2.1.4
gemfile: test/gemfiles/chef-12.3.gemfile
dist: precise
- rvm: 2.1.6
gemfile: test/gemfiles/chef-12.4.gemfile
- rvm: 2.1.6
Expand Down Expand Up @@ -60,7 +58,25 @@ matrix:
gemfile: test/gemfiles/chef-12.18.gemfile
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.19.gemfile
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.20.gemfile
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.21.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.0.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.1.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.2.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.3.gemfile
- rvm: 2.4.2
gemfile: test/gemfiles/chef-13.4.gemfile
- rvm: 2.4.2
gemfile: test/gemfiles/chef-13.5.gemfile
- rvm: 2.4.2
gemfile: test/gemfiles/chef-13.6.gemfile
- rvm: 2.4.3
gemfile: test/gemfiles/chef-13.7.gemfile
- rvm: 2.5.0
gemfile: test/gemfiles/master.gemfile
2 changes: 1 addition & 1 deletion poise-languages.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = %w{lib}

spec.add_dependency 'chef', '>= 12.1', '< 14'
spec.add_dependency 'chef', '>= 12.1', '< 15'
spec.add_dependency 'halite', '~> 1.0'
spec.add_dependency 'poise', '~> 2.5'
spec.add_dependency 'poise-archive', '~> 1.0'
Expand Down
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.1.2'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.10.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.10.24'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.11.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.11.18'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.12.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.12.15'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.13.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.13.37'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.2.1'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-12.20.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.20.3'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-12.21.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.21.31'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.3.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.4.3'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'gh', '0.14.0'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.5.1'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.6.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.7.2'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.8.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.8.1'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
1 change: 1 addition & 0 deletions test/gemfiles/chef-12.9.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
gem 'chef', '~> 12.9.41'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'ffi-yajl', '< 2.3.1'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
2 changes: 1 addition & 1 deletion test/gemfiles/chef-12.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.19'
gem 'chef', '~> 12.21'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.1.31'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.2.20'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.3.42'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.4.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.4.24'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.5.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.5.3'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.6.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.6.4'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2018, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.7.16'
2 changes: 1 addition & 1 deletion test/gemfiles/chef-13.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 13.0'
gem 'chef', '~> 13.7'

0 comments on commit ffc7f95

Please sign in to comment.