primer 0.1.0 → 0.2.0

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