matkoniecz-ruby-style 1.4 → 1.5

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: e085f926eb18bcf8263b4a47a9b949db90c9ec4a6473ce1fda95208ddc8a771b
4
- data.tar.gz: 3f852ec2950679e9c9718ab23b9e12b98a5d331fde825b8bcbb863b1e98a8682
3
+ metadata.gz: 995eb438938e22dc49ec02f4db5628d087508a8eb3096b3d8f36f1d09624bdd1
4
+ data.tar.gz: c0e954c94476340b40e1bd66c0f9f98085059c9b05ba30f4b4d57cbce6673e18
5
5
  SHA512:
6
- metadata.gz: c159e0405463d3f96223fde291c196531353faae5ff0b0d26a609079253ce2aa6cc90618eef115e38d28b056d558f854817bfb22ea0742268eda9a1f63b4cb8a
7
- data.tar.gz: e4bbd41dfd9aa7f02442985eb77cf3de3ed16120237b48d179a67d552b8c88a43ce6e0b623f6705fa9f02fbe21a56109355898040cb42f823d2ab21e403c1344
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.4
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.77"
19
+ spec.add_dependency "rubocop", "~> 0.89.1"
20
20
  spec.add_dependency "rubocop-rspec", "~> 1.29.1"
21
21
  end
@@ -1,14 +1,13 @@
1
1
  require: rubocop-rspec
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: 2.6
4
+ TargetRubyVersion: 2.7
5
+ NewCops: enable
5
6
 
6
- # disabled due to bug reported as https://github.com/rubocop-hq/rubocop/issues/6630
7
- Style/CommentAnnotation:
8
- Enabled: false
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
- Metrics/LineLength:
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'
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: 2019-12-15 00:00:00.000000000 Z
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: '0.77'
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: '0.77'
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.0.4
77
+ rubygems_version: 3.1.2
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: shared style config for Ruby