runger_style 2.0.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 +3 -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 +6 -4
- data/rulesets/rails.yml +1 -0
- data/runger_style.gemspec +1 -1
- metadata +2 -2
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,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
runger_style (2.
|
4
|
+
runger_style (2.1.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:
|
@@ -84,6 +83,9 @@ Naming/RescuedExceptionsVariableName:
|
|
84
83
|
Enabled: false
|
85
84
|
Naming/VariableNumber:
|
86
85
|
Enabled: false
|
86
|
+
Style:
|
87
|
+
Exclude:
|
88
|
+
- db/schema.rb
|
87
89
|
Style/ArgumentsForwarding:
|
88
90
|
Enabled: false
|
89
91
|
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.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-03-
|
11
|
+
date: 2024-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prism
|