-
Notifications
You must be signed in to change notification settings - Fork 6
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 #5 from fnichol/health
Health
- Loading branch information
Showing
26 changed files
with
296 additions
and
321 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 @@ | ||
Style/CaseIndentation: | ||
IndentWhenRelativeTo: 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 |
---|---|---|
@@ -1,22 +1,34 @@ | ||
language: ruby | ||
|
||
rvm: | ||
- 2.0.0 | ||
- 1.9.3 | ||
- 1.9.2 | ||
- ruby-head | ||
- 2.1 | ||
- 2.0.0 | ||
- 1.9.3 | ||
- 1.9.2 | ||
- ruby-head | ||
|
||
env: | ||
- "CHEF_VERSION=" | ||
- "CHEF_VERSION='~> 11.6.0'" | ||
- "CHEF_VERSION='~> 11.4.4'" | ||
- "CHEF_VERSION='~> 10.26'" | ||
- "CHEF_VERSION=" | ||
- "CHEF_VERSION='~> 11.14.2'" | ||
- "CHEF_VERSION='~> 11.4.4'" | ||
- "CHEF_VERSION='~> 10.26'" | ||
|
||
bundler_args: --without guard | ||
|
||
matrix: | ||
allow_failures: | ||
- rvm: ruby-head | ||
- rvm: ruby-head | ||
exclude: | ||
- rvm: 2.0.0 | ||
env: "CHEF_VERSION='~> 11.4.4'" | ||
- rvm: 2.0.0 | ||
env: "CHEF_VERSION='~> 10.26'" | ||
- rvm: 2.1 | ||
env: "CHEF_VERSION='~> 11.4.4'" | ||
- rvm: 2.1 | ||
env: "CHEF_VERSION='~> 10.26'" | ||
- rvm: 2.0.0 | ||
env: "CHEF_VERSION='~> 11.4.4'" | ||
- rvm: 2.0.0 | ||
env: "CHEF_VERSION='~> 10.26'" | ||
|
||
addons: | ||
code_climate: | ||
repo_token: | ||
secure: "Apwuy7PdnWsOjQqkVYIfZQIcECns0D+eNecRmG0dQguBbgnQfG9xMMGIwuLshubhs9rPqAac/Bg9ZyIjWBa57V/ehaQg7BTzaN8K76R98lgrQ4Ub3bYoCU91zc554g4sgKMf5K8P5f1NLYGEyDb5+QP4oeafF1UDxwVHL17hHq0=" |
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,10 +1,23 @@ | ||
guard 'minitest' do | ||
watch(%r|^spec/(.*)_spec\.rb|) | ||
watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/unit/#{m[1]}#{m[2]}_spec.rb" } | ||
watch(%r|^spec/spec_helper\.rb|) { "spec" } | ||
ignore %r{^\.gem/} | ||
|
||
group :red_green_refactor, halt_on_fail: true do | ||
guard :minitest do | ||
watch(%r|^spec/(.*)_spec\.rb|) | ||
watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/unit/#{m[1]}#{m[2]}_spec.rb" } | ||
watch(%r|^spec/spec_helper\.rb|) { "spec" } | ||
end | ||
|
||
guard :cane do | ||
watch(%r|.*\.rb|) | ||
watch('.cane') | ||
end | ||
|
||
guard :rubocop, all_on_start: false, keep_failed: false, cli: "-r finstyle" do | ||
watch(%r{.+\.rb$}) | ||
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } | ||
end | ||
end | ||
|
||
guard 'cane' do | ||
watch(%r|.*\.rb|) | ||
watch('.cane') | ||
guard :yard, port: "8808" do | ||
watch(%r{lib/.+\.rb}) | ||
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,39 +1,42 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
lib = File.expand_path("../lib", __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'emeril/version' | ||
require "emeril/version" | ||
require "English" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "emeril" | ||
spec.version = Emeril::VERSION | ||
spec.authors = ["Fletcher Nichol"] | ||
spec.email = ["fnichol@nichol.ca"] | ||
spec.description = %q{Release Chef cookbooks} | ||
spec.description = "Release Chef cookbooks" | ||
spec.summary = spec.description | ||
spec.homepage = "http://fnichol.github.io/emeril/" | ||
spec.license = "MIT" | ||
|
||
spec.files = `git ls-files`.split($/) | ||
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) | ||
spec.executables = [] | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
|
||
spec.required_ruby_version = '>= 1.9.2' | ||
spec.required_ruby_version = ">= 1.9.2" | ||
|
||
spec.add_dependency 'chef', '> 0.10.10' | ||
spec.add_dependency "chef", "> 0.10.10" | ||
|
||
spec.add_development_dependency 'bundler', '~> 1.3' | ||
spec.add_development_dependency 'rake' | ||
spec.add_development_dependency 'minitest' | ||
spec.add_development_dependency 'guard-minitest' | ||
spec.add_development_dependency 'mocha' | ||
spec.add_development_dependency 'fakefs' | ||
spec.add_development_dependency 'vcr' | ||
spec.add_development_dependency 'webmock' | ||
spec.add_development_dependency "bundler", "~> 1.3" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "minitest" | ||
spec.add_development_dependency "mocha" | ||
spec.add_development_dependency "fakefs" | ||
spec.add_development_dependency "vcr" | ||
spec.add_development_dependency "webmock" | ||
|
||
spec.add_development_dependency 'cane' | ||
spec.add_development_dependency 'guard-cane' | ||
spec.add_development_dependency 'tailor' | ||
spec.add_development_dependency 'simplecov' | ||
spec.add_development_dependency 'countloc' | ||
spec.add_development_dependency "simplecov" | ||
spec.add_development_dependency "countloc" | ||
|
||
# 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 | ||
spec.add_development_dependency "finstyle", "1.1.0" | ||
spec.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# -*- encoding: utf-8 -*- | ||
|
||
require 'emeril/category' | ||
require 'emeril/git_tagger' | ||
require 'emeril/metadata_chopper' | ||
require 'emeril/publisher' | ||
require 'emeril/releaser' | ||
require 'emeril/version' | ||
require "emeril/category" | ||
require "emeril/git_tagger" | ||
require "emeril/metadata_chopper" | ||
require "emeril/publisher" | ||
require "emeril/releaser" | ||
require "emeril/version" | ||
|
||
module Emeril | ||
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
Oops, something went wrong.