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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48b55ab10b5e59748a40fb1b73c75ebe4f0d126b90c6ba625e903ef7b0236ce8
4
- data.tar.gz: 1a823a19a6eae1baeb92df863e44e2ea465e7b76621773f78d2418a496070a6b
3
+ metadata.gz: 8b1b27a180bc219763425a9c47d2bc4ba7c560eed6ecaf4d184876c4a67f302b
4
+ data.tar.gz: c4b5c0d6f8b14b8f1784e530b672d774f50094d6307f0c4d5a3dc90da85d6008
5
5
  SHA512:
6
- metadata.gz: 1f957ab314713f612766bfcef15e73ab12ae40b85fb57494e696a5423a44413716ff10c73c2d4e463c66fd31b0d2654e065f33f6e928b204e47b650b891d12f0
7
- data.tar.gz: 1f70b41934d443f1f64c849e3592d5df2c8e48445c8b279ced2bb43ff99f4e19b8583caba7e55cacc9aa24eb8540f7a62cd99dd3d5f10c81c7d88fb27a420e25
6
+ metadata.gz: 351998c9ce120ece0e37b79d71cbb15a026e2e915d85648e97c5cacfed5a399b33a32d6067298a300a443e0c846d04c311074ec9dc71c7147880be0ef4548e26
7
+ data.tar.gz: 71aaf9d51803a2aeeaea827a9e248cc9b7f60cdd51438bf19a66a2aac32ad9b40c7a3b843e96cd0d5b4395dc3eba9c5dda6858e46fc4bdd734cce4a3cdcede71
data/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # ruboconf
2
2
 
3
- Opinionated Rubocop configuration for personal projects.
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 rubocop using bundler:
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 rubocop updates and objectively better configurations.
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
@@ -33,6 +33,9 @@ Layout/MultilineMethodCallBraceLayout:
33
33
  Layout/LineLength:
34
34
  Max: 200
35
35
 
36
+ Layout/SpaceAroundOperators:
37
+ EnforcedStyleForExponentOperator: space
38
+
36
39
  Layout/SpaceBeforeBrackets:
37
40
  Enabled: true
38
41
 
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.0.0'
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.7.0'
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.25.0'
26
- spec.add_dependency 'rubocop-performance', '~> 1.13.2'
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
@@ -14,6 +14,8 @@ inherit_from:
14
14
 
15
15
  AllCops:
16
16
  Exclude:
17
- - 'db/schema.rb'
18
- - 'bin/{rails,bundle,rake,setup}'
19
- - 'vendor/bundle/**/*'
17
+ - 'node_modules/**/*'
18
+ - 'tmp/**/*'
19
+ - 'vendor/**/*'
20
+ - '.git/**/*'
21
+ SuggestExtensions: false
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.0.0
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-01-21 00:00:00.000000000 Z
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.25.0
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.25.0
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.2
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.2
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.7.0
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.2.32
87
+ rubygems_version: 3.3.3
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Opinionated Rubocop configuration for personal projects.