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