rubocop-codeur 0.1.17 → 0.1.18

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec07747657e67f2e0133b7269c2b16f6e8365c34caef55aadc1c223cdd64dc8e
4
- data.tar.gz: 0f6d3187ff80bdd57013cbbee7a2583717de175e883b0968aff6608dfbebcdcf
3
+ metadata.gz: a36a82168daf0237948c930aa9ac3c902bc333ea8b4fa4d4c9e8cc60d04a2a42
4
+ data.tar.gz: a568017edc3d11768131c1d9abed878f51a9044a4add67a91e7195c671d3e32b
5
5
  SHA512:
6
- metadata.gz: eebfcbb1e3f9c0c4c94ba9e1971c045195a093e653cfef449092bcb54a442d159285a79bca3e92a5c0823f6af0638deac29bec67b117503ec4099b796663d38a
7
- data.tar.gz: 1de8aeb5c7a4e30d924a2fd3c1758f677740af7975cd78381b326c93285ec4d66b47eb2bcfdd5b84766fde0fb204f44c67e258f9ffe88a5e85b1c4faa356cd79
6
+ metadata.gz: ca8758c01b89b4357cf9a71cfae668d85327beeddb016c781fe05169727cf336c1d5460d725c2f78c9c620b6c68ea8c6ef3934ffe0ac4ded7b0aa7a27e2dcc30
7
+ data.tar.gz: 2128295de2ce97b22d9cb2fabc447ac8f068ec1a717b1a41f58e9df5706589f87e306c3193e059abba38c89f36041f356de5373b0f8cb10e5d29029f64f7900e
data/default.yml CHANGED
@@ -27,6 +27,73 @@ 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
+
30
97
  Lint/DuplicateMethods:
31
98
  Exclude:
32
99
  - 'db/migrate/*'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopCodeur
4
- VERSION = '0.1.17'
4
+ VERSION = '0.1.18'
5
5
  end
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.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dev-team Codeur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-08 00:00:00.000000000 Z
11
+ date: 2021-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.1.4
119
+ rubygems_version: 3.0.3
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Codeur rubocop config gem