rubocop-gem_dev 0.4.0 → 0.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5402aebc6fb1aaf9c8fafec3474bea7b2c6ebe24b03e444cd676c46947d308d
4
- data.tar.gz: 5dfec0fd1682e2b066d930947747b0e70d080bbc1776289d0a76a83556789fe9
3
+ metadata.gz: '09526af775d375ada4c1806acd59d4b009776167987f78f92c97cb61e2dae5c9'
4
+ data.tar.gz: e13484393953ddb96d46e43a8c42cd44b8fb12ef5441613873942a797e21bd22
5
5
  SHA512:
6
- metadata.gz: d9429e4ea83eed8fdee77dd133d7e10dee9e6307ef6811cd47fa308ef59eb3380ba4c6cd8e4ceb91886e4d2fa8c730d1f60b4f5f882a915557fc935452213b0b
7
- data.tar.gz: a4cf0725098395d15dc3c29f94e15017d2b93b4d2892d4b24662fa724b4c3158a57e46c78f7a829764ebeea2937a52603be4e0c3cb1752f04be1f00d76b125e9
6
+ metadata.gz: 93c5aa083a90e17ef92aac591ef3933b055cc8f4d49317db1988e3f8852ea2b9a4ea26f23d7b29015791d8b8bf530face2346a91c2a548f92ca4cf1ff899eb07
7
+ data.tar.gz: d839e51ebb2433650876fe579bfb716f020e8ea31f6babb76226b3390c0a102dc2cd58653f51ea22a63cb6c1beee87a21a87d6e215854a20244c736ada6dbdd9
data/config/rubocop.yml CHANGED
@@ -2,11 +2,19 @@ AllCops:
2
2
  # Exclude auto-generated files by Rails
3
3
  Exclude:
4
4
  - 'vendor/bundle/**/*'
5
+ # Enable all cops
6
+ # This setting allows us to use latest cops without explicit enabling
7
+ NewCops: enable
8
+ EnabledByDefault: true
5
9
 
6
10
  # Items in Gemfile are dev dependencies and we don't have to specify versions.
7
11
  Bundler/GemVersion:
8
12
  Enabled: false
9
13
 
14
+ # `::File` is usually too verbose, enable this when we need
15
+ Lint/ConstantResolution:
16
+ Enabled: false
17
+
10
18
  # ABC size 20 is pretty well-done actually.
11
19
  Metrics/AbcSize:
12
20
  Max: 20
@@ -15,6 +23,16 @@ Metrics/AbcSize:
15
23
  Style/Copyright:
16
24
  Enabled: false
17
25
 
26
+ # This is too convenient
27
+ Style/DisableCopsWithinSourceCodeDirective:
28
+ Enabled: false
29
+
30
+ # Test files don't need to have documentation
31
+ Style/Documentation:
32
+ Exclude:
33
+ - 'test/**/*'
34
+ - 'spec/**/*'
35
+
18
36
  # Double negation is a famous Ruby idiom,
19
37
  # why not using it with confidence?
20
38
  Style/DoubleNegation:
@@ -24,6 +42,10 @@ Style/DoubleNegation:
24
42
  Style/InlineComment:
25
43
  Enabled: false
26
44
 
45
+ # These methods are often used without parentheses
46
+ Style/MethodCallWithArgsParentheses:
47
+ AllowedMethods: ['require', 'require_relative', 'include', 'extend', 'puts', 'p', 'pp', 'warn', 'raise', 'send', 'public_send', 'alias_method']
48
+
27
49
  # Changing require order affects code execution
28
50
  # This should not be a style cop
29
51
  Style/RequireOrder:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module GemDev
5
- VERSION = "0.4.0"
5
+ VERSION = "0.6.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-gem_dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OKURA Masafumi
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-06-07 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: RuboCop configuration for gem development
14
13
  email:
@@ -36,7 +35,6 @@ metadata:
36
35
  homepage_uri: https://github.com/okuramasafumi/rubocop-sensible
37
36
  source_code_uri: https://github.com/okuramasafumi/rubocop-sensible/rubocop-gem_dev
38
37
  changelog_uri: https://github.com/okuramasafumi/rubocop-sensible/rubocop-gem_dev/blob/master/CHANGELOG.md
39
- post_install_message:
40
38
  rdoc_options: []
41
39
  require_paths:
42
40
  - lib
@@ -51,8 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
49
  - !ruby/object:Gem::Version
52
50
  version: '0'
53
51
  requirements: []
54
- rubygems_version: 3.4.13
55
- signing_key:
52
+ rubygems_version: 3.6.7
56
53
  specification_version: 4
57
54
  summary: RuboCop configuration for gem development
58
55
  test_files: []