lib/rom/sql/qualified_attribute.rb in rom-sql-0.9.1 vs lib/rom/sql/qualified_attribute.rb in rom-sql-1.0.0.beta1
- old
+ new
@@ -1,6 +1,6 @@
-require 'rom/support/cache'
+require 'dry/core/cache'
module ROM
module SQL
# Used as a pair table name + field name.
# Similar to Sequel::SQL::QualifiedIdentifier but we don't want
@@ -8,10 +8,10 @@
#
# @api private
class QualifiedAttribute
include Dry::Equalizer(:dataset, :attribute)
- extend Cache
+ extend Dry::Core::Cache
# Dataset (table) name
#
# @api private
attr_reader :dataset