Deprecating usage of "require 'activerecord-import/<adapter_name>'" in favor of "require 'activerecord-import'".
This commit is contained in:
parent
90057c43eb
commit
163f5c64be
|
@ -1,2 +1,8 @@
|
||||||
|
warn <<-MSG
|
||||||
|
[DEPRECATION] loading activerecord-import via 'require "activerecord-import/<adapter-name>"'
|
||||||
|
is deprecated. Update to autorequire using 'require "activerecord-import"'. See
|
||||||
|
http://github.com/zdennis/activerecord-import/wiki/Requiring for more information
|
||||||
|
MSG
|
||||||
|
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,8 @@
|
||||||
|
warn <<-MSG
|
||||||
|
[DEPRECATION] loading activerecord-import via 'require "activerecord-import/<adapter-name>"'
|
||||||
|
is deprecated. Update to autorequire using 'require "activerecord-import"'. See
|
||||||
|
http://github.com/zdennis/activerecord-import/wiki/Requiring for more information
|
||||||
|
MSG
|
||||||
|
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,8 @@
|
||||||
|
warn <<-MSG
|
||||||
|
[DEPRECATION] loading activerecord-import via 'require "activerecord-import/<adapter-name>"'
|
||||||
|
is deprecated. Update to autorequire using 'require "activerecord-import"'. See
|
||||||
|
http://github.com/zdennis/activerecord-import/wiki/Requiring for more information
|
||||||
|
MSG
|
||||||
|
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,8 @@
|
||||||
|
warn <<-MSG
|
||||||
|
[DEPRECATION] loading activerecord-import via 'require "activerecord-import/<adapter-name>"'
|
||||||
|
is deprecated. Update to autorequire using 'require "activerecord-import"'. See
|
||||||
|
http://github.com/zdennis/activerecord-import/wiki/Requiring for more information
|
||||||
|
MSG
|
||||||
|
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
require File.expand_path(File.join(File.dirname(__FILE__), "/../activerecord-import"))
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||||
require "activerecord-import/mysql"
|
|
||||||
|
require "test/support/mysql/assertions"
|
||||||
|
require "test/support/mysql/import_examples"
|
||||||
|
|
||||||
should_support_mysql_import_functionality
|
should_support_mysql_import_functionality
|
|
@ -1,5 +1,4 @@
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||||
require "activerecord-import/mysql2"
|
|
||||||
|
|
||||||
require "test/support/mysql/assertions"
|
require "test/support/mysql/assertions"
|
||||||
require "test/support/mysql/import_examples"
|
require "test/support/mysql/import_examples"
|
||||||
|
|
Loading…
Reference in a new issue