Sha256: 8550843b30ce8a1b1c7361958751469474b2f06d5bff63bde3a774cac0fb70ba

Contents?: true

Size: 730 Bytes

Versions: 12

Compression:

Stored size: 730 Bytes

Contents

# frozen_string_literal: true

require 'table_saw/configuration'
require 'table_saw/connection'
require 'table_saw/dependency_graph'
require 'table_saw/information_schema'
require 'table_saw/manifest'
require 'table_saw/queries'
require 'table_saw/formats'

module TableSaw
  def self.configuration
    @configuration ||= TableSaw::Configuration.new
  end

  def self.configure(args = {})
    if block_given?
      yield configuration
    else
      args.each do |key, value|
        configuration.public_send("#{key}=", value)
      end
    end
  end

  def self.information_schema
    @information_schema ||= TableSaw::InformationSchema.new
  end

  def self.schema_cache
    TableSaw::Connection.adapter.schema_cache
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
table_saw-2.10.0 lib/table_saw.rb
table_saw-2.9.0 lib/table_saw.rb
table_saw-2.8.1 lib/table_saw.rb
table_saw-2.8.0 lib/table_saw.rb
table_saw-2.7.0 lib/table_saw.rb
table_saw-2.6.0 lib/table_saw.rb
table_saw-2.5.0 lib/table_saw.rb
table_saw-2.4.3 lib/table_saw.rb
table_saw-2.4.2 lib/table_saw.rb
table_saw-2.4.1 lib/table_saw.rb
table_saw-2.4.0 lib/table_saw.rb
table_saw-2.3.0 lib/table_saw.rb