-
Notifications
You must be signed in to change notification settings - Fork 3
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 #13 from test-kitchen/testing
Test on modern ruby releases & lint with Chefstyle
- Loading branch information
Showing
10 changed files
with
63 additions
and
52 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
AllCops: | ||
TargetRubyVersion: 2.3 |
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,5 +1,14 @@ | ||
language: ruby | ||
cache: bundler | ||
|
||
rvm: | ||
- 2.1.1 | ||
- 2.0.0 | ||
- 2.3.8 | ||
- 2.4.9 | ||
- 2.5.7 | ||
- 2.6.5 | ||
- 2.7.0 | ||
- ruby-head | ||
|
||
matrix: | ||
allow_failures: | ||
- rvm: ruby-head |
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,5 +1,5 @@ | ||
# Encoding: UTF-8 | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gemspec |
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,20 +1,21 @@ | ||
# Encoding: UTF-8 | ||
|
||
require 'bundler/setup' | ||
require 'cane/rake_task' | ||
require 'rubocop/rake_task' | ||
require 'cucumber/rake/task' | ||
require "bundler/setup" | ||
require "cane/rake_task" | ||
require "chefstyle" | ||
require "rubocop/rake_task" | ||
require "cucumber/rake/task" | ||
|
||
Cane::RakeTask.new | ||
|
||
desc 'Display LOC stats' | ||
desc "Display LOC stats" | ||
task :loc do | ||
puts "\n## LOC stats" | ||
Kernel.system 'countloc -r .' | ||
Kernel.system "countloc -r ." | ||
end | ||
|
||
RuboCop::RakeTask.new | ||
|
||
Cucumber::Rake::Task.new | ||
|
||
task 'default' => [:cane, :loc, :rubocop, :cucumber] | ||
task "default" => %i{cane loc rubocop cucumber} |
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,32 +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 'busser/cucumber/version' | ||
require "busser/cucumber/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'busser-cucumber' | ||
spec.name = "busser-cucumber" | ||
spec.version = Busser::Cucumber::VERSION | ||
spec.authors = ['Jonathan Hartman'] | ||
spec.email = %w([email protected]) | ||
spec.description = 'A Busser plugin for Cucumber' | ||
spec.authors = ["Jonathan Hartman"] | ||
spec.email = %w{[email protected]} | ||
spec.description = "A Busser plugin for Cucumber" | ||
spec.summary = spec.description | ||
spec.homepage = 'https://github.com/test-kitchen/busser-cucumber' | ||
spec.license = 'Apache 2.0' | ||
spec.homepage = "https://github.com/test-kitchen/busser-cucumber" | ||
spec.license = "Apache 2.0" | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = [] | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)\/}) | ||
spec.require_paths = %w(lib) | ||
spec.require_paths = %w{lib} | ||
|
||
spec.add_dependency 'busser' | ||
spec.add_dependency "busser" | ||
|
||
spec.add_development_dependency 'bundler' | ||
spec.add_development_dependency 'rake' | ||
spec.add_development_dependency 'cane' | ||
spec.add_development_dependency 'rubocop' | ||
spec.add_development_dependency 'countloc' | ||
spec.add_development_dependency 'aruba', '0.6.1' | ||
spec.add_development_dependency 'cucumber', '1.3.18' | ||
spec.add_development_dependency 'rspec' | ||
spec.add_development_dependency "bundler" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "cane" | ||
spec.add_development_dependency "chefstyle" | ||
spec.add_development_dependency "countloc" | ||
spec.add_development_dependency "aruba", "0.6.1" | ||
spec.add_development_dependency "cucumber", "1.3.18" | ||
spec.add_development_dependency "rspec" | ||
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
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 |
---|---|---|
|
@@ -21,6 +21,6 @@ module Busser | |
# | ||
# @author Jonathan Hartman <[email protected]> | ||
module Cucumber | ||
VERSION = '0.2.1.dev'.freeze | ||
VERSION = "0.2.1.dev".freeze | ||
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