Sha256: 6d7f5477e231db8017d536878df2129d07f3cebcdf6007eea4e9e3cc4e498337

Contents?: true

Size: 694 Bytes

Versions: 2

Compression:

Stored size: 694 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 "cowtech-extensions"
require "digest/sha2"
Cowtech::Extensions.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

2 entries across 2 versions & 1 rubygems

Version Path
elephas-1.0.0 lib/elephas.rb
elephas-0.1.0 lib/elephas.rb