matkoniecz-ruby-style 1.4 → 1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/matkoniecz-ruby-style.gemspec +2 -2
- data/standard_rubocop_config.yml +12 -8
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 995eb438938e22dc49ec02f4db5628d087508a8eb3096b3d8f36f1d09624bdd1
|
|
4
|
+
data.tar.gz: c0e954c94476340b40e1bd66c0f9f98085059c9b05ba30f4b4d57cbce6673e18
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2dd0b30f1423ae87a3be16ba36d08efc5b84c277802f2e3761fb627a25d9eccbd83142880e58cb69eb67efca05cf685d1c4576f3e1e900996f47d53b6939552
|
|
7
|
+
data.tar.gz: ab0507b5b2e102050a0b110204ddf3201e6a0697c2a4de4e0b18af0a384f2d66f2ab7ce0f954bcbbb0466f0195b1a65252e164e13262d9ef020a7576c7b59abe
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "matkoniecz-ruby-style"
|
|
3
|
-
spec.version = 1.
|
|
3
|
+
spec.version = 1.5
|
|
4
4
|
spec.authors = ["Mateusz Konieczny"]
|
|
5
5
|
spec.email = ["matkoniecz@gmail.com"]
|
|
6
6
|
|
|
@@ -16,6 +16,6 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
spec.bindir = "exe"
|
|
17
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
18
18
|
spec.require_paths = ["lib"]
|
|
19
|
-
spec.add_dependency "rubocop", "~> 0.
|
|
19
|
+
spec.add_dependency "rubocop", "~> 0.89.1"
|
|
20
20
|
spec.add_dependency "rubocop-rspec", "~> 1.29.1"
|
|
21
21
|
end
|
data/standard_rubocop_config.yml
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
require: rubocop-rspec
|
|
2
2
|
|
|
3
3
|
AllCops:
|
|
4
|
-
TargetRubyVersion: 2.
|
|
4
|
+
TargetRubyVersion: 2.7
|
|
5
|
+
NewCops: enable
|
|
5
6
|
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# disable due to a bug reported in https://github.com/rubocop-hq/rubocop/issues/7569
|
|
11
|
-
Style/YodaCondition:
|
|
7
|
+
# this hurts readability and makes code more confusing
|
|
8
|
+
# Rubocop is has opinion, Python has opinion, I also have opinion
|
|
9
|
+
# I would gladly enable MethodCallRequireArgsParentheses
|
|
10
|
+
Style/MethodCallWithoutArgsParentheses:
|
|
12
11
|
Enabled: false
|
|
13
12
|
|
|
14
13
|
# not preferred as this rule makes harder to move/add/remove items
|
|
@@ -108,9 +107,14 @@ Naming/MethodParameterName:
|
|
|
108
107
|
# avoding jumboXXLplus lines is a good idea, but
|
|
109
108
|
# there is no reason to stick to 80 characters
|
|
110
109
|
# a bit longer lines seems fine to me
|
|
111
|
-
|
|
110
|
+
Layout/LineLength:
|
|
112
111
|
Max: 88
|
|
113
112
|
|
|
113
|
+
# disabled due to bug reported as https://github.com/rubocop-hq/rubocop/issues/6630
|
|
114
|
+
# note that bug is likely to be closed but wontfixed
|
|
115
|
+
Style/CommentAnnotation:
|
|
116
|
+
Enabled: false
|
|
117
|
+
|
|
114
118
|
# benefits from adding ? to the method names are outweighted
|
|
115
119
|
# by increased costs of context switch between languages
|
|
116
120
|
Naming/PredicateName:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: matkoniecz-ruby-style
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.5'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mateusz Konieczny
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-08-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.89.1
|
|
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:
|
|
26
|
+
version: 0.89.1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rubocop-rspec
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
requirements: []
|
|
77
|
-
rubygems_version: 3.
|
|
77
|
+
rubygems_version: 3.1.2
|
|
78
78
|
signing_key:
|
|
79
79
|
specification_version: 4
|
|
80
80
|
summary: shared style config for Ruby
|