primer 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/History.txt +5 -0
  2. data/example/db/blog.sqlite3 +0 -0
  3. data/lib/primer/worker/active_record_agent.rb +3 -4
  4. data/spec/db/test.sqlite3 +0 -0
  5. metadata +37 -68
  6. data/lib/primer/bus/amqp.rbc +0 -1045
  7. data/lib/primer/bus/memory.rbc +0 -344
  8. data/lib/primer/bus.rbc +0 -872
  9. data/lib/primer/cache/memory.rbc +0 -1443
  10. data/lib/primer/cache/redis.rbc +0 -1643
  11. data/lib/primer/cache.rbc +0 -1502
  12. data/lib/primer/enabler.rbc +0 -414
  13. data/lib/primer/helpers.rbc +0 -1438
  14. data/lib/primer/lazyness.rbc +0 -1442
  15. data/lib/primer/real_time.rbc +0 -1999
  16. data/lib/primer/route_set.rbc +0 -1475
  17. data/lib/primer/watcher/active_record_macros.rbc +0 -1796
  18. data/lib/primer/watcher/macros.rbc +0 -1628
  19. data/lib/primer/watcher.rbc +0 -1416
  20. data/lib/primer/worker/active_record_agent.rbc +0 -2840
  21. data/lib/primer/worker/changes_agent.rbc +0 -578
  22. data/lib/primer/worker.rbc +0 -1254
  23. data/lib/primer.rbc +0 -944
  24. data/spec/models/artist.rbc +0 -288
  25. data/spec/models/blog_post.rbc +0 -181
  26. data/spec/models/calendar.rbc +0 -209
  27. data/spec/models/concert.rbc +0 -211
  28. data/spec/models/performance.rbc +0 -177
  29. data/spec/models/person.rbc +0 -306
  30. data/spec/models/watchable.rbc +0 -363
  31. data/spec/primer/bus_spec.rbc +0 -940
  32. data/spec/primer/cache_spec.rbc +0 -8535
  33. data/spec/primer/helpers/erb_spec.rbc +0 -2485
  34. data/spec/primer/lazyness_spec.rbc +0 -1408
  35. data/spec/primer/watcher/active_record_spec.rbc +0 -5202
  36. data/spec/primer/watcher_spec.rbc +0 -2645
  37. data/spec/schema.rbc +0 -775
  38. data/spec/spec_helper.rbc +0 -1193
