nxt_cop 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e74a264746f59bb552116446bddd4bef5a845e348ecc0e0f6c0d836c972130f
4
- data.tar.gz: decc3193febf8c9e6cae676e9caf3b44f4f6e9c9a49a9fe6c65249e26f4280c5
3
+ metadata.gz: 776b1471e620c2f1474a9583ab2c628d21eb85050137cde4b4b6e13ad2c06bf4
4
+ data.tar.gz: 1c04eb15f2c589ce51368ab93195c8695b41738489ffbfdf577dc567261dac5d
5
5
  SHA512:
6
- metadata.gz: 175aed4523a2b4de34251cdc8afe873617f342f1773da0fc3e1d7c077cbd1e1bde4cf12755551c01f3f6854bd4e95aa75f69a2cc8fe7c4ccd5056293d698bc69
7
- data.tar.gz: 6c160ad53d81f080cdf61cb3e7bfb6910a6e0b4b1bea4deb28a9bf6e46a4ee58edac5aebfe34788e9a29f6b515872106e5c3107e1955673a51df573c56a5c372
6
+ metadata.gz: ccadcf8126fed669f138ed255b709d0ef10d734e64983251690dcd012b27c8ffd681e0ebe4d7236e56321f96b72bf843df3adc7f11c98a7da4d48d8b58e68a86
7
+ data.tar.gz: 5b34adebc0e4eea7195c55b2e206037286d0a7d38b16303fb39d397f49ac04c0e1802671ccecd5daa725f19282fd926a0899cb5499e371b838faf7b05123f0a6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # v1.0.19 2023-04-04
2
+
3
+ ## What's Changed
4
+ * Add `Layout/SpaceBeforeComma`
5
+ * Add `Layout/SpaceAfterComma`
6
+ * Add `Layout/EmptyLines` cops ([#80](https://github.com/nxt-insurance/nxt_cop/pull/80))
7
+
8
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.18...v1.0.19
9
+
1
10
  # v1.0.18
2
11
 
3
12
  ## What's Changed
data/Gemfile.lock CHANGED
@@ -1,55 +1,58 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_cop (1.0.18)
5
- rubocop (~> 1.35.0)
4
+ nxt_cop (1.0.19)
5
+ rubocop (~> 1.49.0)
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)
12
+ activesupport (7.0.4.3)
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
- concurrent-ruby (1.1.10)
18
+ concurrent-ruby (1.2.2)
19
19
  i18n (1.12.0)
20
20
  concurrent-ruby (~> 1.0)
21
- json (2.6.2)
22
- minitest (5.16.3)
21
+ json (2.6.3)
22
+ minitest (5.18.0)
23
23
  parallel (1.22.1)
24
- parser (3.1.2.1)
24
+ parser (3.2.2.0)
25
25
  ast (~> 2.4.1)
26
- rack (3.0.0)
26
+ rack (3.0.7)
27
27
  rainbow (3.1.1)
28
28
  rake (13.0.6)
29
- regexp_parser (2.6.0)
29
+ regexp_parser (2.7.0)
30
30
  rexml (3.2.5)
31
- rubocop (1.35.1)
31
+ rubocop (1.49.0)
32
32
  json (~> 2.3)
33
33
  parallel (~> 1.10)
34
- parser (>= 3.1.2.1)
34
+ parser (>= 3.2.0.0)
35
35
  rainbow (>= 2.2.2, < 4.0)
36
36
  regexp_parser (>= 1.8, < 3.0)
37
37
  rexml (>= 3.2.5, < 4.0)
38
- rubocop-ast (>= 1.20.1, < 2.0)
38
+ rubocop-ast (>= 1.28.0, < 2.0)
39
39
  ruby-progressbar (~> 1.7)
40
- unicode-display_width (>= 1.4.0, < 3.0)
41
- rubocop-ast (1.21.0)
42
- parser (>= 3.1.1.0)
43
- rubocop-rails (2.16.1)
40
+ unicode-display_width (>= 2.4.0, < 3.0)
41
+ rubocop-ast (1.28.0)
42
+ parser (>= 3.2.1.0)
43
+ rubocop-capybara (2.17.1)
44
+ rubocop (~> 1.41)
45
+ rubocop-rails (2.18.0)
44
46
  activesupport (>= 4.2.0)
45
47
  rack (>= 1.1)
46
48
  rubocop (>= 1.33.0, < 2.0)
47
- rubocop-rspec (2.13.2)
49
+ rubocop-rspec (2.19.0)
48
50
  rubocop (~> 1.33)
49
- ruby-progressbar (1.11.0)
50
- tzinfo (2.0.5)
51
+ rubocop-capybara (~> 2.17)
52
+ ruby-progressbar (1.13.0)
53
+ tzinfo (2.0.6)
51
54
  concurrent-ruby (~> 1.0)
52
- unicode-display_width (2.3.0)
55
+ unicode-display_width (2.4.2)
53
56
 
54
57
  PLATFORMS
55
58
  ruby
data/default.yml CHANGED
@@ -14,6 +14,7 @@ AllCops:
14
14
  - vendor/**/*
15
15
  - node_modules/**/*
16
16
  DisabledByDefault: true
17
+
17
18
  Layout/DotPosition:
18
19
  EnforcedStyle: trailing
19
20
  Layout/EmptyLineAfterGuardClause:
@@ -38,6 +39,13 @@ Layout/EmptyLinesAroundBlockBody:
38
39
  EnforcedStyle: no_empty_lines
39
40
  Layout/TrailingWhitespace:
40
41
  AllowInHeredoc: false
42
+ Layout/SpaceBeforeComma:
43
+ Enabled: true
44
+ Layout/SpaceAfterComma:
45
+ Enabled: true
46
+ Layout/EmptyLines:
47
+ Enabled: true
48
+
41
49
  Lint:
42
50
  Enabled: true
43
51
  Lint/AmbiguousBlockAssociation:
@@ -1,3 +1,3 @@
1
1
  module NxtCop
2
- VERSION = '1.0.18'.freeze
2
+ VERSION = '1.0.19'.freeze
3
3
  end
data/nxt_cop.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ['lib']
34
34
 
35
- spec.add_dependency 'rubocop', '~> 1.35.0'
35
+ spec.add_dependency 'rubocop', '~> 1.49.0'
36
36
  spec.add_dependency 'rubocop-rails', '~> 2.8'
37
37
  spec.add_dependency 'rubocop-rspec', '~> 2.12'
38
38
  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.0.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Livingstone
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-04 00:00:00.000000000 Z
11
+ date: 2023-04-04 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.35.0
19
+ version: 1.49.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.35.0
26
+ version: 1.49.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.11
127
+ rubygems_version: 3.4.6
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Getsafe shared Rubocop.