nxt_cop 1.0.16 → 1.0.17

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: 172fe054c1e977717f59e9b5f592ca20b606ddc9298dd4e287ebed530fa40e1c
4
- data.tar.gz: c2733ff291bb17007f4a43f0765145caebd0d53d65fb20edb28047c813ea51c3
3
+ metadata.gz: 64310b05a2d784b51686df4dc7cc35e81e9ebe0b575b817bb9a4265fa8f5fe7e
4
+ data.tar.gz: 56eb0b4ac48e95508c4e042ec72e02f2c7f8f74b227cecb8f3aa7cd58aa17061
5
5
  SHA512:
6
- metadata.gz: 24748dc7001303cd13113f6435f4ea74e06b5ed54808ff2bfc13f217cbadba0d9a0975b9030a619cea632ef32a8cedbd197065fefbbdb924493496e04f61dec6
7
- data.tar.gz: eabccde517710e8021fecbc31649d222f4196bc10b3961da641e7097510aaa5a5aea096cae17d35c764d38730fd50a0e01b47d80f9efe85d8dab4a156221f5eb
6
+ metadata.gz: ba56942235bc0f2e67aaf6dbde527320cdb253e7ddbd790cdbfd1f6b98110a8dc53b325e63a52ad8ab1f312d55742ff4fb534cbc6c197fc48dff9d917d7d93b1
7
+ data.tar.gz: 3468be10fb701f0bf42343b1d50abf83765ec8f7b6fc10937954a4f0e355d060550024cd39995777ed36557da799b3670c15b83fff16f8918a3cdf61dbddd618
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # v1.0.17 2022-08-19
2
+
3
+ ## What's Changed
4
+ * Adjust severity of the recently added Lint/SymbolConversion cop ([#45](https://github.com/nxt-insurance/nxt_cop/pull/45))
5
+
6
+ **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.15...v1.0.16
7
+
1
8
  # v1.0.16 2022-07-07
2
9
 
3
10
  ## What's Changed
data/Gemfile.lock CHANGED
@@ -1,44 +1,44 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_cop (1.0.16)
5
- rubocop (~> 1.31.2)
4
+ nxt_cop (1.0.17)
5
+ rubocop (~> 1.35.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)
12
+ activesupport (7.0.3.1)
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
18
  concurrent-ruby (1.1.10)
19
- i18n (1.10.0)
19
+ i18n (1.12.0)
20
20
  concurrent-ruby (~> 1.0)
21
21
  json (2.6.2)
22
- minitest (5.16.2)
22
+ minitest (5.16.3)
23
23
  parallel (1.22.1)
24
- parser (3.1.2.0)
24
+ parser (3.1.2.1)
25
25
  ast (~> 2.4.1)
26
26
  rack (2.2.4)
27
27
  rainbow (3.1.1)
28
28
  rake (13.0.6)
29
29
  regexp_parser (2.5.0)
30
30
  rexml (3.2.5)
31
- rubocop (1.31.2)
31
+ rubocop (1.35.0)
32
32
  json (~> 2.3)
33
33
  parallel (~> 1.10)
34
- parser (>= 3.1.0.0)
34
+ parser (>= 3.1.2.1)
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.18.0, < 2.0)
38
+ rubocop-ast (>= 1.20.1, < 2.0)
39
39
  ruby-progressbar (~> 1.7)
40
40
  unicode-display_width (>= 1.4.0, < 3.0)
41
- rubocop-ast (1.18.0)
41
+ rubocop-ast (1.21.0)
42
42
  parser (>= 3.1.1.0)
43
43
  rubocop-rails (2.15.2)
44
44
  activesupport (>= 4.2.0)
@@ -47,7 +47,7 @@ GEM
47
47
  rubocop-rspec (2.12.1)
48
48
  rubocop (~> 1.31)
49
49
  ruby-progressbar (1.11.0)
50
- tzinfo (2.0.4)
50
+ tzinfo (2.0.5)
51
51
  concurrent-ruby (~> 1.0)
52
52
  unicode-display_width (2.2.0)
53
53
 
data/README.md CHANGED
@@ -65,6 +65,16 @@ To install this gem onto your local machine, run `bundle exec rake install`.
65
65
 
66
66
  ## Release a new version
67
67
 
68
+ ```shell
69
+ bundle config set gem.push_key rubygems
70
+ ```
71
+
72
+ Add to `~/.gem/credentials` (create if it doesn't exist):
73
+
74
+ ```shell
75
+ :rubygems: <your Rubygems API key>
76
+ ```
77
+
68
78
  To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
69
79
 
70
80
  ## Contributing
data/default.yml CHANGED
@@ -77,6 +77,8 @@ Lint/SelfAssignment:
77
77
  Enabled: true
78
78
  Lint/StructNewOverride:
79
79
  Enabled: true
80
+ Lint/SymbolConversion:
81
+ EnforcedStyle: consistent
80
82
  Lint/TopLevelReturnWithArgument:
81
83
  Enabled: true
82
84
  Lint/TrailingCommaInAttributeDeclaration:
@@ -127,16 +129,16 @@ Lint/ConstantOverwrittenInRescue:
127
129
  Enabled: true
128
130
  Lint/NonAtomicFileOperation:
129
131
  Enabled: true
130
- Lint/SymbolConversion:
131
- Enabled: true
132
132
  Lint/UnmodifiedReduceAccumulator:
133
133
  Enabled: true
134
134
  Lint/OrAssignmentToConstant:
135
135
  Enabled: true
136
136
  Lint/RedundantDirGlobSort:
137
137
  Enabled: true
138
+ Lint/RequireRangeParentheses:
139
+ Enabled: true
138
140
 
139
- # These checks are valid, but better left to programmer's discretion, as the effects are harmless.
141
+ # These checks are valid, but better left to programmer's discretion, as the effects of such code are harmless.
140
142
  Lint/DuplicateBranch:
141
143
  Enabled: false
142
144
  Lint/DuplicateRegexpCharacterClassElement:
@@ -1,3 +1,3 @@
1
1
  module NxtCop
2
- VERSION = '1.0.16'.freeze
2
+ VERSION = '1.0.17'.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.31.2'
35
+ spec.add_dependency 'rubocop', '~> 1.35.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.16
4
+ version: 1.0.17
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-07-08 00:00:00.000000000 Z
11
+ date: 2022-08-18 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.31.2
19
+ version: 1.35.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.31.2
26
+ version: 1.35.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement