switchman 1.2.27 → 1.2.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1423170550.0521111: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1423004278.120425: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1423170549.885685: @value" :nil
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1423004278.0373418: @value" :nil
@@ -3,7 +3,7 @@ require "spec_helper"
3
3
  module Switchman
4
4
  describe Rails do
5
5
  it "should automatically isolate cache keys from different shards" do
6
- cache = ::ActiveSupport::Cache::MemoryStore.new
6
+ cache = ::ActiveSupport::Cache.lookup_store(:memory_store)
7
7
  ::Rails.stubs(:cache).returns(cache)
8
8
  db = DatabaseServer.create(:settings => { :adapter => 'sqlite3' })
9
9
  s1 = db.shards.create!
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.2.27
4
+ version: 1.2.28
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-02-02 00:00:00.000000000 Z
13
+ date: 2015-02-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -235,6 +235,8 @@ files:
235
235
  - spec/dummy/db/shard_1630.sqlite3
236
236
  - spec/dummy/db/shard_1652.sqlite3
237
237
  - spec/dummy/db/shard_1679.sqlite3
238
+ - spec/dummy/db/shard_1703.sqlite3
239
+ - spec/dummy/db/shard_1721.sqlite3
238
240
  - spec/dummy/db/shard_193.sqlite3
239
241
  - spec/dummy/db/shard_23.sqlite3
240
242
  - spec/dummy/db/shard_234.sqlite3
@@ -365,6 +367,7 @@ files:
365
367
  - spec/dummy/tmp/cache/37D/5D0/shard%2F1525
366
368
  - spec/dummy/tmp/cache/37E/570/shard%2F1139
367
369
  - spec/dummy/tmp/cache/37E/5C0/shard%2F1346
370
+ - spec/dummy/tmp/cache/37E/620/shard%2F1724
368
371
  - spec/dummy/tmp/cache/37E/630/shard%2F1571
369
372
  - spec/dummy/tmp/cache/37F/5A0/shard%2F1077
370
373
  - spec/dummy/tmp/cache/380/5B0/shard%2F1078
@@ -385,6 +388,7 @@ files:
385
388
  - spec/dummy/tmp/cache/385/6C0/shard%2F1677
386
389
  - spec/dummy/tmp/cache/386/6B0/shard%2F1498
387
390
  - spec/dummy/tmp/cache/386/6C0/shard%2F1669
391
+ - spec/dummy/tmp/cache/387/700/shard%2F1697
388
392
  - spec/dummy/tmp/cache/3A4/EE0/shard%2F11101
389
393
  - spec/dummy/tmp/cache/3A5/EA0/shard%2F10004
390
394
  - spec/dummy/tmp/cache/3A6/F40/shard%2F10410
@@ -437,12 +441,14 @@ files:
437
441
  - spec/dummy/tmp/cache/3B2/0A0/shard%2F10917
438
442
  - spec/dummy/tmp/cache/3B2/0D0/shard%2F11673
439
443
  - spec/dummy/tmp/cache/3B3/060/shard%2F10387
444
+ - spec/dummy/tmp/cache/3B3/0A0/shard%2F11719
440
445
  - spec/dummy/tmp/cache/3B3/100/shard%2F10963
441
446
  - spec/dummy/tmp/cache/3B4/0A0/shard%2F11549
442
447
  - spec/dummy/tmp/cache/3B5/0B0/shard%2F10497
443
448
  - spec/dummy/tmp/cache/3B5/100/shard%2F11595
444
449
  - spec/dummy/tmp/cache/3B6/100/shard%2F10696
445
450
  - spec/dummy/tmp/cache/3B7/0E0/shard%2F10589
451
+ - spec/dummy/tmp/cache/3B7/140/shard%2F11696
446
452
  - spec/dummy/tmp/cache/3B8/170/shard%2F10986
447
453
  - spec/dummy/tmp/cache/3BA/160/shard%2F10799
448
454
  - spec/lib/action_controller/caching_spec.rb
@@ -489,7 +495,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
489
495
  version: '0'
490
496
  requirements: []
491
497
  rubyforge_project:
492
- rubygems_version: 2.4.5
498
+ rubygems_version: 2.4.4
493
499
  signing_key:
494
500
  specification_version: 4
495
501
  summary: Rails 3 sharding magic
@@ -551,6 +557,8 @@ test_files:
551
557
  - spec/dummy/db/shard_1630.sqlite3
552
558
  - spec/dummy/db/shard_1652.sqlite3
553
559
  - spec/dummy/db/shard_1679.sqlite3
560
+ - spec/dummy/db/shard_1703.sqlite3
561
+ - spec/dummy/db/shard_1721.sqlite3
554
562
  - spec/dummy/db/shard_193.sqlite3
555
563
  - spec/dummy/db/shard_23.sqlite3
556
564
  - spec/dummy/db/shard_234.sqlite3
@@ -682,6 +690,7 @@ test_files:
682
690
  - spec/dummy/tmp/cache/37D/5D0/shard%2F1525
683
691
  - spec/dummy/tmp/cache/37E/570/shard%2F1139
684
692
  - spec/dummy/tmp/cache/37E/5C0/shard%2F1346
693
+ - spec/dummy/tmp/cache/37E/620/shard%2F1724
685
694
  - spec/dummy/tmp/cache/37E/630/shard%2F1571
686
695
  - spec/dummy/tmp/cache/37F/5A0/shard%2F1077
687
696
  - spec/dummy/tmp/cache/380/5B0/shard%2F1078
@@ -702,6 +711,7 @@ test_files:
702
711
  - spec/dummy/tmp/cache/385/6C0/shard%2F1677
703
712
  - spec/dummy/tmp/cache/386/6B0/shard%2F1498
704
713
  - spec/dummy/tmp/cache/386/6C0/shard%2F1669
714
+ - spec/dummy/tmp/cache/387/700/shard%2F1697
705
715
  - spec/dummy/tmp/cache/3A4/EE0/shard%2F11101
706
716
  - spec/dummy/tmp/cache/3A5/EA0/shard%2F10004
707
717
  - spec/dummy/tmp/cache/3A6/F40/shard%2F10410
@@ -754,12 +764,14 @@ test_files:
754
764
  - spec/dummy/tmp/cache/3B2/0A0/shard%2F10917
755
765
  - spec/dummy/tmp/cache/3B2/0D0/shard%2F11673
756
766
  - spec/dummy/tmp/cache/3B3/060/shard%2F10387
767
+ - spec/dummy/tmp/cache/3B3/0A0/shard%2F11719
757
768
  - spec/dummy/tmp/cache/3B3/100/shard%2F10963
758
769
  - spec/dummy/tmp/cache/3B4/0A0/shard%2F11549
759
770
  - spec/dummy/tmp/cache/3B5/0B0/shard%2F10497
760
771
  - spec/dummy/tmp/cache/3B5/100/shard%2F11595
761
772
  - spec/dummy/tmp/cache/3B6/100/shard%2F10696
762
773
  - spec/dummy/tmp/cache/3B7/0E0/shard%2F10589
774
+ - spec/dummy/tmp/cache/3B7/140/shard%2F11696
763
775
  - spec/dummy/tmp/cache/3B8/170/shard%2F10986
764
776
  - spec/dummy/tmp/cache/3BA/160/shard%2F10799
765
777
  - spec/lib/action_controller/caching_spec.rb