lib/elephas.rb in elephas-2.2.0 vs lib/elephas.rb in elephas-3.0.0

- old
+ new

@@ -7,12 +7,10 @@ require "lazier" require "digest/sha2" Lazier.load!("boolean", "math", "object") require "elephas/version" if !defined?(Elephas::Version) +require "elephas/backends/base" +require "elephas/backends/hash" +require "elephas/backends/ruby_on_rails" 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 +require "elephas/cache" \ No newline at end of file