itrg_rubocop_config 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +21 -0
- data/lib/itrg_rubocop_config/version.rb +1 -1
- data/ruby/rubocop.yml +2 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4da05b70935df2bb14c2b208c01376d235af838ff72a1d5e8f09ec14ea5f9f3c
|
4
|
+
data.tar.gz: 7dc6ffb757b21d1e3388b34b280d4ce5f5005a4c98e547057c03da7f8708d5d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bd44522b504aa311fde0ce41be09e62d4cf3dcb2496af09ede562871e22e2d4bf2f2156ed3dbd74b6b7b8b170511b36c976cfeace6693ba1a5b2aed8584f011
|
7
|
+
data.tar.gz: 6d73f3c4ccfe429845006b93f7fadf38d7128c4769d36ea880be72b6a750f5784c0dfe184e3b4116edd7967c26e4139daf1049773fe13f9aab60c55e628e1e3b
|
data/README.md
CHANGED
@@ -8,13 +8,26 @@ None, it should just work with your Rubocop.
|
|
8
8
|
Add this line to your application's Gemfile, in the development block:
|
9
9
|
|
10
10
|
```ruby
|
11
|
+
# Ruby 1.9, 2.0, 2.1, 2.2, 2.3, 2.4
|
11
12
|
gem 'itrg_rubocop_config', '1.0.1'
|
13
|
+
|
14
|
+
# Ruby 2.5
|
15
|
+
gem 'itrg_rubocop_config', '1.0.2'
|
16
|
+
|
12
17
|
```
|
13
18
|
|
14
19
|
Add Rubocop, if for some reason it isn't there:
|
15
20
|
|
16
21
|
```ruby
|
22
|
+
# Ruby 1.9, 2.0, 2.1, 2.2, 2.3, 2.4
|
17
23
|
gem 'rubocop', '~> 0.51.0'
|
24
|
+
|
25
|
+
# Ruby 2.5
|
26
|
+
gem 'rubocop', '~> 0.52.1'
|
27
|
+
|
28
|
+
# Rubocop 0.79
|
29
|
+
gem 'rubocop', '~> 0.79'
|
30
|
+
gem 'itrg_rubocop_config', '1.0.3'
|
18
31
|
```
|
19
32
|
|
20
33
|
Modify your ```.rubocop.yml```, remove all your app specific settings and add the following:
|
@@ -40,6 +53,14 @@ And then execute:
|
|
40
53
|
$ bundle
|
41
54
|
```
|
42
55
|
|
56
|
+
|
57
|
+
## Publishing Gem
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
gem build itrg_rubocop_config.gemspec
|
61
|
+
gem push itrg_rubocop_config-X.X.X.gem
|
62
|
+
```
|
63
|
+
|
43
64
|
## Contributing
|
44
65
|
1. Cut a branch.
|
45
66
|
2. Add your changes.
|
data/ruby/rubocop.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Documentation:
|
1
|
+
Style/Documentation:
|
2
2
|
Enabled: false
|
3
3
|
|
4
4
|
Layout/MultilineOperationIndentation:
|
@@ -13,7 +13,7 @@ Metrics/ClassLength:
|
|
13
13
|
Metrics/CyclomaticComplexity:
|
14
14
|
Enabled: false
|
15
15
|
|
16
|
-
|
16
|
+
Layout/LineLength:
|
17
17
|
AllowURI: true
|
18
18
|
Max: 120
|
19
19
|
URISchemes:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itrg_rubocop_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Brodie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A plugin to allow the sharing of RuboCop settings across different projects.
|
14
14
|
email:
|
@@ -44,8 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
46
|
requirements: []
|
47
|
-
|
48
|
-
rubygems_version: 2.6.13
|
47
|
+
rubygems_version: 3.0.3
|
49
48
|
signing_key:
|
50
49
|
specification_version: 4
|
51
50
|
summary: Infotech RuboCop Shared Settings.
|