rubocop-codeur 0.7.3 → 0.7.4

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: 600f8404f470152b6f8944deadc91474225882bd1daa632e1a55dd90c6c4f73b
4
- data.tar.gz: db658fa843ad9c5b2e4b0af77f8a8dd5aff29a08956752e1f9820439122b1961
3
+ metadata.gz: e5c0bfbe82fb2a33474fc73ddba8b9c9f9fb063e51a49a7d26edbcaa7149c590
4
+ data.tar.gz: 5764a5ec53384b6c4684c8098596d8cdb65730bfb00730ac3b96313790be4719
5
5
  SHA512:
6
- metadata.gz: 2436c744e50ab69f54e71427791b50b1aed9f87d7f93a5ba96fd2ed4d44d29fd3beb3da157a586dc8a3dfea6bf984df347b0e1a7c42e9bea16f220d709f655c2
7
- data.tar.gz: f06e0ee98a656d4fca6c01c8e5ea93bd6f6ff1425928360aed47a0e55b9fbe8e1e9a62f0b5cf8bcc54d537911b8b6a9e65360fd88fd62cdd702166f09dfd9fa2
6
+ metadata.gz: f44d011397fd1b78a8c9e2458fb86811cdaab219704e40ba340a22ef1f78bffe1613d33b9465f823417267c0fea2d9eb64ddf8ea3d6e0e7c2ba9d931c6ffabd4
7
+ data.tar.gz: 441d2a45651d6887c72245b4ef6afed16b76772c558e195c772955606bceb55110106bb72ec27ce038d444567c206d5a4ea872da23e697bbfa96afd88cb26f43
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-codeur (0.7.3)
4
+ rubocop-codeur (0.7.4)
5
5
  rubocop (~> 1.25)
6
6
  rubocop-minitest (~> 0.20)
7
7
  rubocop-performance (~> 1.9, >= 1.9.2)
data/default.yml CHANGED
@@ -44,11 +44,9 @@ Layout/ClassStructure:
44
44
  Enabled: true
45
45
  AutoCorrect: false
46
46
  ExpectedOrder:
47
- - devise
48
47
  - module_inclusion
49
48
  - constants
50
49
  - attributes
51
- - has_ancestry
52
50
  - delegated_type
53
51
  - belongs_to
54
52
  - has_many
@@ -75,51 +73,80 @@ Layout/ClassStructure:
75
73
  - include
76
74
  - prepend
77
75
  - extend
76
+ - devise
78
77
  attachments:
79
78
  - has_one_attached
80
79
  - has_many_attached
81
80
  - has_attached_file
81
+ - has_one_variable_attached
82
+ - clearable_attachments
82
83
  attributes:
83
84
  - attr_accessor
84
85
  - attr_reader
85
86
  - attr_writer
86
87
  - attr_readonly
87
88
  - emojify
89
+ - unemojify
88
90
  - enum
91
+ - humanize_enums
92
+ - enumerize
89
93
  - monetize
90
94
  - serialize
91
95
  - has_secure_token
92
96
  - alias_attribute
97
+ - friendly_id
98
+ - slugs
93
99
  - slug
100
+ - translate
101
+ - obfuscate
102
+ - store
103
+ - store_accessor
94
104
  class_macros:
105
+ - has_ancestry
95
106
  - acts_as_voter
96
- - pg_search_scope
107
+ - acts_as_list
108
+ - acts_as_tree
97
109
  - counter_culture
98
110
  - accepts_nested_attributes_for
99
111
  - paginates_per
100
112
  - ransack_alias
101
113
  - ransacker
102
114
  - ratyrate_rater
115
+ - pg_search_scope
116
+ - search_scope
117
+ - sortable
118
+ - tracked
103
119
  callbacks:
120
+ - after_initialize
104
121
  - before_validation
122
+ - around_validation
105
123
  - after_validation
106
124
  - before_save
107
125
  - around_save
126
+ - after_save
108
127
  - before_create
109
128
  - around_create
129
+ - after_create
110
130
  - before_update
111
131
  - around_update
132
+ - after_update
112
133
  - before_destroy
113
134
  - around_destroy
114
135
  - after_destroy
115
- - after_create
116
- - after_save
117
136
  - after_commit
137
+ - after_update_commit
138
+ - after_create_commit
139
+ - after_save_commit
118
140
  - after_rollback
141
+ - after_discard
119
142
  validations:
120
143
  - validates_associated
121
144
  - validates
122
145
  - validate
146
+ - validates_each
147
+ - validates_attachment_format
148
+ - validates_file
149
+ - validates_image
123
150
 
124
151
  Layout/FirstArrayElementIndentation:
125
152
  Enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Codeur
5
- VERSION = '0.7.3'
5
+ VERSION = '0.7.4'
6
6
  end
7
7
  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.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codeur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-11 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop