-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
full rubocop integration
- Loading branch information
Showing
13 changed files
with
118 additions
and
37 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,55 @@ | ||
inherit_from: ./.rubocop_todo.yml | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.2 | ||
Exclude: | ||
- 'db/**/*' | ||
- 'db/schema.rb' | ||
- 'app/assets/**' | ||
- 'config/**/*' | ||
- 'bin/**/*' | ||
- 'node_modules/**/*' | ||
- 'public/**/*' | ||
- 'tmp/**/*' | ||
- 'vendor/**/*' | ||
- 'doc/**/*' | ||
- 'coverage/**/*' | ||
- Gemfile | ||
- Guardfile | ||
|
||
Layout/EmptyLinesAroundBlockBody: | ||
EnforcedStyle: no_empty_lines | ||
Enabled: true | ||
|
||
Layout/EmptyLinesAroundClassBody: | ||
EnforcedStyle: no_empty_lines | ||
Enabled: true | ||
|
||
Layout/EmptyLinesAroundModuleBody: | ||
EnforcedStyle: no_empty_lines | ||
|
||
Layout/IndentArray: | ||
EnforcedStyle: consistent | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Style/Lambda: | ||
EnforcedStyle: literal | ||
|
||
Style/PercentLiteralDelimiters: | ||
PreferredDelimiters: | ||
default: '[]' | ||
'%i': '[]' | ||
|
||
Metrics/PerceivedComplexity: | ||
Enabled: false | ||
|
||
Metrics/CyclomaticComplexity: | ||
Enabled: false | ||
|
||
Metrics/ModuleLength: | ||
Enabled: false | ||
|
||
Metrics/BlockNesting: | ||
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,36 @@ | ||
# Offense count: 13 | ||
Metrics/AbcSize: | ||
Enabled: false | ||
|
||
# Offense count: 43 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
Metrics/BlockLength: | ||
Enabled: false | ||
|
||
# Offense count: 137 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Enabled: false | ||
|
||
# Offense count: 7 | ||
# Configuration parameters: CountComments. | ||
Metrics/MethodLength: | ||
Enabled: false | ||
|
||
Metrics/ClassLength: | ||
Enabled: false | ||
|
||
# Offense count: 195 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: when_needed, always, never | ||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
|
||
# Offense count: 328 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. | ||
# SupportedStyles: single_quotes, double_quotes | ||
Style/StringLiterals: | ||
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 |
---|---|---|
|
@@ -13,7 +13,6 @@ Gem::Specification.new do |gem| | |
gem.summary = 'Log outgoing HTTP requests.' | ||
gem.authors = ['Thilo Rusche'] | ||
gem.email = '[email protected]' | ||
gem.files = Dir['lib/**/*'] + ['MIT-LICENSE', 'Rakefile', 'README.md', 'CHANGELOG.md'] | ||
gem.homepage = 'http://github.com/trusche/httplog' | ||
gem.description = "Log outgoing HTTP requests made from your application. Helpful for tracking API calls | ||
of third party gems that don't provide their own log output." | ||
|
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
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,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module HttpLog | ||
VERSION = '1.0.2' | ||
VERSION = '1.0.2'.freeze | ||
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