rubocop-codeur 0.1.14 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/default.yml +74 -0
- data/lib/rubocop_codeur/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a36a82168daf0237948c930aa9ac3c902bc333ea8b4fa4d4c9e8cc60d04a2a42
|
4
|
+
data.tar.gz: a568017edc3d11768131c1d9abed878f51a9044a4add67a91e7195c671d3e32b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca8758c01b89b4357cf9a71cfae668d85327beeddb016c781fe05169727cf336c1d5460d725c2f78c9c620b6c68ea8c6ef3934ffe0ac4ded7b0aa7a27e2dcc30
|
7
|
+
data.tar.gz: 2128295de2ce97b22d9cb2fabc447ac8f068ec1a717b1a41f58e9df5706589f87e306c3193e059abba38c89f36041f356de5373b0f8cb10e5d29029f64f7900e
|
data/default.yml
CHANGED
@@ -27,6 +27,77 @@ Layout/AccessModifierIndentation:
|
|
27
27
|
Layout/ArgumentAlignment:
|
28
28
|
EnforcedStyle: with_first_argument
|
29
29
|
|
30
|
+
Layout/ClassStructure:
|
31
|
+
Enabled: true
|
32
|
+
AutoCorrect: false
|
33
|
+
ExpectedOrder:
|
34
|
+
- module_inclusion
|
35
|
+
- constants
|
36
|
+
- attributes
|
37
|
+
- belongs_to
|
38
|
+
- has_many
|
39
|
+
- has_one
|
40
|
+
- accepts_nested_attributes_for
|
41
|
+
- has_attached_file
|
42
|
+
- public_delegate
|
43
|
+
- callbacks
|
44
|
+
- state_machine
|
45
|
+
- ransack_alias
|
46
|
+
- scope
|
47
|
+
- default_scope
|
48
|
+
- validations
|
49
|
+
- public_class_methods
|
50
|
+
- initializer
|
51
|
+
- public_methods
|
52
|
+
- protected_attribute_macros
|
53
|
+
- protected_methods
|
54
|
+
- private_attribute_macros
|
55
|
+
- private_delegate
|
56
|
+
- private_methods
|
57
|
+
Categories:
|
58
|
+
module_inclusion:
|
59
|
+
- include
|
60
|
+
- prepend
|
61
|
+
- extend
|
62
|
+
attributes:
|
63
|
+
- acts_as_voter
|
64
|
+
- attr_accessor
|
65
|
+
- attr_reader
|
66
|
+
- attr_writer
|
67
|
+
- attr_readonly
|
68
|
+
- devise
|
69
|
+
- emojify
|
70
|
+
- enum
|
71
|
+
- has_ancestry
|
72
|
+
- monetize
|
73
|
+
- pg_search_scope
|
74
|
+
- serialize
|
75
|
+
- has_secure_token
|
76
|
+
callbacks:
|
77
|
+
- before_validation
|
78
|
+
- after_validation
|
79
|
+
- before_save
|
80
|
+
- around_save
|
81
|
+
- before_create
|
82
|
+
- around_create
|
83
|
+
- before_update
|
84
|
+
- around_update
|
85
|
+
- before_destroy
|
86
|
+
- around_destroy
|
87
|
+
- after_destroy
|
88
|
+
- after_create
|
89
|
+
- after_save
|
90
|
+
- after_commit
|
91
|
+
- after_rollback
|
92
|
+
validations:
|
93
|
+
- validates_associated
|
94
|
+
- validates
|
95
|
+
- validate
|
96
|
+
|
97
|
+
Lint/DuplicateMethods:
|
98
|
+
Exclude:
|
99
|
+
- 'db/migrate/*'
|
100
|
+
|
30
101
|
Layout/FirstArrayElementIndentation:
|
31
102
|
EnforcedStyle: consistent
|
32
103
|
|
@@ -90,6 +161,9 @@ Metrics/PerceivedComplexity:
|
|
90
161
|
Minitest/TestMethodName:
|
91
162
|
Enabled: false
|
92
163
|
|
164
|
+
Minitest/MultipleAssertions:
|
165
|
+
Max: 30
|
166
|
+
|
93
167
|
# Disabled because it doesn't with symbols like: record_001
|
94
168
|
Naming/VariableNumber:
|
95
169
|
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-codeur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dev-team Codeur
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -101,7 +101,7 @@ licenses:
|
|
101
101
|
- MIT
|
102
102
|
metadata:
|
103
103
|
homepage_uri: https://github.com/codeur/rubocop-codeur
|
104
|
-
post_install_message:
|
104
|
+
post_install_message:
|
105
105
|
rdoc_options: []
|
106
106
|
require_paths:
|
107
107
|
- lib
|
@@ -116,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
120
|
-
signing_key:
|
119
|
+
rubygems_version: 3.0.3
|
120
|
+
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: Codeur rubocop config gem
|
123
123
|
test_files: []
|