searchgov_style 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.default.yml +3 -0
- data/README.md +22 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66f30ad303cb1270373fd215915f341de228c5998ca8ee98efc9a0213cb1cae1
|
4
|
+
data.tar.gz: fbc60e8ff26f7ee4985670609ca6ea0840d6536191126d0a56ecb6395a84bb90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd144e65555cf54bc699c5c00713af45a0cbe8f2ff7cf9523f398a5a1da0c2318d3a0b73649799bab4a3171d2669ede34bce9f2a235112330dea933a144c5fee
|
7
|
+
data.tar.gz: b66ffd027e78273473063e1e48a9547f9e2b62d1b67908f84edb702d553bf369a77dd16f09de5a4e367b0a321e563b172b76418c40456f3b2d42f8e9fa10469b
|
data/.default.yml
CHANGED
data/README.md
CHANGED
@@ -20,17 +20,36 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
$ gem install searchgov_style
|
22
22
|
|
23
|
-
## Usage
|
24
|
-
|
25
23
|
In the root directory of the repo using this gem, create a `.rubocop.yml` with the following directives:
|
26
24
|
|
25
|
+
### For repositories that use Code Climate:
|
26
|
+
|
27
|
+
Refer to the [work around](https://github.com/codeclimate/codeclimate-rubocop/issues/71#issuecomment-635055223) for Code Climate's inability to use Rubocop's inherit_gem directive.
|
28
|
+
|
29
|
+
```yaml
|
30
|
+
inherit_from:
|
31
|
+
- https://raw.githubusercontent.com/GSA/searchgov_style/main/.default.yml
|
32
|
+
```
|
33
|
+
|
34
|
+
### For repositories that do not use Code Climate:
|
35
|
+
|
27
36
|
```yaml
|
28
37
|
inherit_gem:
|
29
38
|
searchgov_style:
|
30
39
|
- .default.yml
|
31
40
|
```
|
32
41
|
|
33
|
-
|
42
|
+
* Generate a `.rubocop_todo.yml`:
|
43
|
+
|
44
|
+
rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 2000
|
45
|
+
|
46
|
+
* Add the following entry to `.gitignore`:
|
47
|
+
|
48
|
+
.rubocop*default-yml
|
49
|
+
|
50
|
+
## Usage
|
51
|
+
|
52
|
+
Run:
|
34
53
|
|
35
54
|
```bash
|
36
55
|
$ bundle exec rubocop
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: searchgov_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MothOnMars
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.31.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.31.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-performance
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements:
|
134
134
|
- - ">="
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: 2.
|
136
|
+
version: 2.6.0
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
139
|
- - ">="
|