runger_style 2.14.0 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.runger-config.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +4 -4
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/default.yml +4 -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: 7f2cb1c20706a7b115792ed5011a301f5aeea863edc7f5b43b6bd6981f6cb322
|
4
|
+
data.tar.gz: 64d0654bf6db9850a743d445081e20cd8f14f5646dd6a2a8984943bc904a2796
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1540ef75d4073165010ead1fff86556218e87b8c1a0c02cef5ed7f0bcde9e6ed25f14543a8192eb74e82cc9ab54a49d49fb6fcd01c562c3811539a679aadab9c
|
7
|
+
data.tar.gz: b1a75989db564d7f2c11207f8db26cdfd3af0d76b2e0339cebd5c8da80fee6fc047c5a62fbb6dae4db6af009af6e8c1e06556b0c61ca18f20294a63556efffd0
|
data/.runger-config.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
expected-num-github-checks: 1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## v2.16.0 (2024-08-08)
|
2
|
+
- Ignore RSpec `context` and `describe` lines for `Layout/LineLength` (as we are already doing for `it`)
|
3
|
+
|
4
|
+
## v2.15.0 (2024-08-05)
|
5
|
+
- Add `EnforcedStyleAlignWith: start_of_block` for `Layout/BlockAlignment` cop
|
6
|
+
|
1
7
|
## v2.14.0 (2024-08-05)
|
2
8
|
- Allow `127.0.0.1` as an IP address for `Style/IpAddresses`
|
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.16.0)
|
5
5
|
prism (>= 0.24.0)
|
6
6
|
rubocop (>= 1.38.0, < 2)
|
7
7
|
|
@@ -36,7 +36,7 @@ GEM
|
|
36
36
|
minitest (5.24.1)
|
37
37
|
mutex_m (0.2.0)
|
38
38
|
parallel (1.25.1)
|
39
|
-
parser (3.3.4.
|
39
|
+
parser (3.3.4.2)
|
40
40
|
ast (~> 2.4.1)
|
41
41
|
racc
|
42
42
|
prism (0.30.0)
|
@@ -64,7 +64,7 @@ GEM
|
|
64
64
|
rubocop-ast (>= 1.31.1, < 2.0)
|
65
65
|
ruby-progressbar (~> 1.7)
|
66
66
|
unicode-display_width (>= 2.4.0, < 3.0)
|
67
|
-
rubocop-ast (1.
|
67
|
+
rubocop-ast (1.32.0)
|
68
68
|
parser (>= 3.3.1.0)
|
69
69
|
rubocop-capybara (2.21.0)
|
70
70
|
rubocop (~> 1.41)
|
@@ -80,7 +80,7 @@ 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.4)
|
84
84
|
rubocop (~> 1.61)
|
85
85
|
rubocop-rspec_rails (2.30.0)
|
86
86
|
rubocop (~> 1.61)
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/default.yml
CHANGED
@@ -12,6 +12,8 @@ Layout:
|
|
12
12
|
- db/schema.rb
|
13
13
|
Layout/ArgumentAlignment:
|
14
14
|
EnforcedStyle: with_fixed_indentation
|
15
|
+
Layout/BlockAlignment:
|
16
|
+
EnforcedStyleAlignWith: start_of_block
|
15
17
|
Layout/ClassStructure:
|
16
18
|
ExpectedOrder:
|
17
19
|
- module_inclusion
|
@@ -43,8 +45,8 @@ Layout/LineLength:
|
|
43
45
|
# Ignore line length if the line is a comment without any spaces; it's probably not something we
|
44
46
|
# can fix (e.g. a long file path):
|
45
47
|
- !ruby/regexp /^ *#? [\S]+$/
|
46
|
-
# Ignore RSpec
|
47
|
-
- !ruby/regexp /^ *it ['"].*['"].*do$/
|
48
|
+
# Ignore RSpec description strings:
|
49
|
+
- !ruby/regexp /^ *(context|describe|it) ['"].*['"].* do$/
|
48
50
|
Max: 100
|
49
51
|
Layout/MultilineMethodCallIndentation:
|
50
52
|
EnforcedStyle: indented
|
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.16.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-
|
11
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- ".release_assistant.yml"
|
58
58
|
- ".rubocop.yml"
|
59
59
|
- ".ruby-version"
|
60
|
+
- ".runger-config.yml"
|
60
61
|
- CHANGELOG.md
|
61
62
|
- Gemfile
|
62
63
|
- Gemfile.lock
|
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
104
|
- !ruby/object:Gem::Version
|
104
105
|
version: '0'
|
105
106
|
requirements: []
|
106
|
-
rubygems_version: 3.5.
|
107
|
+
rubygems_version: 3.5.17
|
107
108
|
signing_key:
|
108
109
|
specification_version: 4
|
109
110
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|