Sha256: f08ebe9a8c1f170007fb5a8386b97b198bc6f65c39e9fb9767f52ef860eb13f7

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

# encoding: utf-8
#
# This file is part of the elephas gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
#

$KCODE='UTF8' if RUBY_VERSION < '1.9'

require "lazier"
require "digest/sha2"
Lazier.load!("boolean", "math", "object")

require "elephas/version" if !defined?(Elephas::Version)
require "elephas/entry"
require "elephas/provider"
require "elephas/providers/hash"
require "elephas/providers/ruby_on_rails"
require "elephas/cache"

Elephas::Cache.provider = defined?(Rails) ? Elephas::Providers::RubyOnRails.new : Elephas::Providers::Hash.new

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elephas-1.1.3 lib/elephas.rb
elephas-1.1.2 lib/elephas.rb
elephas-1.1.1 lib/elephas.rb
elephas-1.1.0 lib/elephas.rb