Sha256: d3ef335d84574694655fd47ef42ee603c48f49a8bc11aec1eea4606db6373120

Contents?: true

Size: 543 Bytes

Versions: 39

Compression:

Stored size: 543 Bytes

Contents

# encoding: utf-8

require 'active_type/version'

require 'active_record'

if ActiveRecord::VERSION::STRING == '4.2.0'
  raise(<<-MESSAGE.strip_heredoc)
    ActiveType is not compatible with ActiveRecord 4.2.0. Please upgrade to 4.2.1
    For details see https://github.com/makandra/active_type/issues/31
  MESSAGE
end

module ActiveType
  extend ActiveSupport::Autoload

  autoload :Object
  autoload :Record
  autoload :Util

  # Make Util methods available under the `ActiveType` namespace
  # like `ActiveType.cast(...)`
  extend Util
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
active_type-2.4.1 lib/active_type.rb
active_type-2.4.0 lib/active_type.rb
active_type-2.3.4 lib/active_type.rb
active_type-2.3.3 lib/active_type.rb
active_type-2.3.2 lib/active_type.rb
active_type-2.3.1 lib/active_type.rb
active_type-2.3.0 lib/active_type.rb
active_type-2.2.0 lib/active_type.rb
active_type-2.1.2 lib/active_type.rb
active_type-2.1.1 lib/active_type.rb
active_type-2.1.0 lib/active_type.rb
active_type-2.0 lib/active_type.rb
active_type-1.10.1 lib/active_type.rb
active_type-1.10.0 lib/active_type.rb
active_type-1.9.1 lib/active_type.rb
active_type-1.9.0 lib/active_type.rb
active_type-1.8.0 lib/active_type.rb
active_type-1.7.0 lib/active_type.rb
active_type-1.6.0 lib/active_type.rb
active_type-1.5.0 lib/active_type.rb