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,78 @@
1
+ module CouchVisible
2
+
3
+ def self.included(base)
4
+ base.extend ModelClassMethods
5
+ base.property :couch_visible, TrueClass
6
+ base.view_by :hidden, :map => "
7
+ function(doc){
8
+ if (doc['couchrest-type'] == '#{base}' && doc.couch_visible == false){
9
+ emit(doc['_id'], null);
10
+ }
11
+ }
12
+ ", :reduce => "_count"
13
+ base.view_by :shown, :map => "
14
+ function(doc){
15
+ if (doc['couchrest-type'] == '#{base}' && doc.couch_visible == true){
16
+ emit(doc['_id'], null);
17
+ }
18
+ }
19
+ ", :reduce => "_count"
20
+
21
+ base.before_create do |doc|
22
+ doc.couch_visible = doc.class.show_by_default? if doc.couch_visible.nil?
23
+ true
24
+ end
25
+
26
+ if defined?(Memories) && base.ancestors.include?(Memories)
27
+ base.forget :couch_visible
28
+ end
29
+ end
30
+
31
+ module ModelClassMethods
32
+ def show_by_default?
33
+ unless defined? @show_by_default
34
+ CouchVisible.show_by_default?
35
+ else
36
+ @show_by_default
37
+ end
38
+ end
39
+
40
+ def show_by_default!
41
+ @show_by_default = true
42
+ end
43
+
44
+ def hide_by_default?
45
+ !show_by_default?
46
+ end
47
+
48
+ def hide_by_default!
49
+ @show_by_default = false
50
+ end
51
+
52
+ def count_hidden
53
+ result = by_hidden(:reduce => true)['rows'].first
54
+ result ? result['value'] : 0
55
+ end
56
+
57
+ def count_shown
58
+ result = by_shown(:reduce => true)['rows'].first
59
+ result ? result['value'] : 0
60
+ end
61
+ end
62
+
63
+ def shown?
64
+ couch_visible == true
65
+ end
66
+
67
+ def hidden?
68
+ couch_visible != true
69
+ end
70
+
71
+ def hide!
72
+ self.couch_visible = false
73
+ end
74
+
75
+ def show!
76
+ self.couch_visible = true
77
+ end
78
+ end
@@ -0,0 +1,1587 @@
1
+ !RBIX
2
+ 17831730954501249321
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 28
13
+ 99
14
+ 7
15
+ 0
16
+ 65
17
+ 49
18
+ 1
19
+ 2
20
+ 13
21
+ 99
22
+ 12
23
+ 7
24
+ 2
25
+ 12
26
+ 7
27
+ 3
28
+ 12
29
+ 65
30
+ 12
31
+ 49
32
+ 4
33
+ 4
34
+ 15
35
+ 49
36
+ 2
37
+ 0
38
+ 15
39
+ 2
40
+ 11
41
+ I
42
+ 6
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ n
50
+ p
51
+ 5
52
+ x
53
+ 12
54
+ CouchVisible
55
+ x
56
+ 11
57
+ open_module
58
+ x
59
+ 15
60
+ __module_init__
61
+ M
62
+ 1
63
+ n
64
+ n
65
+ x
66
+ 12
67
+ CouchVisible
68
+ i
69
+ 95
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 7
76
+ 1
77
+ 65
78
+ 5
79
+ 49
80
+ 2
81
+ 4
82
+ 15
83
+ 99
84
+ 7
85
+ 3
86
+ 65
87
+ 49
88
+ 4
89
+ 2
90
+ 13
91
+ 99
92
+ 12
93
+ 7
94
+ 5
95
+ 12
96
+ 7
97
+ 6
98
+ 12
99
+ 65
100
+ 12
101
+ 49
102
+ 2
103
+ 4
104
+ 15
105
+ 49
106
+ 5
107
+ 0
108
+ 15
109
+ 99
110
+ 7
111
+ 7
112
+ 7
113
+ 8
114
+ 65
115
+ 67
116
+ 49
117
+ 9
118
+ 0
119
+ 49
120
+ 10
121
+ 4
122
+ 15
123
+ 99
124
+ 7
125
+ 11
126
+ 7
127
+ 12
128
+ 65
129
+ 67
130
+ 49
131
+ 9
132
+ 0
133
+ 49
134
+ 10
135
+ 4
136
+ 15
137
+ 99
138
+ 7
139
+ 13
140
+ 7
141
+ 14
142
+ 65
143
+ 67
144
+ 49
145
+ 9
146
+ 0
147
+ 49
148
+ 10
149
+ 4
150
+ 15
151
+ 99
152
+ 7
153
+ 15
154
+ 7
155
+ 16
156
+ 65
157
+ 67
158
+ 49
159
+ 9
160
+ 0
161
+ 49
162
+ 10
163
+ 4
164
+ 11
165
+ I
166
+ 6
167
+ I
168
+ 0
169
+ I
170
+ 0
171
+ I
172
+ 0
173
+ n
174
+ p
175
+ 17
176
+ x
177
+ 8
178
+ included
179
+ M
180
+ 1
181
+ n
182
+ n
183
+ x
184
+ 8
185
+ included
186
+ i
187
+ 169
188
+ 20
189
+ 0
190
+ 45
191
+ 0
192
+ 1
193
+ 49
194
+ 2
195
+ 1
196
+ 15
197
+ 20
198
+ 0
199
+ 7
200
+ 3
201
+ 45
202
+ 4
203
+ 5
204
+ 49
205
+ 6
206
+ 2
207
+ 15
208
+ 20
209
+ 0
210
+ 7
211
+ 7
212
+ 44
213
+ 43
214
+ 8
215
+ 80
216
+ 49
217
+ 9
218
+ 1
219
+ 13
220
+ 7
221
+ 10
222
+ 7
223
+ 11
224
+ 20
225
+ 0
226
+ 47
227
+ 101
228
+ 12
229
+ 7
230
+ 13
231
+ 63
232
+ 3
233
+ 49
234
+ 14
235
+ 2
236
+ 15
237
+ 13
238
+ 7
239
+ 15
240
+ 7
241
+ 16
242
+ 64
243
+ 49
244
+ 14
245
+ 2
246
+ 15
247
+ 49
248
+ 17
249
+ 2
250
+ 15
251
+ 20
252
+ 0
253
+ 7
254
+ 18
255
+ 44
256
+ 43
257
+ 8
258
+ 80
259
+ 49
260
+ 9
261
+ 1
262
+ 13
263
+ 7
264
+ 10
265
+ 7
266
+ 11
267
+ 20
268
+ 0
269
+ 47
270
+ 101
271
+ 12
272
+ 7
273
+ 19
274
+ 63
275
+ 3
276
+ 49
277
+ 14
278
+ 2
279
+ 15
280
+ 13
281
+ 7
282
+ 15
283
+ 7
284
+ 16
285
+ 64
286
+ 49
287
+ 14
288
+ 2
289
+ 15
290
+ 49
291
+ 17
292
+ 2
293
+ 15
294
+ 20
295
+ 0
296
+ 56
297
+ 20
298
+ 50
299
+ 21
300
+ 0
301
+ 15
302
+ 26
303
+ 93
304
+ 0
305
+ 15
306
+ 29
307
+ 129
308
+ 0
309
+ 7
310
+ 22
311
+ 98
312
+ 23
313
+ 1
314
+ 30
315
+ 8
316
+ 135
317
+ 25
318
+ 92
319
+ 0
320
+ 27
321
+ 8
322
+ 140
323
+ 15
324
+ 7
325
+ 24
326
+ 8
327
+ 141
328
+ 1
329
+ 13
330
+ 9
331
+ 156
332
+ 15
333
+ 20
334
+ 0
335
+ 49
336
+ 25
337
+ 0
338
+ 45
339
+ 22
340
+ 26
341
+ 49
342
+ 27
343
+ 1
344
+ 9
345
+ 167
346
+ 20
347
+ 0
348
+ 7
349
+ 3
350
+ 49
351
+ 28
352
+ 1
353
+ 8
354
+ 168
355
+ 1
356
+ 11
357
+ I
358
+ a
359
+ I
360
+ 1
361
+ I
362
+ 1
363
+ I
364
+ 1
365
+ n
366
+ p
367
+ 29
368
+ x
369
+ 17
370
+ ModelClassMethods
371
+ n
372
+ x
373
+ 6
374
+ extend
375
+ x
376
+ 13
377
+ couch_visible
378
+ x
379
+ 9
380
+ TrueClass
381
+ n
382
+ x
383
+ 8
384
+ property
385
+ x
386
+ 6
387
+ hidden
388
+ x
389
+ 4
390
+ Hash
391
+ x
392
+ 16
393
+ new_from_literal
394
+ x
395
+ 3
396
+ map
397
+ s
398
+ 60
399
+
400
+ function(doc){
401
+ if (doc['couchrest-type'] == '
402
+ x
403
+ 4
404
+ to_s
405
+ s
406
+ 90
407
+ ' && doc.couch_visible == false){
408
+ emit(doc['_id'], null);
409
+ }
410
+ }
411
+
412
+ x
413
+ 3
414
+ []=
415
+ x
416
+ 6
417
+ reduce
418
+ s
419
+ 6
420
+ _count
421
+ x
422
+ 7
423
+ view_by
424
+ x
425
+ 5
426
+ shown
427
+ s
428
+ 89
429
+ ' && doc.couch_visible == true){
430
+ emit(doc['_id'], null);
431
+ }
432
+ }
433
+
434
+ M
435
+ 1
436
+ p
437
+ 2
438
+ x
439
+ 9
440
+ for_block
441
+ t
442
+ n
443
+ x
444
+ 8
445
+ included
446
+ i
447
+ 37
448
+ 57
449
+ 19
450
+ 0
451
+ 15
452
+ 20
453
+ 0
454
+ 49
455
+ 0
456
+ 0
457
+ 49
458
+ 1
459
+ 0
460
+ 9
461
+ 33
462
+ 20
463
+ 0
464
+ 20
465
+ 0
466
+ 49
467
+ 2
468
+ 0
469
+ 49
470
+ 3
471
+ 0
472
+ 13
473
+ 18
474
+ 2
475
+ 49
476
+ 4
477
+ 1
478
+ 15
479
+ 8
480
+ 34
481
+ 1
482
+ 15
483
+ 2
484
+ 11
485
+ I
486
+ 5
487
+ I
488
+ 1
489
+ I
490
+ 1
491
+ I
492
+ 1
493
+ n
494
+ p
495
+ 5
496
+ x
497
+ 13
498
+ couch_visible
499
+ x
500
+ 4
501
+ nil?
502
+ x
503
+ 5
504
+ class
505
+ x
506
+ 16
507
+ show_by_default?
508
+ x
509
+ 14
510
+ couch_visible=
511
+ p
512
+ 9
513
+ I
514
+ 0
515
+ I
516
+ 15
517
+ I
518
+ 4
519
+ I
520
+ 16
521
+ I
522
+ 22
523
+ I
524
+ 0
525
+ I
526
+ 23
527
+ I
528
+ 17
529
+ I
530
+ 25
531
+ x
532
+ 75
533
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
534
+ p
535
+ 1
536
+ x
537
+ 3
538
+ doc
539
+ x
540
+ 13
541
+ before_create
542
+ x
543
+ 8
544
+ Memories
545
+ x
546
+ 16
547
+ vm_const_defined
548
+ s
549
+ 8
550
+ constant
551
+ x
552
+ 9
553
+ ancestors
554
+ n
555
+ x
556
+ 8
557
+ include?
558
+ x
559
+ 6
560
+ forget
561
+ p
562
+ 41
563
+ I
564
+ -1
565
+ I
566
+ 3
567
+ I
568
+ 0
569
+ I
570
+ 4
571
+ I
572
+ 9
573
+ I
574
+ 5
575
+ I
576
+ 14
577
+ I
578
+ 6
579
+ I
580
+ 18
581
+ I
582
+ c
583
+ I
584
+ 20
585
+ I
586
+ 6
587
+ I
588
+ 24
589
+ I
590
+ 8
591
+ I
592
+ 32
593
+ I
594
+ c
595
+ I
596
+ 3b
597
+ I
598
+ 6
599
+ I
600
+ 3f
601
+ I
602
+ d
603
+ I
604
+ 43
605
+ I
606
+ 13
607
+ I
608
+ 4b
609
+ I
610
+ d
611
+ I
612
+ 4f
613
+ I
614
+ f
615
+ I
616
+ 5d
617
+ I
618
+ 13
619
+ I
620
+ 66
621
+ I
622
+ d
623
+ I
624
+ 6a
625
+ I
626
+ 15
627
+ I
628
+ 72
629
+ I
630
+ 1a
631
+ I
632
+ 9e
633
+ I
634
+ 1b
635
+ I
636
+ a7
637
+ I
638
+ 1a
639
+ I
640
+ a8
641
+ I
642
+ 0
643
+ I
644
+ a9
645
+ x
646
+ 75
647
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
648
+ p
649
+ 1
650
+ x
651
+ 4
652
+ base
653
+ x
654
+ 13
655
+ attach_method
656
+ x
657
+ 17
658
+ ModelClassMethods
659
+ x
660
+ 11
661
+ open_module
662
+ x
663
+ 15
664
+ __module_init__
665
+ M
666
+ 1
667
+ n
668
+ n
669
+ x
670
+ 17
671
+ ModelClassMethods
672
+ i
673
+ 86
674
+ 5
675
+ 66
676
+ 99
677
+ 7
678
+ 0
679
+ 7
680
+ 1
681
+ 65
682
+ 67
683
+ 49
684
+ 2
685
+ 0
686
+ 49
687
+ 3
688
+ 4
689
+ 15
690
+ 99
691
+ 7
692
+ 4
693
+ 7
694
+ 5
695
+ 65
696
+ 67
697
+ 49
698
+ 2
699
+ 0
700
+ 49
701
+ 3
702
+ 4
703
+ 15
704
+ 99
705
+ 7
706
+ 6
707
+ 7
708
+ 7
709
+ 65
710
+ 67
711
+ 49
712
+ 2
713
+ 0
714
+ 49
715
+ 3
716
+ 4
717
+ 15
718
+ 99
719
+ 7
720
+ 8
721
+ 7
722
+ 9
723
+ 65
724
+ 67
725
+ 49
726
+ 2
727
+ 0
728
+ 49
729
+ 3
730
+ 4
731
+ 15
732
+ 99
733
+ 7
734
+ 10
735
+ 7
736
+ 11
737
+ 65
738
+ 67
739
+ 49
740
+ 2
741
+ 0
742
+ 49
743
+ 3
744
+ 4
745
+ 15
746
+ 99
747
+ 7
748
+ 12
749
+ 7
750
+ 13
751
+ 65
752
+ 67
753
+ 49
754
+ 2
755
+ 0
756
+ 49
757
+ 3
758
+ 4
759
+ 11
760
+ I
761
+ 5
762
+ I
763
+ 0
764
+ I
765
+ 0
766
+ I
767
+ 0
768
+ n
769
+ p
770
+ 14
771
+ x
772
+ 16
773
+ show_by_default?
774
+ M
775
+ 1
776
+ n
777
+ n
778
+ x
779
+ 16
780
+ show_by_default?
781
+ i
782
+ 26
783
+ 5
784
+ 7
785
+ 0
786
+ 49
787
+ 1
788
+ 1
789
+ 9
790
+ 12
791
+ 7
792
+ 2
793
+ 8
794
+ 13
795
+ 1
796
+ 9
797
+ 19
798
+ 39
799
+ 0
800
+ 8
801
+ 25
802
+ 45
803
+ 3
804
+ 4
805
+ 49
806
+ 5
807
+ 0
808
+ 11
809
+ I
810
+ 2
811
+ I
812
+ 0
813
+ I
814
+ 0
815
+ I
816
+ 0
817
+ n
818
+ p
819
+ 6
820
+ x
821
+ 16
822
+ @show_by_default
823
+ x
824
+ 31
825
+ __instance_variable_defined_p__
826
+ s
827
+ 17
828
+ instance-variable
829
+ x
830
+ 12
831
+ CouchVisible
832
+ n
833
+ x
834
+ 16
835
+ show_by_default?
836
+ p
837
+ 11
838
+ I
839
+ -1
840
+ I
841
+ 20
842
+ I
843
+ 0
844
+ I
845
+ 21
846
+ I
847
+ f
848
+ I
849
+ 24
850
+ I
851
+ 13
852
+ I
853
+ 22
854
+ I
855
+ 19
856
+ I
857
+ 0
858
+ I
859
+ 1a
860
+ x
861
+ 75
862
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
863
+ p
864
+ 0
865
+ x
866
+ 17
867
+ method_visibility
868
+ x
869
+ 15
870
+ add_defn_method
871
+ x
872
+ 16
873
+ show_by_default!
874
+ M
875
+ 1
876
+ n
877
+ n
878
+ x
879
+ 16
880
+ show_by_default!
881
+ i
882
+ 4
883
+ 2
884
+ 38
885
+ 0
886
+ 11
887
+ I
888
+ 1
889
+ I
890
+ 0
891
+ I
892
+ 0
893
+ I
894
+ 0
895
+ n
896
+ p
897
+ 1
898
+ x
899
+ 16
900
+ @show_by_default
901
+ p
902
+ 5
903
+ I
904
+ -1
905
+ I
906
+ 28
907
+ I
908
+ 0
909
+ I
910
+ 29
911
+ I
912
+ 4
913
+ x
914
+ 75
915
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
916
+ p
917
+ 0
918
+ x
919
+ 16
920
+ hide_by_default?
921
+ M
922
+ 1
923
+ n
924
+ n
925
+ x
926
+ 16
927
+ hide_by_default?
928
+ i
929
+ 12
930
+ 5
931
+ 47
932
+ 49
933
+ 0
934
+ 0
935
+ 10
936
+ 10
937
+ 2
938
+ 8
939
+ 11
940
+ 3
941
+ 11
942
+ I
943
+ 1
944
+ I
945
+ 0
946
+ I
947
+ 0
948
+ I
949
+ 0
950
+ n
951
+ p
952
+ 1
953
+ x
954
+ 16
955
+ show_by_default?
956
+ p
957
+ 5
958
+ I
959
+ -1
960
+ I
961
+ 2c
962
+ I
963
+ 0
964
+ I
965
+ 2d
966
+ I
967
+ c
968
+ x
969
+ 75
970
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
971
+ p
972
+ 0
973
+ x
974
+ 16
975
+ hide_by_default!
976
+ M
977
+ 1
978
+ n
979
+ n
980
+ x
981
+ 16
982
+ hide_by_default!
983
+ i
984
+ 4
985
+ 3
986
+ 38
987
+ 0
988
+ 11
989
+ I
990
+ 1
991
+ I
992
+ 0
993
+ I
994
+ 0
995
+ I
996
+ 0
997
+ n
998
+ p
999
+ 1
1000
+ x
1001
+ 16
1002
+ @show_by_default
1003
+ p
1004
+ 5
1005
+ I
1006
+ -1
1007
+ I
1008
+ 30
1009
+ I
1010
+ 0
1011
+ I
1012
+ 31
1013
+ I
1014
+ 4
1015
+ x
1016
+ 75
1017
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1018
+ p
1019
+ 0
1020
+ x
1021
+ 12
1022
+ count_hidden
1023
+ M
1024
+ 1
1025
+ n
1026
+ n
1027
+ x
1028
+ 12
1029
+ count_hidden
1030
+ i
1031
+ 48
1032
+ 5
1033
+ 44
1034
+ 43
1035
+ 0
1036
+ 79
1037
+ 49
1038
+ 1
1039
+ 1
1040
+ 13
1041
+ 7
1042
+ 2
1043
+ 2
1044
+ 49
1045
+ 3
1046
+ 2
1047
+ 15
1048
+ 47
1049
+ 49
1050
+ 4
1051
+ 1
1052
+ 7
1053
+ 5
1054
+ 64
1055
+ 49
1056
+ 6
1057
+ 1
1058
+ 49
1059
+ 7
1060
+ 0
1061
+ 19
1062
+ 0
1063
+ 15
1064
+ 20
1065
+ 0
1066
+ 9
1067
+ 46
1068
+ 20
1069
+ 0
1070
+ 7
1071
+ 8
1072
+ 64
1073
+ 49
1074
+ 6
1075
+ 1
1076
+ 8
1077
+ 47
1078
+ 78
1079
+ 11
1080
+ I
1081
+ 6
1082
+ I
1083
+ 1
1084
+ I
1085
+ 0
1086
+ I
1087
+ 0
1088
+ n
1089
+ p
1090
+ 9
1091
+ x
1092
+ 4
1093
+ Hash
1094
+ x
1095
+ 16
1096
+ new_from_literal
1097
+ x
1098
+ 6
1099
+ reduce
1100
+ x
1101
+ 3
1102
+ []=
1103
+ x
1104
+ 9
1105
+ by_hidden
1106
+ s
1107
+ 4
1108
+ rows
1109
+ x
1110
+ 2
1111
+ []
1112
+ x
1113
+ 5
1114
+ first
1115
+ s
1116
+ 5
1117
+ value
1118
+ p
1119
+ 9
1120
+ I
1121
+ -1
1122
+ I
1123
+ 34
1124
+ I
1125
+ 0
1126
+ I
1127
+ 35
1128
+ I
1129
+ 20
1130
+ I
1131
+ 36
1132
+ I
1133
+ 2f
1134
+ I
1135
+ 0
1136
+ I
1137
+ 30
1138
+ x
1139
+ 75
1140
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1141
+ p
1142
+ 1
1143
+ x
1144
+ 6
1145
+ result
1146
+ x
1147
+ 11
1148
+ count_shown
1149
+ M
1150
+ 1
1151
+ n
1152
+ n
1153
+ x
1154
+ 11
1155
+ count_shown
1156
+ i
1157
+ 48
1158
+ 5
1159
+ 44
1160
+ 43
1161
+ 0
1162
+ 79
1163
+ 49
1164
+ 1
1165
+ 1
1166
+ 13
1167
+ 7
1168
+ 2
1169
+ 2
1170
+ 49
1171
+ 3
1172
+ 2
1173
+ 15
1174
+ 47
1175
+ 49
1176
+ 4
1177
+ 1
1178
+ 7
1179
+ 5
1180
+ 64
1181
+ 49
1182
+ 6
1183
+ 1
1184
+ 49
1185
+ 7
1186
+ 0
1187
+ 19
1188
+ 0
1189
+ 15
1190
+ 20
1191
+ 0
1192
+ 9
1193
+ 46
1194
+ 20
1195
+ 0
1196
+ 7
1197
+ 8
1198
+ 64
1199
+ 49
1200
+ 6
1201
+ 1
1202
+ 8
1203
+ 47
1204
+ 78
1205
+ 11
1206
+ I
1207
+ 6
1208
+ I
1209
+ 1
1210
+ I
1211
+ 0
1212
+ I
1213
+ 0
1214
+ n
1215
+ p
1216
+ 9
1217
+ x
1218
+ 4
1219
+ Hash
1220
+ x
1221
+ 16
1222
+ new_from_literal
1223
+ x
1224
+ 6
1225
+ reduce
1226
+ x
1227
+ 3
1228
+ []=
1229
+ x
1230
+ 8
1231
+ by_shown
1232
+ s
1233
+ 4
1234
+ rows
1235
+ x
1236
+ 2
1237
+ []
1238
+ x
1239
+ 5
1240
+ first
1241
+ s
1242
+ 5
1243
+ value
1244
+ p
1245
+ 9
1246
+ I
1247
+ -1
1248
+ I
1249
+ 39
1250
+ I
1251
+ 0
1252
+ I
1253
+ 3a
1254
+ I
1255
+ 20
1256
+ I
1257
+ 3b
1258
+ I
1259
+ 2f
1260
+ I
1261
+ 0
1262
+ I
1263
+ 30
1264
+ x
1265
+ 75
1266
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1267
+ p
1268
+ 1
1269
+ x
1270
+ 6
1271
+ result
1272
+ p
1273
+ 13
1274
+ I
1275
+ 2
1276
+ I
1277
+ 20
1278
+ I
1279
+ 10
1280
+ I
1281
+ 28
1282
+ I
1283
+ 1e
1284
+ I
1285
+ 2c
1286
+ I
1287
+ 2c
1288
+ I
1289
+ 30
1290
+ I
1291
+ 3a
1292
+ I
1293
+ 34
1294
+ I
1295
+ 48
1296
+ I
1297
+ 39
1298
+ I
1299
+ 56
1300
+ x
1301
+ 75
1302
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1303
+ p
1304
+ 0
1305
+ x
1306
+ 6
1307
+ shown?
1308
+ M
1309
+ 1
1310
+ n
1311
+ n
1312
+ x
1313
+ 6
1314
+ shown?
1315
+ i
1316
+ 7
1317
+ 5
1318
+ 48
1319
+ 0
1320
+ 2
1321
+ 83
1322
+ 1
1323
+ 11
1324
+ I
1325
+ 2
1326
+ I
1327
+ 0
1328
+ I
1329
+ 0
1330
+ I
1331
+ 0
1332
+ n
1333
+ p
1334
+ 2
1335
+ x
1336
+ 13
1337
+ couch_visible
1338
+ x
1339
+ 2
1340
+ ==
1341
+ p
1342
+ 5
1343
+ I
1344
+ -1
1345
+ I
1346
+ 3f
1347
+ I
1348
+ 0
1349
+ I
1350
+ 40
1351
+ I
1352
+ 7
1353
+ x
1354
+ 75
1355
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1356
+ p
1357
+ 0
1358
+ x
1359
+ 17
1360
+ method_visibility
1361
+ x
1362
+ 15
1363
+ add_defn_method
1364
+ x
1365
+ 7
1366
+ hidden?
1367
+ M
1368
+ 1
1369
+ n
1370
+ n
1371
+ x
1372
+ 7
1373
+ hidden?
1374
+ i
1375
+ 13
1376
+ 5
1377
+ 48
1378
+ 0
1379
+ 2
1380
+ 83
1381
+ 1
1382
+ 10
1383
+ 11
1384
+ 2
1385
+ 8
1386
+ 12
1387
+ 3
1388
+ 11
1389
+ I
1390
+ 2
1391
+ I
1392
+ 0
1393
+ I
1394
+ 0
1395
+ I
1396
+ 0
1397
+ n
1398
+ p
1399
+ 2
1400
+ x
1401
+ 13
1402
+ couch_visible
1403
+ x
1404
+ 2
1405
+ ==
1406
+ p
1407
+ 5
1408
+ I
1409
+ -1
1410
+ I
1411
+ 43
1412
+ I
1413
+ 0
1414
+ I
1415
+ 44
1416
+ I
1417
+ d
1418
+ x
1419
+ 75
1420
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1421
+ p
1422
+ 0
1423
+ x
1424
+ 5
1425
+ hide!
1426
+ M
1427
+ 1
1428
+ n
1429
+ n
1430
+ x
1431
+ 5
1432
+ hide!
1433
+ i
1434
+ 11
1435
+ 5
1436
+ 3
1437
+ 13
1438
+ 18
1439
+ 2
1440
+ 47
1441
+ 49
1442
+ 0
1443
+ 1
1444
+ 15
1445
+ 11
1446
+ I
1447
+ 3
1448
+ I
1449
+ 0
1450
+ I
1451
+ 0
1452
+ I
1453
+ 0
1454
+ n
1455
+ p
1456
+ 1
1457
+ x
1458
+ 14
1459
+ couch_visible=
1460
+ p
1461
+ 7
1462
+ I
1463
+ -1
1464
+ I
1465
+ 47
1466
+ I
1467
+ 0
1468
+ I
1469
+ 4e
1470
+ I
1471
+ 1
1472
+ I
1473
+ 48
1474
+ I
1475
+ b
1476
+ x
1477
+ 75
1478
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1479
+ p
1480
+ 0
1481
+ x
1482
+ 5
1483
+ show!
1484
+ M
1485
+ 1
1486
+ n
1487
+ n
1488
+ x
1489
+ 5
1490
+ show!
1491
+ i
1492
+ 11
1493
+ 5
1494
+ 2
1495
+ 13
1496
+ 18
1497
+ 2
1498
+ 47
1499
+ 49
1500
+ 0
1501
+ 1
1502
+ 15
1503
+ 11
1504
+ I
1505
+ 3
1506
+ I
1507
+ 0
1508
+ I
1509
+ 0
1510
+ I
1511
+ 0
1512
+ n
1513
+ p
1514
+ 1
1515
+ x
1516
+ 14
1517
+ couch_visible=
1518
+ p
1519
+ 7
1520
+ I
1521
+ -1
1522
+ I
1523
+ 4b
1524
+ I
1525
+ 0
1526
+ I
1527
+ 4e
1528
+ I
1529
+ 1
1530
+ I
1531
+ 4c
1532
+ I
1533
+ b
1534
+ x
1535
+ 75
1536
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1537
+ p
1538
+ 0
1539
+ p
1540
+ 13
1541
+ I
1542
+ 2
1543
+ I
1544
+ 3
1545
+ I
1546
+ d
1547
+ I
1548
+ 1f
1549
+ I
1550
+ 27
1551
+ I
1552
+ 3f
1553
+ I
1554
+ 35
1555
+ I
1556
+ 43
1557
+ I
1558
+ 43
1559
+ I
1560
+ 47
1561
+ I
1562
+ 51
1563
+ I
1564
+ 4b
1565
+ I
1566
+ 5f
1567
+ x
1568
+ 75
1569
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1570
+ p
1571
+ 0
1572
+ x
1573
+ 13
1574
+ attach_method
1575
+ p
1576
+ 3
1577
+ I
1578
+ 0
1579
+ I
1580
+ 1
1581
+ I
1582
+ 1c
1583
+ x
1584
+ 75
1585
+ /Users/mparker/work/github/couch_visible/lib/couch_visible/couch_visible.rb
1586
+ p
1587
+ 0