Sha256: ee4aff365be03c67cfeb32dabfe1d136078b80968396244ca21c905a14959e62
Contents?: true
Size: 482 Bytes
Versions: 5
Compression:
Stored size: 482 Bytes
Contents
require 'dm-sqlserver-adapter' require 'dm-core/spec/setup' module DataMapper module Spec module Adapters class SqlserverAdapter < Adapter def connection_uri if instance_name.size > 0 "#{super};instance=#{instance_name}" else super end end def instance_name ENV.fetch('DM_DB_SQLSERVER_INSTANCE', 'SQLEXPRESS') end end use SqlserverAdapter end end end
Version data entries
5 entries across 5 versions & 1 rubygems