rubocop-gem_dev 0.1.0 → 0.2.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: 9d1b15a2ba1cbb002910ad6585d5f018a1090b5f21a79d2a261fee5f6a4ae6d6
4
+ data.tar.gz: e1394e120b6085d84c4395ba6337a670d7d32a828932683aabffc92b206d7913
5
5
  SHA512:
6
- metadata.gz: 585c06a78960d1adb5c7714a776af92661b92adef10109987fbbf8a405ce80f4df5a350a22d21212704d212c654bd2b824228d63513a8778ebde64bd59ab91ed
7
- data.tar.gz: 8ae8a1f85fbd60ab9088fdf46d6017bf704816c51cfda35f3587cfb6b9b7aec6efa2c8bd023a262e0523ea245b159aff33551fbdd1bccba978159f805ca32631
6
+ metadata.gz: 4d73ca6ea78b299f2f316ec7c9308e3037ecce5b1f175b768c18efb32c7db94541f39d5275f0533ea841a7bf8a458bdd974dcc66c7e86e37b339b73c9ad524ac
7
+ data.tar.gz: f30087d8254584aba1de68c3fb4949d705010caf0f0209861b6d804382f624fdafb5f5b6a45158cdb05ac025f4a9c5d47ae375f513f52d4f83b3096bf0730b37
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
@@ -8,6 +8,11 @@ AllCops:
8
8
  Style/DoubleNegation:
9
9
  Enabled: false
10
10
 
11
+ # Changing require order affects code execution
12
+ # This should not be a style cop
13
+ Style/RequireOrder:
14
+ Enabled: false
15
+
11
16
  # No particular reason to prefer array style,
12
17
  # two different styles suit in different situations.
13
18
  Style/SymbolArray:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module GemDev
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.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.2.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-05-29 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