cachetastic 1.7.0 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -216,7 +216,7 @@ backing. The configuration for this should look something like this:
216
216
 
217
217
  <div class="method-heading">
218
218
  <a href="#M000011" class="method-signature">
219
- <span class="method-name">get</span><span class="method-args">(key)</span>
219
+ <span class="method-name">get</span><span class="method-args">(key, raw = false)</span>
220
220
  </a>
221
221
  </div>
222
222
 
@@ -226,8 +226,8 @@ backing. The configuration for this should look something like this:
226
226
  <div class="method-source-code" id="M000011-source">
227
227
  <pre>
228
228
  <span class="ruby-comment cmt"># File lib/adapters/cachetastic_adapters_memcache.rb, line 35</span>
229
- 35: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>)
230
- 36: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>)
229
+ 35: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">raw</span> = <span class="ruby-keyword kw">false</span>)
230
+ 36: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">raw</span>)
231
231
  37: <span class="ruby-keyword kw">end</span>
232
232
  </pre>
233
233
  </div>
@@ -262,7 +262,7 @@ backing. The configuration for this should look something like this:
262
262
 
263
263
  <div class="method-heading">
264
264
  <a href="#M000009" class="method-signature">
265
- <span class="method-name">set</span><span class="method-args">(key, value, expiry = 0)</span>
265
+ <span class="method-name">set</span><span class="method-args">(key, value, expiry = 0, raw = false)</span>
266
266
  </a>
267
267
  </div>
268
268
 
@@ -272,8 +272,8 @@ backing. The configuration for this should look something like this:
272
272
  <div class="method-source-code" id="M000009-source">
273
273
  <pre>
274
274
  <span class="ruby-comment cmt"># File lib/adapters/cachetastic_adapters_memcache.rb, line 27</span>
275
- 27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">expiry</span> = <span class="ruby-value">0</span>)
276
- 28: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">expiry</span>)
275
+ 27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">expiry</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">raw</span> = <span class="ruby-keyword kw">false</span>)
276
+ 28: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">expiry</span>, <span class="ruby-identifier">raw</span>)
277
277
  29: <span class="ruby-keyword kw">end</span>
278
278
  </pre>
279
279
  </div>
data/doc/created.rid CHANGED
@@ -1 +1 @@
1
- Wed, 04 Jun 2008 10:11:52 -0400
1
+ Tue, 01 Jul 2008 15:06:06 -0400
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Jun 03 13:14:49 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Jun 03 13:14:49 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Jun 03 13:14:49 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Jun 03 13:14:49 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Jun 03 13:14:49 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jun 04 10:11:36 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Jun 03 13:14:49 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Jun 03 13:14:49 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jun 04 10:11:36 -0400 2008</td>
59
+ <td>Tue Jul 01 15:05:37 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -186,7 +186,6 @@ The server takes to command line parameters: -h &lt;host&gt; -p
186
186
  zlib&nbsp;&nbsp;
187
187
  pp&nbsp;&nbsp;
188
188
  drb&nbsp;&nbsp;
189
- mack_ruby_core_extensions&nbsp;&nbsp;
190
189
  application_configuration&nbsp;&nbsp;
191
190
  memcache&nbsp;&nbsp;
192
191
  </div>
@@ -24,16 +24,16 @@ class Cachetastic::Adapters::Memcache < Cachetastic::Adapters::Base
24
24
  self.version = self.get_version(self.name)
25
25
  end
26
26
 
27
- def set(key, value, expiry = 0)
28
- self.conn.set(key, value, expiry)
27
+ def set(key, value, expiry = 0, raw = false)
28
+ self.conn.set(key, value, expiry, raw)
29
29
  end
30
30
 
31
31
  def delete(key, delay = 0)
32
32
  self.conn.delete(key, delay)
33
33
  end
34
34
 
35
- def get(key)
36
- self.conn.get(key)
35
+ def get(key, raw = false)
36
+ self.conn.get(key, raw)
37
37
  end
38
38
 
39
39
  def expire_all
data/lib/cachetastic.rb CHANGED
@@ -6,7 +6,7 @@ require 'yaml'
6
6
  require 'zlib'
7
7
  require 'pp'
8
8
  require 'drb'
9
- require 'mack_ruby_core_extensions'
9
+ # require 'mack_ruby_core_extensions'
10
10
  require 'application_configuration'
11
11
  begin
12
12
  require 'memcache'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cachetastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,18 +9,9 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-04 00:00:00 -04:00
12
+ date: 2008-07-01 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: mack_ruby_core_extensions
17
- version_requirement:
18
- version_requirements: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: "0"
23
- version:
24
15
  - !ruby/object:Gem::Dependency
25
16
  name: application_configuration
26
17
  version_requirement: