Sha256: a1c18177875e02dcedcc50a6e5e35bf7ed457963218db5bdfe90165203468b51

Contents?: true

Size: 486 Bytes

Versions: 6

Compression:

Stored size: 486 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'cgi'
require 'active_record'
require 'active_support'
require 'active_support/concern'
require 'active_support/core_ext/object/to_query'

module ScopedFrom

  def self.version
    @@version ||= File.read(File.expand_path("#{__dir__}/../VERSION")).strip.freeze
  end

end

lib_path = "#{__dir__}/scoped_from"

require "#{lib_path}/active_record"
require "#{lib_path}/query"

ActiveRecord::Base.send(:include, ScopedFrom::ActiveRecord)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scoped_from-1.1.1 lib/scoped_from.rb
scoped_from-1.1.0 lib/scoped_from.rb
scoped_from-1.0.2 lib/scoped_from.rb
scoped_from-1.0.1 lib/scoped_from.rb
scoped_from-1.0.0 lib/scoped_from.rb
scoped_from-0.9.0 lib/scoped_from.rb