Sha256: a133b30f7e5c95a1fb1eb9ddbd79cbd430295f1df3ec3c95f0755d5c6a98ab12

Contents?: true

Size: 1.14 KB

Versions: 8

Compression:

Stored size: 1.14 KB

Contents

require 'rubygems'
require "#{File.dirname(File.dirname(__FILE__))}/sequel_warning.rb"

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/"))
  require 'sequel/core'
end
Sequel::Deprecation.backtrace_filter = lambda{|line, lineno| lineno < 4 || line =~ /_spec\.rb/}

gem 'minitest'
require 'minitest/autorun'
require 'minitest/hooks/default'
require 'minitest/shared_description'

class Minitest::HooksSpec
  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::Database.extension :columns_introspection
  Sequel.require 'adapters/mock'
  Sequel::Mock::Dataset.send(:include, Sequel::ColumnsIntrospection)
end

Sequel.quote_identifiers = false
Sequel.identifier_input_method = nil
Sequel.identifier_output_method = nil

Version data entries

8 entries across 7 versions & 2 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/sequel-4.44.0/spec/core/spec_helper.rb
tdiary-5.0.5 vendor/bundle/gems/sequel-4.44.0/spec/core/spec_helper.rb
tdiary-5.0.4 vendor/bundle/gems/sequel-4.44.0/spec/core/spec_helper.rb
sequel-4.44.0 spec/core/spec_helper.rb
sequel-4.43.0 spec/core/spec_helper.rb
sequel-4.42.1 spec/core/spec_helper.rb
sequel-4.42.0 spec/core/spec_helper.rb
sequel-4.41.0 spec/core/spec_helper.rb