runger_style 2.12.0 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +6 -6
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/default.yml +16 -9
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04cab2108fed7a1d3b2dc7d72aa7d50a26ccd8c7ac24eb810ea1951909781172
|
4
|
+
data.tar.gz: 7f897658dcb07b9e70b8e65e3a1f357a2180a613a5a08fb9381a7bff41da5d79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7410f7d1f528e9cab6efb5f690d48e579f4f3ee1e062cc9853058594eb44e1ff0ebfb303d52d7cc44604afb6e5d5650b35061dd7abbd67c120341a1433b7fa93
|
7
|
+
data.tar.gz: 5eb304ca4bd350eab7c8f12d2185f0ca190d06ca1b985fb83ca9b45f5b18a96732a12d7f391fc487a2088c974520d59327341b7809beb53678f3d0d41c21df3a
|
data/CHANGELOG.md
CHANGED
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.14.0)
|
5
5
|
prism (>= 0.24.0)
|
6
6
|
rubocop (>= 1.38.0, < 2)
|
7
7
|
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
prism (0.30.0)
|
43
43
|
psych (5.1.2)
|
44
44
|
stringio
|
45
|
-
racc (1.8.
|
45
|
+
racc (1.8.1)
|
46
46
|
rack (3.1.7)
|
47
47
|
rainbow (3.1.1)
|
48
48
|
rake (13.2.1)
|
@@ -51,9 +51,9 @@ 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.4)
|
55
55
|
strscan
|
56
|
-
rubocop (1.65.
|
56
|
+
rubocop (1.65.1)
|
57
57
|
json (~> 2.3)
|
58
58
|
language_server-protocol (>= 3.17.0)
|
59
59
|
parallel (~> 1.10)
|
@@ -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.12.0)
|
90
90
|
activesupport (>= 6, < 8)
|
91
91
|
memo_wise (>= 1.7, < 2)
|
92
92
|
rainbow (>= 3.0, < 4)
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/default.yml
CHANGED
@@ -14,13 +14,13 @@ Layout/ArgumentAlignment:
|
|
14
14
|
EnforcedStyle: with_fixed_indentation
|
15
15
|
Layout/ClassStructure:
|
16
16
|
ExpectedOrder:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
17
|
+
- module_inclusion
|
18
|
+
- constants
|
19
|
+
- public_class_methods
|
20
|
+
- initializer
|
21
|
+
- public_methods
|
22
|
+
- protected_methods
|
23
|
+
- private_methods
|
24
24
|
Layout/ConditionPosition:
|
25
25
|
Enabled: false
|
26
26
|
Layout/DotPosition:
|
@@ -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
|
@@ -135,6 +137,11 @@ Style/ImplicitRuntimeError:
|
|
135
137
|
Enabled: false
|
136
138
|
Style/InlineComment:
|
137
139
|
Enabled: false
|
140
|
+
Style/IpAddresses:
|
141
|
+
AllowedAddresses:
|
142
|
+
- "::"
|
143
|
+
- "::1"
|
144
|
+
- "127.0.0.1"
|
138
145
|
Style/Lambda:
|
139
146
|
Enabled: false
|
140
147
|
Style/MethodCallWithArgsParentheses:
|
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.14.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-
|
11
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.5.
|
106
|
+
rubygems_version: 3.5.16
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|