-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from test-kitchen/freshen-quality
Project quality freshening
- Loading branch information
Showing
6 changed files
with
73 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
language: ruby | ||
|
||
rvm: | ||
- 1.9.3 | ||
- 2.2 | ||
- 2.1 | ||
- 2.0.0 | ||
- 1.9.3 | ||
- ruby-head | ||
|
||
bundler_args: --without guard | ||
|
||
sudo: false | ||
|
||
matrix: | ||
allow_failures: | ||
- rvm: ruby-head | ||
|
||
notifications: | ||
irc: "chat.freenode.net#kitchenci" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in kitchen-vagrant.gemspec | ||
source "https://rubygems.org" | ||
gemspec | ||
|
||
group :test do | ||
gem 'rake' | ||
group :guard do | ||
gem "guard-rubocop" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# -*- encoding: utf-8 -*- | ||
ignore %r{^\.gem/} | ||
|
||
def rubocop_opts | ||
{ :all_on_start => false, :keep_failed => false, :cli => "-r finstyle" } | ||
end | ||
|
||
group :red_green_refactor, :halt_on_fail => true do | ||
guard :rubocop, rubocop_opts do | ||
watch(%r{.+\.rb$}) | ||
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
# -*- encoding: utf-8 -*- | ||
lib = File.expand_path('../lib', __FILE__) | ||
lib = File.expand_path("../lib", __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'kitchen/driver/vagrant_version.rb' | ||
require "kitchen/driver/vagrant_version.rb" | ||
require "English" | ||
|
||
Gem::Specification.new do |gem| | ||
gem.name = "kitchen-vagrant" | ||
gem.version = Kitchen::Driver::VAGRANT_VERSION | ||
gem.license = 'Apache 2.0' | ||
gem.license = "Apache 2.0" | ||
gem.authors = ["Fletcher Nichol"] | ||
gem.email = ["[email protected]"] | ||
gem.description = "Kitchen::Driver::Vagrant - A Vagrant Driver for Test Kitchen." | ||
gem.summary = gem.description | ||
gem.homepage = "https://github.com/test-kitchen/kitchen-vagrant/" | ||
|
||
gem.files = `git ls-files`.split($/) | ||
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) | ||
gem.executables = [] | ||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
gem.require_paths = ["lib"] | ||
|
||
gem.add_dependency 'test-kitchen', '~> 1.0' | ||
gem.add_dependency "test-kitchen", "~> 1.0" | ||
|
||
gem.add_development_dependency 'cane' | ||
gem.add_development_dependency 'tailor' | ||
gem.add_development_dependency 'countloc' | ||
gem.add_development_dependency "rake" | ||
gem.add_development_dependency "countloc", "~> 0.4" | ||
|
||
# style and complexity libraries are tightly version pinned as newer releases | ||
# may introduce new and undesireable style choices which would be immediately | ||
# enforced in CI | ||
gem.add_development_dependency "finstyle", "1.4.0" | ||
gem.add_development_dependency "cane", "2.6.2" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters