Sha256: 5919f244d5c48439505bd2c854c62fcdd0622cb2e9e8ef9119b544b26a1a1efa

Contents?: true

Size: 754 Bytes

Versions: 6

Compression:

Stored size: 754 Bytes

Contents

# Simple method to reduce the boilerplate
def jruby?
  defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
end

require 'arjdbc' if jruby?
puts "Using activerecord version #{ActiveRecord::VERSION::STRING}"
puts "Specify version with AR_VERSION={version} or RUBYLIB={path}"
require 'models/auto_id'
require 'models/entry'
require 'models/data_types'
require 'models/add_not_null_column_to_table'
require 'models/validates_uniqueness_of_string'
require 'models/string_id'
require 'models/thing'
require 'simple'
require 'has_many_through'
require 'helper'
require 'row_locking'
require 'test/unit'

# Comment/uncomment to enable logging to be loaded for any of the database adapters
if $DEBUG || ENV['DEBUG']
  require 'db/logger'
  require 'ruby-debug'
end


Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tgbyte-activerecord-jdbc-adapter-1.2.2.5 test/jdbc_common.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.4 test/jdbc_common.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.3 test/jdbc_common.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.2 test/jdbc_common.rb
activerecord-jdbc-adapter-1.2.2.1 test/jdbc_common.rb
activerecord-jdbc-adapter-1.2.2 test/jdbc_common.rb