Sha256: 78ae0d1496d9fde227a38d7df8b3ffda78dab478838d8b8594e73de1342f23c2

Contents?: true

Size: 829 Bytes

Versions: 12

Compression:

Stored size: 829 Bytes

Contents

require_relative 'oid/box'
require_relative 'oid/circle'
require_relative 'oid/enum'
require_relative 'oid/enum_set'
require_relative 'oid/interval'
require_relative 'oid/line'
require_relative 'oid/range'
require_relative 'oid/segment'

module Torque
  module PostgreSQL
    module Adapter
      module OID
      end

      ActiveRecord::Type.register(:box,      OID::Box,      adapter: :postgresql)
      ActiveRecord::Type.register(:circle,   OID::Circle,   adapter: :postgresql)
      ActiveRecord::Type.register(:enum,     OID::Enum,     adapter: :postgresql)
      ActiveRecord::Type.register(:enum_set, OID::EnumSet,  adapter: :postgresql)
      ActiveRecord::Type.register(:line,     OID::Line,     adapter: :postgresql)
      ActiveRecord::Type.register(:segment,  OID::Segment,  adapter: :postgresql)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
torque-postgresql-3.4.1 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.4.0 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.3.3 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.3.2 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.3.1 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.3.0 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.2.2 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.2.1 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.2.0 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.1.0 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.0.1 lib/torque/postgresql/adapter/oid.rb
torque-postgresql-3.0.0 lib/torque/postgresql/adapter/oid.rb