elephas 2.0.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis-gemfile +14 -0
- data/.travis.yml +4 -2
- data/Gemfile +11 -0
- data/doc/Elephas/Cache.html +4 -4
- data/doc/Elephas/Entry.html +3 -3
- data/doc/Elephas/Providers/Base.html +3 -3
- data/doc/Elephas/Providers/Hash.html +3 -3
- data/doc/Elephas/Providers/RubyOnRails.html +3 -3
- data/doc/Elephas/Providers.html +3 -3
- data/doc/Elephas/Version.html +5 -5
- data/doc/Elephas.html +3 -3
- data/doc/_index.html +4 -4
- data/doc/file.README.html +5 -5
- data/doc/frames.html +1 -1
- data/doc/index.html +5 -5
- data/doc/top-level-namespace.html +3 -3
- data/elephas.gemspec +2 -10
- data/lib/elephas/version.rb +2 -2
- metadata +10 -118
data/.travis-gemfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
#
|
|
3
|
+
# This file is part of the elephas gem. Copyright (C) 2013 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
|
+
# Required gems
|
|
10
|
+
gem "lazier", "~> 2.6.3"
|
|
11
|
+
|
|
12
|
+
# Testing gems
|
|
13
|
+
gem "rspec", "~> 2.12.0"
|
|
14
|
+
gem "rake", "~> 10.0.3"
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
|
@@ -7,3 +7,14 @@
|
|
|
7
7
|
source "http://rubygems.org"
|
|
8
8
|
|
|
9
9
|
gemspec
|
|
10
|
+
|
|
11
|
+
# Testing
|
|
12
|
+
gem "rspec", "~> 2.12.0"
|
|
13
|
+
gem "rake", "~> 10.0.3"
|
|
14
|
+
|
|
15
|
+
# Documentation
|
|
16
|
+
gem "simplecov", ">= 0.7.1"
|
|
17
|
+
gem "pry", ">= 0"
|
|
18
|
+
gem "yard", ">= 0.8.4"
|
|
19
|
+
gem "redcarpet", ">= 2.2.2"
|
|
20
|
+
gem "github-markup", ">= 0.7.5"
|
data/doc/Elephas/Cache.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Elephas::Cache
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -800,7 +800,7 @@ Valid options are:</p>
|
|
|
800
800
|
|
|
801
801
|
<p>If it doesn't find it, it uses the provided block (which receives options as argument) to compute its value and then store it into the cache for later usages.</p>
|
|
802
802
|
|
|
803
|
-
<pre class="code ruby"><code><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>KEY</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_options'>options</span><span class='op'>|</span>
|
|
803
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>KEY</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_options'>options</span><span class='op'>|</span>
|
|
804
804
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>VALUE</span><span class='tstring_end'>"</span></span>
|
|
805
805
|
<span class='kw'>end</span>
|
|
806
806
|
|
|
@@ -1057,9 +1057,9 @@ Valid options are:</p>
|
|
|
1057
1057
|
</div>
|
|
1058
1058
|
|
|
1059
1059
|
<div id="footer">
|
|
1060
|
-
Generated on
|
|
1060
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
1061
1061
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1062
|
-
0.8.
|
|
1062
|
+
0.8.4.1 (ruby-1.9.3).
|
|
1063
1063
|
</div>
|
|
1064
1064
|
|
|
1065
1065
|
</body>
|
data/doc/Elephas/Entry.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Elephas::Entry
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -2032,9 +2032,9 @@
|
|
|
2032
2032
|
</div>
|
|
2033
2033
|
|
|
2034
2034
|
<div id="footer">
|
|
2035
|
-
Generated on
|
|
2035
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
2036
2036
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2037
|
-
0.8.
|
|
2037
|
+
0.8.4.1 (ruby-1.9.3).
|
|
2038
2038
|
</div>
|
|
2039
2039
|
|
|
2040
2040
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Elephas::Providers::Base
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -652,9 +652,9 @@
|
|
|
652
652
|
</div>
|
|
653
653
|
|
|
654
654
|
<div id="footer">
|
|
655
|
-
Generated on
|
|
655
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
656
656
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
657
|
-
0.8.
|
|
657
|
+
0.8.4.1 (ruby-1.9.3).
|
|
658
658
|
</div>
|
|
659
659
|
|
|
660
660
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Elephas::Providers::Hash
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -887,9 +887,9 @@
|
|
|
887
887
|
</div>
|
|
888
888
|
|
|
889
889
|
<div id="footer">
|
|
890
|
-
Generated on
|
|
890
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
891
891
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
892
|
-
0.8.
|
|
892
|
+
0.8.4.1 (ruby-1.9.3).
|
|
893
893
|
</div>
|
|
894
894
|
|
|
895
895
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Elephas::Providers::RubyOnRails
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -604,9 +604,9 @@
|
|
|
604
604
|
</div>
|
|
605
605
|
|
|
606
606
|
<div id="footer">
|
|
607
|
-
Generated on
|
|
607
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
608
608
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
609
|
-
0.8.
|
|
609
|
+
0.8.4.1 (ruby-1.9.3).
|
|
610
610
|
</div>
|
|
611
611
|
|
|
612
612
|
</body>
|
data/doc/Elephas/Providers.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Elephas::Providers
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
122
|
<div id="footer">
|
|
123
|
-
Generated on
|
|
123
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
124
124
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
125
|
-
0.8.
|
|
125
|
+
0.8.4.1 (ruby-1.9.3).
|
|
126
126
|
</div>
|
|
127
127
|
|
|
128
128
|
</body>
|
data/doc/Elephas/Version.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Elephas::Version
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
|
|
135
135
|
</div>
|
|
136
136
|
</dt>
|
|
137
|
-
<dd><pre class="code"><span class='int'>
|
|
137
|
+
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
|
138
138
|
|
|
139
139
|
<dt id="PATCH-constant" class="">PATCH =
|
|
140
140
|
<div class="docstring">
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
|
|
150
150
|
</div>
|
|
151
151
|
</dt>
|
|
152
|
-
<dd><pre class="code"><span class='int'>
|
|
152
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
|
153
153
|
|
|
154
154
|
<dt id="STRING-constant" class="">STRING =
|
|
155
155
|
<div class="docstring">
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
|
|
182
182
|
<div id="footer">
|
|
183
|
-
Generated on
|
|
183
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
185
|
-
0.8.
|
|
185
|
+
0.8.4.1 (ruby-1.9.3).
|
|
186
186
|
</div>
|
|
187
187
|
|
|
188
188
|
</body>
|
data/doc/Elephas.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Elephas
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -121,9 +121,9 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
|
121
121
|
</div>
|
|
122
122
|
|
|
123
123
|
<div id="footer">
|
|
124
|
-
Generated on
|
|
124
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
125
125
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
126
|
-
0.8.
|
|
126
|
+
0.8.4.1 (ruby-1.9.3).
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
129
|
</body>
|
data/doc/_index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
6
|
<title>
|
|
7
|
-
Documentation by YARD 0.8.
|
|
7
|
+
Documentation by YARD 0.8.4.1
|
|
8
8
|
|
|
9
9
|
</title>
|
|
10
10
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
<iframe id="search_frame"></iframe>
|
|
58
58
|
|
|
59
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.
|
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.4.1</h1>
|
|
60
60
|
<div id="listing">
|
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
|
62
62
|
|
|
@@ -198,9 +198,9 @@
|
|
|
198
198
|
</div>
|
|
199
199
|
|
|
200
200
|
<div id="footer">
|
|
201
|
-
Generated on
|
|
201
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
202
202
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
203
|
-
0.8.
|
|
203
|
+
0.8.4.1 (ruby-1.9.3).
|
|
204
204
|
</div>
|
|
205
205
|
|
|
206
206
|
</body>
|
data/doc/file.README.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
|
|
80
80
|
<p>At first you have to setup a provider (that is, a storage) for the Elephas. By default it uses an internal hash, and also Rails is supported.</p>
|
|
81
81
|
|
|
82
|
-
<pre class="code ruby"><code><span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_provider'>provider</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Providers</span><span class='op'>::</span><span class='const'>RubyOnRails</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
82
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_provider'>provider</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Providers</span><span class='op'>::</span><span class='const'>RubyOnRails</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
83
83
|
</code></pre>
|
|
84
84
|
|
|
85
85
|
<p>After that, you can query the framework for a value use the <code>use</code> method.</p>
|
|
86
86
|
|
|
87
87
|
<p>You should also pass a block to the method, so that the framework use that for computing the value of the cache entry.</p>
|
|
88
88
|
|
|
89
|
-
<pre class="code ruby"><code><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>KEY</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_options'>options</span><span class='op'>|</span>
|
|
89
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>KEY</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_options'>options</span><span class='op'>|</span>
|
|
90
90
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>VALUE</span><span class='tstring_end'>"</span></span>
|
|
91
91
|
<span class='kw'>end</span>
|
|
92
92
|
<span class='comment'># => "VALUE"
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
</div></div>
|
|
125
125
|
|
|
126
126
|
<div id="footer">
|
|
127
|
-
Generated on
|
|
127
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
129
|
-
0.8.
|
|
129
|
+
0.8.4.1 (ruby-1.9.3).
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
</body>
|
data/doc/frames.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
5
5
|
<head>
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
7
|
-
<title>Documentation by YARD 0.8.
|
|
7
|
+
<title>Documentation by YARD 0.8.4.1</title>
|
|
8
8
|
</head>
|
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
|
|
80
80
|
<p>At first you have to setup a provider (that is, a storage) for the Elephas. By default it uses an internal hash, and also Rails is supported.</p>
|
|
81
81
|
|
|
82
|
-
<pre class="code ruby"><code><span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_provider'>provider</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Providers</span><span class='op'>::</span><span class='const'>RubyOnRails</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
82
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_provider'>provider</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Providers</span><span class='op'>::</span><span class='const'>RubyOnRails</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
83
83
|
</code></pre>
|
|
84
84
|
|
|
85
85
|
<p>After that, you can query the framework for a value use the <code>use</code> method.</p>
|
|
86
86
|
|
|
87
87
|
<p>You should also pass a block to the method, so that the framework use that for computing the value of the cache entry.</p>
|
|
88
88
|
|
|
89
|
-
<pre class="code ruby"><code><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>KEY</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_options'>options</span><span class='op'>|</span>
|
|
89
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Cache</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>KEY</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_options'>options</span><span class='op'>|</span>
|
|
90
90
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>VALUE</span><span class='tstring_end'>"</span></span>
|
|
91
91
|
<span class='kw'>end</span>
|
|
92
92
|
<span class='comment'># => "VALUE"
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
</div></div>
|
|
125
125
|
|
|
126
126
|
<div id="footer">
|
|
127
|
-
Generated on
|
|
127
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
129
|
-
0.8.
|
|
129
|
+
0.8.4.1 (ruby-1.9.3).
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Top Level Namespace
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.4.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
106
|
+
Generated on Thu Feb 7 08:33:46 2013 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
|
-
0.8.
|
|
108
|
+
0.8.4.1 (ruby-1.9.3).
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
</body>
|
data/elephas.gemspec
CHANGED
|
@@ -22,15 +22,7 @@ Gem::Specification.new do |gem|
|
|
|
22
22
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
23
23
|
gem.require_paths = ["lib"]
|
|
24
24
|
|
|
25
|
-
gem.required_ruby_version = ">= 1.9.
|
|
25
|
+
gem.required_ruby_version = ">= 1.9.3"
|
|
26
26
|
|
|
27
|
-
gem.add_dependency("lazier", "~> 2.
|
|
28
|
-
|
|
29
|
-
gem.add_development_dependency("rspec", "~> 2.12.0")
|
|
30
|
-
gem.add_development_dependency("rake", "~> 10.0.3")
|
|
31
|
-
gem.add_development_dependency("simplecov", "~> 0.7.1")
|
|
32
|
-
gem.add_development_dependency("pry", ">= 0")
|
|
33
|
-
gem.add_development_dependency("yard", "~> 0.8.3")
|
|
34
|
-
gem.add_development_dependency("redcarpet", "~> 2.2.2")
|
|
35
|
-
gem.add_development_dependency("github-markup", "~> 0.7.5")
|
|
27
|
+
gem.add_dependency("lazier", "~> 2.6.3")
|
|
36
28
|
end
|
data/lib/elephas/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elephas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: lazier
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 2.
|
|
21
|
+
version: 2.6.3
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -26,119 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ~>
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 2.
|
|
30
|
-
- !ruby/object:Gem::Dependency
|
|
31
|
-
name: rspec
|
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
|
-
requirements:
|
|
35
|
-
- - ~>
|
|
36
|
-
- !ruby/object:Gem::Version
|
|
37
|
-
version: 2.12.0
|
|
38
|
-
type: :development
|
|
39
|
-
prerelease: false
|
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
|
-
requirements:
|
|
43
|
-
- - ~>
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
version: 2.12.0
|
|
46
|
-
- !ruby/object:Gem::Dependency
|
|
47
|
-
name: rake
|
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
|
-
requirements:
|
|
51
|
-
- - ~>
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: 10.0.3
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
|
-
requirements:
|
|
59
|
-
- - ~>
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: 10.0.3
|
|
62
|
-
- !ruby/object:Gem::Dependency
|
|
63
|
-
name: simplecov
|
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
|
65
|
-
none: false
|
|
66
|
-
requirements:
|
|
67
|
-
- - ~>
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
version: 0.7.1
|
|
70
|
-
type: :development
|
|
71
|
-
prerelease: false
|
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
none: false
|
|
74
|
-
requirements:
|
|
75
|
-
- - ~>
|
|
76
|
-
- !ruby/object:Gem::Version
|
|
77
|
-
version: 0.7.1
|
|
78
|
-
- !ruby/object:Gem::Dependency
|
|
79
|
-
name: pry
|
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
|
81
|
-
none: false
|
|
82
|
-
requirements:
|
|
83
|
-
- - ! '>='
|
|
84
|
-
- !ruby/object:Gem::Version
|
|
85
|
-
version: '0'
|
|
86
|
-
type: :development
|
|
87
|
-
prerelease: false
|
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
-
none: false
|
|
90
|
-
requirements:
|
|
91
|
-
- - ! '>='
|
|
92
|
-
- !ruby/object:Gem::Version
|
|
93
|
-
version: '0'
|
|
94
|
-
- !ruby/object:Gem::Dependency
|
|
95
|
-
name: yard
|
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
|
97
|
-
none: false
|
|
98
|
-
requirements:
|
|
99
|
-
- - ~>
|
|
100
|
-
- !ruby/object:Gem::Version
|
|
101
|
-
version: 0.8.3
|
|
102
|
-
type: :development
|
|
103
|
-
prerelease: false
|
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
-
none: false
|
|
106
|
-
requirements:
|
|
107
|
-
- - ~>
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: 0.8.3
|
|
110
|
-
- !ruby/object:Gem::Dependency
|
|
111
|
-
name: redcarpet
|
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
|
113
|
-
none: false
|
|
114
|
-
requirements:
|
|
115
|
-
- - ~>
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: 2.2.2
|
|
118
|
-
type: :development
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
none: false
|
|
122
|
-
requirements:
|
|
123
|
-
- - ~>
|
|
124
|
-
- !ruby/object:Gem::Version
|
|
125
|
-
version: 2.2.2
|
|
126
|
-
- !ruby/object:Gem::Dependency
|
|
127
|
-
name: github-markup
|
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
|
129
|
-
none: false
|
|
130
|
-
requirements:
|
|
131
|
-
- - ~>
|
|
132
|
-
- !ruby/object:Gem::Version
|
|
133
|
-
version: 0.7.5
|
|
134
|
-
type: :development
|
|
135
|
-
prerelease: false
|
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
137
|
-
none: false
|
|
138
|
-
requirements:
|
|
139
|
-
- - ~>
|
|
140
|
-
- !ruby/object:Gem::Version
|
|
141
|
-
version: 0.7.5
|
|
29
|
+
version: 2.6.3
|
|
142
30
|
description: A storage agnostic caching framework.
|
|
143
31
|
email:
|
|
144
32
|
- shogun_panda@me.com
|
|
@@ -147,6 +35,7 @@ extensions: []
|
|
|
147
35
|
extra_rdoc_files: []
|
|
148
36
|
files:
|
|
149
37
|
- .gitignore
|
|
38
|
+
- .travis-gemfile
|
|
150
39
|
- .travis.yml
|
|
151
40
|
- .yardopts
|
|
152
41
|
- Gemfile
|
|
@@ -202,16 +91,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
202
91
|
requirements:
|
|
203
92
|
- - ! '>='
|
|
204
93
|
- !ruby/object:Gem::Version
|
|
205
|
-
version: 1.9.
|
|
94
|
+
version: 1.9.3
|
|
206
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
96
|
none: false
|
|
208
97
|
requirements:
|
|
209
98
|
- - ! '>='
|
|
210
99
|
- !ruby/object:Gem::Version
|
|
211
100
|
version: '0'
|
|
101
|
+
segments:
|
|
102
|
+
- 0
|
|
103
|
+
hash: -2315547574760873877
|
|
212
104
|
requirements: []
|
|
213
105
|
rubyforge_project: elephas
|
|
214
|
-
rubygems_version: 1.8.
|
|
106
|
+
rubygems_version: 1.8.25
|
|
215
107
|
signing_key:
|
|
216
108
|
specification_version: 3
|
|
217
109
|
summary: A storage agnostic caching framework.
|