runger_style 2.16.0 → 2.17.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: 7f2cb1c20706a7b115792ed5011a301f5aeea863edc7f5b43b6bd6981f6cb322
4
- data.tar.gz: 64d0654bf6db9850a743d445081e20cd8f14f5646dd6a2a8984943bc904a2796
3
+ metadata.gz: fcaf1aff4d7642b89db816b1ee012b2f403e1582b7e51912781cb61e0855b4dd
4
+ data.tar.gz: 6df7657ef3a0e5eadaa83eb3a840fe10ff029fd721c03bc8d3eec6d15f09ad42
5
5
  SHA512:
6
- metadata.gz: 1540ef75d4073165010ead1fff86556218e87b8c1a0c02cef5ed7f0bcde9e6ed25f14543a8192eb74e82cc9ab54a49d49fb6fcd01c562c3811539a679aadab9c
7
- data.tar.gz: b1a75989db564d7f2c11207f8db26cdfd3af0d76b2e0339cebd5c8da80fee6fc047c5a62fbb6dae4db6af009af6e8c1e06556b0c61ca18f20294a63556efffd0
6
+ metadata.gz: ec1e76079a5170c29f1f64a908541e7001f6f1c7be9ba011a84237fd12386cdfd64a052aaca772aa53aab46a10737bfeefb288203bff92d1bd00dae64c123489
7
+ data.tar.gz: 808fa9bd84f74865d92339602fbd6e0c5563b83bc2e1751ed384dfb0f9171c29e59fa8705e44fd0799750d5d4733d20bfd1561b145822ac594748e24555da502
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v2.17.0 (2024-09-03)
2
+ - Ignore long annotate comments about indexes (re: `Layout/LineLength`)
3
+
1
4
  ## v2.16.0 (2024-08-08)
2
5
  - Ignore RSpec `context` and `describe` lines for `Layout/LineLength` (as we are already doing for `it`)
3
6
 
data/Gemfile.lock CHANGED
@@ -1,27 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_style (2.16.0)
4
+ runger_style (2.17.0)
5
5
  prism (>= 0.24.0)
6
6
  rubocop (>= 1.38.0, < 2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.1.3.4)
11
+ activesupport (7.2.1)
12
12
  base64
13
13
  bigdecimal
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
15
  connection_pool (>= 2.2.5)
16
16
  drb
17
17
  i18n (>= 1.6, < 2)
18
+ logger (>= 1.4.2)
18
19
  minitest (>= 5.1)
19
- mutex_m
20
- tzinfo (~> 2.0)
20
+ securerandom (>= 0.3)
21
+ tzinfo (~> 2.0, >= 2.0.5)
21
22
  ast (2.4.2)
22
23
  base64 (0.2.0)
23
24
  bigdecimal (3.1.8)
24
- concurrent-ruby (1.3.3)
25
+ concurrent-ruby (1.3.4)
25
26
  connection_pool (2.4.1)
26
27
  drb (2.2.1)
27
28
  i18n (1.14.5)
@@ -32,14 +33,14 @@ GEM
32
33
  reline (>= 0.4.2)
33
34
  json (2.7.2)
34
35
  language_server-protocol (3.17.0.3)
36
+ logger (1.6.1)
35
37
  memo_wise (1.9.0)
36
- minitest (5.24.1)
37
- mutex_m (0.2.0)
38
- parallel (1.25.1)
38
+ minitest (5.25.1)
39
+ parallel (1.26.3)
39
40
  parser (3.3.4.2)
40
41
  ast (~> 2.4.1)
41
42
  racc
42
- prism (0.30.0)
43
+ prism (1.0.0)
43
44
  psych (5.1.2)
44
45
  stringio
45
46
  racc (1.8.1)
@@ -51,20 +52,17 @@ GEM
51
52
  regexp_parser (2.9.2)
52
53
  reline (0.5.9)
53
54
  io-console (~> 0.5)
54
- rexml (3.3.4)
55
- strscan
56
- rubocop (1.65.1)
55
+ rubocop (1.66.0)
57
56
  json (~> 2.3)
58
57
  language_server-protocol (>= 3.17.0)
59
58
  parallel (~> 1.10)
60
59
  parser (>= 3.3.0.2)
61
60
  rainbow (>= 2.2.2, < 4.0)
62
61
  regexp_parser (>= 2.4, < 3.0)
63
- rexml (>= 3.2.5, < 4.0)
64
- rubocop-ast (>= 1.31.1, < 2.0)
62
+ rubocop-ast (>= 1.32.1, < 2.0)
65
63
  ruby-progressbar (~> 1.7)
66
64
  unicode-display_width (>= 2.4.0, < 3.0)
67
- rubocop-ast (1.32.0)
65
+ rubocop-ast (1.32.2)
68
66
  parser (>= 3.3.1.0)
69
67
  rubocop-capybara (2.21.0)
70
68
  rubocop (~> 1.41)
@@ -73,10 +71,10 @@ GEM
73
71
  rubocop-performance (1.21.1)
74
72
  rubocop (>= 1.48.1, < 2.0)
75
73
  rubocop-ast (>= 1.31.1, < 2.0)
76
- rubocop-rails (2.25.1)
74
+ rubocop-rails (2.26.0)
77
75
  activesupport (>= 4.2.0)
78
76
  rack (>= 1.1)
79
- rubocop (>= 1.33.0, < 2.0)
77
+ rubocop (>= 1.52.0, < 2.0)
80
78
  rubocop-ast (>= 1.31.1, < 2.0)
81
79
  rubocop-rake (0.6.0)
82
80
  rubocop (~> 1.0)
@@ -91,9 +89,9 @@ GEM
91
89
  memo_wise (>= 1.7, < 2)
92
90
  rainbow (>= 3.0, < 4)
93
91
  slop (~> 4.8)
92
+ securerandom (0.3.1)
94
93
  slop (4.10.1)
95
94
  stringio (3.1.1)
96
- strscan (3.1.0)
97
95
  tzinfo (2.0.6)
98
96
  concurrent-ruby (~> 1.0)
99
97
  unicode-display_width (2.5.0)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RungerStyle
4
- VERSION = '2.16.0'
4
+ VERSION = '2.17.0'
5
5
  end
data/rulesets/default.yml CHANGED
@@ -45,6 +45,8 @@ Layout/LineLength:
45
45
  # Ignore line length if the line is a comment without any spaces; it's probably not something we
46
46
  # can fix (e.g. a long file path):
47
47
  - !ruby/regexp /^ *#? [\S]+$/
48
+ # Ignore long annotate comments about indexes.
49
+ - !ruby/regexp /^#\s+idx_on_/
48
50
  # Ignore RSpec description strings:
49
51
  - !ruby/regexp /^ *(context|describe|it) ['"].*['"].* do$/
50
52
  Max: 100
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0
4
+ version: 2.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-09 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prism