Sha256: d22225de4f514c986d9a1f4a2fae183ea578aace81161ca38afedecb97722f79
Contents?: true
Size: 877 Bytes
Versions: 1
Compression:
Stored size: 877 Bytes
Contents
require 'rubygems' if ENV['COVERAGE'] require File.join(File.dirname(File.expand_path(__FILE__)), "../sequel_coverage") SimpleCov.sequel_coverage(:filter=>%r{lib/sequel/(\w+\.rb|(dataset|database|model|connection_pool)/\w+\.rb|adapters/mock\.rb)\z}) end unless Object.const_defined?('Sequel') $:.unshift(File.join(File.dirname(File.expand_path(__FILE__)), "../../lib/")) SEQUEL_NO_CORE_EXTENSIONS = true require 'sequel/core' end (defined?(RSpec) ? RSpec::Core::ExampleGroup : Spec::Example::ExampleGroup).class_eval do def meta_def(obj, name, &block) (class << obj; self end).send(:define_method, name, &block) end end if ENV['SEQUEL_COLUMNS_INTROSPECTION'] Sequel.extension :columns_introspection Sequel::Dataset.introspect_all_columns end Sequel.quote_identifiers = false Sequel.identifier_input_method = nil Sequel.identifier_output_method = nil
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sequel-3.47.0 | spec/core/spec_helper.rb |