runger_style 1.7.0 → 2.1.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 +13 -13
- data/bin/release +2 -2
- data/bin/rubocop +2 -2
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/default.yml +7 -4
- data/rulesets/rails.yml +1 -0
- data/runger_style.gemspec +2 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9da120f840a0fe5a42286f47218c17f22ff2e3681d75db38e19625dacf3542c
|
4
|
+
data.tar.gz: 5fef7927f5ee66884d93809a41553613517a11da897d52bb8f48af9116a0f7fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8b5a825172db15b733a0bcce9ebed1a5ec00b3c1955e67d1ab4461bd1eeed559145bc3cd8af5dd834c533397b7b734c5fae159a1a83159eed0f0896192b271c
|
7
|
+
data.tar.gz: 6256faeec1e2474c57d5dd04209ca242cd9c7d86fac78f182158c12c4c210ead8ea4f1653ad79f88b38cea9953ab639506846a4ee35c74ae39160b68a443122d
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
runger_style (1.
|
4
|
+
runger_style (2.1.0)
|
5
|
+
prism (>= 0.24.0)
|
5
6
|
rubocop (>= 1.38.0, < 2)
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
9
10
|
specs:
|
10
|
-
activesupport (7.1.3)
|
11
|
+
activesupport (7.1.3.2)
|
11
12
|
base64
|
12
13
|
bigdecimal
|
13
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -22,26 +23,26 @@ GEM
|
|
22
23
|
bigdecimal (3.1.6)
|
23
24
|
concurrent-ruby (1.2.3)
|
24
25
|
connection_pool (2.4.1)
|
25
|
-
drb (2.2.
|
26
|
-
ruby2_keywords
|
26
|
+
drb (2.2.1)
|
27
27
|
i18n (1.14.1)
|
28
28
|
concurrent-ruby (~> 1.0)
|
29
29
|
json (2.7.1)
|
30
30
|
language_server-protocol (3.17.0.3)
|
31
31
|
memo_wise (1.8.0)
|
32
|
-
minitest (5.
|
32
|
+
minitest (5.22.2)
|
33
33
|
mutex_m (0.2.0)
|
34
34
|
parallel (1.24.0)
|
35
35
|
parser (3.3.0.5)
|
36
36
|
ast (~> 2.4.1)
|
37
37
|
racc
|
38
|
+
prism (0.24.0)
|
38
39
|
racc (1.7.3)
|
39
40
|
rack (3.0.9.1)
|
40
41
|
rainbow (3.1.1)
|
41
42
|
rake (13.1.0)
|
42
43
|
regexp_parser (2.9.0)
|
43
44
|
rexml (3.2.6)
|
44
|
-
rubocop (1.
|
45
|
+
rubocop (1.62.1)
|
45
46
|
json (~> 2.3)
|
46
47
|
language_server-protocol (>= 3.17.0)
|
47
48
|
parallel (~> 1.10)
|
@@ -49,11 +50,11 @@ GEM
|
|
49
50
|
rainbow (>= 2.2.2, < 4.0)
|
50
51
|
regexp_parser (>= 1.8, < 3.0)
|
51
52
|
rexml (>= 3.2.5, < 4.0)
|
52
|
-
rubocop-ast (>= 1.
|
53
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
53
54
|
ruby-progressbar (~> 1.7)
|
54
55
|
unicode-display_width (>= 2.4.0, < 3.0)
|
55
|
-
rubocop-ast (1.
|
56
|
-
parser (>= 3.
|
56
|
+
rubocop-ast (1.31.2)
|
57
|
+
parser (>= 3.3.0.4)
|
57
58
|
rubocop-capybara (2.20.0)
|
58
59
|
rubocop (~> 1.41)
|
59
60
|
rubocop-factory_bot (2.25.1)
|
@@ -61,19 +62,18 @@ GEM
|
|
61
62
|
rubocop-performance (1.20.2)
|
62
63
|
rubocop (>= 1.48.1, < 2.0)
|
63
64
|
rubocop-ast (>= 1.30.0, < 2.0)
|
64
|
-
rubocop-rails (2.
|
65
|
+
rubocop-rails (2.24.0)
|
65
66
|
activesupport (>= 4.2.0)
|
66
67
|
rack (>= 1.1)
|
67
68
|
rubocop (>= 1.33.0, < 2.0)
|
68
|
-
rubocop-ast (>= 1.
|
69
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
69
70
|
rubocop-rake (0.6.0)
|
70
71
|
rubocop (~> 1.0)
|
71
|
-
rubocop-rspec (2.
|
72
|
+
rubocop-rspec (2.27.1)
|
72
73
|
rubocop (~> 1.40)
|
73
74
|
rubocop-capybara (~> 2.17)
|
74
75
|
rubocop-factory_bot (~> 2.22)
|
75
76
|
ruby-progressbar (1.13.0)
|
76
|
-
ruby2_keywords (0.0.5)
|
77
77
|
runger_release_assistant (0.6.0)
|
78
78
|
activesupport (>= 6, < 8)
|
79
79
|
memo_wise (>= 1.7, < 2)
|
data/bin/release
CHANGED
@@ -16,8 +16,8 @@ if File.file?(bundle_binstub)
|
|
16
16
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
|
-
abort(
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
19
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
20
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
data/bin/rubocop
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/lib/runger_style/version.rb
CHANGED
data/rulesets/default.yml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
AllCops:
|
2
2
|
EnabledByDefault: true
|
3
|
-
|
4
|
-
- db/schema.rb # auto-generated file; best to leave as-is
|
5
|
-
- node_modules/**/*
|
6
|
-
- vendor/bundle/**/*
|
3
|
+
ParserEngine: parser_prism
|
7
4
|
TargetRubyVersion: 3.3
|
8
5
|
UseCache: true
|
9
6
|
Bundler/GemComment:
|
10
7
|
Enabled: false
|
11
8
|
Bundler/GemVersion:
|
12
9
|
Enabled: false
|
10
|
+
Layout:
|
11
|
+
Exclude:
|
12
|
+
- db/schema.rb
|
13
13
|
Layout/ArgumentAlignment:
|
14
14
|
EnforcedStyle: with_fixed_indentation
|
15
15
|
Layout/ClassStructure:
|
@@ -83,6 +83,9 @@ Naming/RescuedExceptionsVariableName:
|
|
83
83
|
Enabled: false
|
84
84
|
Naming/VariableNumber:
|
85
85
|
Enabled: false
|
86
|
+
Style:
|
87
|
+
Exclude:
|
88
|
+
- db/schema.rb
|
86
89
|
Style/ArgumentsForwarding:
|
87
90
|
Enabled: false
|
88
91
|
Style/ArrayFirstLast:
|
data/rulesets/rails.yml
CHANGED
data/runger_style.gemspec
CHANGED
@@ -25,7 +25,8 @@ Gem::Specification.new do |spec|
|
|
25
25
|
end
|
26
26
|
spec.require_paths = ['lib']
|
27
27
|
|
28
|
-
spec.required_ruby_version =
|
28
|
+
spec.required_ruby_version = ">= #{File.read('.ruby-version').rstrip}"
|
29
29
|
|
30
|
+
spec.add_runtime_dependency('prism', '>= 0.24.0')
|
30
31
|
spec.add_runtime_dependency('rubocop', '>= 1.38.0', '< 2')
|
31
32
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runger_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.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-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: prism
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.24.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.24.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rubocop
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
100
|
- !ruby/object:Gem::Version
|
87
101
|
version: '0'
|
88
102
|
requirements: []
|
89
|
-
rubygems_version: 3.5.
|
103
|
+
rubygems_version: 3.5.6
|
90
104
|
signing_key:
|
91
105
|
specification_version: 4
|
92
106
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|