runger_style 2.11.0 → 2.13.0
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 +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +10 -10
- data/README.md +0 -1
- data/bin/githooks/pre-push +8 -0
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/default.yml +6 -2
- data/runger_style.gemspec +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92b973cf61e5de73e13107f308e326182d0056148da20b92107ba84d9ae18a65
|
4
|
+
data.tar.gz: 7e159adba07bc607fa205d67a71be146340eb1e8240523745a2f8b95f11ed2a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea985eaf58010b673e64680c7ddd8725484bfec19788098d164a31ac44c2d0b73570818607a7161394c02117eb726f0a19c641fadae9ab3df8e0f1448b3d3645
|
7
|
+
data.tar.gz: c527810a1625c71deee046e37874ad9b11bd8e34e1650e0f11ebec7f11d155c3de12008676e51992e5d6e0eb08bbfecb7efe1e82dab3e88f941ee96fa7df63ce
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.4
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## v2.13.0 (2024-07-23)
|
2
|
+
- Ignore `Layout/LineLength` for RSpec example descriptions
|
3
|
+
|
4
|
+
## v2.12.0 (2024-07-11)
|
5
|
+
- Disable `Style/FormatString` cop
|
6
|
+
|
1
7
|
## v2.11.0 (2024-07-05)
|
2
8
|
- Set `AllowMultilineFinalElement: true` for `Layout/FirstMethodArgumentLineBreak`
|
3
9
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
runger_style (2.
|
4
|
+
runger_style (2.13.0)
|
5
5
|
prism (>= 0.24.0)
|
6
6
|
rubocop (>= 1.38.0, < 2)
|
7
7
|
|
@@ -27,7 +27,7 @@ GEM
|
|
27
27
|
i18n (1.14.5)
|
28
28
|
concurrent-ruby (~> 1.0)
|
29
29
|
io-console (0.7.2)
|
30
|
-
irb (1.
|
30
|
+
irb (1.14.0)
|
31
31
|
rdoc (>= 4.0.0)
|
32
32
|
reline (>= 0.4.2)
|
33
33
|
json (2.7.2)
|
@@ -36,14 +36,14 @@ GEM
|
|
36
36
|
minitest (5.24.1)
|
37
37
|
mutex_m (0.2.0)
|
38
38
|
parallel (1.25.1)
|
39
|
-
parser (3.3.
|
39
|
+
parser (3.3.4.0)
|
40
40
|
ast (~> 2.4.1)
|
41
41
|
racc
|
42
42
|
prism (0.30.0)
|
43
43
|
psych (5.1.2)
|
44
44
|
stringio
|
45
45
|
racc (1.8.0)
|
46
|
-
rack (3.1.
|
46
|
+
rack (3.1.7)
|
47
47
|
rainbow (3.1.1)
|
48
48
|
rake (13.2.1)
|
49
49
|
rdoc (6.7.0)
|
@@ -51,15 +51,15 @@ GEM
|
|
51
51
|
regexp_parser (2.9.2)
|
52
52
|
reline (0.5.9)
|
53
53
|
io-console (~> 0.5)
|
54
|
-
rexml (3.3.
|
54
|
+
rexml (3.3.2)
|
55
55
|
strscan
|
56
|
-
rubocop (1.
|
56
|
+
rubocop (1.65.0)
|
57
57
|
json (~> 2.3)
|
58
58
|
language_server-protocol (>= 3.17.0)
|
59
59
|
parallel (~> 1.10)
|
60
60
|
parser (>= 3.3.0.2)
|
61
61
|
rainbow (>= 2.2.2, < 4.0)
|
62
|
-
regexp_parser (>=
|
62
|
+
regexp_parser (>= 2.4, < 3.0)
|
63
63
|
rexml (>= 3.2.5, < 4.0)
|
64
64
|
rubocop-ast (>= 1.31.1, < 2.0)
|
65
65
|
ruby-progressbar (~> 1.7)
|
@@ -80,13 +80,13 @@ GEM
|
|
80
80
|
rubocop-ast (>= 1.31.1, < 2.0)
|
81
81
|
rubocop-rake (0.6.0)
|
82
82
|
rubocop (~> 1.0)
|
83
|
-
rubocop-rspec (3.0.
|
83
|
+
rubocop-rspec (3.0.3)
|
84
84
|
rubocop (~> 1.61)
|
85
85
|
rubocop-rspec_rails (2.30.0)
|
86
86
|
rubocop (~> 1.61)
|
87
87
|
rubocop-rspec (~> 3, >= 3.0.1)
|
88
88
|
ruby-progressbar (1.13.0)
|
89
|
-
runger_release_assistant (0.
|
89
|
+
runger_release_assistant (0.11.0)
|
90
90
|
activesupport (>= 6, < 8)
|
91
91
|
memo_wise (>= 1.7, < 2)
|
92
92
|
rainbow (>= 3.0, < 4)
|
@@ -117,7 +117,7 @@ DEPENDENCIES
|
|
117
117
|
runger_style!
|
118
118
|
|
119
119
|
RUBY VERSION
|
120
|
-
ruby 3.3.
|
120
|
+
ruby 3.3.4p94
|
121
121
|
|
122
122
|
BUNDLED WITH
|
123
123
|
2.5.11
|
data/README.md
CHANGED
@@ -67,7 +67,6 @@ in the `Gemfile` of your application or library.
|
|
67
67
|
|
68
68
|
group :development, :test do
|
69
69
|
# include whichever of these gems are required, based on which ruleset(s) you use
|
70
|
-
gem 'rubocop', require: false
|
71
70
|
gem 'rubocop-capybara', require: false
|
72
71
|
gem 'rubocop-factory_bot', require: false
|
73
72
|
gem 'rubocop-performance', require: false
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/default.yml
CHANGED
@@ -40,9 +40,11 @@ Layout/LineEndStringConcatenationIndentation:
|
|
40
40
|
- bin/*
|
41
41
|
Layout/LineLength:
|
42
42
|
AllowedPatterns:
|
43
|
-
#
|
44
|
-
# can fix (e.g. a long file path)
|
43
|
+
# Ignore line length if the line is a comment without any spaces; it's probably not something we
|
44
|
+
# can fix (e.g. a long file path):
|
45
45
|
- !ruby/regexp /^ *#? [\S]+$/
|
46
|
+
# Ignore RSpec example descriptions:
|
47
|
+
- !ruby/regexp /^ *it ['"].*['"].*do$/
|
46
48
|
Max: 100
|
47
49
|
Layout/MultilineMethodCallIndentation:
|
48
50
|
EnforcedStyle: indented
|
@@ -117,6 +119,8 @@ Style/DocumentationMethod:
|
|
117
119
|
Enabled: false
|
118
120
|
Style/EmptyCaseCondition:
|
119
121
|
Enabled: false
|
122
|
+
Style/FormatString:
|
123
|
+
Enabled: false
|
120
124
|
Style/FrozenStringLiteralComment:
|
121
125
|
Enabled: true
|
122
126
|
Style/GlobalStdStream:
|
data/runger_style.gemspec
CHANGED
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
|
|
28
28
|
required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
|
29
29
|
spec.required_ruby_version = ">= #{required_ruby_version}"
|
30
30
|
|
31
|
-
spec.
|
32
|
-
spec.
|
31
|
+
spec.add_dependency('prism', '>= 0.24.0')
|
32
|
+
spec.add_dependency('rubocop', '>= 1.38.0', '< 2')
|
33
33
|
end
|
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.
|
4
|
+
version: 2.13.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-07-
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- RELEASING.md
|
67
67
|
- Rakefile
|
68
68
|
- bin/console
|
69
|
+
- bin/githooks/pre-push
|
69
70
|
- bin/release
|
70
71
|
- bin/rubocop
|
71
72
|
- lib/runger_style.rb
|
@@ -102,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: '0'
|
104
105
|
requirements: []
|
105
|
-
rubygems_version: 3.5.
|
106
|
+
rubygems_version: 3.5.15
|
106
107
|
signing_key:
|
107
108
|
specification_version: 4
|
108
109
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|