-
Notifications
You must be signed in to change notification settings - Fork 220
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 #402 from autolab/develop
Develop
- Loading branch information
Showing
179 changed files
with
9,582 additions
and
3,484 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 |
---|---|---|
|
@@ -21,3 +21,4 @@ tmp/ | |
db/*.sqlite3 | ||
tags | ||
.DS_Store | ||
.idea/ |
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,4 @@ | ||
--color | ||
--require rails_helper | ||
--require factory_girl_rails | ||
--require factory_girl |
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,16 @@ | ||
AllCops: | ||
Include: | ||
- '**/Rakefile' | ||
- '**/config.ru' | ||
Exclude: | ||
- 'config/**/*' | ||
- 'db/**/*' | ||
- 'script/**/*' | ||
- 'tmp/**/*' | ||
RunRailsCops: true | ||
|
||
Style/StringLiterals: | ||
EnforcedStyle: double_quotes | ||
SupportedStyles: | ||
- single_quotes | ||
- double_quotes |
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,212 @@ | ||
# This configuration was generated by `rubocop --auto-gen-config` | ||
# on 2015-03-13 14:29:24 -0400 using RuboCop version 0.29.1. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 5 | ||
Lint/AmbiguousOperator: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
Lint/AmbiguousRegexpLiteral: | ||
Enabled: false | ||
|
||
# Offense count: 9 | ||
# Configuration parameters: AllowSafeAssignment. | ||
Lint/AssignmentInCondition: | ||
Enabled: false | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: AlignWith, SupportedStyles. | ||
Lint/EndAlignment: | ||
Enabled: false | ||
|
||
# Offense count: 8 | ||
Lint/Eval: | ||
Enabled: false | ||
|
||
# Offense count: 4 | ||
Lint/HandleExceptions: | ||
Enabled: false | ||
|
||
# Offense count: 7 | ||
Lint/ParenthesesAsGroupedExpression: | ||
Enabled: false | ||
|
||
# Offense count: 41 | ||
Lint/RescueException: | ||
Enabled: false | ||
|
||
# Offense count: 2 | ||
Lint/ShadowingOuterLocalVariable: | ||
Enabled: false | ||
|
||
# Offense count: 2 | ||
Lint/UnderscorePrefixedVariableName: | ||
Enabled: false | ||
|
||
# Offense count: 2 | ||
Lint/UnreachableCode: | ||
Enabled: false | ||
|
||
# Offense count: 27 | ||
Lint/UselessAssignment: | ||
Enabled: false | ||
|
||
# Offense count: 125 | ||
Metrics/AbcSize: | ||
Max: 192 | ||
|
||
# Offense count: 5 | ||
Metrics/BlockNesting: | ||
Max: 6 | ||
|
||
# Offense count: 13 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 1184 | ||
|
||
# Offense count: 64 | ||
Metrics/CyclomaticComplexity: | ||
Max: 33 | ||
|
||
# Offense count: 376 | ||
# Configuration parameters: AllowURI, URISchemes. | ||
Metrics/LineLength: | ||
Max: 222 | ||
|
||
# Offense count: 147 | ||
# Configuration parameters: CountComments. | ||
Metrics/MethodLength: | ||
Max: 141 | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: CountKeywordArgs. | ||
Metrics/ParameterLists: | ||
Max: 6 | ||
|
||
# Offense count: 62 | ||
Metrics/PerceivedComplexity: | ||
Max: 37 | ||
|
||
# Offense count: 13 | ||
# Configuration parameters: Include. | ||
Rails/Output: | ||
Enabled: false | ||
|
||
# Offense count: 25 | ||
# Configuration parameters: Include. | ||
Rails/Validation: | ||
Enabled: false | ||
|
||
# Offense count: 3 | ||
Style/AccessorMethodName: | ||
Enabled: false | ||
|
||
# Offense count: 8 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/AndOr: | ||
Enabled: false | ||
|
||
# Offense count: 13 | ||
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep. | ||
Style/CaseIndentation: | ||
Enabled: false | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
# Offense count: 5 | ||
Style/ClassVars: | ||
Enabled: false | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: Keywords. | ||
Style/CommentAnnotation: | ||
Enabled: false | ||
|
||
# Offense count: 192 | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Offense count: 7 | ||
Style/EmptyElse: | ||
Enabled: false | ||
|
||
# Offense count: 74 | ||
# Configuration parameters: Exclude. | ||
Style/FileName: | ||
Enabled: false | ||
|
||
# Offense count: 42 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/For: | ||
Enabled: false | ||
|
||
# Offense count: 7 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/FormatString: | ||
Enabled: false | ||
|
||
# Offense count: 28 | ||
# Configuration parameters: MinBodyLength. | ||
Style/GuardClause: | ||
Enabled: false | ||
|
||
# Offense count: 77 | ||
# Configuration parameters: MaxLineLength. | ||
Style/IfUnlessModifier: | ||
Enabled: false | ||
|
||
# Offense count: 206 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/MethodName: | ||
Enabled: false | ||
|
||
# Offense count: 3 | ||
Style/MultilineTernaryOperator: | ||
Enabled: false | ||
|
||
# Offense count: 15 | ||
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. | ||
Style/Next: | ||
Enabled: false | ||
|
||
# Offense count: 3 | ||
Style/OneLineConditional: | ||
Enabled: false | ||
|
||
# Offense count: 11 | ||
# Configuration parameters: NamePrefix, NamePrefixBlacklist. | ||
Style/PredicateName: | ||
Enabled: false | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/RaiseArgs: | ||
Enabled: false | ||
|
||
# Offense count: 4 | ||
Style/RescueModifier: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowAsExpressionSeparator. | ||
Style/Semicolon: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: Methods. | ||
Style/SingleLineBlockParams: | ||
Enabled: false | ||
|
||
# Offense count: 145 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/VariableName: | ||
Enabled: false |
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,18 @@ | ||
language: ruby | ||
rvm: | ||
- 2.2.0 | ||
before_script: | ||
- cp config/database.travis.yml config/database.yml | ||
- cp config/initializers/devise.rb.template config/initializers/devise.rb | ||
- cp config/autogradeConfig.rb.template config/autogradeConfig.rb | ||
- mkdir attachments/ tmp/ | ||
- bundle install --quiet | ||
- RAILS_ENV=test bundle exec rails generate devise:install --skip --quiet | ||
- RAILS_ENV=test bundle exec rake db:create --trace | ||
- RAILS_ENV=test bundle exec rake db:setup --trace | ||
- RAILS_ENV=test bundle exec rake autolab:populate | ||
script: | ||
- RAILS_ENV=test CODECLIMATE_REPO_TOKEN=d37a8b9e09642cb73cfcf4ecfb4115fc3d6a55a7714110187ac59856ae4ab5ad bundle exec rspec ./spec/features/ | ||
notifications: | ||
slack: | ||
secure: GXcycaSBFaOYI6Ge0vhqCYK1xxixwjASOMkV2bkfE6PNIGkDEEQdTpOkohPGoKuz2W9KCGrXC38sbu4npMtonz0/sISydG+g7V33XkLqPaW8oUcdYhwJyBUEB/Ds17U/FJ4IhT9oOrhl17Sm0rm92Mhu6O2eeZYAclGqJgZNLvg= |
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.