This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
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 #19 from sul-dlss/cleanup
Ticketed issues and rubocop cleanup
- Loading branch information
Showing
7 changed files
with
89 additions
and
159 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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
.yardoc | ||
.travis | ||
.rvmrc | ||
.byebug_history | ||
Gemfile.lock | ||
InstalledFiles | ||
_yardoc | ||
|
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,115 +1,47 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2016-01-06 15:42:38 -0800 using RuboCop version 0.35.1. | ||
# on 2016-07-19 16:41:43 -0700 using RuboCop version 0.41.2. | ||
# 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: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: IgnoreEmptyBlocks. | ||
Lint/UnusedBlockArgument: | ||
Exclude: | ||
- 'lib/dor-fetcher.rb' | ||
|
||
# Offense count: 1 | ||
Metrics/AbcSize: | ||
Max: 16 | ||
|
||
# Offense count: 1 | ||
Metrics/CyclomaticComplexity: | ||
Max: 7 | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: AllowURI, URISchemes. | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 1688 | ||
|
||
# Offense count: 7 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/BracesAroundHashParameters: | ||
Exclude: | ||
- 'lib/dor-fetcher.rb' | ||
- 'spec/dor_fetcher_spec.rb' | ||
|
||
# Offense count: 4 | ||
Style/ClassVars: | ||
Exclude: | ||
- 'lib/dor-fetcher.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: Exclude. | ||
Style/Documentation: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'test/**/*' | ||
- 'lib/dor-fetcher.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/EmptyLinesAroundBlockBody: | ||
Exclude: | ||
- 'spec/dor_fetcher_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: Exclude. | ||
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. | ||
Style/FileName: | ||
Exclude: | ||
- 'lib/dor-fetcher.rb' | ||
|
||
# Offense count: 32 | ||
# Offense count: 28 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. | ||
# Configuration parameters: SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. | ||
# SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets | ||
Style/HashSyntax: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/MultilineOperationIndentation: | ||
Enabled: false | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
Style/NumericLiterals: | ||
MinDigits: 9 | ||
EnforcedStyle: hash_rockets | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. | ||
# NamePrefix: is_, has_, have_ | ||
# NamePrefixBlacklist: is_, has_, have_ | ||
# NameWhitelist: is_a? | ||
Style/PredicateName: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'lib/dor-fetcher.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
Style/SignalException: | ||
Exclude: | ||
- 'lib/dor-fetcher.rb' | ||
|
||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. | ||
Style/SpaceInsideBlockBraces: | ||
EnforcedStyle: no_space | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
Style/SpaceInsideBrackets: | ||
Exclude: | ||
- 'Rakefile' | ||
|
||
# Offense count: 22 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. | ||
Style/SpaceInsideHashLiteralBraces: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: WordRegex. | ||
Style/WordArray: | ||
MinSize: 6 |
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
Oops, something went wrong.