ruboconf 1.0.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/cops/layout.yml +3 -0
- data/cops/style.yml +9 -0
- data/ruboconf.gemspec +4 -4
- data/ruboconf.yml +5 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b1b27a180bc219763425a9c47d2bc4ba7c560eed6ecaf4d184876c4a67f302b
|
4
|
+
data.tar.gz: c4b5c0d6f8b14b8f1784e530b672d774f50094d6307f0c4d5a3dc90da85d6008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 351998c9ce120ece0e37b79d71cbb15a026e2e915d85648e97c5cacfed5a399b33a32d6067298a300a443e0c846d04c311074ec9dc71c7147880be0ef4548e26
|
7
|
+
data.tar.gz: 71aaf9d51803a2aeeaea827a9e248cc9b7f60cdd51438bf19a66a2aac32ad9b40c7a3b843e96cd0d5b4395dc3eba9c5dda6858e46fc4bdd734cce4a3cdcede71
|
data/README.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# ruboconf
|
2
2
|
|
3
|
-
Opinionated
|
3
|
+
Opinionated RuboCop configuration for personal projects.
|
4
4
|
|
5
5
|
Those configurations are chosen based on my subjective feelings about some cops. I do not plan to accept Pull Requests, besides for objectively better configuration options.
|
6
6
|
|
7
|
+
If you want to use RuboCop Rails you might be interested in [ruboconf-rails](https://github.com/richardboehme/ruboconf-rails).
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
Add this line to your application's Gemfile:
|
@@ -25,7 +27,7 @@ inherit_gem:
|
|
25
27
|
|
26
28
|
## Usage
|
27
29
|
|
28
|
-
Make sure to execute
|
30
|
+
Make sure to execute RuboCop using bundler:
|
29
31
|
|
30
32
|
$ bundle exec rubocop <options>
|
31
33
|
|
@@ -37,7 +39,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
37
39
|
|
38
40
|
## Contributing
|
39
41
|
|
40
|
-
As stated above, I do not plan to accept Pull Requests. The only exception to this would be discussions about
|
42
|
+
As stated above, I do not plan to accept Pull Requests. The only exception to this would be discussions about RuboCop updates and objectively better configurations.
|
41
43
|
|
42
44
|
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
|
43
45
|
|
data/cops/layout.yml
CHANGED
data/cops/style.yml
CHANGED
@@ -13,6 +13,9 @@ Style/Documentation:
|
|
13
13
|
Style/DocumentDynamicEvalDefinition:
|
14
14
|
Enabled: true
|
15
15
|
|
16
|
+
Style/EmptyMethod:
|
17
|
+
EnforcedStyle: expanded
|
18
|
+
|
16
19
|
Style/EndlessMethod:
|
17
20
|
Enabled: true
|
18
21
|
|
@@ -37,6 +40,9 @@ Style/HashConversion:
|
|
37
40
|
Style/HashExcept:
|
38
41
|
Enabled: true
|
39
42
|
|
43
|
+
Style/HashSyntax:
|
44
|
+
EnforcedShorthandSyntax: either
|
45
|
+
|
40
46
|
Style/IfUnlessModifier:
|
41
47
|
Enabled: false
|
42
48
|
|
@@ -64,6 +70,9 @@ Style/NegatedIf:
|
|
64
70
|
Style/NegatedIfElseCondition:
|
65
71
|
Enabled: false
|
66
72
|
|
73
|
+
Style/NestedFileDirname:
|
74
|
+
Enabled: true
|
75
|
+
|
67
76
|
Style/Next:
|
68
77
|
Enabled: false
|
69
78
|
|
data/ruboconf.gemspec
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'ruboconf'
|
5
|
-
spec.version = '1.
|
5
|
+
spec.version = '1.3.0'
|
6
6
|
spec.authors = ['Richard Böhme']
|
7
7
|
spec.email = ['richard.boehme1999@gmail.com']
|
8
8
|
|
9
9
|
spec.summary = 'Opinionated Rubocop configuration for personal projects.'
|
10
10
|
spec.homepage = 'https://github.com/richardboehme/ruboconf'
|
11
11
|
spec.license = 'MIT'
|
12
|
-
spec.required_ruby_version = '>= 2.
|
12
|
+
spec.required_ruby_version = '>= 2.5.0'
|
13
13
|
|
14
14
|
spec.metadata['homepage_uri'] = spec.homepage
|
15
15
|
spec.metadata['source_code_uri'] = 'https://github.com/richardboehme/ruboconf'
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.add_dependency 'rubocop', '~> 1.
|
26
|
-
spec.add_dependency 'rubocop-performance', '~> 1.13
|
25
|
+
spec.add_dependency 'rubocop', '~> 1.26'
|
26
|
+
spec.add_dependency 'rubocop-performance', '~> 1.13'
|
27
27
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
28
28
|
end
|
data/ruboconf.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboconf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Böhme
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.26'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: '1.26'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.13
|
33
|
+
version: '1.13'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.13
|
40
|
+
version: '1.13'
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- richard.boehme1999@gmail.com
|
@@ -77,14 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 2.
|
80
|
+
version: 2.5.0
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
87
|
+
rubygems_version: 3.3.3
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Opinionated Rubocop configuration for personal projects.
|