forked from makersacademy/takeaway-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ready for automation and user stories
- Loading branch information
Showing
8 changed files
with
83 additions
and
6 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 @@ | ||
/**/.DS_Store | ||
/coverage |
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 @@ | ||
ruby: | ||
config_file: .rubocop.yml |
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 @@ | ||
--color --format documentation | ||
--require spec_helper |
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,42 @@ | ||
require: rubocop-rspec | ||
|
||
EmptyLinesAroundBlockBody: | ||
Enabled: false | ||
|
||
Style/StringLiterals: | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Description: Document classes and non-namespace modules. | ||
Enabled: false | ||
|
||
Style/MethodDefParentheses: | ||
Description: Checks if the method definitions have or don't have parentheses. | ||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens | ||
Enabled: false | ||
|
||
Style/SingleLineBlockParams: | ||
Description: Enforces the names of some block params. | ||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks | ||
Enabled: false | ||
Methods: | ||
- reduce: | ||
- a | ||
- e | ||
- inject: | ||
- a | ||
- e | ||
|
||
Lint/UselessAssignment: | ||
Description: Checks for useless assignment to a local variable. | ||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars | ||
Enabled: false | ||
|
||
Style/TrailingBlankLines: | ||
Description: Checks trailing blank lines and final newline. | ||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof | ||
Enabled: false | ||
EnforcedStyle: final_newline | ||
SupportedStyles: | ||
- final_newline | ||
- final_blank_line |
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 @@ | ||
script: bundle exec rspec spec |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
require 'rubocop/rake_task' | ||
require 'rspec/core/rake_task' | ||
|
||
RuboCop::RakeTask.new :cop | ||
RSpec::Core::RakeTask.new :spec | ||
|
||
task default: [:cop, :spec] |
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 @@ | ||
require 'coveralls' | ||
Coveralls.wear! |