Skip to content

Commit

Permalink
Merge pull request #4 from nxt-insurance/v1.0.7
Browse files Browse the repository at this point in the history
Update rubocop and add Style/MutableConstant
  • Loading branch information
the-wendell committed Sep 30, 2020
2 parents 24f606d + 5727242 commit ea1d6f2
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 11 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,11 @@
# v1.0.7 2020-09-29

Updated Rubocop Version

### Added
- All new Cops
- Style/MutableConstant

# v1.0.6 2020-08-03

### Added
Expand Down
18 changes: 9 additions & 9 deletions Gemfile.lock
@@ -1,31 +1,31 @@
PATH
remote: .
specs:
nxt_cop (1.0.6)
rubocop (= 0.88.0)
nxt_cop (1.0.7)
rubocop (= 0.92.0)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.1)
parallel (1.19.2)
parser (2.7.1.4)
parser (2.7.1.5)
ast (~> 2.4.1)
rainbow (3.0.0)
rake (13.0.1)
regexp_parser (1.7.1)
regexp_parser (1.8.1)
rexml (3.2.4)
rubocop (0.88.0)
rubocop (0.92.0)
parallel (~> 1.10)
parser (>= 2.7.1.1)
parser (>= 2.7.1.5)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.7)
rexml
rubocop-ast (>= 0.1.0, < 1.0)
rubocop-ast (>= 0.5.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (0.3.0)
parser (>= 2.7.1.4)
rubocop-ast (0.7.1)
parser (>= 2.7.1.5)
ruby-progressbar (1.10.1)
unicode-display_width (1.7.0)

Expand Down
34 changes: 34 additions & 0 deletions default.yml
Expand Up @@ -35,18 +35,52 @@ Lint:
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*
Lint/BinaryOperatorWithIdenticalOperands:
Enabled: true
Lint/ConstantDefinitionInBlock:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Lint/DuplicateElsifCondition:
Enabled: true
Lint/DuplicateRequire:
Enabled: true
Lint/DuplicateRescueException:
Enabled: true
Lint/EmptyConditionalBody:
Enabled: true
Lint/EmptyFile:
Enabled: true
Lint/FloatComparison:
Enabled: true
Lint/IdentityComparison:
Enabled: true
Lint/Loop:
Enabled: false
Lint/MissingSuper:
Enabled: true
Lint/MixedRegexpCaptureTypes:
Enabled: true
Lint/OutOfRangeRegexpRef:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/SelfAssignment:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Lint/TopLevelReturnWithArgument:
Enabled: true
Lint/TrailingCommaInAttributeDeclaration:
Enabled: true
Lint/UnreachableLoop:
Enabled: true
Lint/UselessMethodDefinition:
Enabled: true
Lint/UselessTimes:
Enabled: true
Style/MutableConstant:
Enabled: true
Style/StringLiterals:
Enabled: true
Style/SymbolArray:
Expand Down
2 changes: 1 addition & 1 deletion lib/nxt_cop/version.rb
@@ -1,3 +1,3 @@
module NxtCop
VERSION = '1.0.6'.freeze
VERSION = '1.0.7'.freeze
end
2 changes: 1 addition & 1 deletion nxt_cop.gemspec
Expand Up @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_dependency 'rubocop', '0.88.0'
spec.add_dependency 'rubocop', '0.92.0'
spec.add_development_dependency 'bundler', '~> 2.1'
spec.add_development_dependency 'rake', '~> 13.0'
end

0 comments on commit ea1d6f2

Please sign in to comment.