switchman 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/db/switchman_test.sqlite3 +0 -0
- data/lib/switchman/active_record/connection_pool.rb +3 -64
- data/lib/switchman/active_record/relation.rb +1 -1
- data/lib/switchman/connection_pool_proxy.rb +1 -0
- data/lib/switchman/engine.rb +7 -4
- data/lib/switchman/version.rb +1 -1
- data/spec/dummy/config/database.yml +10 -0
- data/spec/dummy/db/schema.rb +32 -29
- data/spec/dummy/db/switchman_test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +23 -0
- data/spec/dummy/log/test.log +26208 -86491
- data/spec/dummy/tmp/cache/2E3/840/shard%2F3 +0 -0
- data/spec/dummy/tmp/cache/2E4/850/shard%2F4 +0 -0
- data/spec/dummy/tmp/cache/2E6/870/shard%2F6 +0 -0
- data/spec/dummy/tmp/cache/2E7/880/shard%2F7 +0 -0
- data/spec/dummy/tmp/cache/{346/D90/shard%2F105 → 313/970/shard%2F30} +1 -1
- data/spec/dummy/tmp/cache/314/990/shard%2F40 +0 -0
- data/spec/dummy/tmp/cache/{31C/A40/shard%2F75 → 315/970/shard%2F14} +1 -1
- data/spec/dummy/tmp/cache/315/9A0/shard%2F41 +0 -0
- data/spec/dummy/tmp/cache/315/9B0/shard%2F50 +0 -0
- data/spec/dummy/tmp/cache/317/9C0/shard%2F43 +0 -0
- data/spec/dummy/tmp/cache/318/9B0/shard%2F26 +0 -0
- data/spec/dummy/tmp/cache/318/9D0/shard%2F44 +0 -0
- data/spec/dummy/tmp/cache/319/9C0/shard%2F27 +0 -0
- data/spec/dummy/tmp/cache/31A/9F0/shard%2F46 +0 -0
- data/spec/dummy/tmp/cache/31C/A20/shard%2F57 +0 -0
- data/spec/dummy/tmp/cache/31D/A20/shard%2F49 +0 -0
- data/spec/dummy/tmp/cache/349/E10/shard%2F153 +0 -0
- data/spec/dummy/tmp/cache/34A/E20/shard%2F154 +0 -0
- data/spec/dummy/tmp/cache/{345/DC0/shard%2F140 → 34A/E50/shard%2F181} +1 -1
- data/spec/dummy/tmp/cache/{318/A00/shard%2F71 → 34E/E70/shard%2F167} +1 -1
- data/spec/dummy/tmp/cache/376/510/shard%2F2202 +1 -0
- data/spec/dummy/tmp/cache/376/520/shard%2F2211 +1 -0
- data/spec/dummy/tmp/cache/376/530/shard%2F2220 +1 -0
- data/spec/dummy/tmp/cache/377/4F0/shard%2F2014 +0 -0
- data/spec/dummy/tmp/cache/377/520/shard%2F2203 +1 -0
- data/spec/dummy/tmp/cache/377/530/shard%2F2212 +1 -0
- data/spec/dummy/tmp/cache/377/550/shard%2F2230 +1 -0
- data/spec/dummy/tmp/cache/377/550/shard%2F3040 +1 -0
- data/spec/dummy/tmp/cache/378/500/shard%2F2015 +0 -0
- data/spec/dummy/tmp/cache/378/520/shard%2F3005 +1 -0
- data/spec/dummy/tmp/cache/378/550/shard%2F2222 +1 -0
- data/spec/dummy/tmp/cache/378/560/shard%2F3122 +1 -0
- data/spec/dummy/tmp/cache/378/5A0/shard%2F2510 +1 -0
- data/spec/dummy/tmp/cache/378/5B0/shard%2F2600 +2 -0
- data/spec/dummy/tmp/cache/379/530/shard%2F3006 +1 -0
- data/spec/dummy/tmp/cache/379/540/shard%2F2205 +1 -0
- data/spec/dummy/tmp/cache/379/550/shard%2F2214 +1 -0
- data/spec/dummy/tmp/cache/379/560/shard%2F2223 +1 -0
- data/spec/dummy/tmp/cache/379/560/shard%2F3033 +1 -0
- data/spec/dummy/tmp/cache/379/560/shard%2F3114 +1 -0
- data/spec/dummy/tmp/cache/379/570/shard%2F3042 +1 -0
- data/spec/dummy/tmp/cache/379/580/shard%2F3051 +1 -0
- data/spec/dummy/tmp/cache/379/590/shard%2F3060 +1 -0
- data/spec/dummy/tmp/cache/379/5C0/shard%2F2601 +2 -0
- data/spec/dummy/tmp/cache/379/5D0/shard%2F2610 +2 -0
- data/spec/dummy/tmp/cache/37A/540/shard%2F3007 +1 -0
- data/spec/dummy/tmp/cache/37A/570/shard%2F2224 +1 -0
- data/spec/dummy/tmp/cache/37A/570/shard%2F3034 +1 -0
- data/spec/dummy/tmp/cache/37A/580/shard%2F3043 +1 -0
- data/spec/dummy/tmp/cache/37A/590/shard%2F3052 +1 -0
- data/spec/dummy/tmp/cache/37A/5A0/shard%2F3061 +1 -0
- data/spec/dummy/tmp/cache/37A/5B0/shard%2F3070 +1 -0
- data/spec/dummy/tmp/cache/37A/5E0/shard%2F2530 +0 -0
- data/spec/dummy/tmp/cache/37A/5F0/shard%2F2701 +0 -0
- data/spec/dummy/tmp/cache/37B/540/shard%2F2027 +1 -0
- data/spec/dummy/tmp/cache/37B/570/shard%2F3026 +1 -0
- data/spec/dummy/tmp/cache/37B/5C0/shard%2F2261 +1 -0
- data/spec/dummy/tmp/cache/37B/5C0/shard%2F2504 +1 -0
- data/spec/dummy/tmp/cache/37B/5C0/shard%2F3152 +1 -0
- data/spec/dummy/tmp/cache/37B/5D0/shard%2F2513 +1 -0
- data/spec/dummy/tmp/cache/37B/5E0/shard%2F2603 +2 -0
- data/spec/dummy/tmp/cache/37B/5F0/shard%2F2531 +0 -0
- data/spec/dummy/tmp/cache/37B/5F0/shard%2F2612 +2 -0
- data/spec/dummy/tmp/cache/37B/610/shard%2F2630 +2 -0
- data/spec/dummy/tmp/cache/37B/630/shard%2F2810 +2 -0
- data/spec/dummy/tmp/cache/37C/580/shard%2F2217 +1 -0
- data/spec/dummy/tmp/cache/37C/580/shard%2F3108 +1 -0
- data/spec/dummy/tmp/cache/37C/590/shard%2F3036 +1 -0
- data/spec/dummy/tmp/cache/37C/5A0/shard%2F3045 +1 -0
- data/spec/dummy/tmp/cache/37C/5B0/shard%2F3054 +1 -0
- data/spec/dummy/tmp/cache/37C/5C0/shard%2F3063 +1 -0
- data/spec/dummy/tmp/cache/37C/5D0/shard%2F2262 +1 -0
- data/spec/dummy/tmp/cache/37C/5D0/shard%2F3072 +0 -0
- data/spec/dummy/tmp/cache/37C/5E0/shard%2F2190 +1 -0
- data/spec/dummy/tmp/cache/37C/5F0/shard%2F2604 +2 -0
- data/spec/dummy/tmp/cache/37C/600/shard%2F2370 +1 -0
- data/spec/dummy/tmp/cache/37C/600/shard%2F2613 +2 -0
- data/spec/dummy/tmp/cache/37C/620/shard%2F2631 +2 -0
- data/spec/dummy/tmp/cache/37D/5A0/shard%2F3037 +1 -0
- data/spec/dummy/tmp/cache/37D/5B0/shard%2F3046 +1 -0
- data/spec/dummy/tmp/cache/37D/5C0/shard%2F3055 +1 -0
- data/spec/dummy/tmp/cache/37D/5D0/shard%2F2254 +1 -0
- data/spec/dummy/tmp/cache/37D/5D0/shard%2F3064 +1 -0
- data/spec/dummy/tmp/cache/37D/5E0/shard%2F3073 +1 -0
- data/spec/dummy/tmp/cache/37D/5F0/shard%2F2191 +1 -0
- data/spec/dummy/tmp/cache/37D/600/shard%2F2524 +1 -0
- data/spec/dummy/tmp/cache/37D/610/shard%2F2371 +1 -0
- data/spec/dummy/tmp/cache/37D/620/shard%2F2380 +1 -0
- data/spec/dummy/tmp/cache/37D/620/shard%2F2461 +1 -0
- data/spec/dummy/tmp/cache/37D/630/shard%2F2470 +1 -0
- data/spec/dummy/tmp/cache/37D/650/shard%2F2650 +0 -0
- data/spec/dummy/tmp/cache/37E/5B0/shard%2F2228 +1 -0
- data/spec/dummy/tmp/cache/37E/5D0/shard%2F3137 +1 -0
- data/spec/dummy/tmp/cache/37E/5F0/shard%2F2264 +1 -0
- data/spec/dummy/tmp/cache/37E/610/shard%2F2525 +1 -0
- data/spec/dummy/tmp/cache/37E/610/shard%2F2606 +2 -0
- data/spec/dummy/tmp/cache/37E/620/shard%2F2615 +2 -0
- data/spec/dummy/tmp/cache/37E/630/shard%2F2624 +2 -0
- data/spec/dummy/tmp/cache/37E/630/shard%2F2705 +1 -0
- data/spec/dummy/tmp/cache/37E/640/shard%2F2633 +0 -0
- data/spec/dummy/tmp/cache/37E/650/shard%2F2723 +1 -0
- data/spec/dummy/tmp/cache/37F/5C0/shard%2F2229 +1 -0
- data/spec/dummy/tmp/cache/37F/5C0/shard%2F3039 +1 -0
- data/spec/dummy/tmp/cache/37F/5E0/shard%2F3057 +1 -0
- data/spec/dummy/tmp/cache/37F/5F0/shard%2F3066 +1 -0
- data/spec/dummy/tmp/cache/37F/600/shard%2F3075 +1 -0
- data/spec/dummy/tmp/cache/37F/610/shard%2F2193 +1 -0
- data/spec/dummy/tmp/cache/37F/620/shard%2F2607 +2 -0
- data/spec/dummy/tmp/cache/37F/620/shard%2F3093 +1 -0
- data/spec/dummy/tmp/cache/37F/630/shard%2F2373 +1 -0
- data/spec/dummy/tmp/cache/37F/630/shard%2F2535 +0 -0
- data/spec/dummy/tmp/cache/37F/630/shard%2F2616 +2 -0
- data/spec/dummy/tmp/cache/37F/640/shard%2F2382 +1 -0
- data/spec/dummy/tmp/cache/37F/640/shard%2F2625 +2 -0
- data/spec/dummy/tmp/cache/37F/650/shard%2F2634 +0 -0
- data/spec/dummy/tmp/cache/380/5F0/shard%2F3058 +1 -0
- data/spec/dummy/tmp/cache/380/600/shard%2F3067 +1 -0
- data/spec/dummy/tmp/cache/380/600/shard%2F3148 +0 -0
- data/spec/dummy/tmp/cache/380/610/shard%2F2509 +1 -0
- data/spec/dummy/tmp/cache/380/610/shard%2F3076 +1 -0
- data/spec/dummy/tmp/cache/380/630/shard%2F2527 +1 -0
- data/spec/dummy/tmp/cache/380/640/shard%2F2374 +1 -0
- data/spec/dummy/tmp/cache/380/640/shard%2F2536 +0 -0
- data/spec/dummy/tmp/cache/380/660/shard%2F2473 +1 -0
- data/spec/dummy/tmp/cache/380/670/shard%2F2482 +1 -0
- data/spec/dummy/tmp/cache/380/670/shard%2F2806 +2 -0
- data/spec/dummy/tmp/cache/{2E9/8A0/shard%2F9 → 380/680/shard%2F2653} +1 -1
- data/spec/dummy/tmp/cache/380/6A0/shard%2F2671 +1 -0
- data/spec/dummy/tmp/cache/380/6A0/shard%2F2752 +2 -0
- data/spec/dummy/tmp/cache/380/6B0/shard%2F2761 +2 -0
- data/spec/dummy/tmp/cache/381/600/shard%2F2249 +1 -0
- data/spec/dummy/tmp/cache/381/610/shard%2F3149 +0 -0
- data/spec/dummy/tmp/cache/381/640/shard%2F2609 +2 -0
- data/spec/dummy/tmp/cache/381/640/shard%2F3095 +0 -0
- data/spec/dummy/tmp/cache/381/660/shard%2F2627 +2 -0
- data/spec/dummy/tmp/cache/381/670/shard%2F2636 +1 -0
- data/spec/dummy/tmp/cache/381/680/shard%2F2807 +2 -0
- data/spec/dummy/tmp/cache/381/690/shard%2F2573 +1 -0
- data/spec/dummy/tmp/cache/381/6B0/shard%2F2591 +2 -0
- data/spec/dummy/tmp/cache/381/6B0/shard%2F2753 +2 -0
- data/spec/dummy/tmp/cache/381/6F0/shard%2F2870 +1 -0
- data/spec/dummy/tmp/cache/382/620/shard%2F3069 +1 -0
- data/spec/dummy/tmp/cache/382/640/shard%2F2196 +1 -0
- data/spec/dummy/tmp/cache/382/650/shard%2F3096 +0 -0
- data/spec/dummy/tmp/cache/382/660/shard%2F2376 +1 -0
- data/spec/dummy/tmp/cache/382/670/shard%2F2628 +2 -0
- data/spec/dummy/tmp/cache/382/6A0/shard%2F2493 +1 -0
- data/spec/dummy/tmp/cache/382/6C0/shard%2F2592 +2 -0
- data/spec/dummy/tmp/cache/382/6C0/shard%2F2835 +1 -0
- data/spec/dummy/tmp/cache/383/650/shard%2F2197 +1 -0
- data/spec/dummy/tmp/cache/383/670/shard%2F2377 +1 -0
- data/spec/dummy/tmp/cache/383/670/shard%2F2458 +1 -0
- data/spec/dummy/tmp/cache/383/680/shard%2F2548 +1 -0
- data/spec/dummy/tmp/cache/383/690/shard%2F2476 +1 -0
- data/spec/dummy/tmp/cache/383/6A0/shard%2F2809 +2 -0
- data/spec/dummy/tmp/cache/383/6C0/shard%2F2746 +1 -0
- data/spec/dummy/tmp/cache/383/6D0/shard%2F2755 +2 -0
- data/spec/dummy/tmp/cache/383/6E0/shard%2F2764 +2 -0
- data/spec/dummy/tmp/cache/383/700/shard%2F2782 +2 -0
- data/spec/dummy/tmp/cache/383/700/shard%2F2863 +1 -0
- data/spec/dummy/tmp/cache/384/6A0/shard%2F2477 +1 -0
- data/spec/dummy/tmp/cache/384/6E0/shard%2F2594 +2 -0
- data/spec/dummy/tmp/cache/384/6E0/shard%2F2756 +2 -0
- data/spec/dummy/tmp/cache/384/6F0/shard%2F2684 +0 -0
- data/spec/dummy/tmp/cache/384/6F0/shard%2F2765 +2 -0
- data/spec/dummy/tmp/cache/384/710/shard%2F2864 +1 -0
- data/spec/dummy/tmp/cache/384/720/shard%2F2873 +1 -0
- data/spec/dummy/tmp/cache/385/670/shard%2F2199 +1 -0
- data/spec/dummy/tmp/cache/385/690/shard%2F2379 +1 -0
- data/spec/dummy/tmp/cache/385/6F0/shard%2F2595 +2 -0
- data/spec/dummy/tmp/cache/385/710/shard%2F2694 +1 -0
- data/spec/dummy/tmp/cache/386/6C0/shard%2F2479 +1 -0
- data/spec/dummy/tmp/cache/386/700/shard%2F2758 +2 -0
- data/spec/dummy/tmp/cache/386/720/shard%2F2776 +2 -0
- data/spec/dummy/tmp/cache/386/730/shard%2F2866 +1 -0
- data/spec/dummy/tmp/cache/387/710/shard%2F2597 +2 -0
- data/spec/dummy/tmp/cache/388/720/shard%2F2598 +2 -0
- data/spec/dummy/tmp/cache/389/750/shard%2F2779 +2 -0
- data/spec/dummy/tmp/cache/389/760/shard%2F2869 +1 -0
- data/spec/dummy/tmp/cache/3A2/E80/shard%2F10010 +1 -0
- data/spec/dummy/tmp/cache/3A8/F70/shard%2F12203 +1 -0
- data/spec/dummy/tmp/cache/3A8/F80/shard%2F12212 +1 -0
- data/spec/dummy/tmp/cache/3A9/F50/shard%2F12015 +1 -0
- data/spec/dummy/tmp/cache/3A9/FC0/shard%2F12240 +1 -0
- data/spec/dummy/tmp/cache/3A9/FF0/shard%2F12510 +1 -0
- data/spec/dummy/tmp/cache/3AA/F10/shard%2F10027 +1 -0
- data/spec/dummy/tmp/cache/3AA/F80/shard%2F13006 +1 -0
- data/spec/dummy/tmp/cache/3AA/FB0/shard%2F12223 +1 -0
- data/spec/dummy/tmp/cache/3AA/FD0/shard%2F13132 +1 -0
- data/spec/dummy/tmp/cache/3AB/F70/shard%2F10073 +1 -0
- data/spec/dummy/tmp/cache/3AB/F70/shard%2F10154 +1 -0
- data/spec/dummy/tmp/cache/3AB/FC0/shard%2F13115 +1 -0
- data/spec/dummy/tmp/cache/3AC/050/shard%2F12702 +1 -0
- data/spec/dummy/tmp/cache/3AC/FB0/shard%2F13017 +1 -0
- data/spec/dummy/tmp/cache/3AD/010/shard%2F12253 +1 -0
- data/spec/dummy/tmp/cache/3AD/020/shard%2F12262 +1 -0
- data/spec/dummy/tmp/cache/3AE/040/shard%2F12191 +1 -0
- data/spec/dummy/tmp/cache/3AF/060/shard%2F12525 +1 -0
- data/spec/dummy/tmp/cache/3AF/0B0/shard%2F12651 +1 -0
- data/spec/dummy/tmp/cache/3B0/010/shard%2F12229 +1 -0
- data/spec/dummy/tmp/cache/3B0/0A0/shard%2F12634 +1 -0
- data/spec/dummy/tmp/cache/3B1/090/shard%2F12536 +1 -0
- data/spec/dummy/tmp/cache/3B1/0C0/shard%2F12563 +1 -0
- data/spec/dummy/tmp/cache/3B1/0D0/shard%2F12491 +1 -0
- data/spec/dummy/tmp/cache/3B1/0F0/shard%2F12833 +1 -0
- data/spec/dummy/tmp/cache/3B2/000/shard%2F10179 +1 -0
- data/spec/dummy/tmp/cache/3B2/060/shard%2F13149 +1 -0
- data/spec/dummy/tmp/cache/3B2/140/shard%2F12870 +1 -0
- data/spec/dummy/tmp/cache/3B3/0A0/shard%2F13096 +1 -0
- data/spec/dummy/tmp/cache/3B3/0F0/shard%2F12736 +1 -0
- data/spec/dummy/tmp/cache/3B4/090/shard%2F13079 +1 -0
- data/spec/dummy/tmp/cache/3B4/0A0/shard%2F12197 +1 -0
- data/spec/dummy/tmp/cache/3B4/0E0/shard%2F12719 +1 -0
- data/spec/dummy/tmp/cache/3B5/160/shard%2F12864 +1 -0
- data/spec/dummy/tmp/cache/3B6/150/shard%2F12685 +1 -0
- data/spec/dummy/tmp/cache/3B7/140/shard%2F12668 +1 -0
- data/spec/dummy/tmp/cache/3B9/150/shard%2F12499 +1 -0
- data/spec/lib/active_record/query_cache_spec.rb +50 -30
- data/spec/lib/database_server_spec.rb +6 -2
- metadata +453 -50
- data/spec/dummy/tmp/cache/317/9E0/shard%2F61 +0 -0
- data/spec/dummy/tmp/cache/318/9F0/shard%2F62 +0 -0
- data/spec/dummy/tmp/cache/31A/A10/shard%2F64 +0 -0
- data/spec/dummy/tmp/cache/31A/A20/shard%2F73 +0 -0
- data/spec/dummy/tmp/cache/31B/A20/shard%2F65 +0 -0
- data/spec/dummy/tmp/cache/31B/A30/shard%2F74 +0 -0
- data/spec/dummy/tmp/cache/31D/A30/shard%2F58 +0 -0
- data/spec/dummy/tmp/cache/31D/A40/shard%2F67 +0 -0
- data/spec/dummy/tmp/cache/31E/A40/shard%2F59 +0 -0
- data/spec/dummy/tmp/cache/31E/A50/shard%2F68 +0 -0
- data/spec/dummy/tmp/cache/320/A80/shard%2F79 +0 -0
- data/spec/dummy/tmp/cache/344/D70/shard%2F103 +0 -0
- data/spec/dummy/tmp/cache/345/D80/shard%2F104 +0 -0
- data/spec/dummy/tmp/cache/349/DE0/shard%2F126 +0 -0
- data/spec/dummy/tmp/cache/34A/DF0/shard%2F127 +0 -0
- data/spec/dummy/tmp/cache/34B/E00/shard%2F128 +0 -1
- data/spec/dummy/tmp/cache/34B/E10/shard%2F137 +0 -0
- data/spec/dummy/tmp/cache/34C/E20/shard%2F138 +0 -0
- data/spec/dummy/tmp/cache/34C/E80/shard%2F192 +0 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1391712778.8043149:@value":nil
|
Binary file
|
Binary file
|
Binary file
|