runger_style 0.5.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +34 -23
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/default.yml +7 -1
- data/runger_style.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eac5a812bcdc1475b4460ba34cccbd966670d713c8b47a82021c718c5bf566ec
|
4
|
+
data.tar.gz: ad77e24d503d54cd0a77e96404ac32654fb28ee7a6eb042b3c0c26bbd7c6d17e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d804793c088976a0f259f4435f28bf478d361c7fd76ad22d638b0be895cefd6615d3be1a2667b426c70b40c9873bf623bccfc6fbd79ece3c360b38ba29bf887
|
7
|
+
data.tar.gz: 9628258088f4826beb77144a83906b3ce2ebb450c7a2326397e0ae553fda8ac380ac5e69fd2d1b52aaf4621b6929c6b6808227c953b71644aa198e2d5812da72
|
data/.github/workflows/ruby.yml
CHANGED
@@ -10,10 +10,10 @@ jobs:
|
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
steps:
|
12
12
|
- uses: actions/checkout@v3
|
13
|
-
- name: Set up Ruby 3.
|
13
|
+
- name: Set up Ruby 3.3.0
|
14
14
|
uses: ruby/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
ruby-version: 3.
|
16
|
+
ruby-version: 3.3.0
|
17
17
|
bundler-cache: true
|
18
18
|
- name: Set up
|
19
19
|
run: |
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## v1.0.0 (2023-12-29)
|
2
|
+
### Changed
|
3
|
+
- Bump target Ruby from 3.2 to 3.3
|
4
|
+
|
5
|
+
## v0.6.0 (2023-12-04)
|
6
|
+
### Changed
|
7
|
+
- Disable `Style/RedundantParentheses` cop
|
8
|
+
- Disable `Layout/ConditionPosition` cop
|
9
|
+
- Disable `Style/ArrayFirstLast` cop
|
10
|
+
|
1
11
|
## v0.5.1 (2023-09-13)
|
2
12
|
### Changed
|
3
13
|
- Move FactoryBot cops into factory_bot ruleset
|
data/Gemfile.lock
CHANGED
@@ -1,68 +1,79 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
runger_style (0.
|
4
|
+
runger_style (1.0.0)
|
5
5
|
rubocop (>= 1.38.0, < 2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activesupport (7.
|
10
|
+
activesupport (7.1.2)
|
11
|
+
base64
|
12
|
+
bigdecimal
|
11
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
+
connection_pool (>= 2.2.5)
|
15
|
+
drb
|
12
16
|
i18n (>= 1.6, < 2)
|
13
17
|
minitest (>= 5.1)
|
18
|
+
mutex_m
|
14
19
|
tzinfo (~> 2.0)
|
15
20
|
ast (2.4.2)
|
16
|
-
base64 (0.
|
21
|
+
base64 (0.2.0)
|
22
|
+
bigdecimal (3.1.5)
|
17
23
|
concurrent-ruby (1.2.2)
|
24
|
+
connection_pool (2.4.1)
|
25
|
+
drb (2.2.0)
|
26
|
+
ruby2_keywords
|
18
27
|
i18n (1.14.1)
|
19
28
|
concurrent-ruby (~> 1.0)
|
20
|
-
json (2.
|
29
|
+
json (2.7.1)
|
21
30
|
language_server-protocol (3.17.0.3)
|
22
31
|
memo_wise (1.7.0)
|
23
32
|
minitest (5.20.0)
|
24
|
-
|
25
|
-
|
33
|
+
mutex_m (0.2.0)
|
34
|
+
parallel (1.24.0)
|
35
|
+
parser (3.2.2.4)
|
26
36
|
ast (~> 2.4.1)
|
27
37
|
racc
|
28
|
-
racc (1.7.
|
38
|
+
racc (1.7.3)
|
29
39
|
rack (3.0.8)
|
30
40
|
rainbow (3.1.1)
|
31
|
-
rake (13.0
|
32
|
-
regexp_parser (2.8.
|
41
|
+
rake (13.1.0)
|
42
|
+
regexp_parser (2.8.3)
|
33
43
|
rexml (3.2.6)
|
34
|
-
rubocop (1.
|
35
|
-
base64 (~> 0.1.1)
|
44
|
+
rubocop (1.59.0)
|
36
45
|
json (~> 2.3)
|
37
46
|
language_server-protocol (>= 3.17.0)
|
38
47
|
parallel (~> 1.10)
|
39
|
-
parser (>= 3.2.2.
|
48
|
+
parser (>= 3.2.2.4)
|
40
49
|
rainbow (>= 2.2.2, < 4.0)
|
41
50
|
regexp_parser (>= 1.8, < 3.0)
|
42
51
|
rexml (>= 3.2.5, < 4.0)
|
43
|
-
rubocop-ast (>= 1.
|
52
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
44
53
|
ruby-progressbar (~> 1.7)
|
45
54
|
unicode-display_width (>= 2.4.0, < 3.0)
|
46
|
-
rubocop-ast (1.
|
55
|
+
rubocop-ast (1.30.0)
|
47
56
|
parser (>= 3.2.1.0)
|
48
|
-
rubocop-capybara (2.
|
57
|
+
rubocop-capybara (2.19.0)
|
49
58
|
rubocop (~> 1.41)
|
50
|
-
rubocop-factory_bot (2.
|
59
|
+
rubocop-factory_bot (2.24.0)
|
51
60
|
rubocop (~> 1.33)
|
52
|
-
rubocop-performance (1.
|
53
|
-
rubocop (>= 1.
|
54
|
-
rubocop-ast (>=
|
55
|
-
rubocop-rails (2.
|
61
|
+
rubocop-performance (1.20.1)
|
62
|
+
rubocop (>= 1.48.1, < 2.0)
|
63
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
64
|
+
rubocop-rails (2.23.1)
|
56
65
|
activesupport (>= 4.2.0)
|
57
66
|
rack (>= 1.1)
|
58
67
|
rubocop (>= 1.33.0, < 2.0)
|
68
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
59
69
|
rubocop-rake (0.6.0)
|
60
70
|
rubocop (~> 1.0)
|
61
|
-
rubocop-rspec (2.
|
62
|
-
rubocop (~> 1.
|
71
|
+
rubocop-rspec (2.25.0)
|
72
|
+
rubocop (~> 1.40)
|
63
73
|
rubocop-capybara (~> 2.17)
|
64
74
|
rubocop-factory_bot (~> 2.22)
|
65
75
|
ruby-progressbar (1.13.0)
|
76
|
+
ruby2_keywords (0.0.5)
|
66
77
|
runger_release_assistant (0.5.0)
|
67
78
|
activesupport (>= 6, < 8)
|
68
79
|
memo_wise (>= 1.7, < 2)
|
@@ -71,7 +82,7 @@ GEM
|
|
71
82
|
slop (4.10.1)
|
72
83
|
tzinfo (2.0.6)
|
73
84
|
concurrent-ruby (~> 1.0)
|
74
|
-
unicode-display_width (2.
|
85
|
+
unicode-display_width (2.5.0)
|
75
86
|
|
76
87
|
PLATFORMS
|
77
88
|
ruby
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/default.yml
CHANGED
@@ -4,7 +4,7 @@ AllCops:
|
|
4
4
|
- db/schema.rb # auto-generated file; best to leave as-is
|
5
5
|
- node_modules/**/*
|
6
6
|
- vendor/bundle/**/*
|
7
|
-
TargetRubyVersion: 3.
|
7
|
+
TargetRubyVersion: 3.3
|
8
8
|
UseCache: true
|
9
9
|
Bundler/GemComment:
|
10
10
|
Enabled: false
|
@@ -21,6 +21,8 @@ Layout/ClassStructure:
|
|
21
21
|
- public_methods
|
22
22
|
- protected_methods
|
23
23
|
- private_methods
|
24
|
+
Layout/ConditionPosition:
|
25
|
+
Enabled: false
|
24
26
|
Layout/DotPosition:
|
25
27
|
EnforcedStyle: trailing
|
26
28
|
Layout/EmptyLineAfterMultilineCondition:
|
@@ -79,6 +81,8 @@ Naming/RescuedExceptionsVariableName:
|
|
79
81
|
Enabled: false
|
80
82
|
Naming/VariableNumber:
|
81
83
|
Enabled: false
|
84
|
+
Style/ArrayFirstLast:
|
85
|
+
Enabled: false
|
82
86
|
Style/BlockDelimiters:
|
83
87
|
Enabled: false
|
84
88
|
Style/ClassAndModuleChildren:
|
@@ -185,6 +189,8 @@ Style/RedundantArgument:
|
|
185
189
|
Enabled: false
|
186
190
|
Style/RedundantFileExtensionInRequire:
|
187
191
|
Enabled: false
|
192
|
+
Style/RedundantParentheses:
|
193
|
+
Enabled: false
|
188
194
|
Style/RegexpLiteral:
|
189
195
|
Enabled: false
|
190
196
|
Style/RequireOrder:
|
data/runger_style.gemspec
CHANGED
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: 0.
|
4
|
+
version: 1.0.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: 2023-
|
11
|
+
date: 2023-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -78,14 +78,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 3.
|
81
|
+
version: 3.3.0
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
84
|
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
rubygems_version: 3.
|
88
|
+
rubygems_version: 3.5.3
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|