From 8d7c7db62e16d0a6e8c24bc3626a4e5febb53930 Mon Sep 17 00:00:00 2001 From: Masato Sugiyama Date: Fri, 15 Nov 2024 07:38:54 +0900 Subject: [PATCH] Remove deprecated ActiveRecord import adapter files --- lib/activerecord-import/mysql2.rb | 9 --------- lib/activerecord-import/postgresql.rb | 9 --------- lib/activerecord-import/sqlite3.rb | 9 --------- 3 files changed, 27 deletions(-) delete mode 100644 lib/activerecord-import/mysql2.rb delete mode 100644 lib/activerecord-import/postgresql.rb delete mode 100644 lib/activerecord-import/sqlite3.rb diff --git a/lib/activerecord-import/mysql2.rb b/lib/activerecord-import/mysql2.rb deleted file mode 100644 index cf3416eb..00000000 --- a/lib/activerecord-import/mysql2.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -warn <<-MSG -[DEPRECATION] loading activerecord-import via 'require "activerecord-import/"' - is deprecated. Update to autorequire using 'require "activerecord-import"'. See - http://github.com/zdennis/activerecord-import/wiki/Requiring for more information -MSG - -require "activerecord-import" diff --git a/lib/activerecord-import/postgresql.rb b/lib/activerecord-import/postgresql.rb deleted file mode 100644 index cf3416eb..00000000 --- a/lib/activerecord-import/postgresql.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -warn <<-MSG -[DEPRECATION] loading activerecord-import via 'require "activerecord-import/"' - is deprecated. Update to autorequire using 'require "activerecord-import"'. See - http://github.com/zdennis/activerecord-import/wiki/Requiring for more information -MSG - -require "activerecord-import" diff --git a/lib/activerecord-import/sqlite3.rb b/lib/activerecord-import/sqlite3.rb deleted file mode 100644 index cf3416eb..00000000 --- a/lib/activerecord-import/sqlite3.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -warn <<-MSG -[DEPRECATION] loading activerecord-import via 'require "activerecord-import/"' - is deprecated. Update to autorequire using 'require "activerecord-import"'. See - http://github.com/zdennis/activerecord-import/wiki/Requiring for more information -MSG - -require "activerecord-import"