@@ -1,2645 +0,0 @@
1
- !RBIX
2
- 10310238139619683799
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 24
13
- 5
14
- 7
15
- 0
16
- 64
17
- 47
18
- 49
19
- 1
20
- 1
21
- 15
22
- 5
23
- 45
24
- 2
25
- 3
26
- 43
27
- 4
28
- 56
29
- 5
30
- 47
31
- 50
32
- 6
33
- 1
34
- 15
35
- 2
36
- 11
37
- I
38
- 3
39
- I
40
- 0
41
- I
42
- 0
43
- I
44
- 0
45
- n
46
- p
47
- 7
48
- s
49
- 11
50
- spec_helper
51
- x
52
- 7
53
- require
54
- x
55
- 6
56
- Primer
57
- n
58
- x
59
- 7
60
- Watcher
61
- M
62
- 1
63
- p
64
- 2
65
- x
66
- 9
67
- for_block
68
- t
69
- n
70
- x
71
- 9
72
- __block__
73
- i
74
- 54
75
- 5
76
- 7
77
- 0
78
- 56
79
- 1
80
- 47
81
- 50
82
- 2
83
- 1
84
- 15
85
- 5
86
- 7
87
- 3
88
- 64
89
- 56
90
- 4
91
- 47
92
- 50
93
- 5
94
- 1
95
- 15
96
- 5
97
- 7
98
- 6
99
- 64
100
- 56
101
- 7
102
- 47
103
- 50
104
- 5
105
- 1
106
- 15
107
- 5
108
- 7
109
- 8
110
- 64
111
- 56
112
- 9
113
- 47
114
- 50
115
- 5
116
- 1
117
- 15
118
- 5
119
- 7
120
- 10
121
- 64
122
- 56
123
- 11
124
- 47
125
- 50
126
- 5
127
- 1
128
- 11
129
- I
130
- 4
131
- I
132
- 0
133
- I
134
- 0
135
- I
136
- 0
137
- I
138
- -2
139
- p
140
- 12
141
- x
142
- 9
143
- watchable
144
- M
145
- 1
146
- p
147
- 2
148
- x
149
- 9
150
- for_block
151
- t
152
- n
153
- x
154
- 9
155
- __block__
156
- i
157
- 31
158
- 45
159
- 0
160
- 1
161
- 13
162
- 71
163
- 2
164
- 47
165
- 9
166
- 24
167
- 47
168
- 49
169
- 3
170
- 0
171
- 13
172
- 7
173
- 4
174
- 64
175
- 47
176
- 49
177
- 5
178
- 1
179
- 15
180
- 8
181
- 30
182
- 7
183
- 4
184
- 64
185
- 49
186
- 2
187
- 1
188
- 11
189
- I
190
- 4
191
- I
192
- 0
193
- I
194
- 0
195
- I
196
- 0
197
- I
198
- -2
199
- p
200
- 6
201
- x
202
- 9
203
- Watchable
204
- n
205
- x
206
- 3
207
- new
208
- x
209
- 8
210
- allocate
211
- s
212
- 5
213
- Aaron
214
- x
215
- 10
216
- initialize
217
- p
218
- 3
219
- I
220
- 0
221
- I
222
- 4
223
- I
224
- 1f
225
- x
226
- 58
227
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
228
- p
229
- 0
230
- x
231
- 3
232
- let
233
- s
234
- 18
235
- #primer_identifier
236
- M
237
- 1
238
- p
239
- 2
240
- x
241
- 9
242
- for_block
243
- t
244
- n
245
- x
246
- 9
247
- __block__
248
- i
249
- 11
250
- 5
251
- 7
252
- 0
253
- 64
254
- 56
255
- 1
256
- 47
257
- 50
258
- 2
259
- 1
260
- 11
261
- I
262
- 4
263
- I
264
- 0
265
- I
266
- 0
267
- I
268
- 0
269
- I
270
- -2
271
- p
272
- 3
273
- s
274
- 55
275
- returns a tuple that tells us enough to find the object
276
- M
277
- 1
278
- p
279
- 2
280
- x
281
- 9
282
- for_block
283
- t
284
- n
285
- x
286
- 9
287
- __block__
288
- i
289
- 26
290
- 5
291
- 48
292
- 0
293
- 49
294
- 1
295
- 0
296
- 49
297
- 2
298
- 0
299
- 7
300
- 3
301
- 64
302
- 7
303
- 4
304
- 64
305
- 5
306
- 48
307
- 0
308
- 49
309
- 5
310
- 0
311
- 35
312
- 3
313
- 83
314
- 6
315
- 11
316
- I
317
- 5
318
- I
319
- 0
320
- I
321
- 0
322
- I
323
- 0
324
- I
325
- -2
326
- p
327
- 7
328
- x
329
- 9
330
- watchable
331
- x
332
- 17
333
- primer_identifier
334
- x
335
- 6
336
- should
337
- s
338
- 6
339
- Object
340
- s
341
- 9
342
- Watchable
343
- x
344
- 9
345
- object_id
346
- x
347
- 2
348
- ==
349
- p
350
- 3
351
- I
352
- 0
353
- I
354
- 8
355
- I
356
- 1a
357
- x
358
- 58
359
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
360
- p
361
- 0
362
- x
363
- 2
364
- it
365
- p
366
- 3
367
- I
368
- 0
369
- I
370
- 7
371
- I
372
- b
373
- x
374
- 58
375
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
376
- p
377
- 0
378
- x
379
- 8
380
- describe
381
- s
382
- 22
383
- with watching disabled
384
- M
385
- 1
386
- p
387
- 2
388
- x
389
- 9
390
- for_block
391
- t
392
- n
393
- x
394
- 9
395
- __block__
396
- i
397
- 30
398
- 5
399
- 56
400
- 0
401
- 47
402
- 50
403
- 1
404
- 0
405
- 15
406
- 5
407
- 7
408
- 2
409
- 64
410
- 56
411
- 3
412
- 47
413
- 50
414
- 4
415
- 1
416
- 15
417
- 5
418
- 7
419
- 5
420
- 64
421
- 56
422
- 6
423
- 47
424
- 50
425
- 4
426
- 1
427
- 11
428
- I
429
- 4
430
- I
431
- 0
432
- I
433
- 0
434
- I
435
- 0
436
- I
437
- -2
438
- p
439
- 7
440
- M
441
- 1
442
- p
443
- 2
444
- x
445
- 9
446
- for_block
447
- t
448
- n
449
- x
450
- 9
451
- __block__
452
- i
453
- 9
454
- 45
455
- 0
456
- 1
457
- 43
458
- 2
459
- 49
460
- 3
461
- 0
462
- 11
463
- I
464
- 2
465
- I
466
- 0
467
- I
468
- 0
469
- I
470
- 0
471
- I
472
- -2
473
- p
474
- 4
475
- x
476
- 6
477
- Primer
478
- n
479
- x
480
- 7
481
- Watcher
482
- x
483
- 8
484
- disable!
485
- p
486
- 3
487
- I
488
- 0
489
- I
490
- d
491
- I
492
- 9
493
- x
494
- 58
495
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
496
- p
497
- 0
498
- x
499
- 6
500
- before
501
- s
502
- 25
503
- lets methods run as usual
504
- M
505
- 1
506
- p
507
- 2
508
- x
509
- 9
510
- for_block
511
- t
512
- n
513
- x
514
- 9
515
- __block__
516
- i
517
- 15
518
- 5
519
- 48
520
- 0
521
- 49
522
- 1
523
- 0
524
- 49
525
- 2
526
- 0
527
- 7
528
- 3
529
- 64
530
- 83
531
- 4
532
- 11
533
- I
534
- 3
535
- I
536
- 0
537
- I
538
- 0
539
- I
540
- 0
541
- I
542
- -2
543
- p
544
- 5
545
- x
546
- 9
547
- watchable
548
- x
549
- 4
550
- name
551
- x
552
- 6
553
- should
554
- s
555
- 5
556
- Aaron
557
- x
558
- 2
559
- ==
560
- p
561
- 3
562
- I
563
- 0
564
- I
565
- 10
566
- I
567
- f
568
- x
569
- 58
570
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
571
- p
572
- 0
573
- x
574
- 2
575
- it
576
- s
577
- 25
578
- does not log method calls
579
- M
580
- 1
581
- p
582
- 2
583
- x
584
- 9
585
- for_block
586
- t
587
- n
588
- x
589
- 9
590
- __block__
591
- i
592
- 22
593
- 5
594
- 48
595
- 0
596
- 49
597
- 1
598
- 0
599
- 15
600
- 45
601
- 2
602
- 3
603
- 43
604
- 4
605
- 49
606
- 5
607
- 0
608
- 5
609
- 48
610
- 6
611
- 49
612
- 7
613
- 1
614
- 11
615
- I
616
- 3
617
- I
618
- 0
619
- I
620
- 0
621
- I
622
- 0
623
- I
624
- -2
625
- p
626
- 8
627
- x
628
- 9
629
- watchable
630
- x
631
- 4
632
- name
633
- x
634
- 6
635
- Primer
636
- n
637
- x
638
- 7
639
- Watcher
640
- x
641
- 8
642
- call_log
643
- x
644
- 8
645
- be_empty
646
- x
647
- 6
648
- should
649
- p
650
- 5
651
- I
652
- 0
653
- I
654
- 14
655
- I
656
- 7
657
- I
658
- 15
659
- I
660
- 16
661
- x
662
- 58
663
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
664
- p
665
- 0
666
- p
667
- 7
668
- I
669
- 0
670
- I
671
- d
672
- I
673
- 8
674
- I
675
- f
676
- I
677
- 13
678
- I
679
- 13
680
- I
681
- 1e
682
- x
683
- 58
684
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
685
- p
686
- 0
687
- s
688
- 21
689
- with watching enabled
690
- M
691
- 1
692
- p
693
- 2
694
- x
695
- 9
696
- for_block
697
- t
698
- n
699
- x
700
- 9
701
- __block__
702
- i
703
- 63
704
- 5
705
- 56
706
- 0
707
- 47
708
- 50
709
- 1
710
- 0
711
- 15
712
- 5
713
- 7
714
- 2
715
- 64
716
- 56
717
- 3
718
- 47
719
- 50
720
- 4
721
- 1
722
- 15
723
- 5
724
- 7
725
- 5
726
- 64
727
- 56
728
- 6
729
- 47
730
- 50
731
- 4
732
- 1
733
- 15
734
- 5
735
- 7
736
- 7
737
- 64
738
- 56
739
- 8
740
- 47
741
- 50
742
- 4
743
- 1
744
- 15
745
- 5
746
- 7
747
- 9
748
- 64
749
- 56
750
- 10
751
- 47
752
- 50
753
- 4
754
- 1
755
- 15
756
- 5
757
- 7
758
- 11
759
- 64
760
- 56
761
- 12
762
- 47
763
- 50
764
- 4
765
- 1
766
- 11
767
- I
768
- 4
769
- I
770
- 0
771
- I
772
- 0
773
- I
774
- 0
775
- I
776
- -2
777
- p
778
- 13
779
- M
780
- 1
781
- p
782
- 2
783
- x
784
- 9
785
- for_block
786
- t
787
- n
788
- x
789
- 9
790
- __block__
791
- i
792
- 9
793
- 45
794
- 0
795
- 1
796
- 43
797
- 2
798
- 49
799
- 3
800
- 0
801
- 11
802
- I
803
- 2
804
- I
805
- 0
806
- I
807
- 0
808
- I
809
- 0
810
- I
811
- -2
812
- p
813
- 4
814
- x
815
- 6
816
- Primer
817
- n
818
- x
819
- 7
820
- Watcher
821
- x
822
- 7
823
- enable!
824
- p
825
- 3
826
- I
827
- 0
828
- I
829
- 1a
830
- I
831
- 9
832
- x
833
- 58
834
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
835
- p
836
- 0
837
- x
838
- 6
839
- before
840
- s
841
- 45
842
- lets methods return their usual return values
843
- M
844
- 1
845
- p
846
- 2
847
- x
848
- 9
849
- for_block
850
- t
851
- n
852
- x
853
- 9
854
- __block__
855
- i
856
- 15
857
- 5
858
- 48
859
- 0
860
- 49
861
- 1
862
- 0
863
- 49
864
- 2
865
- 0
866
- 7
867
- 3
868
- 64
869
- 83
870
- 4
871
- 11
872
- I
873
- 3
874
- I
875
- 0
876
- I
877
- 0
878
- I
879
- 0
880
- I
881
- -2
882
- p
883
- 5
884
- x
885
- 9
886
- watchable
887
- x
888
- 4
889
- name
890
- x
891
- 6
892
- should
893
- s
894
- 5
895
- Aaron
896
- x
897
- 2
898
- ==
899
- p
900
- 3
901
- I
902
- 0
903
- I
904
- 1d
905
- I
906
- f
907
- x
908
- 58
909
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
910
- p
911
- 0
912
- x
913
- 2
914
- it
915
- s
916
- 31
917
- logs the monitored method calls
918
- M
919
- 1
920
- p
921
- 2
922
- x
923
- 9
924
- for_block
925
- t
926
- n
927
- x
928
- 9
929
- __block__
930
- i
931
- 36
932
- 5
933
- 48
934
- 0
935
- 49
936
- 1
937
- 0
938
- 15
939
- 45
940
- 2
941
- 3
942
- 43
943
- 4
944
- 49
945
- 5
946
- 0
947
- 49
948
- 6
949
- 0
950
- 5
951
- 48
952
- 0
953
- 7
954
- 1
955
- 35
956
- 0
957
- 1
958
- 7
959
- 7
960
- 64
961
- 35
962
- 5
963
- 35
964
- 1
965
- 83
966
- 8
967
- 11
968
- I
969
- 7
970
- I
971
- 0
972
- I
973
- 0
974
- I
975
- 0
976
- I
977
- -2
978
- p
979
- 9
980
- x
981
- 9
982
- watchable
983
- x
984
- 4
985
- name
986
- x
987
- 6
988
- Primer
989
- n
990
- x
991
- 7
992
- Watcher
993
- x
994
- 8
995
- call_log
996
- x
997
- 6
998
- should
999
- s
1000
- 5
1001
- Aaron
1002
- x
1003
- 2
1004
- ==
1005
- p
1006
- 5
1007
- I
1008
- 0
1009
- I
1010
- 21
1011
- I
1012
- 7
1013
- I
1014
- 22
1015
- I
1016
- 24
1017
- x
1018
- 58
1019
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1020
- p
1021
- 0
1022
- s
1023
- 31
1024
- logs arguments given to methods
1025
- M
1026
- 1
1027
- p
1028
- 2
1029
- x
1030
- 9
1031
- for_block
1032
- t
1033
- n
1034
- x
1035
- 9
1036
- __block__
1037
- i
1038
- 64
1039
- 5
1040
- 48
1041
- 0
1042
- 7
1043
- 1
1044
- 64
1045
- 49
1046
- 2
1047
- 1
1048
- 15
1049
- 5
1050
- 48
1051
- 0
1052
- 7
1053
- 3
1054
- 64
1055
- 49
1056
- 2
1057
- 1
1058
- 15
1059
- 45
1060
- 4
1061
- 5
1062
- 43
1063
- 6
1064
- 49
1065
- 7
1066
- 0
1067
- 49
1068
- 8
1069
- 0
1070
- 5
1071
- 48
1072
- 0
1073
- 7
1074
- 2
1075
- 7
1076
- 1
1077
- 64
1078
- 35
1079
- 1
1080
- 1
1081
- 2
1082
- 35
1083
- 5
1084
- 5
1085
- 48
1086
- 0
1087
- 7
1088
- 2
1089
- 7
1090
- 3
1091
- 64
1092
- 35
1093
- 1
1094
- 1
1095
- 3
1096
- 35
1097
- 5
1098
- 35
1099
- 2
1100
- 83
1101
- 9
1102
- 11
1103
- I
1104
- 8
1105
- I
1106
- 0
1107
- I
1108
- 0
1109
- I
1110
- 0
1111
- I
1112
- -2
1113
- p
1114
- 10
1115
- x
1116
- 9
1117
- watchable
1118
- s
1119
- 5
1120
- Aaron
1121
- x
1122
- 10
1123
- is_called?
1124
- s
1125
- 3
1126
- Abe
1127
- x
1128
- 6
1129
- Primer
1130
- n
1131
- x
1132
- 7
1133
- Watcher
1134
- x
1135
- 8
1136
- call_log
1137
- x
1138
- 6
1139
- should
1140
- x
1141
- 2
1142
- ==
1143
- p
1144
- 11
1145
- I
1146
- 0
1147
- I
1148
- 26
1149
- I
1150
- a
1151
- I
1152
- 27
1153
- I
1154
- 14
1155
- I
1156
- 28
1157
- I
1158
- 1f
1159
- I
1160
- 29
1161
- I
1162
- 2d
1163
- I
1164
- 2a
1165
- I
1166
- 40
1167
- x
1168
- 58
1169
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1170
- p
1171
- 0
1172
- s
1173
- 29
1174
- logs blocks passed to methods
1175
- M
1176
- 1
1177
- p
1178
- 2
1179
- x
1180
- 9
1181
- for_block
1182
- t
1183
- n
1184
- x
1185
- 9
1186
- __block__
1187
- i
1188
- 60
1189
- 5
1190
- 56
1191
- 0
1192
- 47
1193
- 50
1194
- 1
1195
- 0
1196
- 19
1197
- 0
1198
- 15
1199
- 5
1200
- 48
1201
- 2
1202
- 20
1203
- 0
1204
- 13
1205
- 70
1206
- 10
1207
- 26
1208
- 44
1209
- 43
1210
- 3
1211
- 12
1212
- 49
1213
- 4
1214
- 1
1215
- 50
1216
- 5
1217
- 0
1218
- 15
1219
- 45
1220
- 6
1221
- 7
1222
- 43
1223
- 8
1224
- 49
1225
- 9
1226
- 0
1227
- 49
1228
- 10
1229
- 0
1230
- 5
1231
- 48
1232
- 2
1233
- 7
1234
- 5
1235
- 35
1236
- 0
1237
- 20
1238
- 0
1239
- 7
1240
- 11
1241
- 64
1242
- 35
1243
- 5
1244
- 35
1245
- 1
1246
- 83
1247
- 12
1248
- 11
1249
- I
1250
- 8
1251
- I
1252
- 1
1253
- I
1254
- 0
1255
- I
1256
- 0
1257
- I
1258
- -2
1259
- p
1260
- 13
1261
- M
1262
- 1
1263
- p
1264
- 2
1265
- x
1266
- 9
1267
- for_block
1268
- t
1269
- n
1270
- x
1271
- 9
1272
- __block__
1273
- i
1274
- 2
1275
- 1
1276
- 11
1277
- I
1278
- 2
1279
- I
1280
- 0
1281
- I
1282
- 0
1283
- I
1284
- 0
1285
- I
1286
- -2
1287
- p
1288
- 0
1289
- p
1290
- 3
1291
- I
1292
- 0
1293
- I
1294
- 2f
1295
- I
1296
- 2
1297
- x
1298
- 58
1299
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1300
- p
1301
- 0
1302
- x
1303
- 6
1304
- lambda
1305
- x
1306
- 9
1307
- watchable
1308
- x
1309
- 4
1310
- Proc
1311
- x
1312
- 14
1313
- __from_block__
1314
- x
1315
- 4
1316
- name
1317
- x
1318
- 6
1319
- Primer
1320
- n
1321
- x
1322
- 7
1323
- Watcher
1324
- x
1325
- 8
1326
- call_log
1327
- x
1328
- 6
1329
- should
1330
- s
1331
- 5
1332
- Aaron
1333
- x
1334
- 2
1335
- ==
1336
- p
1337
- 7
1338
- I
1339
- 0
1340
- I
1341
- 2f
1342
- I
1343
- a
1344
- I
1345
- 30
1346
- I
1347
- 1e
1348
- I
1349
- 31
1350
- I
1351
- 3c
1352
- x
1353
- 58
1354
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1355
- p
1356
- 1
1357
- x
1358
- 5
1359
- block
1360
- s
1361
- 42
1362
- does not log after you disable the watcher
1363
- M
1364
- 1
1365
- p
1366
- 2
1367
- x
1368
- 9
1369
- for_block
1370
- t
1371
- n
1372
- x
1373
- 9
1374
- __block__
1375
- i
1376
- 71
1377
- 45
1378
- 0
1379
- 1
1380
- 43
1381
- 2
1382
- 49
1383
- 3
1384
- 0
1385
- 15
1386
- 5
1387
- 48
1388
- 4
1389
- 49
1390
- 5
1391
- 0
1392
- 49
1393
- 6
1394
- 0
1395
- 7
1396
- 7
1397
- 64
1398
- 83
1399
- 8
1400
- 15
1401
- 5
1402
- 48
1403
- 4
1404
- 7
1405
- 7
1406
- 64
1407
- 49
1408
- 9
1409
- 1
1410
- 5
1411
- 48
1412
- 10
1413
- 49
1414
- 6
1415
- 1
1416
- 15
1417
- 5
1418
- 48
1419
- 4
1420
- 7
1421
- 11
1422
- 64
1423
- 49
1424
- 9
1425
- 1
1426
- 5
1427
- 48
1428
- 12
1429
- 49
1430
- 6
1431
- 1
1432
- 15
1433
- 45
1434
- 0
1435
- 13
1436
- 43
1437
- 2
1438
- 49
1439
- 14
1440
- 0
1441
- 5
1442
- 48
1443
- 15
1444
- 49
1445
- 6
1446
- 1
1447
- 11
1448
- I
1449
- 3
1450
- I
1451
- 0
1452
- I
1453
- 0
1454
- I
1455
- 0
1456
- I
1457
- -2
1458
- p
1459
- 16
1460
- x
1461
- 6
1462
- Primer
1463
- n
1464
- x
1465
- 7
1466
- Watcher
1467
- x
1468
- 8
1469
- disable!
1470
- x
1471
- 9
1472
- watchable
1473
- x
1474
- 4
1475
- name
1476
- x
1477
- 6
1478
- should
1479
- s
1480
- 5
1481
- Aaron
1482
- x
1483
- 2
1484
- ==
1485
- x
1486
- 10
1487
- is_called?
1488
- x
1489
- 7
1490
- be_true
1491
- s
1492
- 3
1493
- Abe
1494
- x
1495
- 8
1496
- be_false
1497
- n
1498
- x
1499
- 8
1500
- call_log
1501
- x
1502
- 8
1503
- be_empty
1504
- p
1505
- 11
1506
- I
1507
- 0
1508
- I
1509
- 35
1510
- I
1511
- 9
1512
- I
1513
- 36
1514
- I
1515
- 18
1516
- I
1517
- 37
1518
- I
1519
- 28
1520
- I
1521
- 38
1522
- I
1523
- 38
1524
- I
1525
- 39
1526
- I
1527
- 47
1528
- x
1529
- 58
1530
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1531
- p
1532
- 0
1533
- p
1534
- 13
1535
- I
1536
- 0
1537
- I
1538
- 1a
1539
- I
1540
- 8
1541
- I
1542
- 1c
1543
- I
1544
- 13
1545
- I
1546
- 20
1547
- I
1548
- 1e
1549
- I
1550
- 25
1551
- I
1552
- 29
1553
- I
1554
- 2e
1555
- I
1556
- 34
1557
- I
1558
- 34
1559
- I
1560
- 3f
1561
- x
1562
- 58
1563
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1564
- p
1565
- 0
1566
- s
1567
- 9
1568
- .watching
1569
- M
1570
- 1
1571
- p
1572
- 2
1573
- x
1574
- 9
1575
- for_block
1576
- t
1577
- n
1578
- x
1579
- 9
1580
- __block__
1581
- i
1582
- 44
1583
- 5
1584
- 7
1585
- 0
1586
- 64
1587
- 56
1588
- 1
1589
- 47
1590
- 50
1591
- 2
1592
- 1
1593
- 15
1594
- 5
1595
- 7
1596
- 3
1597
- 64
1598
- 56
1599
- 4
1600
- 47
1601
- 50
1602
- 2
1603
- 1
1604
- 15
1605
- 5
1606
- 7
1607
- 5
1608
- 64
1609
- 56
1610
- 6
1611
- 47
1612
- 50
1613
- 2
1614
- 1
1615
- 15
1616
- 5
1617
- 7
1618
- 7
1619
- 64
1620
- 56
1621
- 8
1622
- 47
1623
- 50
1624
- 2
1625
- 1
1626
- 11
1627
- I
1628
- 4
1629
- I
1630
- 0
1631
- I
1632
- 0
1633
- I
1634
- 0
1635
- I
1636
- -2
1637
- p
1638
- 9
1639
- s
1640
- 30
1641
- returns the value of the block
1642
- M
1643
- 1
1644
- p
1645
- 2
1646
- x
1647
- 9
1648
- for_block
1649
- t
1650
- n
1651
- x
1652
- 9
1653
- __block__
1654
- i
1655
- 19
1656
- 45
1657
- 0
1658
- 1
1659
- 43
1660
- 2
1661
- 56
1662
- 3
1663
- 50
1664
- 4
1665
- 0
1666
- 49
1667
- 5
1668
- 0
1669
- 7
1670
- 6
1671
- 64
1672
- 83
1673
- 7
1674
- 11
1675
- I
1676
- 3
1677
- I
1678
- 0
1679
- I
1680
- 0
1681
- I
1682
- 0
1683
- I
1684
- -2
1685
- p
1686
- 8
1687
- x
1688
- 6
1689
- Primer
1690
- n
1691
- x
1692
- 7
1693
- Watcher
1694
- M
1695
- 1
1696
- p
1697
- 2
1698
- x
1699
- 9
1700
- for_block
1701
- t
1702
- n
1703
- x
1704
- 9
1705
- __block__
1706
- i
1707
- 7
1708
- 5
1709
- 48
1710
- 0
1711
- 49
1712
- 1
1713
- 0
1714
- 11
1715
- I
1716
- 2
1717
- I
1718
- 0
1719
- I
1720
- 0
1721
- I
1722
- 0
1723
- I
1724
- -2
1725
- p
1726
- 2
1727
- x
1728
- 9
1729
- watchable
1730
- x
1731
- 4
1732
- name
1733
- p
1734
- 3
1735
- I
1736
- 0
1737
- I
1738
- 3f
1739
- I
1740
- 7
1741
- x
1742
- 58
1743
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1744
- p
1745
- 0
1746
- x
1747
- 8
1748
- watching
1749
- x
1750
- 6
1751
- should
1752
- s
1753
- 5
1754
- Aaron
1755
- x
1756
- 2
1757
- ==
1758
- p
1759
- 3
1760
- I
1761
- 0
1762
- I
1763
- 3f
1764
- I
1765
- 13
1766
- x
1767
- 58
1768
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1769
- p
1770
- 0
1771
- x
1772
- 2
1773
- it
1774
- s
1775
- 48
1776
- logs calls during the block to a list you supply
1777
- M
1778
- 1
1779
- p
1780
- 2
1781
- x
1782
- 9
1783
- for_block
1784
- t
1785
- n
1786
- x
1787
- 9
1788
- __block__
1789
- i
1790
- 41
1791
- 35
1792
- 0
1793
- 19
1794
- 0
1795
- 15
1796
- 45
1797
- 0
1798
- 1
1799
- 43
1800
- 2
1801
- 20
1802
- 0
1803
- 56
1804
- 3
1805
- 50
1806
- 4
1807
- 1
1808
- 15
1809
- 20
1810
- 0
1811
- 49
1812
- 5
1813
- 0
1814
- 5
1815
- 48
1816
- 6
1817
- 7
1818
- 7
1819
- 35
1820
- 0
1821
- 1
1822
- 7
1823
- 8
1824
- 64
1825
- 35
1826
- 5
1827
- 35
1828
- 1
1829
- 83
1830
- 9
1831
- 11
1832
- I
1833
- 8
1834
- I
1835
- 1
1836
- I
1837
- 0
1838
- I
1839
- 0
1840
- I
1841
- -2
1842
- p
1843
- 10
1844
- x
1845
- 6
1846
- Primer
1847
- n
1848
- x
1849
- 7
1850
- Watcher
1851
- M
1852
- 1
1853
- p
1854
- 2
1855
- x
1856
- 9
1857
- for_block
1858
- t
1859
- n
1860
- x
1861
- 9
1862
- __block__
1863
- i
1864
- 7
1865
- 5
1866
- 48
1867
- 0
1868
- 49
1869
- 1
1870
- 0
1871
- 11
1872
- I
1873
- 2
1874
- I
1875
- 0
1876
- I
1877
- 0
1878
- I
1879
- 0
1880
- I
1881
- -2
1882
- p
1883
- 2
1884
- x
1885
- 9
1886
- watchable
1887
- x
1888
- 4
1889
- name
1890
- p
1891
- 3
1892
- I
1893
- 0
1894
- I
1895
- 44
1896
- I
1897
- 7
1898
- x
1899
- 58
1900
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1901
- p
1902
- 0
1903
- x
1904
- 8
1905
- watching
1906
- x
1907
- 6
1908
- should
1909
- x
1910
- 9
1911
- watchable
1912
- x
1913
- 4
1914
- name
1915
- s
1916
- 5
1917
- Aaron
1918
- x
1919
- 2
1920
- ==
1921
- p
1922
- 7
1923
- I
1924
- 0
1925
- I
1926
- 43
1927
- I
1928
- 5
1929
- I
1930
- 44
1931
- I
1932
- 12
1933
- I
1934
- 45
1935
- I
1936
- 29
1937
- x
1938
- 58
1939
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
1940
- p
1941
- 1
1942
- x
1943
- 5
1944
- calls
1945
- s
1946
- 39
1947
- does not log calls outside of the block
1948
- M
1949
- 1
1950
- p
1951
- 2
1952
- x
1953
- 9
1954
- for_block
1955
- t
1956
- n
1957
- x
1958
- 9
1959
- __block__
1960
- i
1961
- 47
1962
- 45
1963
- 0
1964
- 1
1965
- 43
1966
- 2
1967
- 56
1968
- 3
1969
- 50
1970
- 4
1971
- 0
1972
- 15
1973
- 5
1974
- 48
1975
- 5
1976
- 49
1977
- 6
1978
- 0
1979
- 15
1980
- 45
1981
- 0
1982
- 7
1983
- 43
1984
- 2
1985
- 49
1986
- 8
1987
- 0
1988
- 49
1989
- 9
1990
- 0
1991
- 5
1992
- 48
1993
- 5
1994
- 7
1995
- 6
1996
- 35
1997
- 0
1998
- 1
1999
- 7
2000
- 10
2001
- 64
2002
- 35
2003
- 5
2004
- 35
2005
- 1
2006
- 83
2007
- 11
2008
- 11
2009
- I
2010
- 7
2011
- I
2012
- 0
2013
- I
2014
- 0
2015
- I
2016
- 0
2017
- I
2018
- -2
2019
- p
2020
- 12
2021
- x
2022
- 6
2023
- Primer
2024
- n
2025
- x
2026
- 7
2027
- Watcher
2028
- M
2029
- 1
2030
- p
2031
- 2
2032
- x
2033
- 9
2034
- for_block
2035
- t
2036
- n
2037
- x
2038
- 9
2039
- __block__
2040
- i
2041
- 7
2042
- 5
2043
- 48
2044
- 0
2045
- 49
2046
- 1
2047
- 0
2048
- 11
2049
- I
2050
- 2
2051
- I
2052
- 0
2053
- I
2054
- 0
2055
- I
2056
- 0
2057
- I
2058
- -2
2059
- p
2060
- 2
2061
- x
2062
- 9
2063
- watchable
2064
- x
2065
- 4
2066
- name
2067
- p
2068
- 3
2069
- I
2070
- 0
2071
- I
2072
- 49
2073
- I
2074
- 7
2075
- x
2076
- 58
2077
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2078
- p
2079
- 0
2080
- x
2081
- 8
2082
- watching
2083
- x
2084
- 9
2085
- watchable
2086
- x
2087
- 4
2088
- name
2089
- n
2090
- x
2091
- 8
2092
- call_log
2093
- x
2094
- 6
2095
- should
2096
- s
2097
- 5
2098
- Aaron
2099
- x
2100
- 2
2101
- ==
2102
- p
2103
- 7
2104
- I
2105
- 0
2106
- I
2107
- 49
2108
- I
2109
- b
2110
- I
2111
- 4a
2112
- I
2113
- 12
2114
- I
2115
- 4b
2116
- I
2117
- 2f
2118
- x
2119
- 58
2120
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2121
- p
2122
- 0
2123
- s
2124
- 52
2125
- allows nested blocks to just capture specific scopes
2126
- M
2127
- 1
2128
- p
2129
- 2
2130
- x
2131
- 9
2132
- for_block
2133
- t
2134
- n
2135
- x
2136
- 9
2137
- __block__
2138
- i
2139
- 113
2140
- 5
2141
- 56
2142
- 0
2143
- 47
2144
- 50
2145
- 1
2146
- 0
2147
- 19
2148
- 0
2149
- 15
2150
- 35
2151
- 0
2152
- 35
2153
- 0
2154
- 17
2155
- 2
2156
- 19
2157
- 1
2158
- 15
2159
- 19
2160
- 2
2161
- 15
2162
- 2
2163
- 15
2164
- 45
2165
- 2
2166
- 3
2167
- 43
2168
- 4
2169
- 20
2170
- 1
2171
- 56
2172
- 5
2173
- 50
2174
- 6
2175
- 1
2176
- 15
2177
- 20
2178
- 1
2179
- 49
2180
- 7
2181
- 0
2182
- 5
2183
- 48
2184
- 8
2185
- 7
2186
- 9
2187
- 35
2188
- 0
2189
- 1
2190
- 7
2191
- 10
2192
- 64
2193
- 35
2194
- 5
2195
- 5
2196
- 48
2197
- 8
2198
- 7
2199
- 11
2200
- 7
2201
- 12
2202
- 64
2203
- 35
2204
- 1
2205
- 1
2206
- 3
2207
- 35
2208
- 5
2209
- 5
2210
- 48
2211
- 8
2212
- 7
2213
- 11
2214
- 7
2215
- 10
2216
- 64
2217
- 35
2218
- 1
2219
- 20
2220
- 0
2221
- 2
2222
- 35
2223
- 5
2224
- 35
2225
- 3
2226
- 83
2227
- 13
2228
- 15
2229
- 20
2230
- 2
2231
- 49
2232
- 7
2233
- 0
2234
- 5
2235
- 48
2236
- 8
2237
- 7
2238
- 11
2239
- 7
2240
- 12
2241
- 64
2242
- 35
2243
- 1
2244
- 1
2245
- 3
2246
- 35
2247
- 5
2248
- 35
2249
- 1
2250
- 83
2251
- 13
2252
- 11
2253
- I
2254
- c
2255
- I
2256
- 3
2257
- I
2258
- 0
2259
- I
2260
- 0
2261
- I
2262
- -2
2263
- p
2264
- 14
2265
- M
2266
- 1
2267
- p
2268
- 2
2269
- x
2270
- 9
2271
- for_block
2272
- t
2273
- n
2274
- x
2275
- 9
2276
- __block__
2277
- i
2278
- 2
2279
- 1
2280
- 11
2281
- I
2282
- 2
2283
- I
2284
- 0
2285
- I
2286
- 0
2287
- I
2288
- 0
2289
- I
2290
- -2
2291
- p
2292
- 0
2293
- p
2294
- 3
2295
- I
2296
- 0
2297
- I
2298
- 4f
2299
- I
2300
- 2
2301
- x
2302
- 58
2303
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2304
- p
2305
- 0
2306
- x
2307
- 6
2308
- lambda
2309
- x
2310
- 6
2311
- Primer
2312
- n
2313
- x
2314
- 7
2315
- Watcher
2316
- M
2317
- 1
2318
- p
2319
- 2
2320
- x
2321
- 9
2322
- for_block
2323
- t
2324
- n
2325
- x
2326
- 9
2327
- __block__
2328
- i
2329
- 45
2330
- 5
2331
- 48
2332
- 0
2333
- 49
2334
- 1
2335
- 0
2336
- 15
2337
- 45
2338
- 2
2339
- 3
2340
- 43
2341
- 4
2342
- 21
2343
- 1
2344
- 2
2345
- 56
2346
- 5
2347
- 50
2348
- 6
2349
- 1
2350
- 15
2351
- 5
2352
- 48
2353
- 0
2354
- 7
2355
- 7
2356
- 64
2357
- 21
2358
- 1
2359
- 0
2360
- 13
2361
- 70
2362
- 10
2363
- 41
2364
- 44
2365
- 43
2366
- 8
2367
- 12
2368
- 49
2369
- 9
2370
- 1
2371
- 50
2372
- 10
2373
- 1
2374
- 11
2375
- I
2376
- 5
2377
- I
2378
- 0
2379
- I
2380
- 0
2381
- I
2382
- 0
2383
- I
2384
- -2
2385
- p
2386
- 11
2387
- x
2388
- 9
2389
- watchable
2390
- x
2391
- 4
2392
- name
2393
- x
2394
- 6
2395
- Primer
2396
- n
2397
- x
2398
- 7
2399
- Watcher
2400
- M
2401
- 1
2402
- p
2403
- 2
2404
- x
2405
- 9
2406
- for_block
2407
- t
2408
- n
2409
- x
2410
- 9
2411
- __block__
2412
- i
2413
- 10
2414
- 5
2415
- 48
2416
- 0
2417
- 7
2418
- 1
2419
- 64
2420
- 49
2421
- 2
2422
- 1
2423
- 11
2424
- I
2425
- 3
2426
- I
2427
- 0
2428
- I
2429
- 0
2430
- I
2431
- 0
2432
- I
2433
- -2
2434
- p
2435
- 3
2436
- x
2437
- 9
2438
- watchable
2439
- s
2440
- 3
2441
- Abe
2442
- x
2443
- 10
2444
- is_called?
2445
- p
2446
- 3
2447
- I
2448
- 0
2449
- I
2450
- 55
2451
- I
2452
- a
2453
- x
2454
- 58
2455
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2456
- p
2457
- 0
2458
- x
2459
- 8
2460
- watching
2461
- s
2462
- 5
2463
- Aaron
2464
- x
2465
- 4
2466
- Proc
2467
- x
2468
- 14
2469
- __from_block__
2470
- x
2471
- 10
2472
- is_called?
2473
- p
2474
- 7
2475
- I
2476
- 0
2477
- I
2478
- 53
2479
- I
2480
- 7
2481
- I
2482
- 54
2483
- I
2484
- 15
2485
- I
2486
- 57
2487
- I
2488
- 2d
2489
- x
2490
- 58
2491
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2492
- p
2493
- 0
2494
- x
2495
- 8
2496
- watching
2497
- x
2498
- 6
2499
- should
2500
- x
2501
- 9
2502
- watchable
2503
- x
2504
- 4
2505
- name
2506
- s
2507
- 5
2508
- Aaron
2509
- x
2510
- 10
2511
- is_called?
2512
- s
2513
- 3
2514
- Abe
2515
- x
2516
- 2
2517
- ==
2518
- p
2519
- 19
2520
- I
2521
- 0
2522
- I
2523
- 4f
2524
- I
2525
- a
2526
- I
2527
- 51
2528
- I
2529
- 18
2530
- I
2531
- 52
2532
- I
2533
- 25
2534
- I
2535
- 5a
2536
- I
2537
- 2a
2538
- I
2539
- 5b
2540
- I
2541
- 37
2542
- I
2543
- 5c
2544
- I
2545
- 45
2546
- I
2547
- 5d
2548
- I
2549
- 59
2550
- I
2551
- 5f
2552
- I
2553
- 5e
2554
- I
2555
- 60
2556
- I
2557
- 71
2558
- x
2559
- 58
2560
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2561
- p
2562
- 3
2563
- x
2564
- 5
2565
- block
2566
- x
2567
- 9
2568
- all_calls
2569
- x
2570
- 11
2571
- inner_calls
2572
- p
2573
- 9
2574
- I
2575
- 0
2576
- I
2577
- 3e
2578
- I
2579
- b
2580
- I
2581
- 42
2582
- I
2583
- 16
2584
- I
2585
- 48
2586
- I
2587
- 21
2588
- I
2589
- 4e
2590
- I
2591
- 2c
2592
- x
2593
- 58
2594
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2595
- p
2596
- 0
2597
- p
2598
- 11
2599
- I
2600
- 0
2601
- I
2602
- 4
2603
- I
2604
- a
2605
- I
2606
- 6
2607
- I
2608
- 15
2609
- I
2610
- c
2611
- I
2612
- 20
2613
- I
2614
- 19
2615
- I
2616
- 2b
2617
- I
2618
- 3d
2619
- I
2620
- 36
2621
- x
2622
- 58
2623
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2624
- p
2625
- 0
2626
- x
2627
- 8
2628
- describe
2629
- p
2630
- 5
2631
- I
2632
- 0
2633
- I
2634
- 1
2635
- I
2636
- 9
2637
- I
2638
- 3
2639
- I
2640
- 18
2641
- x
2642
- 58
2643
- /Users/jcoglan/projects/primer/spec/primer/watcher_spec.rb
2644
- p
2645
- 0