primer 0.2.0 → 0.2.1

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.
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
data/spec/spec_helper.rbc DELETED
@@ -1,1193 +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
- 272
13
- 45
14
- 0
15
- 1
16
- 45
17
- 0
18
- 2
19
- 65
20
- 49
21
- 3
22
- 0
23
- 49
24
- 4
25
- 1
26
- 49
27
- 5
28
- 1
29
- 19
30
- 0
31
- 15
32
- 99
33
- 43
34
- 6
35
- 7
36
- 7
37
- 49
38
- 8
39
- 1
40
- 20
41
- 0
42
- 49
43
- 9
44
- 1
45
- 15
46
- 5
47
- 7
48
- 10
49
- 64
50
- 47
51
- 49
52
- 11
53
- 1
54
- 15
55
- 5
56
- 7
57
- 12
58
- 64
59
- 47
60
- 49
61
- 11
62
- 1
63
- 15
64
- 5
65
- 20
66
- 0
67
- 7
68
- 13
69
- 64
70
- 81
71
- 14
72
- 47
73
- 49
74
- 11
75
- 1
76
- 15
77
- 5
78
- 7
79
- 15
80
- 64
81
- 47
82
- 49
83
- 11
84
- 1
85
- 15
86
- 5
87
- 7
88
- 16
89
- 64
90
- 47
91
- 49
92
- 11
93
- 1
94
- 15
95
- 5
96
- 7
97
- 17
98
- 64
99
- 47
100
- 49
101
- 11
102
- 1
103
- 15
104
- 5
105
- 7
106
- 18
107
- 64
108
- 47
109
- 49
110
- 11
111
- 1
112
- 15
113
- 5
114
- 7
115
- 19
116
- 64
117
- 47
118
- 49
119
- 11
120
- 1
121
- 15
122
- 45
123
- 20
124
- 21
125
- 20
126
- 0
127
- 7
128
- 22
129
- 64
130
- 81
131
- 14
132
- 49
133
- 23
134
- 1
135
- 15
136
- 45
137
- 24
138
- 25
139
- 43
140
- 26
141
- 44
142
- 43
143
- 27
144
- 80
145
- 49
146
- 28
147
- 1
148
- 13
149
- 7
150
- 29
151
- 7
152
- 30
153
- 64
154
- 49
155
- 31
156
- 2
157
- 15
158
- 13
159
- 7
160
- 32
161
- 20
162
- 0
163
- 7
164
- 33
165
- 64
166
- 81
167
- 14
168
- 49
169
- 31
170
- 2
171
- 15
172
- 49
173
- 34
174
- 1
175
- 15
176
- 5
177
- 7
178
- 35
179
- 64
180
- 47
181
- 49
182
- 11
183
- 1
184
- 15
185
- 5
186
- 7
187
- 36
188
- 64
189
- 47
190
- 49
191
- 11
192
- 1
193
- 15
194
- 5
195
- 7
196
- 37
197
- 64
198
- 47
199
- 49
200
- 11
201
- 1
202
- 15
203
- 5
204
- 7
205
- 38
206
- 64
207
- 47
208
- 49
209
- 11
210
- 1
211
- 15
212
- 5
213
- 7
214
- 39
215
- 64
216
- 47
217
- 49
218
- 11
219
- 1
220
- 15
221
- 5
222
- 7
223
- 40
224
- 64
225
- 47
226
- 49
227
- 11
228
- 1
229
- 15
230
- 5
231
- 7
232
- 41
233
- 64
234
- 47
235
- 49
236
- 11
237
- 1
238
- 15
239
- 5
240
- 7
241
- 42
242
- 64
243
- 47
244
- 49
245
- 11
246
- 1
247
- 15
248
- 99
249
- 7
250
- 43
251
- 65
252
- 49
253
- 44
254
- 2
255
- 13
256
- 99
257
- 12
258
- 7
259
- 45
260
- 12
261
- 7
262
- 46
263
- 12
264
- 65
265
- 12
266
- 49
267
- 47
268
- 4
269
- 15
270
- 49
271
- 45
272
- 0
273
- 15
274
- 45
275
- 48
276
- 49
277
- 56
278
- 50
279
- 50
280
- 51
281
- 0
282
- 15
283
- 2
284
- 11
285
- I
286
- 7
287
- I
288
- 1
289
- I
290
- 0
291
- I
292
- 0
293
- n
294
- p
295
- 52
296
- x
297
- 4
298
- File
299
- n
300
- n
301
- x
302
- 11
303
- active_path
304
- x
305
- 7
306
- dirname
307
- x
308
- 11
309
- expand_path
310
- x
311
- 7
312
- Globals
313
- x
314
- 2
315
- $:
316
- x
317
- 2
318
- []
319
- x
320
- 7
321
- unshift
322
- s
323
- 8
324
- rubygems
325
- x
326
- 7
327
- require
328
- s
329
- 13
330
- bundler/setup
331
- s
332
- 14
333
- /../lib/primer
334
- x
335
- 1
336
- +
337
- s
338
- 4
339
- tilt
340
- s
341
- 3
342
- erb
343
- s
344
- 17
345
- action_controller
346
- s
347
- 9
348
- fileutils
349
- s
350
- 13
351
- active_record
352
- x
353
- 9
354
- FileUtils
355
- n
356
- s
357
- 3
358
- /db
359
- x
360
- 7
361
- mkdir_p
362
- x
363
- 12
364
- ActiveRecord
365
- n
366
- x
367
- 4
368
- Base
369
- x
370
- 4
371
- Hash
372
- x
373
- 16
374
- new_from_literal
375
- x
376
- 7
377
- adapter
378
- s
379
- 7
380
- sqlite3
381
- x
382
- 3
383
- []=
384
- x
385
- 8
386
- database
387
- s
388
- 16
389
- /db/test.sqlite3
390
- x
391
- 20
392
- establish_connection
393
- s
394
- 6
395
- schema
396
- s
397
- 16
398
- models/watchable
399
- s
400
- 13
401
- models/artist
402
- s
403
- 15
404
- models/calendar
405
- s
406
- 14
407
- models/concert
408
- s
409
- 18
410
- models/performance
411
- s
412
- 16
413
- models/blog_post
414
- s
415
- 13
416
- models/person
417
- x
418
- 6
419
- Helper
420
- x
421
- 11
422
- open_module
423
- x
424
- 15
425
- __module_init__
426
- M
427
- 1
428
- n
429
- n
430
- x
431
- 6
432
- Helper
433
- i
434
- 13
435
- 5
436
- 66
437
- 99
438
- 7
439
- 0
440
- 7
441
- 1
442
- 65
443
- 5
444
- 49
445
- 2
446
- 4
447
- 11
448
- I
449
- 5
450
- I
451
- 0
452
- I
453
- 0
454
- I
455
- 0
456
- n
457
- p
458
- 3
459
- x
460
- 7
461
- next_id
462
- M
463
- 1
464
- n
465
- n
466
- x
467
- 7
468
- next_id
469
- i
470
- 21
471
- 39
472
- 0
473
- 13
474
- 10
475
- 9
476
- 15
477
- 78
478
- 38
479
- 0
480
- 15
481
- 39
482
- 0
483
- 79
484
- 81
485
- 1
486
- 38
487
- 0
488
- 15
489
- 39
490
- 0
491
- 11
492
- I
493
- 2
494
- I
495
- 0
496
- I
497
- 0
498
- I
499
- 0
500
- n
501
- p
502
- 2
503
- x
504
- 8
505
- @next_id
506
- x
507
- 1
508
- +
509
- p
510
- 9
511
- I
512
- -1
513
- I
514
- 1e
515
- I
516
- 0
517
- I
518
- 1f
519
- I
520
- a
521
- I
522
- 20
523
- I
524
- 12
525
- I
526
- 21
527
- I
528
- 15
529
- x
530
- 50
531
- /Users/jcoglan/projects/primer/spec/spec_helper.rb
532
- p
533
- 0
534
- x
535
- 13
536
- attach_method
537
- p
538
- 3
539
- I
540
- 2
541
- I
542
- 1e
543
- I
544
- d
545
- x
546
- 50
547
- /Users/jcoglan/projects/primer/spec/spec_helper.rb
548
- p
549
- 0
550
- x
551
- 13
552
- attach_method
553
- x
554
- 5
555
- RSpec
556
- n
557
- M
558
- 1
559
- p
560
- 2
561
- x
562
- 9
563
- for_block
564
- t
565
- n
566
- x
567
- 9
568
- __block__
569
- i
570
- 20
571
- 57
572
- 19
573
- 0
574
- 15
575
- 20
576
- 0
577
- 56
578
- 0
579
- 50
580
- 1
581
- 0
582
- 15
583
- 20
584
- 0
585
- 56
586
- 2
587
- 50
588
- 3
589
- 0
590
- 11
591
- I
592
- 4
593
- I
594
- 1
595
- I
596
- 1
597
- I
598
- 1
599
- n
600
- p
601
- 4
602
- M
603
- 1
604
- p
605
- 2
606
- x
607
- 9
608
- for_block
609
- t
610
- n
611
- x
612
- 9
613
- __block__
614
- i
615
- 72
616
- 45
617
- 0
618
- 1
619
- 43
620
- 2
621
- 49
622
- 3
623
- 0
624
- 15
625
- 45
626
- 0
627
- 4
628
- 45
629
- 0
630
- 5
631
- 43
632
- 6
633
- 43
634
- 7
635
- 13
636
- 71
637
- 8
638
- 47
639
- 9
640
- 37
641
- 47
642
- 49
643
- 9
644
- 0
645
- 13
646
- 47
647
- 49
648
- 10
649
- 0
650
- 15
651
- 8
652
- 40
653
- 49
654
- 8
655
- 0
656
- 13
657
- 18
658
- 2
659
- 49
660
- 11
661
- 1
662
- 15
663
- 15
664
- 45
665
- 0
666
- 12
667
- 1
668
- 13
669
- 18
670
- 2
671
- 49
672
- 13
673
- 1
674
- 15
675
- 15
676
- 45
677
- 0
678
- 14
679
- 3
680
- 13
681
- 18
682
- 2
683
- 49
684
- 15
685
- 1
686
- 15
687
- 11
688
- I
689
- 4
690
- I
691
- 0
692
- I
693
- 0
694
- I
695
- 0
696
- I
697
- -2
698
- p
699
- 16
700
- x
701
- 6
702
- Primer
703
- n
704
- x
705
- 7
706
- Watcher
707
- x
708
- 8
709
- disable!
710
- n
711
- n
712
- x
713
- 3
714
- Bus
715
- x
716
- 6
717
- Memory
718
- x
719
- 3
720
- new
721
- x
722
- 8
723
- allocate
724
- x
725
- 10
726
- initialize
727
- x
728
- 4
729
- bus=
730
- n
731
- x
732
- 6
733
- cache=
734
- n
735
- x
736
- 10
737
- real_time=
738
- p
739
- 9
740
- I
741
- 0
742
- I
743
- 27
744
- I
745
- 9
746
- I
747
- 28
748
- I
749
- 30
750
- I
751
- 29
752
- I
753
- 3c
754
- I
755
- 2a
756
- I
757
- 48
758
- x
759
- 50
760
- /Users/jcoglan/projects/primer/spec/spec_helper.rb
761
- p
762
- 0
763
- x
764
- 6
765
- before
766
- M
767
- 1
768
- p
769
- 2
770
- x
771
- 9
772
- for_block
773
- t
774
- n
775
- x
776
- 9
777
- __block__
778
- i
779
- 81
780
- 45
781
- 0
782
- 1
783
- 49
784
- 2
785
- 0
786
- 9
787
- 34
788
- 45
789
- 0
790
- 3
791
- 49
792
- 2
793
- 0
794
- 49
795
- 4
796
- 0
797
- 15
798
- 45
799
- 0
800
- 5
801
- 49
802
- 2
803
- 0
804
- 1
805
- 13
806
- 18
807
- 2
808
- 49
809
- 6
810
- 1
811
- 15
812
- 8
813
- 35
814
- 1
815
- 15
816
- 45
817
- 0
818
- 7
819
- 43
820
- 8
821
- 49
822
- 9
823
- 0
824
- 15
825
- 45
826
- 0
827
- 10
828
- 49
829
- 11
830
- 0
831
- 49
832
- 12
833
- 0
834
- 15
835
- 45
836
- 13
837
- 14
838
- 45
839
- 15
840
- 16
841
- 45
842
- 17
843
- 18
844
- 45
845
- 19
846
- 20
847
- 45
848
- 21
849
- 22
850
- 45
851
- 23
852
- 24
853
- 35
854
- 6
855
- 56
856
- 25
857
- 50
858
- 26
859
- 0
860
- 11
861
- I
862
- 7
863
- I
864
- 0
865
- I
866
- 0
867
- I
868
- 0
869
- I
870
- -2
871
- p
872
- 27
873
- x
874
- 6
875
- Primer
876
- n
877
- x
878
- 5
879
- cache
880
- n
881
- x
882
- 5
883
- clear
884
- n
885
- x
886
- 7
887
- routes=
888
- n
889
- x
890
- 7
891
- Watcher
892
- x
893
- 6
894
- reset!
895
- n
896
- x
897
- 3
898
- bus
899
- x
900
- 15
901
- unsubscribe_all
902
- x
903
- 8
904
- BlogPost
905
- n
906
- x
907
- 6
908
- Person
909
- n
910
- x
911
- 6
912
- Artist
913
- n
914
- x
915
- 8
916
- Calendar
917
- n
918
- x
919
- 7
920
- Concert
921
- n
922
- x
923
- 11
924
- Performance
925
- n
926
- M
927
- 1
928
- p
929
- 2
930
- x
931
- 9
932
- for_block
933
- t
934
- n
935
- x
936
- 9
937
- __block__
938
- i
939
- 10
940
- 57
941
- 19
942
- 0
943
- 15
944
- 20
945
- 0
946
- 49
947
- 0
948
- 0
949
- 11
950
- I
951
- 3
952
- I
953
- 1
954
- I
955
- 1
956
- I
957
- 1
958
- n
959
- p
960
- 1
961
- x
962
- 10
963
- delete_all
964
- p
965
- 5
966
- I
967
- 0
968
- I
969
- 35
970
- I
971
- 1
972
- I
973
- 3c
974
- I
975
- a
976
- x
977
- 50
978
- /Users/jcoglan/projects/primer/spec/spec_helper.rb
979
- p
980
- 1
981
- x
982
- 1
983
- m
984
- x
985
- 4
986
- each
987
- p
988
- 27
989
- I
990
- 0
991
- I
992
- 2e
993
- I
994
- 8
995
- I
996
- 2f
997
- I
998
- 12
999
- I
1000
- 30
1001
- I
1002
- 22
1003
- I
1004
- 2e
1005
- I
1006
- 24
1007
- I
1008
- 32
1009
- I
1010
- 2d
1011
- I
1012
- 33
1013
- I
1014
- 37
1015
- I
1016
- 35
1017
- I
1018
- 3a
1019
- I
1020
- 36
1021
- I
1022
- 3d
1023
- I
1024
- 37
1025
- I
1026
- 40
1027
- I
1028
- 38
1029
- I
1030
- 43
1031
- I
1032
- 39
1033
- I
1034
- 46
1035
- I
1036
- 3a
1037
- I
1038
- 4b
1039
- I
1040
- 35
1041
- I
1042
- 51
1043
- x
1044
- 50
1045
- /Users/jcoglan/projects/primer/spec/spec_helper.rb
1046
- p
1047
- 0
1048
- x
1049
- 5
1050
- after
1051
- p
1052
- 7
1053
- I
1054
- 0
1055
- I
1056
- 25
1057
- I
1058
- 4
1059
- I
1060
- 26
1061
- I
1062
- c
1063
- I
1064
- 2d
1065
- I
1066
- 14
1067
- x
1068
- 50
1069
- /Users/jcoglan/projects/primer/spec/spec_helper.rb
1070
- p
1071
- 1
1072
- x
1073
- 6
1074
- config
1075
- x
1076
- 9
1077
- configure
1078
- p
1079
- 53
1080
- I
1081
- 0
1082
- I
1083
- 1
1084
- I
1085
- 13
1086
- I
1087
- 2
1088
- I
1089
- 21
1090
- I
1091
- 4
1092
- I
1093
- 2a
1094
- I
1095
- 5
1096
- I
1097
- 33
1098
- I
1099
- 7
1100
- I
1101
- 40
1102
- I
1103
- 8
1104
- I
1105
- 49
1106
- I
1107
- 9
1108
- I
1109
- 52
1110
- I
1111
- a
1112
- I
1113
- 5b
1114
- I
1115
- c
1116
- I
1117
- 64
1118
- I
1119
- d
1120
- I
1121
- 6d
1122
- I
1123
- e
1124
- I
1125
- 7b
1126
- I
1127
- f
1128
- I
1129
- 80
1130
- I
1131
- 11
1132
- I
1133
- 88
1134
- I
1135
- 10
1136
- I
1137
- 92
1138
- I
1139
- 11
1140
- I
1141
- 9f
1142
- I
1143
- f
1144
- I
1145
- a3
1146
- I
1147
- 13
1148
- I
1149
- ac
1150
- I
1151
- 15
1152
- I
1153
- b5
1154
- I
1155
- 16
1156
- I
1157
- be
1158
- I
1159
- 17
1160
- I
1161
- c7
1162
- I
1163
- 18
1164
- I
1165
- d0
1166
- I
1167
- 19
1168
- I
1169
- d9
1170
- I
1171
- 1a
1172
- I
1173
- e2
1174
- I
1175
- 1b
1176
- I
1177
- eb
1178
- I
1179
- 1d
1180
- I
1181
- 105
1182
- I
1183
- 25
1184
- I
1185
- 110
1186
- x
1187
- 50
1188
- /Users/jcoglan/projects/primer/spec/spec_helper.rb
1189
- p
1190
- 1
1191
- x
1192
- 3
1193
- dir