Sha256: 2e25a0fa277212d5df1069dc285ae28a0264756a0299429cc84de394fe15f7cb

Contents?: true

Size: 484 Bytes

Versions: 8

Compression:

Stored size: 484 Bytes

Contents

require "active_record"

require "birdspotting/version"
require "birdspotting/errors"
require "birdspotting/configuration"
require "birdspotting/schema_statements"
require "birdspotting/reorder_columns"

module Birdspotting
  def self.configuration
    @configuration || configure
  end

  def self.configure(&block)
    @configuration = Configuration.default.tap do |config|
      block&.call(config)
    end
  end
end

ActiveRecord::Migration.prepend Birdspotting::SchemaStatements

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
birdspotting-0.1.8 lib/birdspotting.rb
birdspotting-0.1.6 lib/birdspotting.rb
birdspotting-0.1.5 lib/birdspotting.rb
birdspotting-0.1.4 lib/birdspotting.rb
birdspotting-0.1.3 lib/birdspotting.rb
birdspotting-0.1.2 lib/birdspotting.rb
birdspotting-0.1.1 lib/birdspotting.rb
birdspotting-0.1.0 lib/birdspotting.rb