couch_visible 0.0.1 → 0.0.2

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.
@@ -0,0 +1,24 @@
1
+ $LOAD_PATH.unshift './lib'
2
+
3
+ require 'couch_visible'
4
+ require 'couchrest_model_config'
5
+ require 'memories'
6
+
7
+ class Document < CouchRest::Model::Base
8
+ include CouchVisible
9
+ end
10
+
11
+ CouchRest::Model::Config.edit do
12
+ server do
13
+ default "http://admin:password@localhost:5984"
14
+ end
15
+
16
+ database do
17
+ default "couch_visible_test"
18
+ end
19
+ end
20
+
21
+ Before do
22
+ Document.database.recreate!
23
+ CouchVisible.reset!
24
+ end
@@ -0,0 +1,518 @@
1
+ !RBIX
2
+ 17831730954501249321
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 98
13
+ 99
14
+ 43
15
+ 0
16
+ 7
17
+ 1
18
+ 49
19
+ 2
20
+ 1
21
+ 7
22
+ 3
23
+ 64
24
+ 49
25
+ 4
26
+ 1
27
+ 15
28
+ 5
29
+ 7
30
+ 5
31
+ 64
32
+ 47
33
+ 49
34
+ 6
35
+ 1
36
+ 15
37
+ 5
38
+ 7
39
+ 7
40
+ 64
41
+ 47
42
+ 49
43
+ 6
44
+ 1
45
+ 15
46
+ 5
47
+ 7
48
+ 8
49
+ 64
50
+ 47
51
+ 49
52
+ 6
53
+ 1
54
+ 15
55
+ 99
56
+ 7
57
+ 9
58
+ 45
59
+ 10
60
+ 11
61
+ 43
62
+ 12
63
+ 43
64
+ 13
65
+ 65
66
+ 49
67
+ 14
68
+ 3
69
+ 13
70
+ 99
71
+ 12
72
+ 7
73
+ 15
74
+ 12
75
+ 7
76
+ 16
77
+ 12
78
+ 65
79
+ 12
80
+ 49
81
+ 17
82
+ 4
83
+ 15
84
+ 49
85
+ 15
86
+ 0
87
+ 15
88
+ 45
89
+ 10
90
+ 18
91
+ 43
92
+ 12
93
+ 43
94
+ 19
95
+ 56
96
+ 20
97
+ 50
98
+ 21
99
+ 0
100
+ 15
101
+ 5
102
+ 56
103
+ 22
104
+ 47
105
+ 50
106
+ 23
107
+ 0
108
+ 15
109
+ 2
110
+ 11
111
+ I
112
+ 6
113
+ I
114
+ 0
115
+ I
116
+ 0
117
+ I
118
+ 0
119
+ n
120
+ p
121
+ 24
122
+ x
123
+ 7
124
+ Globals
125
+ x
126
+ 10
127
+ $LOAD_PATH
128
+ x
129
+ 2
130
+ []
131
+ s
132
+ 5
133
+ ./lib
134
+ x
135
+ 7
136
+ unshift
137
+ s
138
+ 13
139
+ couch_visible
140
+ x
141
+ 7
142
+ require
143
+ s
144
+ 22
145
+ couchrest_model_config
146
+ s
147
+ 8
148
+ memories
149
+ x
150
+ 8
151
+ Document
152
+ x
153
+ 9
154
+ CouchRest
155
+ n
156
+ x
157
+ 5
158
+ Model
159
+ x
160
+ 4
161
+ Base
162
+ x
163
+ 10
164
+ open_class
165
+ x
166
+ 14
167
+ __class_init__
168
+ M
169
+ 1
170
+ n
171
+ n
172
+ x
173
+ 8
174
+ Document
175
+ i
176
+ 11
177
+ 5
178
+ 66
179
+ 5
180
+ 45
181
+ 0
182
+ 1
183
+ 47
184
+ 49
185
+ 2
186
+ 1
187
+ 11
188
+ I
189
+ 2
190
+ I
191
+ 0
192
+ I
193
+ 0
194
+ I
195
+ 0
196
+ n
197
+ p
198
+ 3
199
+ x
200
+ 12
201
+ CouchVisible
202
+ n
203
+ x
204
+ 7
205
+ include
206
+ p
207
+ 3
208
+ I
209
+ 2
210
+ I
211
+ 8
212
+ I
213
+ b
214
+ x
215
+ 64
216
+ /Users/mparker/work/github/couch_visible/features/support/env.rb
217
+ p
218
+ 0
219
+ x
220
+ 13
221
+ attach_method
222
+ n
223
+ x
224
+ 6
225
+ Config
226
+ M
227
+ 1
228
+ p
229
+ 2
230
+ x
231
+ 9
232
+ for_block
233
+ t
234
+ n
235
+ x
236
+ 9
237
+ __block__
238
+ i
239
+ 16
240
+ 5
241
+ 56
242
+ 0
243
+ 47
244
+ 50
245
+ 1
246
+ 0
247
+ 15
248
+ 5
249
+ 56
250
+ 2
251
+ 47
252
+ 50
253
+ 3
254
+ 0
255
+ 11
256
+ I
257
+ 3
258
+ I
259
+ 0
260
+ I
261
+ 0
262
+ I
263
+ 0
264
+ I
265
+ -2
266
+ p
267
+ 4
268
+ M
269
+ 1
270
+ p
271
+ 2
272
+ x
273
+ 9
274
+ for_block
275
+ t
276
+ n
277
+ x
278
+ 9
279
+ __block__
280
+ i
281
+ 9
282
+ 5
283
+ 7
284
+ 0
285
+ 64
286
+ 47
287
+ 49
288
+ 1
289
+ 1
290
+ 11
291
+ I
292
+ 3
293
+ I
294
+ 0
295
+ I
296
+ 0
297
+ I
298
+ 0
299
+ I
300
+ -2
301
+ p
302
+ 2
303
+ s
304
+ 36
305
+ http://admin:password@localhost:5984
306
+ x
307
+ 7
308
+ default
309
+ p
310
+ 3
311
+ I
312
+ 0
313
+ I
314
+ d
315
+ I
316
+ 9
317
+ x
318
+ 64
319
+ /Users/mparker/work/github/couch_visible/features/support/env.rb
320
+ p
321
+ 0
322
+ x
323
+ 6
324
+ server
325
+ M
326
+ 1
327
+ p
328
+ 2
329
+ x
330
+ 9
331
+ for_block
332
+ t
333
+ n
334
+ x
335
+ 9
336
+ __block__
337
+ i
338
+ 9
339
+ 5
340
+ 7
341
+ 0
342
+ 64
343
+ 47
344
+ 49
345
+ 1
346
+ 1
347
+ 11
348
+ I
349
+ 3
350
+ I
351
+ 0
352
+ I
353
+ 0
354
+ I
355
+ 0
356
+ I
357
+ -2
358
+ p
359
+ 2
360
+ s
361
+ 18
362
+ couch_visible_test
363
+ x
364
+ 7
365
+ default
366
+ p
367
+ 3
368
+ I
369
+ 0
370
+ I
371
+ 11
372
+ I
373
+ 9
374
+ x
375
+ 64
376
+ /Users/mparker/work/github/couch_visible/features/support/env.rb
377
+ p
378
+ 0
379
+ x
380
+ 8
381
+ database
382
+ p
383
+ 5
384
+ I
385
+ 0
386
+ I
387
+ c
388
+ I
389
+ 8
390
+ I
391
+ 10
392
+ I
393
+ 10
394
+ x
395
+ 64
396
+ /Users/mparker/work/github/couch_visible/features/support/env.rb
397
+ p
398
+ 0
399
+ x
400
+ 4
401
+ edit
402
+ M
403
+ 1
404
+ p
405
+ 2
406
+ x
407
+ 9
408
+ for_block
409
+ t
410
+ n
411
+ x
412
+ 9
413
+ __block__
414
+ i
415
+ 17
416
+ 45
417
+ 0
418
+ 1
419
+ 49
420
+ 2
421
+ 0
422
+ 49
423
+ 3
424
+ 0
425
+ 15
426
+ 45
427
+ 4
428
+ 5
429
+ 49
430
+ 6
431
+ 0
432
+ 11
433
+ I
434
+ 2
435
+ I
436
+ 0
437
+ I
438
+ 0
439
+ I
440
+ 0
441
+ I
442
+ -2
443
+ p
444
+ 7
445
+ x
446
+ 8
447
+ Document
448
+ n
449
+ x
450
+ 8
451
+ database
452
+ x
453
+ 9
454
+ recreate!
455
+ x
456
+ 12
457
+ CouchVisible
458
+ n
459
+ x
460
+ 6
461
+ reset!
462
+ p
463
+ 5
464
+ I
465
+ 0
466
+ I
467
+ 16
468
+ I
469
+ a
470
+ I
471
+ 17
472
+ I
473
+ 11
474
+ x
475
+ 64
476
+ /Users/mparker/work/github/couch_visible/features/support/env.rb
477
+ p
478
+ 0
479
+ x
480
+ 6
481
+ Before
482
+ p
483
+ 15
484
+ I
485
+ 0
486
+ I
487
+ 1
488
+ I
489
+ f
490
+ I
491
+ 3
492
+ I
493
+ 18
494
+ I
495
+ 4
496
+ I
497
+ 21
498
+ I
499
+ 5
500
+ I
501
+ 2a
502
+ I
503
+ 7
504
+ I
505
+ 4b
506
+ I
507
+ b
508
+ I
509
+ 58
510
+ I
511
+ 15
512
+ I
513
+ 62
514
+ x
515
+ 64
516
+ /Users/mparker/work/github/couch_visible/features/support/env.rb
517
+ p
518
+ 0