Sha256: 025300ea7cbf81d850f8a6bf8ac2c0ada6080134172b5d8f22100e79a766e8e2
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
module Taps module AdapterHacks extend self LIST = { :all => ['non_rails_schema_dump'], :mysql => ['invalid_text_limit', 'mysql_invalid_primary_key'], :postgresql => ['invalid_text_limit', 'invalid_binary_limit'] } def load(adapter) LIST[:all].each do |r| require "taps/adapter_hacks/#{r}" end (LIST[adapter.to_sym] || []).each do |r| require "taps/adapter_hacks/#{r}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
matthewtodd-taps-0.2.19 | lib/taps/adapter_hacks.rb |