-
Notifications
You must be signed in to change notification settings - Fork 472
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 #409 from dblock/grape-0.15.x
Added support for Grape 0.15.x, part of #407.
- Loading branch information
Showing
59 changed files
with
1,585 additions
and
1,533 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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
AllCops: | ||
Exclude: | ||
- vendor/**/* | ||
- spec/**/* | ||
- swagger_spec1.2/**/* | ||
- example/**/* | ||
|
||
inherit_from: .rubocop_todo.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 |
---|---|---|
@@ -1,73 +1,83 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2015-08-19 12:17:53 -0400 using RuboCop version 0.33.0. | ||
# on 2016-05-06 15:08:19 -0400 using RuboCop version 0.39.0. | ||
# 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: 10 | ||
Metrics/AbcSize: | ||
Max: 176 | ||
# Offense count: 1 | ||
Lint/AmbiguousOperator: | ||
Exclude: | ||
- 'spec/lib/move_params_spec.rb' | ||
|
||
# Offense count: 1 | ||
Lint/UnreachableCode: | ||
Exclude: | ||
- 'example/config.ru' | ||
|
||
# Offense count: 1 | ||
Lint/UselessAssignment: | ||
Exclude: | ||
- 'spec/lib/move_params_spec.rb' | ||
|
||
# Offense count: 27 | ||
Metrics/AbcSize: | ||
Max: 68 | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 250 | ||
Max: 234 | ||
|
||
# Offense count: 6 | ||
# Offense count: 11 | ||
Metrics/CyclomaticComplexity: | ||
Max: 38 | ||
Max: 16 | ||
|
||
# Offense count: 304 | ||
# Configuration parameters: AllowURI, URISchemes. | ||
# Offense count: 624 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 242 | ||
Max: 487 | ||
|
||
# Offense count: 21 | ||
# Offense count: 33 | ||
# Configuration parameters: CountComments. | ||
Metrics/MethodLength: | ||
Max: 139 | ||
Max: 101 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments. | ||
Metrics/ModuleLength: | ||
Max: 200 | ||
|
||
# Offense count: 4 | ||
# Offense count: 7 | ||
Metrics/PerceivedComplexity: | ||
Max: 38 | ||
Max: 19 | ||
|
||
# Offense count: 8 | ||
# Offense count: 4 | ||
Style/ClassVars: | ||
Exclude: | ||
- 'example/api.rb' | ||
- 'example/api/endpoints.rb' | ||
- 'lib/grape-swagger/doc_methods.rb' | ||
|
||
# Offense count: 90 | ||
# Offense count: 24 | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Offense count: 2 | ||
# Offense count: 1 | ||
Style/DoubleNegation: | ||
Exclude: | ||
- 'example/api/endpoints.rb' | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: Exclude. | ||
# Offense count: 5 | ||
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. | ||
Style/FileName: | ||
Exclude: | ||
- 'lib/grape-swagger.rb' | ||
- 'spec/grape-swagger_helper_spec.rb' | ||
- 'spec/grape-swagger_spec.rb' | ||
- 'spec/swagger_v2/api_swagger_v2_definitions-models_spec.rb' | ||
- 'spec/swagger_v2/api_swagger_v2_format-content_type_spec.rb' | ||
- 'spec/swagger_v2/api_swagger_v2_type-format_spec.rb' | ||
- 'spec/swagger_v2/grape-swagger_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: NamePrefix, NamePrefixBlacklist. | ||
Style/PredicateName: | ||
Exclude: | ||
|
||
# Offense count: 4 | ||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. | ||
# SupportedStyles: slashes, percent_r, mixed | ||
Style/RegexpLiteral: | ||
Exclude: | ||
- 'lib/grape-swagger.rb' |
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
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.