nxt_cop 1.2.1 → 1.3.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: 78af6281cb547ff41b08a36a19955bc105d26d77de18cabc30e3f7bcbac30925
4
- data.tar.gz: 0f34a2c51945d1178a6a345661dec279bee3f1eb6fff58f24b54f31b294f2c0d
3
+ metadata.gz: f3ced16c64af5bb68e2c10850dd9277e29f3a39de3d9cc32bdde3296530f55cf
4
+ data.tar.gz: 6fa32563d60a5fde5b6c4734617913d69cf6d6cd1441096fae6377837c75993a
5
5
  SHA512:
6
- metadata.gz: 417325d56c7ca90d9d795b28e678c1dd82d51b506d6d1aed547a7aabc1617e64747a252d4c8d854d0a53a1ebe21e0d57d8cb9ed4049fc39206bf1a5b78241536
7
- data.tar.gz: 4145773f53dc203e9043da35f451d2dc77a5f17053c5c65581db58dbb6c15d70c4c0e5aacfde9b41c49cb69f64481ae61e8f4fbc8844131d2775c2f4a9f3eadc
6
+ metadata.gz: 1d43e0c5e70c4b7241c58784717a3b5218e0267dcef358a00308f1689bc17d3f2067eeddc428769e41342c612ce144a137cd39ffc1f8b3ae68f92966c1d4fef2
7
+ data.tar.gz: c8df079c6ffaac61b89fb07c04fdb38d466cb01ccd5be1c004cb9f73a104fa3647cd7b790dabeb02cdcf668fdf3718300f353a4fd747991e3fefe340d8ba0b22
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v1.3.1 2023-10-10
2
+ ## What's Changed
3
+ * Bumped dependencies version
4
+
5
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.3.0...v1.3.1
6
+
7
+ # v1.3.0 2023-09-22
8
+ ## What's Changed
9
+ * `inherit_mode` was added to `default.yml`
10
+
11
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.2.1...v1.3.0
12
+
1
13
  # v1.2.1 2023-08-23
2
14
  ## What's Changed
3
15
  * Add `Lint/MixedCaseRange`
data/Gemfile.lock CHANGED
@@ -1,67 +1,77 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_cop (1.2.1)
5
- rubocop (~> 1.56.1)
4
+ nxt_cop (1.3.1)
5
+ rubocop (~> 1.57.2)
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.7.2)
12
+ activesupport (7.1.1)
13
+ base64
14
+ bigdecimal
13
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ connection_pool (>= 2.2.5)
17
+ drb
14
18
  i18n (>= 1.6, < 2)
15
19
  minitest (>= 5.1)
20
+ mutex_m
16
21
  tzinfo (~> 2.0)
17
22
  ast (2.4.2)
18
- base64 (0.1.1)
23
+ base64 (0.2.0)
24
+ bigdecimal (3.1.4)
19
25
  concurrent-ruby (1.2.2)
26
+ connection_pool (2.4.1)
27
+ drb (2.2.0)
28
+ ruby2_keywords
20
29
  i18n (1.14.1)
21
30
  concurrent-ruby (~> 1.0)
22
31
  json (2.6.3)
23
32
  language_server-protocol (3.17.0.3)
24
- minitest (5.19.0)
33
+ minitest (5.20.0)
34
+ mutex_m (0.2.0)
25
35
  parallel (1.23.0)
26
- parser (3.2.2.3)
36
+ parser (3.2.2.4)
27
37
  ast (~> 2.4.1)
28
38
  racc
29
- racc (1.7.1)
39
+ racc (1.7.3)
30
40
  rack (3.0.8)
31
41
  rainbow (3.1.1)
32
- rake (13.0.6)
33
- regexp_parser (2.8.1)
42
+ rake (13.1.0)
43
+ regexp_parser (2.8.2)
34
44
  rexml (3.2.6)
35
- rubocop (1.56.1)
36
- base64 (~> 0.1.1)
45
+ rubocop (1.57.2)
37
46
  json (~> 2.3)
38
47
  language_server-protocol (>= 3.17.0)
39
48
  parallel (~> 1.10)
40
- parser (>= 3.2.2.3)
49
+ parser (>= 3.2.2.4)
41
50
  rainbow (>= 2.2.2, < 4.0)
42
51
  regexp_parser (>= 1.8, < 3.0)
43
52
  rexml (>= 3.2.5, < 4.0)
44
53
  rubocop-ast (>= 1.28.1, < 2.0)
45
54
  ruby-progressbar (~> 1.7)
46
55
  unicode-display_width (>= 2.4.0, < 3.0)
47
- rubocop-ast (1.29.0)
56
+ rubocop-ast (1.30.0)
48
57
  parser (>= 3.2.1.0)
49
- rubocop-capybara (2.18.0)
58
+ rubocop-capybara (2.19.0)
50
59
  rubocop (~> 1.41)
51
- rubocop-factory_bot (2.23.1)
60
+ rubocop-factory_bot (2.24.0)
52
61
  rubocop (~> 1.33)
53
- rubocop-rails (2.20.2)
62
+ rubocop-rails (2.22.1)
54
63
  activesupport (>= 4.2.0)
55
64
  rack (>= 1.1)
56
65
  rubocop (>= 1.33.0, < 2.0)
57
- rubocop-rspec (2.23.2)
58
- rubocop (~> 1.33)
66
+ rubocop-rspec (2.25.0)
67
+ rubocop (~> 1.40)
59
68
  rubocop-capybara (~> 2.17)
60
69
  rubocop-factory_bot (~> 2.22)
61
70
  ruby-progressbar (1.13.0)
71
+ ruby2_keywords (0.0.5)
62
72
  tzinfo (2.0.6)
63
73
  concurrent-ruby (~> 1.0)
64
- unicode-display_width (2.4.2)
74
+ unicode-display_width (2.5.0)
65
75
 
66
76
  PLATFORMS
67
77
  ruby
data/README.md CHANGED
@@ -81,6 +81,7 @@ Add to `~/.gem/credentials` (create if it doesn't exist):
81
81
  - Run `rubocop` to see if new rules were added
82
82
  - If yes, add them to `default.yml` to prevent "New rules" warning
83
83
  - Update the version number in `version.rb`
84
+ - Run `bundle install` again to update the version in Gemfile.lock
84
85
  - Update the `CHANGELOG.md`
85
86
  - Open the PR, merge everything to `main`
86
87
 
data/default.yml CHANGED
@@ -1,6 +1,12 @@
1
1
  require:
2
2
  - rubocop-rails
3
3
  - rubocop-rspec
4
+
5
+ inherit_mode:
6
+ merge:
7
+ - Exclude
8
+ - Include
9
+
4
10
  AllCops:
5
11
  Exclude:
6
12
  - bin/guard
@@ -1,3 +1,3 @@
1
1
  module NxtCop
2
- VERSION = '1.2.1'.freeze
2
+ VERSION = '1.3.1'.freeze
3
3
  end
data/nxt_cop.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ['lib']
33
33
 
34
- spec.add_dependency 'rubocop', '~> 1.56.1'
34
+ spec.add_dependency 'rubocop', '~> 1.57.2'
35
35
  spec.add_dependency 'rubocop-rails', '~> 2.8'
36
36
  spec.add_dependency 'rubocop-rspec', '~> 2.12'
37
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.2.1
4
+ version: 1.3.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-08-24 00:00:00.000000000 Z
11
+ date: 2023-11-10 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.56.1
19
+ version: 1.57.2
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.56.1
26
+ version: 1.57.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement