redis_object 1.0 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.coveralls.yml +1 -0
- data/.gitignore +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/README.markdown +24 -15
- data/Rakefile +8 -0
- data/lib/redis_object.rb +11 -1
- data/lib/redis_object/base.rb +210 -60
- data/lib/redis_object/collection.rb +130 -100
- data/lib/redis_object/defaults.rb +21 -8
- data/lib/redis_object/{history.rb → experimental/history.rb} +0 -0
- data/lib/redis_object/ext/filters.rb +34 -16
- data/lib/redis_object/ext/script_cache.rb +92 -0
- data/lib/redis_object/ext/shardable.rb +18 -0
- data/lib/redis_object/ext/triggers.rb +75 -13
- data/lib/redis_object/ext/view_caching.rb +258 -0
- data/lib/redis_object/ext/views.rb +102 -0
- data/lib/redis_object/indices.rb +44 -39
- data/lib/redis_object/inheritance_tracking.rb +23 -0
- data/lib/redis_object/keys.rb +4 -4
- data/lib/redis_object/storage.rb +30 -1
- data/lib/redis_object/storage/adapter.rb +6 -3
- data/lib/redis_object/storage/redis.rb +98 -3
- data/lib/redis_object/timestamps.rb +42 -21
- data/lib/redis_object/types.rb +172 -30
- data/lib/redis_object/version.rb +1 -1
- data/redis_object.gemspec +1 -0
- data/spec/adapter_spec.rb +43 -0
- data/spec/base_spec.rb +41 -6
- data/spec/benchmark_spec.rb +46 -0
- data/spec/collections_spec.rb +144 -0
- data/spec/defaults_spec.rb +56 -0
- data/spec/filters_spec.rb +29 -0
- data/spec/indices_spec.rb +45 -0
- data/spec/rename_class_spec.rb +96 -0
- data/spec/spec_helper.rb +32 -1
- data/spec/timestamp_spec.rb +28 -0
- data/spec/trigger_spec.rb +51 -0
- data/spec/types_spec.rb +103 -0
- data/spec/view_caching_spec.rb +130 -0
- data/spec/views_spec.rb +72 -0
- metadata +111 -116
- data/doc/Object.html +0 -185
- data/doc/Seabright.html +0 -181
- data/doc/Seabright/Adapter.html +0 -442
- data/doc/Seabright/Collection.html +0 -797
- data/doc/Seabright/Collections.html +0 -635
- data/doc/Seabright/Collections/ClassMethods.html +0 -212
- data/doc/Seabright/ExternalIndex.html +0 -217
- data/doc/Seabright/History.html +0 -382
- data/doc/Seabright/History/ClassMethods.html +0 -276
- data/doc/Seabright/Indices.html +0 -324
- data/doc/Seabright/Indices/ClassMethods.html +0 -348
- data/doc/Seabright/Keys.html +0 -314
- data/doc/Seabright/Keys/ClassMethods.html +0 -276
- data/doc/Seabright/ObjectBase.html +0 -852
- data/doc/Seabright/ObjectBase/ClassMethods.html +0 -677
- data/doc/Seabright/RedisObject.html +0 -230
- data/doc/Seabright/References.html +0 -280
- data/doc/Seabright/Storage.html +0 -252
- data/doc/Seabright/Storage/ClassMethods.html +0 -276
- data/doc/Seabright/Storage/MySQL.html +0 -442
- data/doc/Seabright/Storage/Redis.html +0 -218
- data/doc/Seabright/Template.html +0 -212
- data/doc/Seabright/Template/ClassMethods.html +0 -166
- data/doc/Seabright/Timestamps.html +0 -292
- data/doc/Seabright/Timestamps/ClassMethods.html +0 -214
- data/doc/Seabright/Types.html +0 -410
- data/doc/Seabright/Types/ClassMethods.html +0 -308
- data/doc/created.rid +0 -17
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -125
- data/doc/js/darkfish.js +0 -153
- data/doc/js/jquery.js +0 -18
- data/doc/js/navigation.js +0 -142
- data/doc/js/search.js +0 -94
- data/doc/js/search_index.js +0 -1
- data/doc/js/searcher.js +0 -228
- data/doc/rdoc.css +0 -543
- data/doc/table_of_contents.html +0 -394
@@ -1,442 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>class Seabright::Storage::MySQL - StubbornObject</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "../../";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="../../index.html">Home</a>
|
28
|
-
<a href="../../table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="../../table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="file-metadata">
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/redis_object/storage/mysql.rb
|
51
|
-
</ul>
|
52
|
-
</nav>
|
53
|
-
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div id="class-metadata">
|
58
|
-
|
59
|
-
<nav id="parent-class-section" class="section">
|
60
|
-
<h3 class="section-header">Parent</h3>
|
61
|
-
|
62
|
-
<p class="link"><a href="../../Object.html">Object</a>
|
63
|
-
|
64
|
-
</nav>
|
65
|
-
|
66
|
-
|
67
|
-
<!-- Method Quickref -->
|
68
|
-
<nav id="method-list-section" class="section">
|
69
|
-
<h3 class="section-header">Methods</h3>
|
70
|
-
|
71
|
-
<ul class="link-list">
|
72
|
-
|
73
|
-
<li><a href="#method-i-del">#del</a>
|
74
|
-
|
75
|
-
<li><a href="#method-i-exists">#exists</a>
|
76
|
-
|
77
|
-
<li><a href="#method-i-hget">#hget</a>
|
78
|
-
|
79
|
-
<li><a href="#method-i-hset">#hset</a>
|
80
|
-
|
81
|
-
<li><a href="#method-i-sadd">#sadd</a>
|
82
|
-
|
83
|
-
<li><a href="#method-i-set">#set</a>
|
84
|
-
|
85
|
-
<li><a href="#method-i-smembers">#smembers</a>
|
86
|
-
|
87
|
-
<li><a href="#method-i-srem">#srem</a>
|
88
|
-
|
89
|
-
</ul>
|
90
|
-
</nav>
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
<div id="project-metadata">
|
95
|
-
|
96
|
-
<nav id="classindex-section" class="section project-section">
|
97
|
-
<h3 class="section-header">Class and Module Index</h3>
|
98
|
-
|
99
|
-
<ul class="link-list">
|
100
|
-
|
101
|
-
<li><a href="../../Seabright.html">Seabright</a>
|
102
|
-
|
103
|
-
<li><a href="../../Seabright/Adapter.html">Seabright::Adapter</a>
|
104
|
-
|
105
|
-
<li><a href="../../Seabright/Collection.html">Seabright::Collection</a>
|
106
|
-
|
107
|
-
<li><a href="../../Seabright/Collections.html">Seabright::Collections</a>
|
108
|
-
|
109
|
-
<li><a href="../../Seabright/Collections/ClassMethods.html">Seabright::Collections::ClassMethods</a>
|
110
|
-
|
111
|
-
<li><a href="../../Seabright/ExternalIndex.html">Seabright::ExternalIndex</a>
|
112
|
-
|
113
|
-
<li><a href="../../Seabright/History.html">Seabright::History</a>
|
114
|
-
|
115
|
-
<li><a href="../../Seabright/History/ClassMethods.html">Seabright::History::ClassMethods</a>
|
116
|
-
|
117
|
-
<li><a href="../../Seabright/Indices.html">Seabright::Indices</a>
|
118
|
-
|
119
|
-
<li><a href="../../Seabright/Indices/ClassMethods.html">Seabright::Indices::ClassMethods</a>
|
120
|
-
|
121
|
-
<li><a href="../../Seabright/Keys.html">Seabright::Keys</a>
|
122
|
-
|
123
|
-
<li><a href="../../Seabright/Keys/ClassMethods.html">Seabright::Keys::ClassMethods</a>
|
124
|
-
|
125
|
-
<li><a href="../../Seabright/ObjectBase.html">Seabright::ObjectBase</a>
|
126
|
-
|
127
|
-
<li><a href="../../Seabright/ObjectBase/ClassMethods.html">Seabright::ObjectBase::ClassMethods</a>
|
128
|
-
|
129
|
-
<li><a href="../../Seabright/RedisObject.html">Seabright::RedisObject</a>
|
130
|
-
|
131
|
-
<li><a href="../../Seabright/RedisObject.html">Seabright::RedisObject</a>
|
132
|
-
|
133
|
-
<li><a href="../../Seabright/References.html">Seabright::References</a>
|
134
|
-
|
135
|
-
<li><a href="../../Seabright/Storage.html">Seabright::Storage</a>
|
136
|
-
|
137
|
-
<li><a href="../../Seabright/Storage/ClassMethods.html">Seabright::Storage::ClassMethods</a>
|
138
|
-
|
139
|
-
<li><a href="../../Seabright/Storage/MySQL.html">Seabright::Storage::MySQL</a>
|
140
|
-
|
141
|
-
<li><a href="../../Seabright/Storage/Redis.html">Seabright::Storage::Redis</a>
|
142
|
-
|
143
|
-
<li><a href="../../Seabright/Template.html">Seabright::Template</a>
|
144
|
-
|
145
|
-
<li><a href="../../Seabright/Template/ClassMethods.html">Seabright::Template::ClassMethods</a>
|
146
|
-
|
147
|
-
<li><a href="../../Seabright/Timestamps.html">Seabright::Timestamps</a>
|
148
|
-
|
149
|
-
<li><a href="../../Seabright/Timestamps/ClassMethods.html">Seabright::Timestamps::ClassMethods</a>
|
150
|
-
|
151
|
-
<li><a href="../../Seabright/Types.html">Seabright::Types</a>
|
152
|
-
|
153
|
-
<li><a href="../../Seabright/Types/ClassMethods.html">Seabright::Types::ClassMethods</a>
|
154
|
-
|
155
|
-
<li><a href="../../Object.html">Object</a>
|
156
|
-
|
157
|
-
<li><a href="../../Seabright/RedisObject.html">Object::RedisObject</a>
|
158
|
-
|
159
|
-
</ul>
|
160
|
-
</nav>
|
161
|
-
|
162
|
-
</div>
|
163
|
-
</nav>
|
164
|
-
|
165
|
-
<div id="documentation">
|
166
|
-
<h1 class="class">class Seabright::Storage::MySQL</h1>
|
167
|
-
|
168
|
-
<div id="description" class="description">
|
169
|
-
|
170
|
-
</div><!-- description -->
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
<!-- Methods -->
|
185
|
-
|
186
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
187
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
188
|
-
|
189
|
-
|
190
|
-
<div id="method-i-del" class="method-detail ">
|
191
|
-
|
192
|
-
<div class="method-heading">
|
193
|
-
<span class="method-name">del</span><span
|
194
|
-
class="method-args">()</span>
|
195
|
-
<span class="method-click-advice">click to toggle source</span>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
|
199
|
-
<div class="method-description">
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
<div class="method-source-code" id="del-source">
|
206
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 13</span>
|
207
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">del</span>
|
208
|
-
|
209
|
-
<span class="ruby-keyword">end</span></pre>
|
210
|
-
</div><!-- del-source -->
|
211
|
-
|
212
|
-
</div>
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
</div><!-- del-method -->
|
218
|
-
|
219
|
-
|
220
|
-
<div id="method-i-exists" class="method-detail ">
|
221
|
-
|
222
|
-
<div class="method-heading">
|
223
|
-
<span class="method-name">exists</span><span
|
224
|
-
class="method-args">()</span>
|
225
|
-
<span class="method-click-advice">click to toggle source</span>
|
226
|
-
</div>
|
227
|
-
|
228
|
-
|
229
|
-
<div class="method-description">
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
<div class="method-source-code" id="exists-source">
|
236
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 25</span>
|
237
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exists</span>
|
238
|
-
|
239
|
-
<span class="ruby-keyword">end</span></pre>
|
240
|
-
</div><!-- exists-source -->
|
241
|
-
|
242
|
-
</div>
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
</div><!-- exists-method -->
|
248
|
-
|
249
|
-
|
250
|
-
<div id="method-i-hget" class="method-detail ">
|
251
|
-
|
252
|
-
<div class="method-heading">
|
253
|
-
<span class="method-name">hget</span><span
|
254
|
-
class="method-args">()</span>
|
255
|
-
<span class="method-click-advice">click to toggle source</span>
|
256
|
-
</div>
|
257
|
-
|
258
|
-
|
259
|
-
<div class="method-description">
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
<div class="method-source-code" id="hget-source">
|
266
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 29</span>
|
267
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">hget</span>
|
268
|
-
|
269
|
-
<span class="ruby-keyword">end</span></pre>
|
270
|
-
</div><!-- hget-source -->
|
271
|
-
|
272
|
-
</div>
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
</div><!-- hget-method -->
|
278
|
-
|
279
|
-
|
280
|
-
<div id="method-i-hset" class="method-detail ">
|
281
|
-
|
282
|
-
<div class="method-heading">
|
283
|
-
<span class="method-name">hset</span><span
|
284
|
-
class="method-args">()</span>
|
285
|
-
<span class="method-click-advice">click to toggle source</span>
|
286
|
-
</div>
|
287
|
-
|
288
|
-
|
289
|
-
<div class="method-description">
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
<div class="method-source-code" id="hset-source">
|
296
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 33</span>
|
297
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">hset</span>
|
298
|
-
|
299
|
-
<span class="ruby-keyword">end</span></pre>
|
300
|
-
</div><!-- hset-source -->
|
301
|
-
|
302
|
-
</div>
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
</div><!-- hset-method -->
|
308
|
-
|
309
|
-
|
310
|
-
<div id="method-i-sadd" class="method-detail ">
|
311
|
-
|
312
|
-
<div class="method-heading">
|
313
|
-
<span class="method-name">sadd</span><span
|
314
|
-
class="method-args">()</span>
|
315
|
-
<span class="method-click-advice">click to toggle source</span>
|
316
|
-
</div>
|
317
|
-
|
318
|
-
|
319
|
-
<div class="method-description">
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
<div class="method-source-code" id="sadd-source">
|
326
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 9</span>
|
327
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">sadd</span>
|
328
|
-
|
329
|
-
<span class="ruby-keyword">end</span></pre>
|
330
|
-
</div><!-- sadd-source -->
|
331
|
-
|
332
|
-
</div>
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
</div><!-- sadd-method -->
|
338
|
-
|
339
|
-
|
340
|
-
<div id="method-i-set" class="method-detail ">
|
341
|
-
|
342
|
-
<div class="method-heading">
|
343
|
-
<span class="method-name">set</span><span
|
344
|
-
class="method-args">()</span>
|
345
|
-
<span class="method-click-advice">click to toggle source</span>
|
346
|
-
</div>
|
347
|
-
|
348
|
-
|
349
|
-
<div class="method-description">
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
<div class="method-source-code" id="set-source">
|
356
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 5</span>
|
357
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set</span>
|
358
|
-
|
359
|
-
<span class="ruby-keyword">end</span></pre>
|
360
|
-
</div><!-- set-source -->
|
361
|
-
|
362
|
-
</div>
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
</div><!-- set-method -->
|
368
|
-
|
369
|
-
|
370
|
-
<div id="method-i-smembers" class="method-detail ">
|
371
|
-
|
372
|
-
<div class="method-heading">
|
373
|
-
<span class="method-name">smembers</span><span
|
374
|
-
class="method-args">()</span>
|
375
|
-
<span class="method-click-advice">click to toggle source</span>
|
376
|
-
</div>
|
377
|
-
|
378
|
-
|
379
|
-
<div class="method-description">
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
<div class="method-source-code" id="smembers-source">
|
386
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 21</span>
|
387
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">smembers</span>
|
388
|
-
|
389
|
-
<span class="ruby-keyword">end</span></pre>
|
390
|
-
</div><!-- smembers-source -->
|
391
|
-
|
392
|
-
</div>
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
</div><!-- smembers-method -->
|
398
|
-
|
399
|
-
|
400
|
-
<div id="method-i-srem" class="method-detail ">
|
401
|
-
|
402
|
-
<div class="method-heading">
|
403
|
-
<span class="method-name">srem</span><span
|
404
|
-
class="method-args">()</span>
|
405
|
-
<span class="method-click-advice">click to toggle source</span>
|
406
|
-
</div>
|
407
|
-
|
408
|
-
|
409
|
-
<div class="method-description">
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
<div class="method-source-code" id="srem-source">
|
416
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/mysql.rb, line 17</span>
|
417
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">srem</span>
|
418
|
-
|
419
|
-
<span class="ruby-keyword">end</span></pre>
|
420
|
-
</div><!-- srem-source -->
|
421
|
-
|
422
|
-
</div>
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
</div><!-- srem-method -->
|
428
|
-
|
429
|
-
|
430
|
-
</section><!-- public-instance-method-details -->
|
431
|
-
|
432
|
-
</section><!-- 5Buntitled-5D -->
|
433
|
-
|
434
|
-
</div><!-- documentation -->
|
435
|
-
|
436
|
-
|
437
|
-
<footer id="validator-badges">
|
438
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
439
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
440
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
441
|
-
</footer>
|
442
|
-
|
@@ -1,218 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>class Seabright::Storage::Redis - StubbornObject</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "../../";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="../../index.html">Home</a>
|
28
|
-
<a href="../../table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="../../table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="file-metadata">
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/redis_object/storage/redis.rb
|
51
|
-
</ul>
|
52
|
-
</nav>
|
53
|
-
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div id="class-metadata">
|
58
|
-
|
59
|
-
<nav id="parent-class-section" class="section">
|
60
|
-
<h3 class="section-header">Parent</h3>
|
61
|
-
|
62
|
-
<p class="link"><a href="../../Object.html">Object</a>
|
63
|
-
|
64
|
-
</nav>
|
65
|
-
|
66
|
-
|
67
|
-
<!-- Method Quickref -->
|
68
|
-
<nav id="method-list-section" class="section">
|
69
|
-
<h3 class="section-header">Methods</h3>
|
70
|
-
|
71
|
-
<ul class="link-list">
|
72
|
-
|
73
|
-
<li><a href="#method-i-method_missing">#method_missing</a>
|
74
|
-
|
75
|
-
</ul>
|
76
|
-
</nav>
|
77
|
-
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<div id="project-metadata">
|
81
|
-
|
82
|
-
<nav id="classindex-section" class="section project-section">
|
83
|
-
<h3 class="section-header">Class and Module Index</h3>
|
84
|
-
|
85
|
-
<ul class="link-list">
|
86
|
-
|
87
|
-
<li><a href="../../Seabright.html">Seabright</a>
|
88
|
-
|
89
|
-
<li><a href="../../Seabright/Adapter.html">Seabright::Adapter</a>
|
90
|
-
|
91
|
-
<li><a href="../../Seabright/Collection.html">Seabright::Collection</a>
|
92
|
-
|
93
|
-
<li><a href="../../Seabright/Collections.html">Seabright::Collections</a>
|
94
|
-
|
95
|
-
<li><a href="../../Seabright/Collections/ClassMethods.html">Seabright::Collections::ClassMethods</a>
|
96
|
-
|
97
|
-
<li><a href="../../Seabright/ExternalIndex.html">Seabright::ExternalIndex</a>
|
98
|
-
|
99
|
-
<li><a href="../../Seabright/History.html">Seabright::History</a>
|
100
|
-
|
101
|
-
<li><a href="../../Seabright/History/ClassMethods.html">Seabright::History::ClassMethods</a>
|
102
|
-
|
103
|
-
<li><a href="../../Seabright/Indices.html">Seabright::Indices</a>
|
104
|
-
|
105
|
-
<li><a href="../../Seabright/Indices/ClassMethods.html">Seabright::Indices::ClassMethods</a>
|
106
|
-
|
107
|
-
<li><a href="../../Seabright/Keys.html">Seabright::Keys</a>
|
108
|
-
|
109
|
-
<li><a href="../../Seabright/Keys/ClassMethods.html">Seabright::Keys::ClassMethods</a>
|
110
|
-
|
111
|
-
<li><a href="../../Seabright/ObjectBase.html">Seabright::ObjectBase</a>
|
112
|
-
|
113
|
-
<li><a href="../../Seabright/ObjectBase/ClassMethods.html">Seabright::ObjectBase::ClassMethods</a>
|
114
|
-
|
115
|
-
<li><a href="../../Seabright/RedisObject.html">Seabright::RedisObject</a>
|
116
|
-
|
117
|
-
<li><a href="../../Seabright/RedisObject.html">Seabright::RedisObject</a>
|
118
|
-
|
119
|
-
<li><a href="../../Seabright/References.html">Seabright::References</a>
|
120
|
-
|
121
|
-
<li><a href="../../Seabright/Storage.html">Seabright::Storage</a>
|
122
|
-
|
123
|
-
<li><a href="../../Seabright/Storage/ClassMethods.html">Seabright::Storage::ClassMethods</a>
|
124
|
-
|
125
|
-
<li><a href="../../Seabright/Storage/MySQL.html">Seabright::Storage::MySQL</a>
|
126
|
-
|
127
|
-
<li><a href="../../Seabright/Storage/Redis.html">Seabright::Storage::Redis</a>
|
128
|
-
|
129
|
-
<li><a href="../../Seabright/Template.html">Seabright::Template</a>
|
130
|
-
|
131
|
-
<li><a href="../../Seabright/Template/ClassMethods.html">Seabright::Template::ClassMethods</a>
|
132
|
-
|
133
|
-
<li><a href="../../Seabright/Timestamps.html">Seabright::Timestamps</a>
|
134
|
-
|
135
|
-
<li><a href="../../Seabright/Timestamps/ClassMethods.html">Seabright::Timestamps::ClassMethods</a>
|
136
|
-
|
137
|
-
<li><a href="../../Seabright/Types.html">Seabright::Types</a>
|
138
|
-
|
139
|
-
<li><a href="../../Seabright/Types/ClassMethods.html">Seabright::Types::ClassMethods</a>
|
140
|
-
|
141
|
-
<li><a href="../../Object.html">Object</a>
|
142
|
-
|
143
|
-
<li><a href="../../Seabright/RedisObject.html">Object::RedisObject</a>
|
144
|
-
|
145
|
-
</ul>
|
146
|
-
</nav>
|
147
|
-
|
148
|
-
</div>
|
149
|
-
</nav>
|
150
|
-
|
151
|
-
<div id="documentation">
|
152
|
-
<h1 class="class">class Seabright::Storage::Redis</h1>
|
153
|
-
|
154
|
-
<div id="description" class="description">
|
155
|
-
|
156
|
-
</div><!-- description -->
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
<!-- Methods -->
|
171
|
-
|
172
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
173
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
174
|
-
|
175
|
-
|
176
|
-
<div id="method-i-method_missing" class="method-detail ">
|
177
|
-
|
178
|
-
<div class="method-heading">
|
179
|
-
<span class="method-name">method_missing</span><span
|
180
|
-
class="method-args">(sym, *args, &block)</span>
|
181
|
-
<span class="method-click-advice">click to toggle source</span>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
|
185
|
-
<div class="method-description">
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
<div class="method-source-code" id="method_missing-source">
|
192
|
-
<pre><span class="ruby-comment"># File lib/redis_object/storage/redis.rb, line 5</span>
|
193
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>, *<span class="ruby-identifier">args</span>, &<span class="ruby-identifier">block</span>)
|
194
|
-
<span class="ruby-identifier">connection</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">sym</span>,*<span class="ruby-identifier">args</span>)
|
195
|
-
<span class="ruby-keyword">end</span></pre>
|
196
|
-
</div><!-- method_missing-source -->
|
197
|
-
|
198
|
-
</div>
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
</div><!-- method_missing-method -->
|
204
|
-
|
205
|
-
|
206
|
-
</section><!-- public-instance-method-details -->
|
207
|
-
|
208
|
-
</section><!-- 5Buntitled-5D -->
|
209
|
-
|
210
|
-
</div><!-- documentation -->
|
211
|
-
|
212
|
-
|
213
|
-
<footer id="validator-badges">
|
214
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
215
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
216
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
217
|
-
</footer>
|
218
|
-
|