rubocop-rails 2.12.2 → 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/config/default.yml +43 -8
- data/lib/rubocop/cop/mixin/active_record_migrations_helper.rb +34 -0
- data/lib/rubocop/cop/rails/active_record_aliases.rb +6 -2
- data/lib/rubocop/cop/rails/application_controller.rb +5 -1
- data/lib/rubocop/cop/rails/application_job.rb +5 -1
- data/lib/rubocop/cop/rails/application_mailer.rb +5 -1
- data/lib/rubocop/cop/rails/application_record.rb +6 -1
- data/lib/rubocop/cop/rails/arel_star.rb +6 -0
- data/lib/rubocop/cop/rails/blank.rb +5 -4
- data/lib/rubocop/cop/rails/compact_blank.rb +98 -0
- data/lib/rubocop/cop/rails/content_tag.rb +15 -8
- data/lib/rubocop/cop/rails/create_table_with_timestamps.rb +2 -7
- data/lib/rubocop/cop/rails/duration_arithmetic.rb +97 -0
- data/lib/rubocop/cop/rails/dynamic_find_by.rb +4 -0
- data/lib/rubocop/cop/rails/find_each.rb +13 -0
- data/lib/rubocop/cop/rails/http_positional_arguments.rb +1 -1
- data/lib/rubocop/cop/rails/index_by.rb +6 -6
- data/lib/rubocop/cop/rails/index_with.rb +6 -6
- data/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +8 -7
- data/lib/rubocop/cop/rails/mailer_name.rb +4 -0
- data/lib/rubocop/cop/rails/negate_include.rb +3 -2
- data/lib/rubocop/cop/rails/output.rb +4 -0
- data/lib/rubocop/cop/rails/pick.rb +7 -0
- data/lib/rubocop/cop/rails/pluck_id.rb +3 -0
- data/lib/rubocop/cop/rails/pluck_in_where.rb +7 -6
- data/lib/rubocop/cop/rails/rake_environment.rb +5 -0
- data/lib/rubocop/cop/rails/read_write_attribute.rb +21 -0
- data/lib/rubocop/cop/rails/redundant_presence_validation_on_belongs_to.rb +256 -0
- data/lib/rubocop/cop/rails/reflection_class_name.rb +4 -2
- data/lib/rubocop/cop/rails/relative_date_constant.rb +4 -1
- data/lib/rubocop/cop/rails/reversible_migration.rb +11 -3
- data/lib/rubocop/cop/rails/root_join_chain.rb +72 -0
- data/lib/rubocop/cop/rails/safe_navigation_with_blank.rb +12 -3
- data/lib/rubocop/cop/rails/save_bang.rb +19 -0
- data/lib/rubocop/cop/rails/schema_comment.rb +104 -0
- data/lib/rubocop/cop/rails/squished_sql_heredocs.rb +4 -2
- data/lib/rubocop/cop/rails/time_zone.rb +3 -0
- data/lib/rubocop/cop/rails/uniq_before_pluck.rb +29 -35
- data/lib/rubocop/cop/rails/unique_validation_without_index.rb +1 -1
- data/lib/rubocop/cop/rails/unused_ignored_columns.rb +2 -0
- data/lib/rubocop/cop/rails/where_equals.rb +4 -0
- data/lib/rubocop/cop/rails/where_exists.rb +9 -8
- data/lib/rubocop/cop/rails_cops.rb +6 -0
- data/lib/rubocop/rails/version.rb +1 -1
- metadata +11 -4
@@ -0,0 +1,104 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module RuboCop
|
4
|
+
module Cop
|
5
|
+
module Rails
|
6
|
+
# This cop enforces the use of the `comment` option when adding a new table or column
|
7
|
+
# to the database during a migration.
|
8
|
+
#
|
9
|
+
# @example
|
10
|
+
# # bad (no comment for a new column or table)
|
11
|
+
# add_column :table, :column, :integer
|
12
|
+
#
|
13
|
+
# create_table :table do |t|
|
14
|
+
# t.type :column
|
15
|
+
# end
|
16
|
+
#
|
17
|
+
# # good
|
18
|
+
# add_column :table, :column, :integer, comment: 'Number of offenses'
|
19
|
+
#
|
20
|
+
# create_table :table, comment: 'Table of offenses data' do |t|
|
21
|
+
# t.type :column, comment: 'Number of offenses'
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
class SchemaComment < Base
|
25
|
+
include ActiveRecordMigrationsHelper
|
26
|
+
|
27
|
+
COLUMN_MSG = 'New database column without `comment`.'
|
28
|
+
TABLE_MSG = 'New database table without `comment`.'
|
29
|
+
RESTRICT_ON_SEND = %i[add_column create_table].freeze
|
30
|
+
CREATE_TABLE_COLUMN_METHODS = Set[
|
31
|
+
*(
|
32
|
+
RAILS_ABSTRACT_SCHEMA_DEFINITIONS |
|
33
|
+
RAILS_ABSTRACT_SCHEMA_DEFINITIONS_HELPERS |
|
34
|
+
POSTGRES_SCHEMA_DEFINITIONS |
|
35
|
+
MYSQL_SCHEMA_DEFINITIONS
|
36
|
+
)
|
37
|
+
].freeze
|
38
|
+
|
39
|
+
# @!method comment_present?(node)
|
40
|
+
def_node_matcher :comment_present?, <<~PATTERN
|
41
|
+
(hash <(pair {(sym :comment) (str "comment")} (_ [present?])) ...>)
|
42
|
+
PATTERN
|
43
|
+
|
44
|
+
# @!method add_column?(node)
|
45
|
+
def_node_matcher :add_column?, <<~PATTERN
|
46
|
+
(send nil? :add_column _table _column _type _?)
|
47
|
+
PATTERN
|
48
|
+
|
49
|
+
# @!method add_column_with_comment?(node)
|
50
|
+
def_node_matcher :add_column_with_comment?, <<~PATTERN
|
51
|
+
(send nil? :add_column _table _column _type #comment_present?)
|
52
|
+
PATTERN
|
53
|
+
|
54
|
+
# @!method create_table?(node)
|
55
|
+
def_node_matcher :create_table?, <<~PATTERN
|
56
|
+
(send nil? :create_table _table _?)
|
57
|
+
PATTERN
|
58
|
+
|
59
|
+
# @!method create_table?(node)
|
60
|
+
def_node_matcher :create_table_with_comment?, <<~PATTERN
|
61
|
+
(send nil? :create_table _table #comment_present? ...)
|
62
|
+
PATTERN
|
63
|
+
|
64
|
+
# @!method t_column?(node)
|
65
|
+
def_node_matcher :t_column?, <<~PATTERN
|
66
|
+
(send _var CREATE_TABLE_COLUMN_METHODS ...)
|
67
|
+
PATTERN
|
68
|
+
|
69
|
+
# @!method t_column_with_comment?(node)
|
70
|
+
def_node_matcher :t_column_with_comment?, <<~PATTERN
|
71
|
+
(send _var CREATE_TABLE_COLUMN_METHODS _column _type? #comment_present?)
|
72
|
+
PATTERN
|
73
|
+
|
74
|
+
def on_send(node)
|
75
|
+
if add_column_without_comment?(node)
|
76
|
+
add_offense(node, message: COLUMN_MSG)
|
77
|
+
elsif create_table?(node)
|
78
|
+
if create_table_without_comment?(node)
|
79
|
+
add_offense(node, message: TABLE_MSG)
|
80
|
+
elsif create_table_column_call_without_comment?(node)
|
81
|
+
add_offense(node.parent.body, message: COLUMN_MSG)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
private
|
87
|
+
|
88
|
+
def add_column_without_comment?(node)
|
89
|
+
add_column?(node) && !add_column_with_comment?(node)
|
90
|
+
end
|
91
|
+
|
92
|
+
def create_table_without_comment?(node)
|
93
|
+
create_table?(node) && !create_table_with_comment?(node)
|
94
|
+
end
|
95
|
+
|
96
|
+
def create_table_column_call_without_comment?(node)
|
97
|
+
create_table_with_block?(node.parent) &&
|
98
|
+
t_column?(node.parent.body) &&
|
99
|
+
!t_column_with_comment?(node.parent.body)
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -5,8 +5,10 @@ module RuboCop
|
|
5
5
|
module Rails
|
6
6
|
#
|
7
7
|
# Checks SQL heredocs to use `.squish`.
|
8
|
-
#
|
9
|
-
#
|
8
|
+
#
|
9
|
+
# @safety
|
10
|
+
# Some SQL syntax (e.g. PostgreSQL comments and functions) requires newlines
|
11
|
+
# to be preserved in order to work, thus auto-correction for this cop is not safe.
|
10
12
|
#
|
11
13
|
# @example
|
12
14
|
# # bad
|
@@ -3,47 +3,46 @@
|
|
3
3
|
module RuboCop
|
4
4
|
module Cop
|
5
5
|
module Rails
|
6
|
-
# Prefer
|
6
|
+
# Prefer using `distinct` before `pluck` instead of `uniq` after `pluck`.
|
7
7
|
#
|
8
|
-
# The use of distinct before pluck is preferred because it executes
|
8
|
+
# The use of distinct before pluck is preferred because it executes by
|
9
9
|
# the database.
|
10
10
|
#
|
11
11
|
# This cop has two different enforcement modes. When the EnforcedStyle
|
12
|
-
# is conservative (the default) then only calls to pluck on a constant
|
13
|
-
# (i.e. a model class) before
|
12
|
+
# is `conservative` (the default), then only calls to `pluck` on a constant
|
13
|
+
# (i.e. a model class) before `uniq` are added as offenses.
|
14
14
|
#
|
15
|
-
# When the EnforcedStyle is aggressive then all calls to pluck before
|
15
|
+
# When the EnforcedStyle is `aggressive` then all calls to `pluck` before
|
16
16
|
# distinct are added as offenses. This may lead to false positives
|
17
|
-
# as the cop cannot distinguish between calls to pluck on an
|
17
|
+
# as the cop cannot distinguish between calls to `pluck` on an
|
18
18
|
# ActiveRecord::Relation vs a call to pluck on an
|
19
19
|
# ActiveRecord::Associations::CollectionProxy.
|
20
20
|
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
# false positives.
|
21
|
+
# @safety
|
22
|
+
# This cop is unsafe for autocorrection because the behavior may change
|
23
|
+
# depending on the database collation.
|
25
24
|
#
|
26
25
|
# @example EnforcedStyle: conservative (default)
|
27
|
-
# # bad
|
28
|
-
#
|
26
|
+
# # bad - redundantly fetches duplicate values
|
27
|
+
# Album.pluck(:band_name).uniq
|
29
28
|
#
|
30
29
|
# # good
|
31
|
-
#
|
30
|
+
# Album.distinct.pluck(:band_name)
|
32
31
|
#
|
33
32
|
# @example EnforcedStyle: aggressive
|
34
|
-
# # bad
|
35
|
-
#
|
36
|
-
# Model.where(cond: true).pluck(:id).uniq
|
33
|
+
# # bad - redundantly fetches duplicate values
|
34
|
+
# Album.pluck(:band_name).uniq
|
37
35
|
#
|
38
|
-
# # bad
|
39
|
-
#
|
40
|
-
# instance.assoc.pluck(:id).uniq
|
36
|
+
# # bad - redundantly fetches duplicate values
|
37
|
+
# Album.where(year: 1985).pluck(:band_name).uniq
|
41
38
|
#
|
42
|
-
# # bad
|
43
|
-
#
|
39
|
+
# # bad - redundantly fetches duplicate values
|
40
|
+
# customer.favourites.pluck(:color).uniq
|
44
41
|
#
|
45
42
|
# # good
|
46
|
-
#
|
43
|
+
# Album.distinct.pluck(:band_name)
|
44
|
+
# Album.distinct.where(year: 1985).pluck(:band_name)
|
45
|
+
# customer.favourites.distinct.pluck(:color)
|
47
46
|
#
|
48
47
|
class UniqBeforePluck < Base
|
49
48
|
include ConfigurableEnforcedStyle
|
@@ -51,10 +50,9 @@ module RuboCop
|
|
51
50
|
extend AutoCorrector
|
52
51
|
|
53
52
|
MSG = 'Use `distinct` before `pluck`.'
|
54
|
-
RESTRICT_ON_SEND = %i[uniq
|
53
|
+
RESTRICT_ON_SEND = %i[uniq].freeze
|
55
54
|
NEWLINE = "\n"
|
56
|
-
PATTERN = '[!^block (send (send %<type>s :pluck ...) '
|
57
|
-
'${:uniq :distinct} ...)]'
|
55
|
+
PATTERN = '[!^block (send (send %<type>s :pluck ...) :uniq ...)]'
|
58
56
|
|
59
57
|
def_node_matcher :conservative_node_match,
|
60
58
|
format(PATTERN, type: 'const')
|
@@ -63,13 +61,13 @@ module RuboCop
|
|
63
61
|
format(PATTERN, type: '_')
|
64
62
|
|
65
63
|
def on_send(node)
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
64
|
+
uniq = if style == :conservative
|
65
|
+
conservative_node_match(node)
|
66
|
+
else
|
67
|
+
aggressive_node_match(node)
|
68
|
+
end
|
71
69
|
|
72
|
-
return unless
|
70
|
+
return unless uniq
|
73
71
|
|
74
72
|
add_offense(node.loc.selector) do |corrector|
|
75
73
|
method = node.method_name
|
@@ -81,10 +79,6 @@ module RuboCop
|
|
81
79
|
|
82
80
|
private
|
83
81
|
|
84
|
-
def style_parameter_name
|
85
|
-
'EnforcedStyle'
|
86
|
-
end
|
87
|
-
|
88
82
|
def dot_method_with_whitespace(method, node)
|
89
83
|
range_between(dot_method_begin_pos(method, node),
|
90
84
|
node.loc.selector.end_pos)
|
@@ -27,7 +27,7 @@ module RuboCop
|
|
27
27
|
class UniqueValidationWithoutIndex < Base
|
28
28
|
include ActiveRecordHelper
|
29
29
|
|
30
|
-
MSG = 'Uniqueness validation should
|
30
|
+
MSG = 'Uniqueness validation should have a unique index on the database column.'
|
31
31
|
RESTRICT_ON_SEND = %i[validates].freeze
|
32
32
|
|
33
33
|
def on_send(node)
|
@@ -6,6 +6,10 @@ module RuboCop
|
|
6
6
|
# This cop identifies places where manually constructed SQL
|
7
7
|
# in `where` can be replaced with `where(attribute: value)`.
|
8
8
|
#
|
9
|
+
# @safety
|
10
|
+
# This cop's autocorrection is unsafe because is may change SQL.
|
11
|
+
# See: https://github.com/rubocop/rubocop-rails/issues/403
|
12
|
+
#
|
9
13
|
# @example
|
10
14
|
# # bad
|
11
15
|
# User.where('name = ?', 'Gabe')
|
@@ -11,16 +11,17 @@ module RuboCop
|
|
11
11
|
# When EnforcedStyle is 'where' then the cop enforces
|
12
12
|
# `where(...).exists?` over `exists?(...)`.
|
13
13
|
#
|
14
|
-
#
|
14
|
+
# @safety
|
15
|
+
# This cop is unsafe for auto-correction because the behavior may change on the following case:
|
15
16
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# [source,ruby]
|
18
|
+
# ----
|
19
|
+
# Author.includes(:articles).where(articles: {id: id}).exists?
|
20
|
+
# #=> Perform `eager_load` behavior (`LEFT JOIN` query) and get result.
|
20
21
|
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
22
|
+
# Author.includes(:articles).exists?(articles: {id: id})
|
23
|
+
# #=> Perform `preload` behavior and `ActiveRecord::StatementInvalid` error occurs.
|
24
|
+
# ----
|
24
25
|
#
|
25
26
|
# @example EnforcedStyle: exists (default)
|
26
27
|
# # bad
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative 'mixin/active_record_helper'
|
4
|
+
require_relative 'mixin/active_record_migrations_helper'
|
4
5
|
require_relative 'mixin/enforce_superclass'
|
5
6
|
require_relative 'mixin/index_method'
|
6
7
|
require_relative 'mixin/target_rails_version'
|
@@ -22,12 +23,14 @@ require_relative 'rails/attribute_default_block_value'
|
|
22
23
|
require_relative 'rails/belongs_to'
|
23
24
|
require_relative 'rails/blank'
|
24
25
|
require_relative 'rails/bulk_change_table'
|
26
|
+
require_relative 'rails/compact_blank'
|
25
27
|
require_relative 'rails/content_tag'
|
26
28
|
require_relative 'rails/create_table_with_timestamps'
|
27
29
|
require_relative 'rails/date'
|
28
30
|
require_relative 'rails/default_scope'
|
29
31
|
require_relative 'rails/delegate'
|
30
32
|
require_relative 'rails/delegate_allow_blank'
|
33
|
+
require_relative 'rails/duration_arithmetic'
|
31
34
|
require_relative 'rails/dynamic_find_by'
|
32
35
|
require_relative 'rails/eager_evaluation_log_message'
|
33
36
|
require_relative 'rails/enum_hash'
|
@@ -71,6 +74,7 @@ require_relative 'rails/rake_environment'
|
|
71
74
|
require_relative 'rails/read_write_attribute'
|
72
75
|
require_relative 'rails/redundant_allow_nil'
|
73
76
|
require_relative 'rails/redundant_foreign_key'
|
77
|
+
require_relative 'rails/redundant_presence_validation_on_belongs_to'
|
74
78
|
require_relative 'rails/redundant_receiver_in_with_options'
|
75
79
|
require_relative 'rails/redundant_travel_back'
|
76
80
|
require_relative 'rails/reflection_class_name'
|
@@ -82,9 +86,11 @@ require_relative 'rails/request_referer'
|
|
82
86
|
require_relative 'rails/require_dependency'
|
83
87
|
require_relative 'rails/reversible_migration'
|
84
88
|
require_relative 'rails/reversible_migration_method_definition'
|
89
|
+
require_relative 'rails/root_join_chain'
|
85
90
|
require_relative 'rails/safe_navigation'
|
86
91
|
require_relative 'rails/safe_navigation_with_blank'
|
87
92
|
require_relative 'rails/save_bang'
|
93
|
+
require_relative 'rails/schema_comment'
|
88
94
|
require_relative 'rails/scope_args'
|
89
95
|
require_relative 'rails/short_i18n'
|
90
96
|
require_relative 'rails/skips_model_validations'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bozhidar Batsov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-01-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- config/obsoletion.yml
|
79
79
|
- lib/rubocop-rails.rb
|
80
80
|
- lib/rubocop/cop/mixin/active_record_helper.rb
|
81
|
+
- lib/rubocop/cop/mixin/active_record_migrations_helper.rb
|
81
82
|
- lib/rubocop/cop/mixin/enforce_superclass.rb
|
82
83
|
- lib/rubocop/cop/mixin/index_method.rb
|
83
84
|
- lib/rubocop/cop/mixin/target_rails_version.rb
|
@@ -98,12 +99,14 @@ files:
|
|
98
99
|
- lib/rubocop/cop/rails/belongs_to.rb
|
99
100
|
- lib/rubocop/cop/rails/blank.rb
|
100
101
|
- lib/rubocop/cop/rails/bulk_change_table.rb
|
102
|
+
- lib/rubocop/cop/rails/compact_blank.rb
|
101
103
|
- lib/rubocop/cop/rails/content_tag.rb
|
102
104
|
- lib/rubocop/cop/rails/create_table_with_timestamps.rb
|
103
105
|
- lib/rubocop/cop/rails/date.rb
|
104
106
|
- lib/rubocop/cop/rails/default_scope.rb
|
105
107
|
- lib/rubocop/cop/rails/delegate.rb
|
106
108
|
- lib/rubocop/cop/rails/delegate_allow_blank.rb
|
109
|
+
- lib/rubocop/cop/rails/duration_arithmetic.rb
|
107
110
|
- lib/rubocop/cop/rails/dynamic_find_by.rb
|
108
111
|
- lib/rubocop/cop/rails/eager_evaluation_log_message.rb
|
109
112
|
- lib/rubocop/cop/rails/enum_hash.rb
|
@@ -147,6 +150,7 @@ files:
|
|
147
150
|
- lib/rubocop/cop/rails/read_write_attribute.rb
|
148
151
|
- lib/rubocop/cop/rails/redundant_allow_nil.rb
|
149
152
|
- lib/rubocop/cop/rails/redundant_foreign_key.rb
|
153
|
+
- lib/rubocop/cop/rails/redundant_presence_validation_on_belongs_to.rb
|
150
154
|
- lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb
|
151
155
|
- lib/rubocop/cop/rails/redundant_travel_back.rb
|
152
156
|
- lib/rubocop/cop/rails/reflection_class_name.rb
|
@@ -158,9 +162,11 @@ files:
|
|
158
162
|
- lib/rubocop/cop/rails/require_dependency.rb
|
159
163
|
- lib/rubocop/cop/rails/reversible_migration.rb
|
160
164
|
- lib/rubocop/cop/rails/reversible_migration_method_definition.rb
|
165
|
+
- lib/rubocop/cop/rails/root_join_chain.rb
|
161
166
|
- lib/rubocop/cop/rails/safe_navigation.rb
|
162
167
|
- lib/rubocop/cop/rails/safe_navigation_with_blank.rb
|
163
168
|
- lib/rubocop/cop/rails/save_bang.rb
|
169
|
+
- lib/rubocop/cop/rails/schema_comment.rb
|
164
170
|
- lib/rubocop/cop/rails/scope_args.rb
|
165
171
|
- lib/rubocop/cop/rails/short_i18n.rb
|
166
172
|
- lib/rubocop/cop/rails/skips_model_validations.rb
|
@@ -188,8 +194,9 @@ metadata:
|
|
188
194
|
homepage_uri: https://docs.rubocop.org/rubocop-rails/
|
189
195
|
changelog_uri: https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md
|
190
196
|
source_code_uri: https://github.com/rubocop/rubocop-rails/
|
191
|
-
documentation_uri: https://docs.rubocop.org/rubocop-rails/2.
|
197
|
+
documentation_uri: https://docs.rubocop.org/rubocop-rails/2.13/
|
192
198
|
bug_tracker_uri: https://github.com/rubocop/rubocop-rails/issues
|
199
|
+
rubygems_mfa_required: 'true'
|
193
200
|
post_install_message:
|
194
201
|
rdoc_options: []
|
195
202
|
require_paths:
|
@@ -205,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
212
|
- !ruby/object:Gem::Version
|
206
213
|
version: '0'
|
207
214
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
215
|
+
rubygems_version: 3.3.3
|
209
216
|
signing_key:
|
210
217
|
specification_version: 4
|
211
218
|
summary: Automatic Rails code style checking tool.
|