Sha256: 3f8f1a7d4d5cdcfa948ffafd000b5a986992f55aad3a305e9efb60e6e6830c25

Contents?: true

Size: 537 Bytes

Versions: 11

Compression:

Stored size: 537 Bytes

Contents

if defined?(JRUBY_VERSION)
  begin
    require 'active_record/version'
    require 'active_record'
  rescue LoadError => e
    warn "activerecord-jdbc-adapter requires the activerecord gem at runtime"
    raise e
  end
  require 'arjdbc/jdbc'
  begin
    require 'arjdbc/railtie'
  rescue LoadError => e
    warn "activerecord-jdbc-adapter failed to load railtie: #{e.inspect}"
  end if defined?(Rails) && ActiveRecord::VERSION::MAJOR >= 3
else
  warn "activerecord-jdbc-adapter is for use with JRuby only"
end

require 'arjdbc/version'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
activerecord-jdbc-adapter-1.3.13 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.12 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.11 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.10 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.9 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.8 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.7 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.6 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.5 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.4 lib/arjdbc.rb
activerecord-jdbc-adapter-1.3.3 lib/arjdbc.rb