switchman 1.3.5 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/switchman/active_record/abstract_adapter.rb +10 -7
  3. data/lib/switchman/engine.rb +1 -1
  4. data/lib/switchman/version.rb +1 -1
  5. data/lib/tasks/switchman.rake +75 -0
  6. data/spec/dummy/db/shard_727.sqlite3 +0 -0
  7. data/spec/dummy/db/shard_766.sqlite3 +0 -0
  8. data/spec/dummy/db/shard_778.sqlite3 +0 -0
  9. data/spec/dummy/db/shard_818.sqlite3 +0 -0
  10. data/spec/dummy/db/shard_827.sqlite3 +0 -0
  11. data/spec/dummy/db/shard_869.sqlite3 +0 -0
  12. data/spec/dummy/log/test.log +22357 -0
  13. data/spec/dummy/tmp/cache/34C/EF0/shard%2F822 +0 -0
  14. data/spec/dummy/tmp/cache/34D/EE0/shard%2F724 +1 -1
  15. data/spec/dummy/tmp/cache/34E/EF0/shard%2F806 +1 -0
  16. data/spec/dummy/tmp/cache/34F/F20/shard%2F744 +0 -0
  17. data/spec/dummy/tmp/cache/352/F90/shard%2F864 +1 -0
  18. data/spec/dummy/tmp/cache/353/F70/shard%2F838 +1 -0
  19. data/spec/dummy/tmp/cache/354/FA0/shard%2F776 +1 -0
  20. data/spec/dummy/tmp/cache/355/F90/shard%2F759 +1 -0
  21. data/spec/dummy/tmp/cache/3AE/050/shard%2F10823 +1 -0
  22. data/spec/dummy/tmp/cache/3B0/0A0/shard%2F10771 +1 -0
  23. data/spec/dummy/tmp/cache/3B1/080/shard%2F10745 +1 -0
  24. data/spec/dummy/tmp/cache/3B2/060/shard%2F10719 +1 -0
  25. data/spec/dummy/tmp/cache/3B6/0F0/shard%2F10849 +1 -0
  26. data/spec/dummy/tmp/cache/3B8/140/shard%2F10797 +1 -0
  27. metadata +41 -23
  28. data/spec/dummy/tmp/cache/34A/EB0/shard%2F721 +0 -1
  29. data/spec/dummy/tmp/cache/34B/EC0/shard%2F722 +0 -1
  30. data/spec/dummy/tmp/cache/34C/F00/shard%2F750 +0 -1
  31. data/spec/dummy/tmp/cache/34E/EF0/shard%2F725 +0 -1
  32. data/spec/dummy/tmp/cache/34F/F00/shard%2F807 +0 -1
  33. data/spec/dummy/tmp/cache/350/F00/shard%2F718 +0 -0
  34. data/spec/dummy/tmp/cache/351/F10/shard%2F719 +0 -0
  35. data/spec/dummy/tmp/cache/352/F30/shard%2F729 +0 -1
  36. data/spec/dummy/tmp/cache/353/F50/shard%2F739 +0 -1
  37. data/spec/dummy/tmp/cache/354/F90/shard%2F767 +0 -1
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @value{ I"id:ETi�I" name;TI"switchman_test_shard_724;TI"database_server_id;TI" test;TI" default;TF:@created_atf1406058508.056969:@expires_in0
1
+ o: ActiveSupport::Cache::Entry: @value:nil:@created_atf1445466837.973632:@expires_in0
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445535961.2115479: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445536019.2819588: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445536008.206433: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445535942.025831: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445535927.21252: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445536008.325696: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445535942.177433: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445535926.9573262: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry: @value:nil:@created_atf1445466837.6763022:@expires_in0
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445536019.05582: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1445535961.257532: @value" :nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-10-20 00:00:00.000000000 Z
13
+ date: 2015-10-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -287,11 +287,17 @@ files:
287
287
  - spec/dummy/db/shard_680.sqlite3
288
288
  - spec/dummy/db/shard_698.sqlite3
289
289
  - spec/dummy/db/shard_708.sqlite3
290
+ - spec/dummy/db/shard_727.sqlite3
290
291
  - spec/dummy/db/shard_735.sqlite3
291
292
  - spec/dummy/db/shard_74.sqlite3
292
293
  - spec/dummy/db/shard_753.sqlite3
293
294
  - spec/dummy/db/shard_76.sqlite3
295
+ - spec/dummy/db/shard_766.sqlite3
296
+ - spec/dummy/db/shard_778.sqlite3
294
297
  - spec/dummy/db/shard_802.sqlite3
298
+ - spec/dummy/db/shard_818.sqlite3
299
+ - spec/dummy/db/shard_827.sqlite3
300
+ - spec/dummy/db/shard_869.sqlite3
295
301
  - spec/dummy/db/shard_895.sqlite3
296
302
  - spec/dummy/db/shard_930.sqlite3
297
303
  - spec/dummy/db/shard_953.sqlite3
@@ -322,39 +328,36 @@ files:
322
328
  - spec/dummy/tmp/cache/34A/E30/shard%2F244
323
329
  - spec/dummy/tmp/cache/34A/E30/shard%2F325
324
330
  - spec/dummy/tmp/cache/34A/E90/shard%2F460
325
- - spec/dummy/tmp/cache/34A/EB0/shard%2F721
326
331
  - spec/dummy/tmp/cache/34A/EC0/shard%2F730
327
332
  - spec/dummy/tmp/cache/34B/E40/shard%2F245
328
333
  - spec/dummy/tmp/cache/34B/E60/shard%2F344
329
334
  - spec/dummy/tmp/cache/34B/E60/shard%2F425
330
335
  - spec/dummy/tmp/cache/34B/E70/shard%2F434
331
- - spec/dummy/tmp/cache/34B/EC0/shard%2F722
332
336
  - spec/dummy/tmp/cache/34C/E40/shard%2F156
333
337
  - spec/dummy/tmp/cache/34C/E80/shard%2F354
334
338
  - spec/dummy/tmp/cache/34C/EA0/shard%2F453
335
- - spec/dummy/tmp/cache/34C/F00/shard%2F750
339
+ - spec/dummy/tmp/cache/34C/EF0/shard%2F822
336
340
  - spec/dummy/tmp/cache/34D/E60/shard%2F409
337
341
  - spec/dummy/tmp/cache/34D/EC0/shard%2F382
338
342
  - spec/dummy/tmp/cache/34D/EE0/shard%2F724
339
343
  - spec/dummy/tmp/cache/34E/EA0/shard%2F437
340
- - spec/dummy/tmp/cache/34E/EF0/shard%2F725
344
+ - spec/dummy/tmp/cache/34E/EF0/shard%2F806
341
345
  - spec/dummy/tmp/cache/34F/EB0/shard%2F438
342
346
  - spec/dummy/tmp/cache/34F/EC0/shard%2F285
343
- - spec/dummy/tmp/cache/34F/F00/shard%2F807
347
+ - spec/dummy/tmp/cache/34F/F20/shard%2F744
344
348
  - spec/dummy/tmp/cache/350/EF0/shard%2F466
345
- - spec/dummy/tmp/cache/350/F00/shard%2F718
346
349
  - spec/dummy/tmp/cache/350/F40/shard%2F916
347
350
  - spec/dummy/tmp/cache/351/EC0/shard%2F188
348
351
  - spec/dummy/tmp/cache/351/EE0/shard%2F368
349
- - spec/dummy/tmp/cache/351/F10/shard%2F719
350
352
  - spec/dummy/tmp/cache/351/F50/shard%2F917
351
353
  - spec/dummy/tmp/cache/351/F70/shard%2F935
352
354
  - spec/dummy/tmp/cache/352/EF0/shard%2F369
353
- - spec/dummy/tmp/cache/352/F30/shard%2F729
354
355
  - spec/dummy/tmp/cache/352/F80/shard%2F693
355
- - spec/dummy/tmp/cache/353/F50/shard%2F739
356
- - spec/dummy/tmp/cache/354/F90/shard%2F767
356
+ - spec/dummy/tmp/cache/352/F90/shard%2F864
357
+ - spec/dummy/tmp/cache/353/F70/shard%2F838
358
+ - spec/dummy/tmp/cache/354/FA0/shard%2F776
357
359
  - spec/dummy/tmp/cache/354/FD0/shard%2F965
360
+ - spec/dummy/tmp/cache/355/F90/shard%2F759
358
361
  - spec/dummy/tmp/cache/355/FD0/shard%2F957
359
362
  - spec/dummy/tmp/cache/356/010/shard%2F985
360
363
  - spec/dummy/tmp/cache/358/040/shard%2F996
@@ -460,6 +463,7 @@ files:
460
463
  - spec/dummy/tmp/cache/3AD/F90/shard%2F10318
461
464
  - spec/dummy/tmp/cache/3AD/FA0/shard%2F10246
462
465
  - spec/dummy/tmp/cache/3AD/FC0/shard%2F10345
466
+ - spec/dummy/tmp/cache/3AE/050/shard%2F10823
463
467
  - spec/dummy/tmp/cache/3AE/060/shard%2F10751
464
468
  - spec/dummy/tmp/cache/3AE/060/shard%2F11480
465
469
  - spec/dummy/tmp/cache/3AE/090/shard%2F10940
@@ -477,14 +481,17 @@ files:
477
481
  - spec/dummy/tmp/cache/3B0/060/shard%2F11626
478
482
  - spec/dummy/tmp/cache/3B0/090/shard%2F10681
479
483
  - spec/dummy/tmp/cache/3B0/090/shard%2F11572
484
+ - spec/dummy/tmp/cache/3B0/0A0/shard%2F10771
480
485
  - spec/dummy/tmp/cache/3B0/FE0/shard%2F10177
481
486
  - spec/dummy/tmp/cache/3B0/FE0/shard%2F11149
482
487
  - spec/dummy/tmp/cache/3B0/FF0/shard%2F10267
483
488
  - spec/dummy/tmp/cache/3B1/000/shard%2F11078
484
489
  - spec/dummy/tmp/cache/3B1/030/shard%2F10295
485
490
  - spec/dummy/tmp/cache/3B1/040/shard%2F10466
491
+ - spec/dummy/tmp/cache/3B1/080/shard%2F10745
486
492
  - spec/dummy/tmp/cache/3B1/090/shard%2F10673
487
493
  - spec/dummy/tmp/cache/3B1/0B0/shard%2F11744
494
+ - spec/dummy/tmp/cache/3B2/060/shard%2F10719
488
495
  - spec/dummy/tmp/cache/3B2/070/shard%2F10566
489
496
  - spec/dummy/tmp/cache/3B2/0A0/shard%2F10917
490
497
  - spec/dummy/tmp/cache/3B2/0D0/shard%2F11673
@@ -498,9 +505,11 @@ files:
498
505
  - spec/dummy/tmp/cache/3B5/070/shard%2F10299
499
506
  - spec/dummy/tmp/cache/3B5/0B0/shard%2F10497
500
507
  - spec/dummy/tmp/cache/3B5/100/shard%2F11595
508
+ - spec/dummy/tmp/cache/3B6/0F0/shard%2F10849
501
509
  - spec/dummy/tmp/cache/3B6/100/shard%2F10696
502
510
  - spec/dummy/tmp/cache/3B7/0E0/shard%2F10589
503
511
  - spec/dummy/tmp/cache/3B7/140/shard%2F11696
512
+ - spec/dummy/tmp/cache/3B8/140/shard%2F10797
504
513
  - spec/dummy/tmp/cache/3B8/170/shard%2F10986
505
514
  - spec/dummy/tmp/cache/3BA/160/shard%2F10799
506
515
  - spec/lib/action_controller/caching_spec.rb
@@ -548,7 +557,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
548
557
  version: '0'
549
558
  requirements: []
550
559
  rubyforge_project:
551
- rubygems_version: 2.4.5.1
560
+ rubygems_version: 2.2.5
552
561
  signing_key:
553
562
  specification_version: 4
554
563
  summary: Rails 3 sharding magic
@@ -661,11 +670,17 @@ test_files:
661
670
  - spec/dummy/db/shard_680.sqlite3
662
671
  - spec/dummy/db/shard_698.sqlite3
663
672
  - spec/dummy/db/shard_708.sqlite3
673
+ - spec/dummy/db/shard_727.sqlite3
664
674
  - spec/dummy/db/shard_735.sqlite3
665
675
  - spec/dummy/db/shard_74.sqlite3
666
676
  - spec/dummy/db/shard_753.sqlite3
667
677
  - spec/dummy/db/shard_76.sqlite3
678
+ - spec/dummy/db/shard_766.sqlite3
679
+ - spec/dummy/db/shard_778.sqlite3
668
680
  - spec/dummy/db/shard_802.sqlite3
681
+ - spec/dummy/db/shard_818.sqlite3
682
+ - spec/dummy/db/shard_827.sqlite3
683
+ - spec/dummy/db/shard_869.sqlite3
669
684
  - spec/dummy/db/shard_895.sqlite3
670
685
  - spec/dummy/db/shard_930.sqlite3
671
686
  - spec/dummy/db/shard_953.sqlite3
@@ -697,39 +712,36 @@ test_files:
697
712
  - spec/dummy/tmp/cache/34A/E30/shard%2F244
698
713
  - spec/dummy/tmp/cache/34A/E30/shard%2F325
699
714
  - spec/dummy/tmp/cache/34A/E90/shard%2F460
700
- - spec/dummy/tmp/cache/34A/EB0/shard%2F721
701
715
  - spec/dummy/tmp/cache/34A/EC0/shard%2F730
702
716
  - spec/dummy/tmp/cache/34B/E40/shard%2F245
703
717
  - spec/dummy/tmp/cache/34B/E60/shard%2F344
704
718
  - spec/dummy/tmp/cache/34B/E60/shard%2F425
705
719
  - spec/dummy/tmp/cache/34B/E70/shard%2F434
706
- - spec/dummy/tmp/cache/34B/EC0/shard%2F722
707
720
  - spec/dummy/tmp/cache/34C/E40/shard%2F156
708
721
  - spec/dummy/tmp/cache/34C/E80/shard%2F354
709
722
  - spec/dummy/tmp/cache/34C/EA0/shard%2F453
710
- - spec/dummy/tmp/cache/34C/F00/shard%2F750
723
+ - spec/dummy/tmp/cache/34C/EF0/shard%2F822
711
724
  - spec/dummy/tmp/cache/34D/E60/shard%2F409
712
725
  - spec/dummy/tmp/cache/34D/EC0/shard%2F382
713
726
  - spec/dummy/tmp/cache/34D/EE0/shard%2F724
714
727
  - spec/dummy/tmp/cache/34E/EA0/shard%2F437
715
- - spec/dummy/tmp/cache/34E/EF0/shard%2F725
728
+ - spec/dummy/tmp/cache/34E/EF0/shard%2F806
716
729
  - spec/dummy/tmp/cache/34F/EB0/shard%2F438
717
730
  - spec/dummy/tmp/cache/34F/EC0/shard%2F285
718
- - spec/dummy/tmp/cache/34F/F00/shard%2F807
731
+ - spec/dummy/tmp/cache/34F/F20/shard%2F744
719
732
  - spec/dummy/tmp/cache/350/EF0/shard%2F466
720
- - spec/dummy/tmp/cache/350/F00/shard%2F718
721
733
  - spec/dummy/tmp/cache/350/F40/shard%2F916
722
734
  - spec/dummy/tmp/cache/351/EC0/shard%2F188
723
735
  - spec/dummy/tmp/cache/351/EE0/shard%2F368
724
- - spec/dummy/tmp/cache/351/F10/shard%2F719
725
736
  - spec/dummy/tmp/cache/351/F50/shard%2F917
726
737
  - spec/dummy/tmp/cache/351/F70/shard%2F935
727
738
  - spec/dummy/tmp/cache/352/EF0/shard%2F369
728
- - spec/dummy/tmp/cache/352/F30/shard%2F729
729
739
  - spec/dummy/tmp/cache/352/F80/shard%2F693
730
- - spec/dummy/tmp/cache/353/F50/shard%2F739
731
- - spec/dummy/tmp/cache/354/F90/shard%2F767
740
+ - spec/dummy/tmp/cache/352/F90/shard%2F864
741
+ - spec/dummy/tmp/cache/353/F70/shard%2F838
742
+ - spec/dummy/tmp/cache/354/FA0/shard%2F776
732
743
  - spec/dummy/tmp/cache/354/FD0/shard%2F965
744
+ - spec/dummy/tmp/cache/355/F90/shard%2F759
733
745
  - spec/dummy/tmp/cache/355/FD0/shard%2F957
734
746
  - spec/dummy/tmp/cache/356/010/shard%2F985
735
747
  - spec/dummy/tmp/cache/358/040/shard%2F996
@@ -835,6 +847,7 @@ test_files:
835
847
  - spec/dummy/tmp/cache/3AD/F90/shard%2F10318
836
848
  - spec/dummy/tmp/cache/3AD/FA0/shard%2F10246
837
849
  - spec/dummy/tmp/cache/3AD/FC0/shard%2F10345
850
+ - spec/dummy/tmp/cache/3AE/050/shard%2F10823
838
851
  - spec/dummy/tmp/cache/3AE/060/shard%2F10751
839
852
  - spec/dummy/tmp/cache/3AE/060/shard%2F11480
840
853
  - spec/dummy/tmp/cache/3AE/090/shard%2F10940
@@ -852,14 +865,17 @@ test_files:
852
865
  - spec/dummy/tmp/cache/3B0/060/shard%2F11626
853
866
  - spec/dummy/tmp/cache/3B0/090/shard%2F10681
854
867
  - spec/dummy/tmp/cache/3B0/090/shard%2F11572
868
+ - spec/dummy/tmp/cache/3B0/0A0/shard%2F10771
855
869
  - spec/dummy/tmp/cache/3B0/FE0/shard%2F10177
856
870
  - spec/dummy/tmp/cache/3B0/FE0/shard%2F11149
857
871
  - spec/dummy/tmp/cache/3B0/FF0/shard%2F10267
858
872
  - spec/dummy/tmp/cache/3B1/000/shard%2F11078
859
873
  - spec/dummy/tmp/cache/3B1/030/shard%2F10295
860
874
  - spec/dummy/tmp/cache/3B1/040/shard%2F10466
875
+ - spec/dummy/tmp/cache/3B1/080/shard%2F10745
861
876
  - spec/dummy/tmp/cache/3B1/090/shard%2F10673
862
877
  - spec/dummy/tmp/cache/3B1/0B0/shard%2F11744
878
+ - spec/dummy/tmp/cache/3B2/060/shard%2F10719
863
879
  - spec/dummy/tmp/cache/3B2/070/shard%2F10566
864
880
  - spec/dummy/tmp/cache/3B2/0A0/shard%2F10917
865
881
  - spec/dummy/tmp/cache/3B2/0D0/shard%2F11673
@@ -873,9 +889,11 @@ test_files:
873
889
  - spec/dummy/tmp/cache/3B5/070/shard%2F10299
874
890
  - spec/dummy/tmp/cache/3B5/0B0/shard%2F10497
875
891
  - spec/dummy/tmp/cache/3B5/100/shard%2F11595
892
+ - spec/dummy/tmp/cache/3B6/0F0/shard%2F10849
876
893
  - spec/dummy/tmp/cache/3B6/100/shard%2F10696
877
894
  - spec/dummy/tmp/cache/3B7/0E0/shard%2F10589
878
895
  - spec/dummy/tmp/cache/3B7/140/shard%2F11696
896
+ - spec/dummy/tmp/cache/3B8/140/shard%2F10797
879
897
  - spec/dummy/tmp/cache/3B8/170/shard%2F10986
880
898
  - spec/dummy/tmp/cache/3BA/160/shard%2F10799
881
899
  - spec/lib/action_controller/caching_spec.rb
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value{ I"id:ETi�I" name;TI"switchman_test_shard_721;TI"database_server_id;TI" test;TI" default;TF:@created_atf1406058474.6726232:@expires_in0
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value{ I"id:ETi�I" name;TI"switchman_test_shard_722;TI"database_server_id;TI"1;TI" default;TF:@created_atf1406058475.311327:@expires_in0
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value{ I"id:ETi�I" name;TI"switchman_test_shard_750;TI"database_server_id;TI" test;TI" default;TF:@created_atf1406062293.398787:@expires_in0
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value{ I"id:ETi�I" name;TI"switchman_test_shard_725;TI"database_server_id;TI"1;TI" default;TF:@created_atf1406058508.1540139:@expires_in0
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value:nil:@created_atf1406063237.6105049:@expires_in0
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value{ I"id:ETi�I" name;TI"switchman_test_shard_729;TI"database_server_id;TI" test;TI" default;TF:@created_atf1406062223.7280169:@expires_in0
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value:nil:@created_atf1406062223.446721:@expires_in0
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @value:nil:@created_atf1406062291.6416168:@expires_in0