rubocop-gem_dev 0.1.0 → 0.3.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: 98e7985a6ed2cd757c6913f766faa63f614e5e62e8d3cf9db81a7d90b9e5d5fa
4
- data.tar.gz: 4b9b320e94fbbdc5a23250dc98384170110acd9e8ea6180af9ab5bdf8db06f1b
3
+ metadata.gz: 4f58e777183181ea39ab9ce8fea5e59a94f7e0574ea027581067b92f62b2cf10
4
+ data.tar.gz: 340492add851025380f05afd3218b7353cef23a4d22f40abb011c654328ab401
5
5
  SHA512:
6
- metadata.gz: 585c06a78960d1adb5c7714a776af92661b92adef10109987fbbf8a405ce80f4df5a350a22d21212704d212c654bd2b824228d63513a8778ebde64bd59ab91ed
7
- data.tar.gz: 8ae8a1f85fbd60ab9088fdf46d6017bf704816c51cfda35f3587cfb6b9b7aec6efa2c8bd023a262e0523ea245b159aff33551fbdd1bccba978159f805ca32631
6
+ metadata.gz: 4950c6b12958837ea7f756c2cc55a20a893dd8dbac1f311b350358bb212e6dfbb53c5233c87437445cd1f61f458ff943facf8a61a50fc8d95c19e79a73c749d6
7
+ data.tar.gz: 43f14f90dd492a11f8d839fca914acb03009de0bb5a2d818526e1c7372072b12dc43744dbd9663452d205433b35cfa0e6eb953c9db4695067123ab8b70134da5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.0] - 2023-05-30
4
+
5
+ ### Added
6
+
7
+ - Disable `Style/RequireOrder` cop
8
+
3
9
  ## [0.1.0] - 2022-06-03
4
10
 
5
11
  - Initial release
data/README.md CHANGED
@@ -1,15 +1,13 @@
1
1
  # Rubocop::GemDev
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubocop/gem_dev`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ RuboCop configurations gem for gem development.
6
4
 
7
5
  ## Installation
8
6
 
9
7
  Add this line to your application's Gemfile:
10
8
 
11
9
  ```ruby
12
- gem 'rubocop-gem_dev'
10
+ gem 'rubocop-gem_dev', require: false
13
11
  ```
14
12
 
15
13
  And then execute:
@@ -22,7 +20,13 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ Add the snippet below to your `.rubocop.yml`
24
+
25
+ ```ruby
26
+ inherit_gem:
27
+ rubocop-gem_dev:
28
+ - "config/rubocop.yml"
29
+ ```
26
30
 
27
31
  ## Development
28
32
 
data/config/rubocop.yml CHANGED
@@ -3,11 +3,28 @@ AllCops:
3
3
  Exclude:
4
4
  - 'vendor/bundle/**/*'
5
5
 
6
+ # Items in Gemfile are dev dependencies and we don't have to specify versions.
7
+ Bundler/GemVersion:
8
+ Enabled: false
9
+
10
+ # We usually have LISENCE file that describes cipyright information.
11
+ Style/Copyright:
12
+ Enabled: false
13
+
6
14
  # Double negation is a famous Ruby idiom,
7
15
  # why not using it with confidence?
8
16
  Style/DoubleNegation:
9
17
  Enabled: false
10
18
 
19
+ # It's absolutely fine to use inline comments
20
+ Style/InlineComment:
21
+ Enabled: false
22
+
23
+ # Changing require order affects code execution
24
+ # This should not be a style cop
25
+ Style/RequireOrder:
26
+ Enabled: false
27
+
11
28
  # No particular reason to prefer array style,
12
29
  # two different styles suit in different situations.
13
30
  Style/SymbolArray:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module GemDev
5
- VERSION = "0.1.0"
5
+ VERSION = "0.3.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.1.0
4
+ version: 0.3.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: 2022-06-09 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: RuboCop configuration for gem development
14
14
  email:
@@ -21,7 +21,6 @@ files:
21
21
  - CHANGELOG.md
22
22
  - CODE_OF_CONDUCT.md
23
23
  - Gemfile
24
- - Gemfile.lock
25
24
  - LICENSE.txt
26
25
  - README.md
27
26
  - Rakefile
@@ -52,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
51
  - !ruby/object:Gem::Version
53
52
  version: '0'
54
53
  requirements: []
55
- rubygems_version: 3.3.7
54
+ rubygems_version: 3.4.13
56
55
  signing_key:
57
56
  specification_version: 4
58
57
  summary: RuboCop configuration for gem development
data/Gemfile.lock DELETED
@@ -1,42 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rubocop-gem_dev (0.1.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- ast (2.4.2)
10
- minitest (5.15.0)
11
- parallel (1.22.1)
12
- parser (3.1.2.0)
13
- ast (~> 2.4.1)
14
- rainbow (3.1.1)
15
- rake (13.0.6)
16
- regexp_parser (2.5.0)
17
- rexml (3.2.5)
18
- rubocop (1.30.0)
19
- parallel (~> 1.10)
20
- parser (>= 3.1.0.0)
21
- rainbow (>= 2.2.2, < 4.0)
22
- regexp_parser (>= 1.8, < 3.0)
23
- rexml (>= 3.2.5, < 4.0)
24
- rubocop-ast (>= 1.18.0, < 2.0)
25
- ruby-progressbar (~> 1.7)
26
- unicode-display_width (>= 1.4.0, < 3.0)
27
- rubocop-ast (1.18.0)
28
- parser (>= 3.1.1.0)
29
- ruby-progressbar (1.11.0)
30
- unicode-display_width (2.1.0)
31
-
32
- PLATFORMS
33
- x86_64-darwin-21
34
-
35
- DEPENDENCIES
36
- minitest (~> 5.0)
37
- rake (~> 13.0)
38
- rubocop (~> 1.21)
39
- rubocop-gem_dev!
40
-
41
- BUNDLED WITH
42
- 2.3.8