rubocop-salemove 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/default.yml +48 -15
  3. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4d85b0834a440665ee2e40082156d8a4a868540537767df7b22cf054d6e6791
4
- data.tar.gz: fc9e775c2ccc0ed9a0208a836adc263c173e4bcb15094ebef0eb09131e2b60d1
3
+ metadata.gz: e4724eaf1e32fb7b72bb8e41fa3d585f9cbcfe7dc176032b39abf11dc0cde630
4
+ data.tar.gz: c1e890bf3be2d271c05a04d0ece921a6d4857ddae7c9473fb575d8b4d0b25e7f
5
5
  SHA512:
6
- metadata.gz: a017a4ddd3ab07fe64a0b18fe1d0c9d4d5edb5dd6b64c66c2db79efdbaa3b3ba0cc75b5218eeb34e8543625239a38e4f64c5ad570cae2cb208dbbf01761a270d
7
- data.tar.gz: 4917cbdca40aea40af6bf595b64119ccc9a686501f275245937094ef4ae3266310b74c896142102de73b7061477f8caef5464d486605471c24ad23f3f4191c77
6
+ metadata.gz: 46ee7bacfd90038e9e68ecb44135a34cfc2ac89ad5c383597ee76a8410b745adf952e182b72d8ff9f781e383c24e26741af103f82b1983f7dc11bd2560f764f8
7
+ data.tar.gz: 72d09101e14f6895fc9144fdec797c34568e4f9f1e8fe736a6568a84a79a46903d68426a0c27f265b2e07f0cd3802716dacaa1617d655ad19bf3d24d70e10a68
data/config/default.yml CHANGED
@@ -1,39 +1,72 @@
1
1
  require: rubocop-rspec
2
2
 
3
3
  AllCops:
4
- DisplayCopNames: yes
4
+ DisplayCopNames: true
5
5
  NewCops: enable
6
6
  SuggestExtensions: false
7
7
 
8
+ Layout/FirstArgumentIndentation:
9
+ EnforcedStyle: consistent
10
+
11
+ Layout/FirstArrayElementIndentation:
12
+ EnforcedStyle: consistent
13
+
14
+ Layout/FirstHashElementIndentation:
15
+ EnforcedStyle: consistent
16
+
17
+ Layout/LineLength:
18
+ Max: 120
19
+
8
20
  Layout/MultilineMethodCallIndentation:
9
21
  EnforcedStyle: indented
10
22
 
23
+ Layout/MultilineMethodDefinitionBraceLayout:
24
+ EnforcedStyle: new_line
25
+
11
26
  Layout/MultilineOperationIndentation:
12
27
  EnforcedStyle: indented
13
28
 
14
29
  Layout/ParameterAlignment:
15
30
  EnforcedStyle: with_fixed_indentation
16
31
 
17
- Layout/FirstHashElementIndentation:
18
- EnforcedStyle: consistent
32
+ Layout/SpaceInsideHashLiteralBraces:
33
+ EnforcedStyle: no_space
19
34
 
20
- Layout/FirstArrayElementIndentation:
21
- EnforcedStyle: consistent
35
+ Metrics/BlockLength:
36
+ Enabled: false
22
37
 
23
- Layout/FirstArgumentIndentation:
24
- EnforcedStyle: consistent
38
+ Metrics/MethodLength:
39
+ Max: 15
25
40
 
26
- Layout/SpaceInsideHashLiteralBraces:
27
- EnforcedStyle: no_space
41
+ Naming/MemoizedInstanceVariableName:
42
+ EnforcedStyleForLeadingUnderscores: optional
28
43
 
29
- Layout/MultilineMethodDefinitionBraceLayout:
30
- EnforcedStyle: new_line
44
+ Style/Alias:
45
+ EnforcedStyle: prefer_alias_method
31
46
 
32
- Layout/LineLength:
33
- Max: 120
47
+ Style/Documentation:
48
+ Enabled: false
34
49
 
35
50
  Style/EmptyElse:
36
51
  EnforcedStyle: empty
37
52
 
38
- Style/Documentation:
39
- Enabled: no
53
+ RSpec/ExampleLength:
54
+ Enabled: false
55
+
56
+ RSpec/IndexedLet:
57
+ Max: 2
58
+
59
+ RSpec/MessageSpies:
60
+ Enabled: false
61
+
62
+ RSpec/MultipleExpectations:
63
+ Enabled: false
64
+
65
+ RSpec/MultipleMemoizedHelpers:
66
+ Enabled: false
67
+
68
+ RSpec/NestedGroups:
69
+ Max: 4
70
+
71
+ RSpec/NoExpectationExample:
72
+ Enabled: false
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-salemove
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SaleMove
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2017-05-04 00:00:00.000000000 Z
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '1.36'
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.16'
26
+ version: '1.36'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.4'
33
+ version: '2.13'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.4'
40
+ version: '2.13'
41
41
  description: Shared RuboCop configuration for SaleMove projects
42
42
  email: techmovers@salemove.com
43
43
  executables: []
@@ -51,7 +51,7 @@ homepage: https://github.com/salemove/rubocop-salemove
51
51
  licenses:
52
52
  - MIT
53
53
  metadata: {}
54
- post_install_message:
54
+ post_install_message:
55
55
  rdoc_options: []
56
56
  require_paths:
57
57
  - lib
@@ -66,8 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.1.4
70
- signing_key:
69
+ rubygems_version: 3.1.6
70
+ signing_key:
71
71
  specification_version: 4
72
72
  summary: RuboCop SaleMove
73
73
  test_files: []