Skip to content

Commit ebfb3ef

Browse files
committed
Rename a mixin module
1 parent cbdc126 commit ebfb3ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/rubocop/cop/mixin/database_type_resolver.rb renamed to lib/rubocop/cop/mixin/database_type_resolvable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Cop
77
# This module automatically detect an adapter from `development` environment
88
# in `config/database.yml` or the environment variable `DATABASE_URL`
99
# when the `Database` option is not set.
10-
module DatabaseTypeResolver
10+
module DatabaseTypeResolvable
1111
MYSQL = 'mysql'
1212
POSTGRESQL = 'postgresql'
1313

lib/rubocop/cop/rails/bulk_change_table.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module Rails
6464
# end
6565
# end
6666
class BulkChangeTable < Base
67-
include DatabaseTypeResolver
67+
include DatabaseTypeResolvable
6868

6969
MSG_FOR_CHANGE_TABLE = <<~MSG.chomp
7070
You can combine alter queries using `bulk: true` options.

lib/rubocop/cop/rails_cops.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_relative 'mixin/active_record_helper'
44
require_relative 'mixin/active_record_migrations_helper'
55
require_relative 'mixin/class_send_node_helper'
6-
require_relative 'mixin/database_type_resolver'
6+
require_relative 'mixin/database_type_resolvable'
77
require_relative 'mixin/enforce_superclass'
88
require_relative 'mixin/index_method'
99
require_relative 'mixin/migrations_helper'

0 commit comments

Comments
 (0)