Sha256: ade06a5b802514e5a85f002de8c4fb923706e78910b6006a0dd29f656186f4ec

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

require 'by_star/kernel'
require 'by_star/normalization'
require 'by_star/between'
require 'by_star/directional'
require 'by_star/base'

if defined?(ActiveRecord)
  require 'by_star/orm/active_record/by_star'
  ActiveRecord::Base.send :include, ByStar::ActiveRecord
  ActiveRecord::Relation.send :extend, ByStar::ActiveRecord::ClassMethods
end

if defined?(Mongoid)
  require 'by_star/orm/mongoid/by_star'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
by_star-2.2.0 lib/by_star.rb
by_star-2.2.0.rc1 lib/by_star.rb