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

Commit

Permalink
Update test harness.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderanger committed Apr 24, 2017
1 parent 4bede80 commit cc6151b
Show file tree
Hide file tree
Showing 21 changed files with 106 additions and 49 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,9 +1,10 @@
Berksfile.lock
Gemfile.lock
test/gemfiles/*.lock
Berksfile.lock
.kitchen/
.kitchen.local.yml
test/docker/
test/ec2/
coverage/
pkg/
.yardoc/
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -20,6 +20,8 @@ matrix:
include:
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.gemfile
- rvm: 2.1.4
gemfile: test/gemfiles/chef-12.1.gemfile
- rvm: 2.1.4
Expand Down Expand Up @@ -58,5 +60,7 @@ matrix:
gemfile: test/gemfiles/chef-12.18.gemfile
- rvm: 2.3.1
gemfile: test/gemfiles/chef-12.19.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/chef-13.0.gemfile
- rvm: 2.4.1
gemfile: test/gemfiles/master.gemfile
5 changes: 4 additions & 1 deletion .yardopts
@@ -1,4 +1,7 @@
--plugin classmethods
--markup markdown
--embed-mixin ClassMethods
--hide-api private
--markup markdown
--hide-void-return
--tag provides:Provides
--tag action:Actions
7 changes: 7 additions & 0 deletions .yo-rc.json
@@ -0,0 +1,7 @@
{
"generator-poise": {
"created": true,
"name": "poise-application-git",
"cookbookName": "application_git"
}
}
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -23,7 +23,7 @@ def dev_gem(name, path: File.join('..', name), github: nil)
if File.exist?(path)
gem name, path: path
elsif github
gem name, github: github
gem name, git: "https://gitub.com/#{github}.git"
end
end

Expand Down
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.1.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.1.2'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.10.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.10.24'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.11.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.11.18'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
4 changes: 2 additions & 2 deletions test/gemfiles/chef-12.12.gemfile
Expand Up @@ -17,6 +17,6 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.12.15'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
4 changes: 2 additions & 2 deletions test/gemfiles/chef-12.13.gemfile
Expand Up @@ -17,6 +17,6 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.13.37'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.2.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.2.1'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.3.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.3.0'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.4.gemfile
Expand Up @@ -17,8 +17,8 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.4.3'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'gh', '0.14.0'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.5.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.5.1'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.6.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.6.0'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.7.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.7.2'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.8.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.8.1'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
6 changes: 3 additions & 3 deletions test/gemfiles/chef-12.9.gemfile
Expand Up @@ -17,7 +17,7 @@
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)

gem 'chef', '~> 12.9.41'
gem 'rack', '< 2'
gem 'foodcritic', '< 8'
gem 'fauxhai', '<= 3.9.0'
gem 'chefspec', '< 6'
gem 'fauxhai', '<= 3.9.0'
gem 'foodcritic', '< 8'
gem 'rack', '< 2'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.0.gemfile
@@ -0,0 +1,19 @@
#
# Copyright 2017, 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.0.118'
19 changes: 19 additions & 0 deletions test/gemfiles/chef-13.gemfile
@@ -0,0 +1,19 @@
#
# Copyright 2017, 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.0'
22 changes: 13 additions & 9 deletions test/gemfiles/master.gemfile
Expand Up @@ -16,12 +16,16 @@

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

gem 'chef', github: 'chef/chef'
gem 'halite', github: 'poise/halite'
gem 'ohai', github: 'chef/ohai'
gem 'poise', github: 'poise/poise'
gem 'poise-application', github: 'poise/application'
gem 'poise-boiler', github: 'poise/poise-boiler'
gem 'poise-git', github: 'poise/poise-git'
gem 'poise-languages', github: 'poise/poise-languages'
gem 'poise-service', github: 'poise/poise-service'
gem 'chef', git: 'https://github.com/chef/chef.git'
gem 'chefspec', git: 'https://github.com/sethvargo/chefspec.git'
gem 'fauxhai', git: 'https://github.com/customink/fauxhai.git'
gem 'foodcritic', git: 'https://github.com/foodcritic/foodcritic.git'
gem 'halite', git: 'https://github.com/poise/halite.git'
gem 'ohai', git: 'https://github.com/chef/ohai.git'
gem 'poise', git: 'https://github.com/poise/poise.git'
gem 'poise-application', git: 'https://github.com/poise/poise-application.git'
gem 'poise-boiler', git: 'https://github.com/poise/poise-boiler.git'
gem 'poise-git', git: 'https://github.com/poise/poise-git.git'
gem 'poise-languages', git: 'https://github.com/poise/poise-languages.git'
gem 'poise-profiler', git: 'https://github.com/poise/poise-profiler.git'
gem 'poise-service', git: 'https://github.com/poise/poise-service.git'

0 comments on commit cc6151b

Please sign in to comment.