boxt_ruby_style_guide 7.0.0 → 7.0.1

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -0
  3. data/VERSION +1 -1
  4. data/rails.yml +33 -0
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a1cdef5d767b03fba8f47540550acd135fe01b08abf7466f147fb0bdfd94eab
4
- data.tar.gz: 5ec5348fc0330db43795393fc9a7a1928e9f59f1b960c88486dc8a87f64bce32
3
+ metadata.gz: 5d777a4f71c363fb460677f819ace6d3fc2a7854be28c0f879f55dc9a7c5fc06
4
+ data.tar.gz: e6799780986e824dc58bd84b26043b0b8172a61d9e1a75997f6d2e190bf85902
5
5
  SHA512:
6
- metadata.gz: 59367ce3b36832a64f0511abf8a457be1e87e20ddcbf09cb9f9601dc09104bea18b34d14305c4bbcaad75714521db16c1896a7ed77aa1d97b0ab8be1dfbd63a9
7
- data.tar.gz: 0c3f7f550f8c31390cb5fbdc85b1d791ff248ddcaf6583e28fbcb4cc1f15e96c64f104497a5ece6f78dbb8927980b9e612c545150db161e052faaedf5b8d3fb4
6
+ metadata.gz: 728f6d404c97ad1bf6a7fb3b7aa9fb195b528bab33f62695a0383125a246bdcc7ebac3ad90873e3b61332d0dfad25601631be436987c17aa4ecc5b7059fc50c3
7
+ data.tar.gz: 5a4197428dd85ea2340e4b510c045baaf182adb35841b2a8ec0dfa07ed3b92e727ce2289b933b8cb35d0820d9bfd0c270533990e20df6cf9f0fb2dba04e48ec1
data/README.md CHANGED
@@ -43,6 +43,8 @@ inherit_gem:
43
43
  - default.yml # use default cops
44
44
  - pending.yml # use pending cops
45
45
  - rails.yml # use Rails cops - see Additional Extensions/Cops
46
+ - rails-pending.yml # use pending rails cops
47
+ - rspec.yml # use rspec cops
46
48
  ```
47
49
 
48
50
  ### Additional Extensions/Cops
@@ -51,6 +53,7 @@ The following Rubocop gems are also installed with this gem:
51
53
 
52
54
  * [rubocop-faker](https://github.com/koic/rubocop-faker)
53
55
  * [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails)
56
+ * [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec)
54
57
 
55
58
  To enable add the following to your `.rubocop.yml` file.
56
59
 
@@ -62,6 +65,7 @@ inherit_gem:
62
65
  require:
63
66
  - rubocop-faker # if your project is using the Faker gem then add this
64
67
  - rubocop-rails # if your project is a Rails app/engine then add this, plus the - rails.yml setting above
68
+ - rubocop-rspec # if your project is using rspec then add this, plus the - rspec.yml setting above
65
69
  ```
66
70
 
67
71
  ## Lint Tasks
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.0.0
1
+ 7.0.1
data/rails.yml CHANGED
@@ -9,3 +9,36 @@ Rails/SkipsModelValidations:
9
9
  - "lib/tasks/**/*"
10
10
  - "spec/**/*"
11
11
  - "test/**/*"
12
+
13
+ # These rails cops are currently pending and will be enabled by default at some point, but adding for now to stop
14
+ # Rubocop or VSCode complaining...
15
+ Rails/ActiveRecordCallbacksOrder:
16
+ Enabled: true
17
+ Rails/AfterCommitOverride:
18
+ Enabled: true
19
+ Rails/FindById:
20
+ Enabled: true
21
+ Rails/Inquiry:
22
+ Enabled: true
23
+ Rails/MailerName:
24
+ Enabled: true
25
+ Rails/MatchRoute:
26
+ Enabled: true
27
+ Rails/NegateInclude:
28
+ Enabled: true
29
+ Rails/Pluck:
30
+ Enabled: true
31
+ Rails/PluckInWhere:
32
+ Enabled: true
33
+ Rails/RenderInline:
34
+ Enabled: true
35
+ Rails/RenderPlainText:
36
+ Enabled: true
37
+ Rails/ShortI18n:
38
+ Enabled: true
39
+ Rails/SquishedSQLHeredocs:
40
+ Enabled: true
41
+ Rails/WhereExists:
42
+ Enabled: true
43
+ Rails/WhereNot:
44
+ Enabled: true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxt_ruby_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boxt