nxt_cop 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5067903d2ae9b6e7152a4930cf9d57429bc967c075c6ead08428bc0ff2e57d87
4
- data.tar.gz: 82025fde4add3e81410debc65d1ea2af0bd37d60ac4f23be098808dec4dd449a
3
+ metadata.gz: 6112111fba4374f2a6b3e77138ca365affbcae5970e6f7a92810686afe2b48f4
4
+ data.tar.gz: 6de5fe935225f782701848106935879661176c05268c556eca5839382c4e5180
5
5
  SHA512:
6
- metadata.gz: 2adb3e5920db48cfc408bf35601b9abc155422c01845693123020d7d3c85fce4aabe93248f23933f22dfd95cb90f28c49c43f19a19a52d20c74c6fdc1cf36ec7
7
- data.tar.gz: 72b6cf17080228f8eb4853125940eeee87b342c52777db1d1127992bdca09d31fe471daa590a27ec3ed8a5d580aefca4a8bab55548507234277c716e204eee94
6
+ metadata.gz: 1905c5002d100702f6df402b5c1d6e05f8c05e5c88638179148c4affbf7699b6add7c3fa4d5cab2efc7cf2ae1560c4308cdcec78b7716051277b8e1f77edd432
7
+ data.tar.gz: ffdd34e5872c47f2f50d39109556164ba04e760a949cc2c06ac735e1f8f56c7871726798fb8b9f5f4cccacacac62586e4dadd7a437014b60fca7782e91110b7e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # v1.1.1 2023-05-23
2
+ ## What's Changed
3
+ * Add `Lint/DuplicateMatchPattern`
4
+ * Add `Layout/EmptyLineAfterMagicComment`
5
+
6
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.1.0...v1.1.1
7
+
1
8
  # v1.1.0 2023-05-05
2
9
  ## What's Changed
3
10
  * Change `DotPosition` to enforce leading dots for method invocation
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_cop (1.1.0)
5
- rubocop (~> 1.50.2)
4
+ nxt_cop (1.1.1)
5
+ rubocop (~> 1.51.0)
6
6
  rubocop-rails (~> 2.8)
7
7
  rubocop-rspec (~> 2.12)
8
8
 
@@ -28,7 +28,7 @@ GEM
28
28
  rake (13.0.6)
29
29
  regexp_parser (2.8.0)
30
30
  rexml (3.2.5)
31
- rubocop (1.50.2)
31
+ rubocop (1.51.0)
32
32
  json (~> 2.3)
33
33
  parallel (~> 1.10)
34
34
  parser (>= 3.2.0.0)
@@ -42,7 +42,7 @@ GEM
42
42
  parser (>= 3.2.1.0)
43
43
  rubocop-capybara (2.18.0)
44
44
  rubocop (~> 1.41)
45
- rubocop-factory_bot (2.22.0)
45
+ rubocop-factory_bot (2.23.1)
46
46
  rubocop (~> 1.33)
47
47
  rubocop-rails (2.19.1)
48
48
  activesupport (>= 4.2.0)
data/default.yml CHANGED
@@ -106,6 +106,8 @@ Layout/SpaceAfterComma:
106
106
  Enabled: true
107
107
  Layout/EmptyLines:
108
108
  Enabled: true
109
+ Layout/EmptyLineAfterMagicComment:
110
+ Enabled: true
109
111
 
110
112
  Lint:
111
113
  Enabled: true
@@ -241,10 +243,8 @@ Lint/ToEnumArguments:
241
243
  Lint/UselessRuby2Keywords:
242
244
  Enabled: false
243
245
  Lint/DuplicateMagicComment:
244
- Enabled: false
245
- Lint/UselessRescue:
246
- Enabled: false
247
- Lint/DuplicateMagicComment:
248
- Enabled: false
246
+ Enabled: true
249
247
  Lint/UselessRescue:
250
248
  Enabled: false
249
+ Lint/DuplicateMatchPattern:
250
+ Enabled: true
@@ -1,3 +1,3 @@
1
1
  module NxtCop
2
- VERSION = '1.1.0'.freeze
2
+ VERSION = '1.1.1'.freeze
3
3
  end
data/nxt_cop.gemspec CHANGED
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'nxt_cop/version'
@@ -32,7 +31,7 @@ Gem::Specification.new do |spec|
32
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
32
  spec.require_paths = ['lib']
34
33
 
35
- spec.add_dependency 'rubocop', '~> 1.50.2'
34
+ spec.add_dependency 'rubocop', '~> 1.51.0'
36
35
  spec.add_dependency 'rubocop-rails', '~> 2.8'
37
36
  spec.add_dependency 'rubocop-rspec', '~> 2.12'
38
37
  spec.add_development_dependency 'bundler', '~> 2.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nxt_cop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Livingstone
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-09 00:00:00.000000000 Z
11
+ date: 2023-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.50.2
19
+ version: 1.51.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.50.2
26
+ version: 1.51.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.3.7
127
+ rubygems_version: 3.4.10
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Getsafe shared Rubocop.