nxt_cop 1.1.0 → 1.2.0

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: 1ac5de6fd28dbc39bae08541c1b0cefeac69260db7b2d6ff1a30f45cf90c13e3
4
+ data.tar.gz: b2f3746245e5f2151b78dc61a1d9296b59c555ea3ea0ca3203a856c7f22bf6ae
5
5
  SHA512:
6
- metadata.gz: 2adb3e5920db48cfc408bf35601b9abc155422c01845693123020d7d3c85fce4aabe93248f23933f22dfd95cb90f28c49c43f19a19a52d20c74c6fdc1cf36ec7
7
- data.tar.gz: 72b6cf17080228f8eb4853125940eeee87b342c52777db1d1127992bdca09d31fe471daa590a27ec3ed8a5d580aefca4a8bab55548507234277c716e204eee94
6
+ metadata.gz: e64342f7d61a9bfe670a1ba63ad5b3e57c127e467bb67526d9301d3450131049a33ecfcaf8e7962cfb923982760238dc59962b9b5cdbd136a26ccc6451f62173
7
+ data.tar.gz: 95f5617edce9fcdef32299d5ea997874ab264c80c23209cb1d67bf5ffbe37d4b3f27ab472cd3735ca3229578ee474b9471500d7562c143444722342fc76653a7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # v1.2.0 2023-08-23
2
+ ## What's Changed
3
+ Bumped dependencies version
4
+
5
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.1.1...v1.2.0
6
+
7
+ # v1.1.1 2023-05-23
8
+ ## What's Changed
9
+ * Add `Lint/DuplicateMatchPattern`
10
+ * Add `Layout/EmptyLineAfterMagicComment`
11
+
12
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.1.0...v1.1.1
13
+
1
14
  # v1.1.0 2023-05-05
2
15
  ## What's Changed
3
16
  * Change `DotPosition` to enforce leading dots for method invocation
data/Gemfile.lock CHANGED
@@ -1,54 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_cop (1.1.0)
5
- rubocop (~> 1.50.2)
4
+ nxt_cop (1.2.0)
5
+ rubocop (~> 1.56.1)
6
6
  rubocop-rails (~> 2.8)
7
7
  rubocop-rspec (~> 2.12)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (7.0.4.3)
12
+ activesupport (7.0.7.2)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
16
16
  tzinfo (~> 2.0)
17
17
  ast (2.4.2)
18
+ base64 (0.1.1)
18
19
  concurrent-ruby (1.2.2)
19
- i18n (1.13.0)
20
+ i18n (1.14.1)
20
21
  concurrent-ruby (~> 1.0)
21
22
  json (2.6.3)
22
- minitest (5.18.0)
23
+ language_server-protocol (3.17.0.3)
24
+ minitest (5.19.0)
23
25
  parallel (1.23.0)
24
- parser (3.2.2.1)
26
+ parser (3.2.2.3)
25
27
  ast (~> 2.4.1)
26
- rack (3.0.7)
28
+ racc
29
+ racc (1.7.1)
30
+ rack (3.0.8)
27
31
  rainbow (3.1.1)
28
32
  rake (13.0.6)
29
- regexp_parser (2.8.0)
30
- rexml (3.2.5)
31
- rubocop (1.50.2)
33
+ regexp_parser (2.8.1)
34
+ rexml (3.2.6)
35
+ rubocop (1.56.1)
36
+ base64 (~> 0.1.1)
32
37
  json (~> 2.3)
38
+ language_server-protocol (>= 3.17.0)
33
39
  parallel (~> 1.10)
34
- parser (>= 3.2.0.0)
40
+ parser (>= 3.2.2.3)
35
41
  rainbow (>= 2.2.2, < 4.0)
36
42
  regexp_parser (>= 1.8, < 3.0)
37
43
  rexml (>= 3.2.5, < 4.0)
38
- rubocop-ast (>= 1.28.0, < 2.0)
44
+ rubocop-ast (>= 1.28.1, < 2.0)
39
45
  ruby-progressbar (~> 1.7)
40
46
  unicode-display_width (>= 2.4.0, < 3.0)
41
- rubocop-ast (1.28.1)
47
+ rubocop-ast (1.29.0)
42
48
  parser (>= 3.2.1.0)
43
49
  rubocop-capybara (2.18.0)
44
50
  rubocop (~> 1.41)
45
- rubocop-factory_bot (2.22.0)
51
+ rubocop-factory_bot (2.23.1)
46
52
  rubocop (~> 1.33)
47
- rubocop-rails (2.19.1)
53
+ rubocop-rails (2.20.2)
48
54
  activesupport (>= 4.2.0)
49
55
  rack (>= 1.1)
50
56
  rubocop (>= 1.33.0, < 2.0)
51
- rubocop-rspec (2.22.0)
57
+ rubocop-rspec (2.23.2)
52
58
  rubocop (~> 1.33)
53
59
  rubocop-capybara (~> 2.17)
54
60
  rubocop-factory_bot (~> 2.22)
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.2.0'.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.56.1'
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.2.0
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-08-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.56.1
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.56.1
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.