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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/.default.yml +3 -0
  3. data/README.md +22 -3
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0c997be5507b22317f796308dbf415e0aa2dcaab578d82f8de5d7b897814b66
4
- data.tar.gz: 27b70f590fb1efaacfce4173d8bc4e54fff658786fff69ea7b671d9fc568ce78
3
+ metadata.gz: 66f30ad303cb1270373fd215915f341de228c5998ca8ee98efc9a0213cb1cae1
4
+ data.tar.gz: fbc60e8ff26f7ee4985670609ca6ea0840d6536191126d0a56ecb6395a84bb90
5
5
  SHA512:
6
- metadata.gz: 9039caf1780f00279b5e30d8a9082685f69a9123d3aa8c798f55f362add2c4ab2a75ab7fab0fdd08f51016a82489bd02b0b53fa35dd05b7d9f130ee791c4cdcd
7
- data.tar.gz: 81e9903cc9b32e7b03d4f37568f2099d48703082654c949962038ff33ca6f225a4c859305834e161d16324edee61da025ba18d51bec33a017b48624ea66735dc
6
+ metadata.gz: cd144e65555cf54bc699c5c00713af45a0cbe8f2ff7cf9523f398a5a1da0c2318d3a0b73649799bab4a3171d2669ede34bce9f2a235112330dea933a144c5fee
7
+ data.tar.gz: b66ffd027e78273473063e1e48a9547f9e2b62d1b67908f84edb702d553bf369a77dd16f09de5a4e367b0a321e563b172b76418c40456f3b2d42f8e9fa10469b
data/.default.yml CHANGED
@@ -103,6 +103,9 @@ RSpec/MessageChain:
103
103
  RSpec/MultipleExpectations:
104
104
  Enabled: false
105
105
 
106
+ RSpec/MultipleMemoizedHelpers:
107
+ Enabled: false
108
+
106
109
  RSpec/NestedGroups:
107
110
  Enabled: false
108
111
 
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
- Now, run:
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.19
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-07-05 00:00:00.000000000 Z
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.23.0
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.23.0
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.5.0
136
+ version: 2.6.0
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - ">="