Sha256: 4f069ebf79913d4315bfc14b6db941b05c299c571a2abc742d5893b663a8a140

Contents?: true

Size: 337 Bytes

Versions: 66

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters
    module CipherStashPG
      module OID # :nodoc:
        class Decimal < Type::Decimal # :nodoc:
          def infinity(options = {})
            BigDecimal("Infinity") * (options[:negative] ? -1 : 1)
          end
        end
      end
    end
  end
end

Version data entries

66 entries across 32 versions & 1 rubygems

Version Path
activerecord-cipherstash-pg-adapter-0.7.6 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.6 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.5 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.5 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.4 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.4 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.3 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.3 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.2 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.2 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.1 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.1 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.0 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.7.0 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.6.1 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.6.1 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.6.0 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.6.0 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.5.0 lib/active_record/connection_adapters/7.0/cipherstash_pg/oid/decimal.rb
activerecord-cipherstash-pg-adapter-0.5.0 lib/active_record/connection_adapters/6.1/cipherstash_pg/oid/decimal.rb