nxt_cop 1.0.17 → 1.0.19

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: 64310b05a2d784b51686df4dc7cc35e81e9ebe0b575b817bb9a4265fa8f5fe7e
4
- data.tar.gz: 56eb0b4ac48e95508c4e042ec72e02f2c7f8f74b227cecb8f3aa7cd58aa17061
3
+ metadata.gz: 776b1471e620c2f1474a9583ab2c628d21eb85050137cde4b4b6e13ad2c06bf4
4
+ data.tar.gz: 1c04eb15f2c589ce51368ab93195c8695b41738489ffbfdf577dc567261dac5d
5
5
  SHA512:
6
- metadata.gz: ba56942235bc0f2e67aaf6dbde527320cdb253e7ddbd790cdbfd1f6b98110a8dc53b325e63a52ad8ab1f312d55742ff4fb534cbc6c197fc48dff9d917d7d93b1
7
- data.tar.gz: 3468be10fb701f0bf42343b1d50abf83765ec8f7b6fc10937954a4f0e355d060550024cd39995777ed36557da799b3670c15b83fff16f8918a3cdf61dbddd618
6
+ metadata.gz: ccadcf8126fed669f138ed255b709d0ef10d734e64983251690dcd012b27c8ffd681e0ebe4d7236e56321f96b72bf843df3adc7f11c98a7da4d48d8b58e68a86
7
+ data.tar.gz: 5b34adebc0e4eea7195c55b2e206037286d0a7d38b16303fb39d397f49ac04c0e1802671ccecd5daa725f19282fd926a0899cb5499e371b838faf7b05123f0a6
data/CHANGELOG.md CHANGED
@@ -1,9 +1,25 @@
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
+
10
+ # v1.0.18
11
+
12
+ ## What's Changed
13
+ * Add `Rails/Date` cop ([#50](https://github.com/nxt-insurance/nxt_cop/pull/50))
14
+
15
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.17...v1.0.18
16
+
1
17
  # v1.0.17 2022-08-19
2
18
 
3
19
  ## What's Changed
4
20
  * Adjust severity of the recently added Lint/SymbolConversion cop ([#45](https://github.com/nxt-insurance/nxt_cop/pull/45))
5
21
 
6
- **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.15...v1.0.16
22
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.16...v1.0.17
7
23
 
8
24
  # v1.0.16 2022-07-07
9
25
 
data/Gemfile.lock CHANGED
@@ -1,55 +1,58 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_cop (1.0.17)
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.3.1)
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 (2.2.4)
26
+ rack (3.0.7)
27
27
  rainbow (3.1.1)
28
28
  rake (13.0.6)
29
- regexp_parser (2.5.0)
29
+ regexp_parser (2.7.0)
30
30
  rexml (3.2.5)
31
- rubocop (1.35.0)
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.15.2)
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
- rubocop (>= 1.7.0, < 2.0)
47
- rubocop-rspec (2.12.1)
48
- rubocop (~> 1.31)
49
- ruby-progressbar (1.11.0)
50
- tzinfo (2.0.5)
48
+ rubocop (>= 1.33.0, < 2.0)
49
+ rubocop-rspec (2.19.0)
50
+ rubocop (~> 1.33)
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.2.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:
@@ -111,6 +119,8 @@ Style/Semicolon:
111
119
  - spec/**/*
112
120
  Rails/TimeZone:
113
121
  Enabled: true
122
+ Rails/Date:
123
+ Enabled: true
114
124
  RSpec:
115
125
  Enabled: false
116
126
  RSpec/Focus:
@@ -1,3 +1,3 @@
1
1
  module NxtCop
2
- VERSION = '1.0.17'.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.17
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-08-18 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.