boxt_rubocop 0.0.40 → 0.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/default.yml +17 -0
  4. data/rails.yml +2 -0
  5. data/rspec.yml +13 -0
  6. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ba3a53e5f3793c4146a7f07021c52e0dd2722ffe2b6ebc7a4ec17d2323cd9bb
4
- data.tar.gz: baf079b29ea7bf8389e3a397ad44c6d5a3a4b1681df3e507c147d3479125783f
3
+ metadata.gz: 6318649c5c02fd78e976cbc4b0ee15820a33ea7e559db8adc225208ca07e558d
4
+ data.tar.gz: 585d414adf898609a7618fa82bf09d3b846954e0b6fe872000997fe618e60228
5
5
  SHA512:
6
- metadata.gz: 75c70dc5ceb1d58c9a73866e01b8f305d288753c0d247fbdf344f40b96d75a0185ddcddc167b6c5832d8afad2d303726aea6350f226edb67f2724dfbe6a85ff9
7
- data.tar.gz: 4a34d3da2073004757b29895822d1a84cf25315225a9aa7fe9c82b7ffe2291e043bd83f6bd74c5c49495871e19e7843d01266a04769a75e5581e94f0773e8a67
6
+ metadata.gz: 82c1f7a5d23382f135084f2708d8ddd62563858c49a69fa5efb50882fcb22b39df7b8c96a43ad3d619eee932432fa522d7fe04fdad40e26bc62f811944871d5b
7
+ data.tar.gz: 2c6f0a37f54587240ce7b794cd6967c364dbdc8af730a1170fcbdd644a9e19938a1ab92d35aaa80547afb35cabf9b48d4eaa07baa78e915f4bc353785dc1fe1c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.40
1
+ 0.0.42
data/default.yml CHANGED
@@ -6,38 +6,55 @@ AllCops:
6
6
  - tmp/**/*
7
7
  - vendor/**/*
8
8
  NewCops: enable
9
+
9
10
  Layout/ClassStructure:
10
11
  Enabled: true
12
+
11
13
  Layout/LineLength:
12
14
  Exclude:
13
15
  - config/routes.rb
14
16
  - config/routes/*
15
17
  Max: 120
18
+
16
19
  Metrics/AbcSize:
17
20
  Exclude:
18
21
  - db/migrate/**/*
22
+
19
23
  Metrics/BlockLength:
24
+ CountAsOne: ["array", "hash"]
20
25
  Exclude:
21
26
  - "*.gemspec"
22
27
  - Gemfile
28
+ - config/environments/*
23
29
  - config/routes.rb
24
30
  - config/routes/*
25
31
  - db/migrate/**/*
32
+ - lib/tasks/**/*
26
33
  - spec/**/*
27
34
  - test/**/*
35
+
28
36
  Metrics/ClassLength:
37
+ CountAsOne: ["array", "hash"]
29
38
  Exclude:
30
39
  - db/migrate/**/*
31
40
  - spec/**/*
32
41
  - test/**/*
42
+
33
43
  Metrics/MethodLength:
44
+ CountAsOne: ["array", "heredoc", "hash"]
34
45
  Exclude:
35
46
  - db/migrate/**/*
36
47
  - spec/**/*
37
48
  - test/**/*
49
+
50
+ Metrics/ModuleLength:
51
+ CountAsOne: ["array", "hash"]
52
+
38
53
  Style/Documentation:
39
54
  Enabled: false
55
+
40
56
  Style/DoubleNegation:
41
57
  Enabled: false
58
+
42
59
  Style/StringLiterals:
43
60
  EnforcedStyle: double_quotes
data/rails.yml CHANGED
@@ -2,12 +2,14 @@ Rails/ApplicationController:
2
2
  Exclude:
3
3
  - spec/**/*
4
4
  - test/**/*
5
+
5
6
  Rails/SkipsModelValidations:
6
7
  Exclude:
7
8
  - db/migrate/**/*
8
9
  - lib/tasks/**/*
9
10
  - spec/**/*
10
11
  - test/**/*
12
+
11
13
  Rails/UnknownEnv:
12
14
  Environments:
13
15
  - cucumber
data/rspec.yml CHANGED
@@ -3,13 +3,26 @@
3
3
  RSpec/DescribeClass:
4
4
  Exclude:
5
5
  - spec/tasks/**/*
6
+
6
7
  # Avoid opening modules and defining specs within them
7
8
  RSpec/DescribedClassModuleWrapping:
8
9
  Enabled: true
10
+
9
11
  # This is to prevent Rubocop from bugging on a spec helper that doesn't contain an example, which the support ones don't
10
12
  RSpec/LeadingSubject:
11
13
  Exclude:
12
14
  - spec/support
15
+
16
+ # Allow arrays and hashes to be counted as one line in examples
17
+ RSpec/ExampleLength:
18
+ CountAsOne: ["array", "hash"]
19
+
20
+ # Because 5 is a bit mean
21
+ RSpec/MultipleMemoizedHelpers:
22
+ Max: 10
23
+
13
24
  # Allow there to be a max of 4 example groups deep in Rspec tests
14
25
  RSpec/NestedGroups:
15
26
  Max: 4
27
+
28
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxt_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boxt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-14 00:00:00.000000000 Z
11
+ date: 2023-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.54.2
19
+ version: 1.55.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.54.2
26
+ version: 1.55.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement