Sha256: 5b9d1acb4fe437aad16b981d5b13a77c497088bfed45d67391691645d06a6d5b
Contents?: true
Size: 908 Bytes
Versions: 2
Compression:
Stored size: 908 Bytes
Contents
require 'activerecord-time/version' require 'active_record/version' require 'time_of_day' require 'time_of_day/core_ext' # TODO(uwe): Simplify when we stop supporting ActiveRecord 3.2 if ActiveRecord::VERSION::MAJOR < 3 || (ActiveRecord::VERSION::MAJOR == 3 && ActiveRecord::VERSION::MINOR < 2) raise 'activerecord-time only supports ActiveRecord 3.2.21 or later' # TODO(uwe): Simplify when we stop supporting ActiveRecord 4.0 and 4.1 elsif ActiveRecord::VERSION::MAJOR == 3 || (ActiveRecord::VERSION::MAJOR == 4 && ActiveRecord::VERSION::MINOR <= 1) require 'activerecord-time/extension_until_4_1' # TODO(uwe): Simplify when we stop supporting ActiveRecord 4.2 elsif ActiveRecord::VERSION::MAJOR == 4 && ActiveRecord::VERSION::MINOR >= 2 require 'activerecord-time/extension_4_2' elsif ActiveRecord.gem_version >= Gem::Version.new('5.0.0') require 'activerecord-time/extension_5_0' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activerecord-time-0.10.1 | lib/activerecord-time.rb |
activerecord-time-0.10.0 | lib/activerecord-time.rb |