Sha256: 41997058e36bcab178bac7b13cdb0b3cc935b9618828b9a994d682975d9daa37

Contents?: true

Size: 749 Bytes

Versions: 2

Compression:

Stored size: 749 Bytes

Contents

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

require 'rubygems'
# Specify version of activerecord with ENV['AR_VERSION'] if desired
gem 'activerecord', ENV['AR_VERSION'] if ENV['AR_VERSION']
require 'active_record/version'
require 'jdbc_adapter' 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 'simple'
require 'has_many_through'
require 'test/unit'

# Comment/uncomment to enable logging to be loaded for any of the database adapters
# require 'db/logger'


Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
saturnflyer-activerecord-jdbc-adapter-0.9.3 test/jdbc_common.rb
activerecord-jdbc-adapter-0.9.1 test/jdbc_common.rb