rubocop-gem_dev 0.3.0 → 0.5.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: 4f58e777183181ea39ab9ce8fea5e59a94f7e0574ea027581067b92f62b2cf10
4
- data.tar.gz: 340492add851025380f05afd3218b7353cef23a4d22f40abb011c654328ab401
3
+ metadata.gz: a1eea19ae1220ec926df2b4285eb76c4f0a4206cde251e9f546f3ed247ba7172
4
+ data.tar.gz: 993bf47149697512ebc3517f8f40714a505d44b38418dc322332442921ebeeac
5
5
  SHA512:
6
- metadata.gz: 4950c6b12958837ea7f756c2cc55a20a893dd8dbac1f311b350358bb212e6dfbb53c5233c87437445cd1f61f458ff943facf8a61a50fc8d95c19e79a73c749d6
7
- data.tar.gz: 43f14f90dd492a11f8d839fca914acb03009de0bb5a2d818526e1c7372072b12dc43744dbd9663452d205433b35cfa0e6eb953c9db4695067123ab8b70134da5
6
+ metadata.gz: 1d91315bcbe0af675099dd33a01a93facaac4fdd628c6691a47a34f3b86e467243fa74a52a8960d55b24e4081aff30903cc52a875694bc278052556a51167d90
7
+ data.tar.gz: b9875d703050435cfc76ac67d66f053d62d156d39c2cde3182372ef3a857ff1331d0e0636a7ac623159f49541ceef01e2fa8b073378d645ef85573ea486dd5df
data/.rubocop.yml CHANGED
@@ -11,3 +11,8 @@ Style/StringLiteralsInInterpolation:
11
11
 
12
12
  Layout/LineLength:
13
13
  Max: 120
14
+
15
+ # We don't want to deepen nestings for classes
16
+ Style/ClassAndModuleChildren:
17
+ Exclude:
18
+ - 'test/**/*'
data/config/rubocop.yml CHANGED
@@ -2,12 +2,20 @@ 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
 
10
- # We usually have LISENCE file that describes cipyright information.
14
+ # ABC size 20 is pretty well-done actually.
15
+ Metrics/AbcSize:
16
+ Max: 20
17
+
18
+ # We usually have LICENSE file that describes copyright information.
11
19
  Style/Copyright:
12
20
  Enabled: false
13
21
 
@@ -20,6 +28,10 @@ Style/DoubleNegation:
20
28
  Style/InlineComment:
21
29
  Enabled: false
22
30
 
31
+ # These methods are often used without parentheses
32
+ Style/MethodCallWithArgsParentheses:
33
+ AllowedMethods: ['require', 'require_relative', 'include', 'extend', 'puts', 'p', 'warn', 'raise', 'send', 'public_send', 'alias_method']
34
+
23
35
  # Changing require order affects code execution
24
36
  # This should not be a style cop
25
37
  Style/RequireOrder:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module GemDev
5
- VERSION = "0.3.0"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-gem_dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OKURA Masafumi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2024-02-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: RuboCop configuration for gem development
14
14
  email:
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  requirements: []
54
- rubygems_version: 3.4.13
54
+ rubygems_version: 3.5.5
55
55
  signing_key:
56
56
  specification_version: 4
57
57
  summary: RuboCop configuration for gem development