.rubocop.yml in stub_requests-0.1.1 vs .rubocop.yml in stub_requests-0.1.2
- old
+ new
@@ -10,22 +10,20 @@
Include:
- "Rakefile"
- "lib/**/*"
- "bin/**/*"
- "spec/**/*"
+ - ".simplecov"
Exclude:
- "lib/stub_requests/core_ext/**/*"
- "Gemfile.lock"
- "bin/setup"
- "gemfiles/**/*"
-Lint/HandleExceptions:
- Enabled: true
+Layout/IndentArray:
+ EnforcedStyle: consistent
-Lint/UselessAssignment:
- Enabled: true
-
Metrics/AbcSize:
Max: 38
Metrics/CyclomaticComplexity:
Max: 7
@@ -35,80 +33,80 @@
Metrics/MethodLength:
Max: 13
Metrics/BlockLength:
- Enabled: true
Exclude:
- '**/spec/**/*.rb'
- '**/*.rake'
Metrics/PerceivedComplexity:
Max: 8
-Naming/AccessorMethodName:
- Enabled: true
-
-Naming/ConstantName:
- Enabled: true
-
Naming/FileName:
- Enabled: true
Exclude:
- '**/Gemfile'
Naming/UncommunicativeMethodParamName:
AllowedNames:
- ex
-RSpec/AlignLeftLetBrace:
+AlignLeftLetBrace:
Enabled: true
+RSpec/ContextWording:
+ Prefixes:
+ - when
+ - with
+ - without
+ - if
+ - given
+ - for
+ - and
+
+RSpec/EmptyExampleGroup:
+ Enabled: false
+ CustomIncludeMethods:
+ - let!
+ - specfify!
+
RSpec/FilePath:
- Enabled: true
Exclude:
- - 'spec/stub_requests/webmock_builder_spec.rb'
+ - spec/stub_requests/webmock/builder_spec.rb
-RSpec/NestedGroups:
- Max: 4
- Enabled: true
+RSpec/ImplicitSubject:
+ Enabled: false
+ EnforcedStyle: single_statement_only
-Style/FrozenStringLiteralComment:
- Enabled: true
+RSpec/MultipleDescribes:
+ Exclude:
+ - spec/stub_requests/core_ext/object/blank_spec.rb
-Style/Documentation:
- Enabled: true
+RSpec/NamedSubject:
+ Exclude:
+ - spec/stub_requests/core_ext/object/blank_spec.rb
-Style/GlobalVars:
- Enabled: true
+RSpec/NestedGroups:
+ Max: 4
Style/ModuleFunction:
- Enabled: false
+ EnforcedStyle: extend_self
Style/StringLiterals:
- Enabled: true
EnforcedStyle: double_quotes
ConsistentQuotesInMultiline: true
-Style/StringLiteralsInInterpolation:
- Enabled: true
-
Style/SymbolArray:
- Enabled: true
EnforcedStyle: brackets
Style/TernaryParentheses:
- Enabled: true
EnforcedStyle: require_parentheses_when_complex
AllowSafeAssignment: true
Style/TrailingCommaInArguments:
- Enabled: true
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
- Enabled: true
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
- Enabled: true
EnforcedStyleForMultiline: comma