Sha256: 0d45c06dd4de9b8b0850e22c283a6135a52e452a41bafba2b6b19f79199dfacb

Contents?: true

Size: 793 Bytes

Versions: 9

Compression:

Stored size: 793 Bytes

Contents

require 'active_record'

module SqlEnum
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  class Configuration
    attr_accessor :default_prefix, :default_suffix

    def initialize
      @default_prefix = false
      @default_suffix = false
    end
  end
end

require_relative 'active_record/enum/enum_type'
require_relative 'active_record/type/enum'
require_relative 'active_record/enum_override'
require_relative 'active_record/fixtures_override'
require_relative 'active_record/connection_adapters/mysql2'
require_relative 'active_record/connection_adapters/abstract_mysql'
require_relative 'active_record/connection_adapters/mysql/column_methods'
require_relative "sql_enum/version"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sql_enum-0.2.2 lib/sql_enum.rb
sql_enum-0.2.1 lib/sql_enum.rb
sql_enum-0.1.18 lib/sql_enum.rb
sql_enum-0.1.17 lib/sql_enum.rb
sql_enum-0.1.16 lib/sql_enum.rb
sql_enum-0.1.15 lib/sql_enum.rb
sql_enum-0.1.14 lib/sql_enum.rb
sql_enum-0.1.13 lib/sql_enum.rb
sql_enum-0.1.12 lib/sql_enum.rb