boxt_ruby_style_guide 4.2.0 → 4.5.0

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/VERSION +1 -1
  3. data/default.yml +21 -3
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26470b4b7d5f9c94793c14508f3ca06131baee375eb6c56113a802bb564ba171
4
- data.tar.gz: 2a250298597825258065c516014c492ce28bacf4d26fce525cd9e96b896d4353
3
+ metadata.gz: d19f77cc83a82775393531673adf8a9e0e9ea96c3c784b0bfdac197cf0708222
4
+ data.tar.gz: b8054560a4926718c76aba4e9f90d7d70667eaf760f95eb2ba1b4abd33029258
5
5
  SHA512:
6
- metadata.gz: e220d5cb9ff8281b49df80a10350a7d8945db327eaf4443374718a048841ebdecd7103680210529a10eae37dfb2af68bfffc7e47d0f2b1df5ff0706af15a1339
7
- data.tar.gz: 65bf9e8e8060924fe0199108df50929d1fdf57253a60db3036c6b3e8a9bb9b962fab6124e11a0c3a5d40c660a83e48026ed87be53c8f2f0f9b7079aa12b6b598
6
+ metadata.gz: 43cd3abbe5fa4e07b1d60232748afc1c594095e8f88b1295c702f6554437680a6b241165f6ca9666d08d61b6607a858e0be35624d0c1555684f94f33045598ab
7
+ data.tar.gz: 20de9bad1ffd65cc488f9a51f57fca817ac95515bdba5244934d24ca91829489cc30f8488c15b5d46863d0f06c2efd4025e38a2201ad5e3e959b7af1a6b0bd17
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.0
1
+ 4.5.0
@@ -4,14 +4,16 @@ Layout/LineLength:
4
4
  Max: 120 # Increase line length to 120
5
5
  Exclude:
6
6
  - "config/routes.rb"
7
- Metrics/BlockLength: # Exclude block length for routes and tests
7
+ Metrics/BlockLength:
8
8
  Exclude:
9
+ - "*.gemspec"
10
+ - "Gemfile"
9
11
  - "config/routes.rb"
10
12
  - "test/**/*"
11
- Metrics/ClassLength: # Exclude class length for tests
13
+ Metrics/ClassLength:
12
14
  Exclude:
13
15
  - "test/**/*"
14
- Metrics/MethodLength: # Exclude method length for tests
16
+ Metrics/MethodLength:
15
17
  Exclude:
16
18
  - "test/**/*"
17
19
  Style/DoubleNegation:
@@ -22,13 +24,29 @@ Style/StringLiterals:
22
24
  EnforcedStyle: double_quotes # Use double quotes ALL THE TIME!!!
23
25
  # These cops are currently pending and will be enabled by default at some point, but adding for now to stop Rubocop
24
26
  # complaining...
27
+ Lint/DeprecatedOpenSSLConstant:
28
+ Enabled: true
29
+ Lint/MixedRegexpCaptureTypes:
30
+ Enabled: true
31
+ Layout/EmptyLinesAroundAttributeAccessor:
32
+ Enabled: true
33
+ Layout/SpaceAroundMethodCallOperator:
34
+ Enabled: true
25
35
  Lint/RaiseException:
26
36
  Enabled: true
27
37
  Lint/StructNewOverride:
28
38
  Enabled: true
39
+ Style/ExponentialNotation:
40
+ Enabled: true
29
41
  Style/HashEachMethods:
30
42
  Enabled: true
31
43
  Style/HashTransformKeys:
32
44
  Enabled: true
33
45
  Style/HashTransformValues:
34
46
  Enabled: true
47
+ Style/RedundantRegexpCharacterClass:
48
+ Enabled: true
49
+ Style/RedundantRegexpEscape:
50
+ Enabled: true
51
+ Style/SlicingWithRange:
52
+ Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxt_ruby_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boxt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-06 00:00:00.000000000 Z
11
+ date: 2020-06-02 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: '0.81'
19
+ version: '0.83'
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: '0.81'
26
+ version: '0.83'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement