runger_style 2.0.0 → 2.2.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 +4 -4
- data/bin/release +2 -2
- data/bin/rubocop +2 -2
- data/lib/runger_style/version.rb +1 -1
- data/rulesets/default.yml +9 -4
- data/rulesets/rails.yml +1 -0
- data/runger_style.gemspec +1 -1
- 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: d961100f02050251c7647cd9a7c61280e56575918f6e023718de5be8e22c922d
|
4
|
+
data.tar.gz: 32d1581ee761fcf7dbc13c6f61143adecb0e2337883410c3b235016d625dd4af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e766684a9ccc5f4e7dd4b972ec202cc6381229619a95892147aabe192e079b293ebb85d9caeca4229259f3593e943b45d577f901680691fc418bd4a0c8919c
|
7
|
+
data.tar.gz: 567289337ce4e7cf6646a9baa804d2b1e3d3c416a1d72a51b33189fa69f009ecc203eae30f0808487deecb975d2e2ee583e4254e33a2bd7bb8c1bf706c3a95de
|
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.2.0)
|
5
5
|
prism (>= 0.24.0)
|
6
6
|
rubocop (>= 1.38.0, < 2)
|
7
7
|
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
rake (13.1.0)
|
43
43
|
regexp_parser (2.9.0)
|
44
44
|
rexml (3.2.6)
|
45
|
-
rubocop (1.
|
45
|
+
rubocop (1.62.1)
|
46
46
|
json (~> 2.3)
|
47
47
|
language_server-protocol (>= 3.17.0)
|
48
48
|
parallel (~> 1.10)
|
@@ -50,10 +50,10 @@ GEM
|
|
50
50
|
rainbow (>= 2.2.2, < 4.0)
|
51
51
|
regexp_parser (>= 1.8, < 3.0)
|
52
52
|
rexml (>= 3.2.5, < 4.0)
|
53
|
-
rubocop-ast (>= 1.
|
53
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
54
54
|
ruby-progressbar (~> 1.7)
|
55
55
|
unicode-display_width (>= 2.4.0, < 3.0)
|
56
|
-
rubocop-ast (1.31.
|
56
|
+
rubocop-ast (1.31.2)
|
57
57
|
parser (>= 3.3.0.4)
|
58
58
|
rubocop-capybara (2.20.0)
|
59
59
|
rubocop (~> 1.41)
|
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,9 +1,5 @@
|
|
1
1
|
AllCops:
|
2
2
|
EnabledByDefault: true
|
3
|
-
Exclude:
|
4
|
-
- db/schema.rb # auto-generated file; best to leave as-is
|
5
|
-
- node_modules/**/*
|
6
|
-
- vendor/bundle/**/*
|
7
3
|
ParserEngine: parser_prism
|
8
4
|
TargetRubyVersion: 3.3
|
9
5
|
UseCache: true
|
@@ -11,6 +7,9 @@ Bundler/GemComment:
|
|
11
7
|
Enabled: false
|
12
8
|
Bundler/GemVersion:
|
13
9
|
Enabled: false
|
10
|
+
Layout:
|
11
|
+
Exclude:
|
12
|
+
- db/schema.rb
|
14
13
|
Layout/ArgumentAlignment:
|
15
14
|
EnforcedStyle: with_fixed_indentation
|
16
15
|
Layout/ClassStructure:
|
@@ -80,10 +79,16 @@ Naming/BlockForwarding:
|
|
80
79
|
Enabled: false
|
81
80
|
Naming/InclusiveLanguage:
|
82
81
|
Enabled: false
|
82
|
+
Naming/PredicateName:
|
83
|
+
ForbiddenPrefixes:
|
84
|
+
- is_
|
83
85
|
Naming/RescuedExceptionsVariableName:
|
84
86
|
Enabled: false
|
85
87
|
Naming/VariableNumber:
|
86
88
|
Enabled: false
|
89
|
+
Style:
|
90
|
+
Exclude:
|
91
|
+
- db/schema.rb
|
87
92
|
Style/ArgumentsForwarding:
|
88
93
|
Enabled: false
|
89
94
|
Style/ArrayFirstLast:
|
data/rulesets/rails.yml
CHANGED
data/runger_style.gemspec
CHANGED
@@ -25,7 +25,7 @@ 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
30
|
spec.add_runtime_dependency('prism', '>= 0.24.0')
|
31
31
|
spec.add_runtime_dependency('rubocop', '>= 1.38.0', '< 2')
|
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.2.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-03-
|
11
|
+
date: 2024-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
|
-
rubygems_version: 3.5.
|
103
|
+
rubygems_version: 3.5.7
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger
|