elephas 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/.travis.yml +8 -0
- data/.yardopts +1 -0
- data/Gemfile +9 -0
- data/README.md +28 -0
- data/Rakefile +18 -0
- data/doc/Elephas/Cache.html +815 -0
- data/doc/Elephas/Entry.html +1085 -0
- data/doc/Elephas/Exceptions.html +115 -0
- data/doc/Elephas/Providers/Base.html +701 -0
- data/doc/Elephas/Providers/Hash.html +775 -0
- data/doc/Elephas/Providers/RubyOnRails.html +609 -0
- data/doc/Elephas/Providers.html +129 -0
- data/doc/Elephas/Version.html +189 -0
- data/doc/Elephas.html +130 -0
- data/doc/_index.html +207 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +328 -0
- data/doc/file.README.html +103 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +103 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +300 -0
- data/doc/top-level-namespace.html +112 -0
- data/elephas.gemspec +34 -0
- data/lib/elephas/cache.rb +89 -0
- data/lib/elephas/entry.rb +86 -0
- data/lib/elephas/provider.rb +57 -0
- data/lib/elephas/providers/hash.rb +65 -0
- data/lib/elephas/providers/ruby_on_rails.rb +57 -0
- data/lib/elephas/version.rb +25 -0
- data/lib/elephas.rb +20 -0
- data/spec/coverage_helper.rb +19 -0
- data/spec/elephas/cache_spec.rb +41 -0
- data/spec/elephas/entry_spec.rb +11 -0
- data/spec/elephas/provider_spec.rb +46 -0
- data/spec/elephas/providers/hash_spec.rb +80 -0
- data/spec/elephas/providers/ruby_on_rails_spec.rb +86 -0
- data/spec/spec_helper.rb +16 -0
- metadata +231 -0
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
-m markdown
|
data/Gemfile
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
#
|
3
|
+
# This file is part of the elephas gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
|
4
|
+
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
|
+
#
|
6
|
+
|
7
|
+
source "http://rubygems.org"
|
8
|
+
|
9
|
+
gemspec
|
data/README.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# elephas
|
2
|
+
|
3
|
+
[![Build Status](https://secure.travis-ci.org/ShogunPanda/elephas.png?branch=master)](http://travis-ci.org/ShogunPanda/elephas)
|
4
|
+
[![Dependency Status](https://gemnasium.com/ShogunPanda/elephas.png?travis)](https://gemnasium.com/ShogunPanda/elephas)
|
5
|
+
|
6
|
+
A storage agnostic caching framework.
|
7
|
+
http://github.com/ShogunPanda/elephas
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
*TODO*
|
12
|
+
|
13
|
+
See documentation for more informations.
|
14
|
+
|
15
|
+
## Contributing to elephas
|
16
|
+
|
17
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
18
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
19
|
+
* Fork the project
|
20
|
+
* Start a feature/bugfix branch
|
21
|
+
* Commit and push until you are happy with your contribution
|
22
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
23
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
24
|
+
|
25
|
+
## Copyright
|
26
|
+
|
27
|
+
Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
|
28
|
+
Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
data/Rakefile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
#
|
3
|
+
# This file is part of the elephas gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
|
4
|
+
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
|
+
#
|
6
|
+
|
7
|
+
require "bundler/gem_tasks"
|
8
|
+
require "rspec/core/rake_task"
|
9
|
+
|
10
|
+
RSpec::Core::RakeTask.new("spec")
|
11
|
+
|
12
|
+
namespace :spec do
|
13
|
+
desc "Run all specs with coverage"
|
14
|
+
task :coverage do
|
15
|
+
ENV["ELEPHAS_COVERAGE"] = "TRUE"
|
16
|
+
Rake::Task["spec"].invoke
|
17
|
+
end
|
18
|
+
end
|