Sha256: 4eb18e87a22b6d9b2aebddcd5be0e2792e42b275c2364a8f56f299b0c77e7583

Contents?: true

Size: 767 Bytes

Versions: 13

Compression:

Stored size: 767 Bytes

Contents

module JdbcSpec
  module ActiveRecordExtensions
    def self.add_method_to_remove_from_ar_base(meth)
      @methods ||= []
      @methods << meth
    end

    def self.extended(klass)
      (@methods || []).each {|m| (class << klass; self; end).instance_eval { remove_method(m) rescue nil } }
    end
  end
end

require 'jdbc_adapter/jdbc_mimer'
require 'jdbc_adapter/jdbc_hsqldb'
require 'jdbc_adapter/jdbc_oracle'
require 'jdbc_adapter/jdbc_postgre'
require 'jdbc_adapter/jdbc_mysql'
require 'jdbc_adapter/jdbc_derby'
require 'jdbc_adapter/jdbc_firebird'
require 'jdbc_adapter/jdbc_db2'
require 'jdbc_adapter/jdbc_mssql'
require 'jdbc_adapter/jdbc_cachedb'
require 'jdbc_adapter/jdbc_sqlite3'
require 'jdbc_adapter/jdbc_sybase'
require 'jdbc_adapter/jdbc_informix'

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
kb-activerecord-jdbc-adapter-0.9.7.1-java lib/active_record/connection_adapters/jdbc_adapter_spec.rb
activerecord-jdbc-adapter-0.9.7-java lib/active_record/connection_adapters/jdbc_adapter_spec.rb
activerecord-jdbc-adapter-0.9.6-java lib/active_record/connection_adapters/jdbc_adapter_spec.rb
activerecord-jdbc-adapter-0.9.5-java lib/active_record/connection_adapters/jdbc_adapter_spec.rb
activerecord-jdbc-adapter-0.9.4-java lib/active_record/connection_adapters/jdbc_adapter_spec.rb
activerecord-jdbc-adapter-0.9.3-java lib/active_record/connection_adapters/jdbc_adapter_spec.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.6 lib/active_record/connection_adapters/jdbc_adapter_spec.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.5 lib/active_record/connection_adapters/jdbc_adapter_spec.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.4 lib/active_record/connection_adapters/jdbc_adapter_spec.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.3 lib/active_record/connection_adapters/jdbc_adapter_spec.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.2 lib/active_record/connection_adapters/jdbc_adapter_spec.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.1 lib/active_record/connection_adapters/jdbc_adapter_spec.rb
activerecord-jdbc-adapter-0.9.2 lib/active_record/connection_adapters/jdbc_adapter_spec.rb