lib/arel/extensions.rb in arel-extensions-1.0.0 vs lib/arel/extensions.rb in arel-extensions-1.1.0

- old
+ new

@@ -1,16 +1,27 @@ -require File.expand_path('../array_predications', __FILE__) require File.expand_path('../nodes/overlaps', __FILE__) require File.expand_path('../nodes/contains', __FILE__) +require File.expand_path('../array_predications', __FILE__) Arel::Attributes::Attribute.include(Arel::ArrayPredications) require File.expand_path('../attributes/key', __FILE__) +require File.expand_path('../attributes/cast', __FILE__) require File.expand_path('../nodes/has_any_key', __FILE__) require File.expand_path('../nodes/has_key', __FILE__) require File.expand_path('../nodes/has_keys', __FILE__) require File.expand_path('../json_predications', __FILE__) Arel::Attributes::Attribute.include(Arel::JSONPredications) +require File.expand_path('../nodes/ts_vector', __FILE__) +require File.expand_path('../nodes/ts_query', __FILE__) +require File.expand_path('../nodes/ts_match', __FILE__) +require File.expand_path('../ts_predications', __FILE__) +Arel::Attributes::Attribute.include(Arel::TSPredications) + if defined?(Arel::Visitors::PostgreSQL) require File.expand_path('../visitors/postgresql_extensions', __FILE__) +end + +if defined?(Arel::Visitors::Sunstone) + require File.expand_path('../visitors/sunstone_extensions', __FILE__) end \ No newline at end of file