Sha256: 76d1f210951544b5e780d1f6a3d023b3dcdc0d65ffe1a95cbf7a07991946a036

Contents?: true

Size: 400 Bytes

Versions: 16

Compression:

Stored size: 400 Bytes

Contents

require "sequel"

module Sequel
  module Plugins
    module Bitemporal
      def self.jruby?
        (defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby') || defined?(JRUBY_VERSION)
      end

      def self.jdbc?(db)
        db.adapter_scheme==:jdbc
      end

      def self.pg_jdbc?(db)
        db.database_type==:postgres && jdbc?(db)
      end
    end
  end
end

require "sequel/plugins/bitemporal"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sequel_bitemporal-0.8.9 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.8 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.7 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.6 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.5 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.4 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.3 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.2 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.1 lib/sequel_bitemporal.rb
sequel_bitemporal-0.8.0 lib/sequel_bitemporal.rb
sequel_bitemporal-0.7.8 lib/sequel_bitemporal.rb
sequel_bitemporal-0.7.6 lib/sequel_bitemporal.rb
sequel_bitemporal-0.7.4 lib/sequel_bitemporal.rb
sequel_bitemporal-0.7.3 lib/sequel_bitemporal.rb
sequel_bitemporal-0.7.1 lib/sequel_bitemporal.rb
sequel_bitemporal-0.7.0 lib/sequel_bitemporal.rb