diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-09 01:31:15 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-09 01:47:48 +0300 |
commit | b0afed1aac83996747820728ee2a5d618f5caf3c (patch) | |
tree | 594894d2bd05d3e7129d631dd889d83d4c52df4b | |
parent | abc9548f8afae6d666942f37715d2f7f8258d63b (diff) |
Explicitly require rubocop migration_helpers
-rw-r--r-- | rubocop/cop/migration/add_column.rb | 2 | ||||
-rw-r--r-- | rubocop/cop/migration/add_index.rb | 2 | ||||
-rw-r--r-- | rubocop/rubocop.rb | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/rubocop/cop/migration/add_column.rb b/rubocop/cop/migration/add_column.rb index d5c8eeeea1f..1490fcdd814 100644 --- a/rubocop/cop/migration/add_column.rb +++ b/rubocop/cop/migration/add_column.rb @@ -1,3 +1,5 @@ +require_relative '../../migration_helpers' + module RuboCop module Cop module Migration diff --git a/rubocop/cop/migration/add_index.rb b/rubocop/cop/migration/add_index.rb index 506af97866f..5e6766f6994 100644 --- a/rubocop/cop/migration/add_index.rb +++ b/rubocop/cop/migration/add_index.rb @@ -1,3 +1,5 @@ +require_relative '../../migration_helpers' + module RuboCop module Cop module Migration diff --git a/rubocop/rubocop.rb b/rubocop/rubocop.rb index 3c596bff7ea..3e292a4527c 100644 --- a/rubocop/rubocop.rb +++ b/rubocop/rubocop.rb @@ -1,4 +1,3 @@ -require_relative 'migration_helpers' require_relative 'cop/migration/add_index' require_relative 'cop/migration/add_column' require_relative 'cop/migration/add_column_with_default' |