rubocop-codeur 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +19 -16
- data/default.yml +33 -5
- data/lib/rubocop/codeur/version.rb +1 -1
- data/rubocop-codeur.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b411b5513d4735b3412472f2f5be382face784cb22714128e4e73ea9a8d9fc36
|
4
|
+
data.tar.gz: e4b09494ca7aa271e8ceffde507677a2f0a582367a77c273c0ccdf0572f7d6e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1510b1bc0d0f94b2eb644f02a6d7a214e1f8b361d42c8da88b92c4dc5e4c43668dbdffb864a88885bca32eab68f778f37521767cc2fc075c91c7f2ed79c2eafd
|
7
|
+
data.tar.gz: '042904473fcea5b88425d5eb6efbfa2f79acff9269b391b5825eee6f37ffc8819cdb669be06000b52af5970249c00691dde49dcca036deeae4952f52ebfd781e'
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop-codeur (0.
|
4
|
+
rubocop-codeur (0.8.0)
|
5
5
|
rubocop (~> 1.25)
|
6
|
+
rubocop-capybara (~> 2.17)
|
6
7
|
rubocop-minitest (~> 0.20)
|
7
8
|
rubocop-performance (~> 1.9, >= 1.9.2)
|
8
9
|
rubocop-rails (~> 2.9, >= 2.9.1)
|
@@ -10,55 +11,57 @@ PATH
|
|
10
11
|
GEM
|
11
12
|
remote: https://rubygems.org/
|
12
13
|
specs:
|
13
|
-
activesupport (7.0.4)
|
14
|
+
activesupport (7.0.4.3)
|
14
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
16
|
i18n (>= 1.6, < 2)
|
16
17
|
minitest (>= 5.1)
|
17
18
|
tzinfo (~> 2.0)
|
18
19
|
ast (2.4.2)
|
19
|
-
concurrent-ruby (1.
|
20
|
+
concurrent-ruby (1.2.2)
|
20
21
|
docile (1.4.0)
|
21
22
|
i18n (1.12.0)
|
22
23
|
concurrent-ruby (~> 1.0)
|
23
24
|
json (2.6.3)
|
24
25
|
minitest (5.17.0)
|
25
26
|
parallel (1.22.1)
|
26
|
-
parser (3.2.
|
27
|
+
parser (3.2.2.0)
|
27
28
|
ast (~> 2.4.1)
|
28
|
-
rack (3.0.
|
29
|
+
rack (3.0.7)
|
29
30
|
rainbow (3.1.1)
|
30
31
|
rake (13.0.6)
|
31
|
-
regexp_parser (2.
|
32
|
+
regexp_parser (2.7.0)
|
32
33
|
rexml (3.2.5)
|
33
|
-
rubocop (1.
|
34
|
+
rubocop (1.49.0)
|
34
35
|
json (~> 2.3)
|
35
36
|
parallel (~> 1.10)
|
36
37
|
parser (>= 3.2.0.0)
|
37
38
|
rainbow (>= 2.2.2, < 4.0)
|
38
39
|
regexp_parser (>= 1.8, < 3.0)
|
39
40
|
rexml (>= 3.2.5, < 4.0)
|
40
|
-
rubocop-ast (>= 1.
|
41
|
+
rubocop-ast (>= 1.28.0, < 2.0)
|
41
42
|
ruby-progressbar (~> 1.7)
|
42
43
|
unicode-display_width (>= 2.4.0, < 3.0)
|
43
|
-
rubocop-ast (1.
|
44
|
-
parser (>= 3.
|
45
|
-
rubocop-
|
46
|
-
rubocop (
|
47
|
-
rubocop-
|
44
|
+
rubocop-ast (1.28.0)
|
45
|
+
parser (>= 3.2.1.0)
|
46
|
+
rubocop-capybara (2.17.1)
|
47
|
+
rubocop (~> 1.41)
|
48
|
+
rubocop-minitest (0.29.0)
|
49
|
+
rubocop (>= 1.39, < 2.0)
|
50
|
+
rubocop-performance (1.16.0)
|
48
51
|
rubocop (>= 1.7.0, < 2.0)
|
49
52
|
rubocop-ast (>= 0.4.0)
|
50
|
-
rubocop-rails (2.
|
53
|
+
rubocop-rails (2.18.0)
|
51
54
|
activesupport (>= 4.2.0)
|
52
55
|
rack (>= 1.1)
|
53
56
|
rubocop (>= 1.33.0, < 2.0)
|
54
|
-
ruby-progressbar (1.
|
57
|
+
ruby-progressbar (1.13.0)
|
55
58
|
simplecov (0.22.0)
|
56
59
|
docile (~> 1.1)
|
57
60
|
simplecov-html (~> 0.11)
|
58
61
|
simplecov_json_formatter (~> 0.1)
|
59
62
|
simplecov-html (0.12.3)
|
60
63
|
simplecov_json_formatter (0.1.4)
|
61
|
-
tzinfo (2.0.
|
64
|
+
tzinfo (2.0.6)
|
62
65
|
concurrent-ruby (~> 1.0)
|
63
66
|
unicode-display_width (2.4.2)
|
64
67
|
|
data/default.yml
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require:
|
2
|
+
- rubocop-capybara
|
2
3
|
- rubocop-codeur
|
3
4
|
- rubocop-minitest
|
4
5
|
- rubocop-performance
|
@@ -44,11 +45,9 @@ Layout/ClassStructure:
|
|
44
45
|
Enabled: true
|
45
46
|
AutoCorrect: false
|
46
47
|
ExpectedOrder:
|
47
|
-
- devise
|
48
48
|
- module_inclusion
|
49
49
|
- constants
|
50
50
|
- attributes
|
51
|
-
- has_ancestry
|
52
51
|
- delegated_type
|
53
52
|
- belongs_to
|
54
53
|
- has_many
|
@@ -75,51 +74,80 @@ Layout/ClassStructure:
|
|
75
74
|
- include
|
76
75
|
- prepend
|
77
76
|
- extend
|
77
|
+
- devise
|
78
78
|
attachments:
|
79
79
|
- has_one_attached
|
80
80
|
- has_many_attached
|
81
81
|
- has_attached_file
|
82
|
+
- has_one_variable_attached
|
83
|
+
- clearable_attachments
|
82
84
|
attributes:
|
83
85
|
- attr_accessor
|
84
86
|
- attr_reader
|
85
87
|
- attr_writer
|
86
88
|
- attr_readonly
|
87
89
|
- emojify
|
90
|
+
- unemojify
|
88
91
|
- enum
|
92
|
+
- humanize_enums
|
93
|
+
- enumerize
|
89
94
|
- monetize
|
90
95
|
- serialize
|
91
96
|
- has_secure_token
|
92
97
|
- alias_attribute
|
98
|
+
- friendly_id
|
99
|
+
- slugs
|
93
100
|
- slug
|
101
|
+
- translate
|
102
|
+
- obfuscate
|
103
|
+
- store
|
104
|
+
- store_accessor
|
94
105
|
class_macros:
|
106
|
+
- has_ancestry
|
95
107
|
- acts_as_voter
|
96
|
-
-
|
108
|
+
- acts_as_list
|
109
|
+
- acts_as_tree
|
97
110
|
- counter_culture
|
98
111
|
- accepts_nested_attributes_for
|
99
112
|
- paginates_per
|
100
113
|
- ransack_alias
|
101
114
|
- ransacker
|
102
115
|
- ratyrate_rater
|
116
|
+
- pg_search_scope
|
117
|
+
- search_scope
|
118
|
+
- sortable
|
119
|
+
- tracked
|
103
120
|
callbacks:
|
121
|
+
- after_initialize
|
104
122
|
- before_validation
|
123
|
+
- around_validation
|
105
124
|
- after_validation
|
106
125
|
- before_save
|
107
126
|
- around_save
|
127
|
+
- after_save
|
108
128
|
- before_create
|
109
129
|
- around_create
|
130
|
+
- after_create
|
110
131
|
- before_update
|
111
132
|
- around_update
|
133
|
+
- after_update
|
112
134
|
- before_destroy
|
113
135
|
- around_destroy
|
114
136
|
- after_destroy
|
115
|
-
- after_create
|
116
|
-
- after_save
|
117
137
|
- after_commit
|
138
|
+
- after_update_commit
|
139
|
+
- after_create_commit
|
140
|
+
- after_save_commit
|
118
141
|
- after_rollback
|
142
|
+
- after_discard
|
119
143
|
validations:
|
120
144
|
- validates_associated
|
121
145
|
- validates
|
122
146
|
- validate
|
147
|
+
- validates_each
|
148
|
+
- validates_attachment_format
|
149
|
+
- validates_file
|
150
|
+
- validates_image
|
123
151
|
|
124
152
|
Layout/FirstArrayElementIndentation:
|
125
153
|
Enabled: true
|
data/rubocop-codeur.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
end
|
22
22
|
|
23
23
|
spec.add_dependency 'rubocop', '~> 1.25'
|
24
|
+
spec.add_dependency 'rubocop-capybara', '~> 2.17'
|
24
25
|
spec.add_dependency 'rubocop-minitest', '~> 0.20'
|
25
26
|
spec.add_dependency 'rubocop-performance', '~> 1.9', '>= 1.9.2'
|
26
27
|
spec.add_dependency 'rubocop-rails', '~> 2.9', '>= 2.9.1'
|
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.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codeur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.25'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-capybara
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.17'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.17'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rubocop-minitest
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|