-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change warn-level for rubocop checker
- Loading branch information
1 parent
4d64233
commit eed8777
Showing
6 changed files
with
16 additions
and
25 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
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,20 @@ | ||
notification :tmux, | ||
:display_message => true, | ||
:timeout => 3 # in seconds | ||
:display_message => true, | ||
:timeout => 3 # in seconds | ||
|
||
# ignore /doc/ | ||
|
||
group :red_green_refactor, halt_on_fail: true do | ||
guard 'rspec', cmd: "bundle exec rspec --color --format p", all_after_pass: true do | ||
group :red_green_refactor, :halt_on_fail => true do | ||
guard 'rspec', :cmd => 'bundle exec rspec --color --format p', :all_after_pass => true do | ||
watch(%r{^spec/.+_spec\.rb$}) | ||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } | ||
watch('spec/spec_helper.rb') { 'spec' } | ||
watch(%r{^spec/support/(.+)\.rb}) { 'spec' } | ||
watch(%r{^spec/fixtures/(.+)}) { 'spec' } | ||
watch(%r{^lib/(.+)\.rb$}){ |m| "spec/lib/#{m[1]}_spec.rb" } | ||
watch('spec/spec_helper.rb'){ 'spec' } | ||
watch(%r{^spec/support/(.+)\.rb}){ 'spec' } | ||
watch(%r{^spec/fixtures/(.+)}){ 'spec' } | ||
end | ||
|
||
guard :rubocop, cli: %w(--display-cop-names --auto-correct) do | ||
guard :rubocop, :cli => %w(--display-cop-names --auto-correct) do | ||
watch(%r{.+\.rb$}) | ||
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } | ||
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
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,3 +1,3 @@ | ||
module Codeqa | ||
VERSION = '0.4.1' | ||
VERSION = '0.4.2' | ||
end |