rubocop-gem_dev 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +9 -5
- data/config/rubocop.yml +17 -0
- data/lib/rubocop/gem_dev/version.rb +1 -1
- metadata +3 -4
- data/Gemfile.lock +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f58e777183181ea39ab9ce8fea5e59a94f7e0574ea027581067b92f62b2cf10
|
4
|
+
data.tar.gz: 340492add851025380f05afd3218b7353cef23a4d22f40abb011c654328ab401
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4950c6b12958837ea7f756c2cc55a20a893dd8dbac1f311b350358bb212e6dfbb53c5233c87437445cd1f61f458ff943facf8a61a50fc8d95c19e79a73c749d6
|
7
|
+
data.tar.gz: 43f14f90dd492a11f8d839fca914acb03009de0bb5a2d818526e1c7372072b12dc43744dbd9663452d205433b35cfa0e6eb953c9db4695067123ab8b70134da5
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
# Rubocop::GemDev
|
2
2
|
|
3
|
-
|
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
|
-
|
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:
|
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.
|
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:
|
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.
|
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
|