Sha256: bde144db16d411c9d36a858af18f87a63af6798cf86ad53f153412e1d3fd0cec

Contents?: true

Size: 490 Bytes

Versions: 5

Compression:

Stored size: 490 Bytes

Contents

require "active_record_openid_store/version"

module ActiveRecordOpenidStore
  if defined?(Rails)
    require 'active_record_openid_store/engine' 
  else
    models_dir = Pathname.new(File.expand_path(File.dirname(__FILE__))).join("../app/models").to_s
    lib_dir = File.expand_path(File.dirname(__FILE__))
    $:.unshift(models_dir) unless $:.include?(models_dir)
    $:.unshift(lib_dir) unless $:.include?(lib_dir)
    require 'active_record_openid_store/active_record_store'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_record_openid_store-0.1.5 lib/active_record_openid_store.rb
active_record_openid_store-0.1.4 lib/active_record_openid_store.rb
active_record_openid_store-0.1.3 lib/active_record_openid_store.rb
active_record_openid_store-0.1.2 lib/active_record_openid_store.rb
active_record_openid_store-0.1.1 lib/active_record_openid_store.rb