activerecord-import 2.2.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +124 -0
  3. data/README.markdown +99 -32
  4. data/lib/activerecord-import/active_record/adapters/mysql2_proxy_adapter.rb +8 -0
  5. data/lib/activerecord-import/active_record/adapters/postgresql_proxy_adapter.rb +8 -0
  6. data/lib/activerecord-import/active_record/adapters/sqlite3_proxy_adapter.rb +8 -0
  7. data/lib/activerecord-import/active_record/adapters/trilogy_proxy_adapter.rb +8 -0
  8. data/lib/activerecord-import/adapters/abstract_adapter.rb +58 -0
  9. data/lib/activerecord-import/adapters/active_record_proxy_adapter.rb +19 -0
  10. data/lib/activerecord-import/adapters/mysql2_proxy_adapter.rb +9 -0
  11. data/lib/activerecord-import/adapters/mysql_adapter.rb +70 -13
  12. data/lib/activerecord-import/adapters/postgresql_adapter.rb +10 -52
  13. data/lib/activerecord-import/adapters/postgresql_proxy_adapter.rb +9 -0
  14. data/lib/activerecord-import/adapters/sqlite3_adapter.rb +7 -3
  15. data/lib/activerecord-import/adapters/sqlite3_proxy_adapter.rb +9 -0
  16. data/lib/activerecord-import/adapters/trilogy_proxy_adapter.rb +9 -0
  17. data/lib/activerecord-import/aliases.rb +42 -0
  18. data/lib/activerecord-import/base.rb +2 -46
  19. data/lib/activerecord-import/core.rb +62 -0
  20. data/lib/activerecord-import/import.rb +612 -369
  21. data/lib/activerecord-import/synchronize.rb +28 -16
  22. data/lib/activerecord-import/version.rb +1 -1
  23. data/lib/activerecord-import/without_aliases.rb +17 -0
  24. metadata +19 -211
  25. data/.github/workflows/test.yaml +0 -165
  26. data/.gitignore +0 -37
  27. data/.rubocop.yml +0 -118
  28. data/.rubocop_todo.yml +0 -30
  29. data/Brewfile +0 -5
  30. data/Dockerfile +0 -23
  31. data/Gemfile +0 -63
  32. data/Rakefile +0 -75
  33. data/activerecord-import.gemspec +0 -28
  34. data/benchmarks/README +0 -32
  35. data/benchmarks/benchmark.rb +0 -72
  36. data/benchmarks/lib/base.rb +0 -143
  37. data/benchmarks/lib/cli_parser.rb +0 -111
  38. data/benchmarks/lib/float.rb +0 -17
  39. data/benchmarks/lib/mysql2_benchmark.rb +0 -21
  40. data/benchmarks/lib/output_to_csv.rb +0 -21
  41. data/benchmarks/lib/output_to_html.rb +0 -66
  42. data/benchmarks/models/test_innodb.rb +0 -5
  43. data/benchmarks/models/test_memory.rb +0 -5
  44. data/benchmarks/models/test_myisam.rb +0 -5
  45. data/benchmarks/schema/mysql2_schema.rb +0 -18
  46. data/docker-compose.yml +0 -34
  47. data/gemfiles/5.2.gemfile +0 -4
  48. data/gemfiles/6.0.gemfile +0 -4
  49. data/gemfiles/6.1.gemfile +0 -4
  50. data/gemfiles/7.0.gemfile +0 -4
  51. data/gemfiles/7.1.gemfile +0 -3
  52. data/gemfiles/7.2.gemfile +0 -3
  53. data/gemfiles/8.0.gemfile +0 -3
  54. data/test/adapters/janus_mysql2.rb +0 -3
  55. data/test/adapters/janus_trilogy.rb +0 -11
  56. data/test/adapters/jdbcmysql.rb +0 -3
  57. data/test/adapters/jdbcpostgresql.rb +0 -3
  58. data/test/adapters/jdbcsqlite3.rb +0 -3
  59. data/test/adapters/makara_postgis.rb +0 -3
  60. data/test/adapters/mysql2.rb +0 -3
  61. data/test/adapters/mysql2_makara.rb +0 -3
  62. data/test/adapters/mysql2_proxy.rb +0 -3
  63. data/test/adapters/mysql2spatial.rb +0 -3
  64. data/test/adapters/postgis.rb +0 -3
  65. data/test/adapters/postgresql.rb +0 -3
  66. data/test/adapters/postgresql_makara.rb +0 -3
  67. data/test/adapters/postgresql_proxy.rb +0 -3
  68. data/test/adapters/seamless_database_pool.rb +0 -3
  69. data/test/adapters/spatialite.rb +0 -3
  70. data/test/adapters/sqlite3.rb +0 -3
  71. data/test/adapters/trilogy.rb +0 -11
  72. data/test/database.yml.sample +0 -73
  73. data/test/github/database.yml +0 -85
  74. data/test/import_test.rb +0 -970
  75. data/test/janus_mysql2/import_test.rb +0 -8
  76. data/test/janus_trilogy/import_test.rb +0 -7
  77. data/test/jdbcmysql/import_test.rb +0 -7
  78. data/test/jdbcpostgresql/import_test.rb +0 -6
  79. data/test/jdbcsqlite3/import_test.rb +0 -6
  80. data/test/makara_postgis/import_test.rb +0 -10
  81. data/test/models/account.rb +0 -5
  82. data/test/models/alarm.rb +0 -4
  83. data/test/models/animal.rb +0 -8
  84. data/test/models/author.rb +0 -9
  85. data/test/models/bike_maker.rb +0 -10
  86. data/test/models/book.rb +0 -18
  87. data/test/models/car.rb +0 -5
  88. data/test/models/card.rb +0 -5
  89. data/test/models/chapter.rb +0 -6
  90. data/test/models/composite_book.rb +0 -19
  91. data/test/models/composite_chapter.rb +0 -12
  92. data/test/models/customer.rb +0 -18
  93. data/test/models/deck.rb +0 -8
  94. data/test/models/dictionary.rb +0 -6
  95. data/test/models/discount.rb +0 -5
  96. data/test/models/end_note.rb +0 -6
  97. data/test/models/group.rb +0 -5
  98. data/test/models/order.rb +0 -17
  99. data/test/models/playing_card.rb +0 -4
  100. data/test/models/promotion.rb +0 -5
  101. data/test/models/question.rb +0 -5
  102. data/test/models/rule.rb +0 -5
  103. data/test/models/tag.rb +0 -12
  104. data/test/models/tag_alias.rb +0 -11
  105. data/test/models/topic.rb +0 -31
  106. data/test/models/user.rb +0 -5
  107. data/test/models/user_token.rb +0 -6
  108. data/test/models/vendor.rb +0 -9
  109. data/test/models/widget.rb +0 -33
  110. data/test/mysql2/import_test.rb +0 -7
  111. data/test/mysql2_makara/import_test.rb +0 -8
  112. data/test/mysql2_proxy/import_test.rb +0 -6
  113. data/test/mysqlspatial2/import_test.rb +0 -8
  114. data/test/postgis/import_test.rb +0 -10
  115. data/test/postgresql/import_test.rb +0 -6
  116. data/test/postgresql_proxy/import_test.rb +0 -6
  117. data/test/schema/generic_schema.rb +0 -230
  118. data/test/schema/jdbcpostgresql_schema.rb +0 -3
  119. data/test/schema/mysql2_schema.rb +0 -21
  120. data/test/schema/postgis_schema.rb +0 -3
  121. data/test/schema/postgresql_schema.rb +0 -94
  122. data/test/schema/sqlite3_schema.rb +0 -15
  123. data/test/schema/version.rb +0 -12
  124. data/test/sqlite3/import_test.rb +0 -6
  125. data/test/support/active_support/test_case_extensions.rb +0 -73
  126. data/test/support/assertions.rb +0 -75
  127. data/test/support/factories.rb +0 -66
  128. data/test/support/generate.rb +0 -31
  129. data/test/support/mysql/import_examples.rb +0 -97
  130. data/test/support/postgresql/import_examples.rb +0 -642
  131. data/test/support/shared_examples/on_duplicate_key_ignore.rb +0 -45
  132. data/test/support/shared_examples/on_duplicate_key_update.rb +0 -437
  133. data/test/support/shared_examples/recursive_import.rb +0 -352
  134. data/test/support/sqlite3/import_examples.rb +0 -232
  135. data/test/synchronize_test.rb +0 -43
  136. data/test/test_helper.rb +0 -91
  137. data/test/trilogy/import_test.rb +0 -7
  138. data/test/value_sets_bytes_parser_test.rb +0 -106
  139. data/test/value_sets_records_parser_test.rb +0 -34
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
-
5
- require File.expand_path("#{File.dirname(__FILE__)}/../support/assertions")
6
- require File.expand_path("#{File.dirname(__FILE__)}/../support/mysql/import_examples")
7
-
8
- should_support_mysql_import_functionality
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/assertions")
5
- require File.expand_path("#{File.dirname(__FILE__)}/../support/mysql/import_examples")
6
-
7
- should_support_mysql_import_functionality
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/assertions")
5
- require File.expand_path("#{File.dirname(__FILE__)}/../support/mysql/import_examples")
6
-
7
- should_support_mysql_import_functionality
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/postgresql/import_examples")
5
-
6
- should_support_postgresql_import_functionality
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/sqlite3/import_examples")
5
-
6
- should_support_sqlite3_import_functionality
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/postgresql/import_examples")
5
-
6
- should_support_postgresql_import_functionality
7
-
8
- if ActiveRecord::Base.connection.supports_on_duplicate_key_update?
9
- should_support_postgresql_upsert_functionality
10
- end
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Account < ActiveRecord::Base
4
- self.locking_column = :lock
5
- end
data/test/models/alarm.rb DELETED
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Alarm < ActiveRecord::Base
4
- end
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Animal < ActiveRecord::Base
4
- after_initialize :validate_name_presence, if: :new_record?
5
- def validate_name_presence
6
- raise ArgumentError if name.nil?
7
- end
8
- end
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Author < ActiveRecord::Base
4
- if ENV['AR_VERSION'].to_f >= 8.0
5
- has_many :composite_books, foreign_key: [:id, :author_id], inverse_of: :author
6
- elsif ENV['AR_VERSION'].to_f >= 7.1
7
- has_many :composite_books, query_constraints: [:id, :author_id], inverse_of: :author
8
- end
9
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Bike
4
- def self.table_name_prefix
5
- 'bike_'
6
- end
7
-
8
- class Maker < ActiveRecord::Base
9
- end
10
- end
data/test/models/book.rb DELETED
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Book < ActiveRecord::Base
4
- belongs_to :topic, inverse_of: :books
5
- if ENV['AR_VERSION'].to_f <= 7.0 || ENV['AR_VERSION'].to_f >= 8.0
6
- belongs_to :tag, foreign_key: [:tag_id, :parent_id] unless ENV["SKIP_COMPOSITE_PK"]
7
- else
8
- belongs_to :tag, query_constraints: [:tag_id, :parent_id] unless ENV["SKIP_COMPOSITE_PK"]
9
- end
10
- has_many :chapters, inverse_of: :book
11
- has_many :discounts, as: :discountable
12
- has_many :end_notes, inverse_of: :book
13
- if ENV['AR_VERSION'].to_f >= 8.0
14
- enum :status, [:draft, :published]
15
- else
16
- enum status: [:draft, :published]
17
- end
18
- end
data/test/models/car.rb DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Car < ActiveRecord::Base
4
- self.primary_key = :Name
5
- end
data/test/models/card.rb DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Card < ActiveRecord::Base
4
- belongs_to :deck, polymorphic: true
5
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Chapter < ActiveRecord::Base
4
- belongs_to :book, inverse_of: :chapters
5
- validates :title, presence: true
6
- end
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class CompositeBook < ActiveRecord::Base
4
- self.primary_key = %i[id author_id]
5
- belongs_to :author
6
- if ENV['AR_VERSION'].to_f <= 7.0 || ENV['AR_VERSION'].to_f >= 8.0
7
- unless ENV["SKIP_COMPOSITE_PK"]
8
- has_many :composite_chapters, inverse_of: :composite_book,
9
- foreign_key: [:id, :author_id]
10
- end
11
- else
12
- has_many :composite_chapters, inverse_of: :composite_book,
13
- query_constraints: [:id, :author_id]
14
- end
15
-
16
- def self.sequence_name
17
- "composite_book_id_seq"
18
- end
19
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class CompositeChapter < ActiveRecord::Base
4
- if ENV['AR_VERSION'].to_f >= 8.0
5
- belongs_to :composite_book, inverse_of: :composite_chapters,
6
- foreign_key: [:composite_book_id, :author_id]
7
- elsif ENV['AR_VERSION'].to_f >= 7.1
8
- belongs_to :composite_book, inverse_of: :composite_chapters,
9
- query_constraints: [:composite_book_id, :author_id]
10
- end
11
- validates :title, presence: true
12
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Customer < ActiveRecord::Base
4
- unless ENV["SKIP_COMPOSITE_PK"]
5
- if ENV['AR_VERSION'].to_f <= 7.0 || ENV['AR_VERSION'].to_f >= 8.0
6
- has_many :orders,
7
- inverse_of: :customer,
8
- primary_key: %i(account_id id),
9
- foreign_key: %i(account_id customer_id)
10
- else
11
- has_many :orders,
12
- inverse_of: :customer,
13
- primary_key: %i(account_id id),
14
- query_constraints: %i(account_id customer_id)
15
- end
16
-
17
- end
18
- end
data/test/models/deck.rb DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Deck < ActiveRecord::Base
4
- has_many :cards
5
- def self.polymorphic_name
6
- "PlayingCard"
7
- end
8
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'book'
4
-
5
- class Dictionary < Book
6
- end
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Discount < ActiveRecord::Base
4
- belongs_to :discountable, polymorphic: true
5
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class EndNote < ActiveRecord::Base
4
- belongs_to :book, inverse_of: :end_notes
5
- validates :note, presence: true
6
- end
data/test/models/group.rb DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Group < ActiveRecord::Base
4
- self.table_name = 'group'
5
- end
data/test/models/order.rb DELETED
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Order < ActiveRecord::Base
4
- unless ENV["SKIP_COMPOSITE_PK"]
5
- if ENV['AR_VERSION'].to_f <= 7.0 || ENV['AR_VERSION'].to_f >= 8.0
6
- belongs_to :customer,
7
- inverse_of: :orders,
8
- primary_key: %i(account_id id),
9
- foreign_key: %i(account_id customer_id)
10
- else
11
- belongs_to :customer,
12
- inverse_of: :orders,
13
- primary_key: %i(account_id id),
14
- query_constraints: %i(account_id customer_id)
15
- end
16
- end
17
- end
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class PlayingCard < ActiveRecord::Base
4
- end
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Promotion < ActiveRecord::Base
4
- self.primary_key = :promotion_id
5
- end
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Question < ActiveRecord::Base
4
- has_one :rule
5
- end
data/test/models/rule.rb DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Rule < ActiveRecord::Base
4
- belongs_to :question
5
- end
data/test/models/tag.rb DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Tag < ActiveRecord::Base
4
- if ENV['AR_VERSION'].to_f <= 7.0
5
- self.primary_keys = :tag_id, :publisher_id unless ENV["SKIP_COMPOSITE_PK"]
6
- else
7
- self.primary_key = [:tag_id, :publisher_id] unless ENV["SKIP_COMPOSITE_PK"]
8
- end
9
- self.primary_key = [:tag_id, :publisher_id] unless ENV["SKIP_COMPOSITE_PK"]
10
- has_many :books, inverse_of: :tag
11
- has_many :tag_aliases, inverse_of: :tag
12
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class TagAlias < ActiveRecord::Base
4
- unless ENV["SKIP_COMPOSITE_PK"]
5
- if ENV['AR_VERSION'].to_f <= 7.0 || ENV['AR_VERSION'].to_f >= 8.0
6
- belongs_to :tag, foreign_key: [:tag_id, :parent_id], required: true
7
- else
8
- belongs_to :tag, query_constraints: [:tag_id, :parent_id], required: true
9
- end
10
- end
11
- end
data/test/models/topic.rb DELETED
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Topic < ActiveRecord::Base
4
- if ENV['AR_VERSION'].to_f >= 6.0
5
- self.ignored_columns = [:priority]
6
- end
7
- alias_attribute :name, :title
8
-
9
- validates_presence_of :author_name
10
- validates :title, numericality: { only_integer: true }, on: :context_test
11
- validates :title, uniqueness: true
12
- validates :content, uniqueness: true
13
- validates :word_count, numericality: { greater_than: 0 }, if: :content?
14
-
15
- validate -> { errors.add(:title, :validate_failed) if title == 'validate_failed' }
16
- before_validation -> { errors.add(:title, :invalid) if title == 'invalid' }
17
-
18
- has_many :books, inverse_of: :topic
19
- has_many :novels, inverse_of: :topic, class_name: "Book"
20
- belongs_to :parent, class_name: "Topic"
21
-
22
- composed_of :description, mapping: [%w(title title), %w(author_name author_name)], allow_nil: true, class_name: "TopicDescription"
23
-
24
- default_scope { where(approved: true) }
25
-
26
- private
27
-
28
- def word_count
29
- @word_count ||= content.to_s.scan(/\w+/).count
30
- end
31
- end
data/test/models/user.rb DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class User < ActiveRecord::Base
4
- has_many :user_tokens, primary_key: :name, foreign_key: :user_name
5
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class UserToken < ActiveRecord::Base
4
- belongs_to :user, primary_key: :name, foreign_key: :user_name
5
- validates :user, presence: true
6
- end
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Vendor < ActiveRecord::Base
4
- store :preferences, accessors: [:color], coder: JSON
5
-
6
- store_accessor :data, :size
7
- store_accessor :config, :contact
8
- store_accessor :settings, :charge_code
9
- end
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class CustomCoder
4
- def load(value)
5
- if value.nil?
6
- {}
7
- else
8
- YAML.load(value)
9
- end
10
- end
11
-
12
- def dump(value)
13
- YAML.dump(value)
14
- end
15
- end
16
-
17
- class Widget < ActiveRecord::Base
18
- self.primary_key = :w_id
19
-
20
- default_scope -> { where(active: true) }
21
-
22
- if ENV['AR_VERSION'].to_f >= 7.1
23
- serialize :data, coder: YAML
24
- serialize :json_data, coder: JSON
25
- serialize :custom_data, coder: CustomCoder.new
26
- else
27
- serialize :data, Hash
28
- serialize :json_data, JSON
29
- serialize :custom_data, CustomCoder.new
30
- end
31
-
32
- serialize :unspecified_data
33
- end
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/assertions")
5
- require File.expand_path("#{File.dirname(__FILE__)}/../support/mysql/import_examples")
6
-
7
- should_support_mysql_import_functionality
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
-
5
- require File.expand_path("#{File.dirname(__FILE__)}/../support/assertions")
6
- require File.expand_path("#{File.dirname(__FILE__)}/../support/mysql/import_examples")
7
-
8
- should_support_mysql_import_functionality
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/mysql/import_examples")
5
-
6
- should_support_mysql_import_functionality
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
-
5
- require File.expand_path("#{File.dirname(__FILE__)}/../support/assertions")
6
- require File.expand_path("#{File.dirname(__FILE__)}/../support/mysql/import_examples")
7
-
8
- should_support_mysql_import_functionality
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/postgresql/import_examples")
5
-
6
- should_support_postgresql_import_functionality
7
-
8
- if ActiveRecord::Base.connection.supports_on_duplicate_key_update?
9
- should_support_postgresql_upsert_functionality
10
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/postgresql/import_examples")
5
-
6
- should_support_postgresql_import_functionality
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require File.expand_path("#{File.dirname(__FILE__)}/../test_helper")
4
- require File.expand_path("#{File.dirname(__FILE__)}/../support/postgresql/import_examples")
5
-
6
- should_support_postgresql_import_functionality