Sha256: 81b02f56306fe7d2aea0b87757b26fcf59dd01ee6d9ed64cbf3ed74daea78ed5

Contents?: true

Size: 808 Bytes

Versions: 2

Compression:

Stored size: 808 Bytes

Contents

# frozen_string_literal: true

require "active_support/all"
require "active_record"
require "active_record/connection_adapters/postgresql_adapter"
require "active_record/connection_adapters/postgresql/schema_dumper"
require "active_record/migration/command_recorder"
require "active_record/schema_dumper"
require "ar/sequence/version"

module AR
  module Sequence
    require "ar/sequence/command_recorder"
    require "ar/sequence/adapter"
    require "ar/sequence/schema_dumper"
    require "ar/sequence/model_methods"
  end
end

ActiveRecord::Migration::CommandRecorder.include AR::Sequence::CommandRecorder
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.include AR::Sequence::Adapter
ActiveRecord::SchemaDumper.prepend AR::Sequence::SchemaDumper
ActiveRecord::Base.extend AR::Sequence::ModelMethods

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ar-sequence-0.1.2 lib/ar/sequence.rb
ar-sequence-0.1.1 lib/ar/sequence.rb