switchman 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/switchman/shard.rb +3 -3
  3. data/lib/switchman/active_record/connection_handler.rb +2 -2
  4. data/lib/switchman/database_server.rb +11 -7
  5. data/lib/switchman/default_shard.rb +1 -1
  6. data/lib/switchman/engine.rb +0 -7
  7. data/lib/switchman/r_spec_helper.rb +1 -1
  8. data/lib/switchman/test_helper.rb +2 -2
  9. data/lib/switchman/version.rb +1 -1
  10. data/lib/tasks/switchman.rake +12 -6
  11. data/spec/dummy/config/environments/production.rb +1 -1
  12. data/spec/dummy/config/environments/test.rb +1 -1
  13. data/spec/dummy/db/shard_2203.sqlite3 +0 -0
  14. data/spec/dummy/db/shard_2256.sqlite3 +0 -0
  15. data/spec/dummy/db/shard_2301.sqlite3 +0 -0
  16. data/spec/dummy/db/shard_2336.sqlite3 +0 -0
  17. data/spec/dummy/db/shard_2360.sqlite3 +0 -0
  18. data/spec/dummy/db/shard_2385.sqlite3 +0 -0
  19. data/spec/dummy/db/shard_2406.sqlite3 +0 -0
  20. data/spec/dummy/db/shard_2452.sqlite3 +0 -0
  21. data/spec/dummy/db/shard_2465.sqlite3 +0 -0
  22. data/spec/dummy/db/shard_2507.sqlite3 +0 -0
  23. data/spec/dummy/db/shard_2515.sqlite3 +0 -0
  24. data/spec/dummy/db/shard_2557.sqlite3 +0 -0
  25. data/spec/dummy/db/shard_2580.sqlite3 +0 -0
  26. data/spec/dummy/db/shard_2598.sqlite3 +0 -0
  27. data/spec/dummy/db/shard_2626.sqlite3 +0 -0
  28. data/spec/dummy/db/shard_2672.sqlite3 +0 -0
  29. data/spec/dummy/db/shard_2681.sqlite3 +0 -0
  30. data/spec/dummy/db/shard_2754.sqlite3 +0 -0
  31. data/spec/dummy/db/shard_2790.sqlite3 +0 -0
  32. data/spec/dummy/db/shard_2803.sqlite3 +0 -0
  33. data/spec/dummy/db/shard_2834.sqlite3 +0 -0
  34. data/spec/dummy/db/shard_2862.sqlite3 +0 -0
  35. data/spec/dummy/db/shard_2897.sqlite3 +0 -0
  36. data/spec/dummy/db/shard_2928.sqlite3 +0 -0
  37. data/spec/dummy/db/shard_2951.sqlite3 +0 -0
  38. data/spec/dummy/db/shard_2970.sqlite3 +0 -0
  39. data/spec/dummy/db/shard_3009.sqlite3 +0 -0
  40. data/spec/dummy/log/test.log +114198 -0
  41. data/spec/dummy/tmp/cache/377/540/shard%2F2221 +1 -0
  42. data/spec/dummy/tmp/cache/379/540/shard%2F3015 +1 -0
  43. data/spec/dummy/tmp/cache/379/580/shard%2F2403 +1 -0
  44. data/spec/dummy/tmp/cache/37A/5E0/shard%2F2611 +1 -0
  45. data/spec/dummy/tmp/cache/37B/5A0/shard%2F2324 +1 -0
  46. data/spec/dummy/tmp/cache/37C/5D0/shard%2F2343 +1 -0
  47. data/spec/dummy/tmp/cache/37C/5E0/shard%2F2352 +1 -0
  48. data/spec/dummy/tmp/cache/37D/5E0/shard%2F2344 +1 -0
  49. data/spec/dummy/tmp/cache/37D/650/shard%2F2812 +1 -0
  50. data/spec/dummy/tmp/cache/37D/660/shard%2F2740 +2 -0
  51. data/spec/dummy/tmp/cache/37E/640/shard%2F2390 +1 -0
  52. data/spec/dummy/tmp/cache/37F/660/shard%2F2562 +1 -0
  53. data/spec/dummy/tmp/cache/37F/680/shard%2F2823 +1 -0
  54. data/spec/dummy/tmp/cache/37F/6B0/shard%2F2931 +1 -0
  55. data/spec/dummy/tmp/cache/380/630/shard%2F2527 +1 -0
  56. data/spec/dummy/tmp/cache/380/670/shard%2F2644 +1 -0
  57. data/spec/dummy/tmp/cache/380/690/shard%2F2824 +1 -0
  58. data/spec/dummy/tmp/cache/380/6E0/shard%2F2950 +1 -0
  59. data/spec/dummy/tmp/cache/382/640/shard%2F2277 +1 -0
  60. data/spec/dummy/tmp/cache/382/650/shard%2F2448 +1 -0
  61. data/spec/dummy/tmp/cache/382/660/shard%2F2295 +1 -0
  62. data/spec/dummy/tmp/cache/382/6F0/shard%2F2781 +1 -0
  63. data/spec/dummy/tmp/cache/382/700/shard%2F2871 +1 -0
  64. data/spec/dummy/tmp/cache/383/6B0/shard%2F2494 +1 -0
  65. data/spec/dummy/tmp/cache/383/6B0/shard%2F2575 +2 -0
  66. data/spec/dummy/tmp/cache/383/6F0/shard%2F2935 +1 -0
  67. data/spec/dummy/tmp/cache/384/700/shard%2F2693 +1 -0
  68. data/spec/dummy/tmp/cache/384/700/shard%2F2936 +1 -0
  69. data/spec/dummy/tmp/cache/385/6D0/shard%2F2739 +2 -0
  70. data/spec/dummy/tmp/cache/385/6E0/shard%2F2586 +1 -0
  71. data/spec/dummy/tmp/cache/385/760/shard%2F2982 +1 -0
  72. data/spec/dummy/tmp/cache/386/6C0/shard%2F2479 +1 -0
  73. data/spec/dummy/tmp/cache/386/710/shard%2F2767 +2 -0
  74. data/spec/dummy/tmp/cache/386/710/shard%2F2848 +1 -0
  75. data/spec/dummy/tmp/cache/387/700/shard%2F2669 +1 -0
  76. data/spec/dummy/tmp/cache/387/710/shard%2F2759 +1 -0
  77. data/spec/dummy/tmp/cache/388/770/shard%2F2886 +1 -0
  78. data/spec/dummy/tmp/cache/3A4/F20/shard%2F13000 +1 -0
  79. data/spec/dummy/tmp/cache/3A6/F50/shard%2F12201 +1 -0
  80. data/spec/dummy/tmp/cache/3A7/FA0/shard%2F12400 +1 -0
  81. data/spec/dummy/tmp/cache/3AA/FC0/shard%2F12313 +1 -0
  82. data/spec/dummy/tmp/cache/3AB/010/shard%2F12512 +1 -0
  83. data/spec/dummy/tmp/cache/3AD/010/shard%2F12253 +1 -0
  84. data/spec/dummy/tmp/cache/3AE/030/shard%2F12344 +1 -0
  85. data/spec/dummy/tmp/cache/3AE/0B0/shard%2F12740 +1 -0
  86. data/spec/dummy/tmp/cache/3AF/070/shard%2F12372 +1 -0
  87. data/spec/dummy/tmp/cache/3AF/080/shard%2F12624 +1 -0
  88. data/spec/dummy/tmp/cache/3B0/060/shard%2F12436 +1 -0
  89. data/spec/dummy/tmp/cache/3B0/0C0/shard%2F12652 +1 -0
  90. data/spec/dummy/tmp/cache/3B1/090/shard%2F12293 +1 -0
  91. data/spec/dummy/tmp/cache/3B1/0E0/shard%2F12824 +1 -0
  92. data/spec/dummy/tmp/cache/3B1/100/shard%2F12680 +1 -0
  93. data/spec/dummy/tmp/cache/3B2/0A0/shard%2F12456 +1 -0
  94. data/spec/dummy/tmp/cache/3B2/120/shard%2F12852 +1 -0
  95. data/spec/dummy/tmp/cache/3B3/0E0/shard%2F12484 +1 -0
  96. data/spec/dummy/tmp/cache/3B3/160/shard%2F12880 +1 -0
  97. data/spec/dummy/tmp/cache/3B4/0D0/shard%2F12548 +1 -0
  98. data/spec/dummy/tmp/cache/3B4/110/shard%2F12908 +1 -0
  99. data/spec/dummy/tmp/cache/3B5/110/shard%2F12576 +1 -0
  100. data/spec/dummy/tmp/cache/3B5/150/shard%2F12936 +1 -0
  101. data/spec/dummy/tmp/cache/3B6/190/shard%2F12964 +1 -0
  102. data/spec/dummy/tmp/cache/3B7/150/shard%2F12596 +1 -0
  103. data/spec/dummy/tmp/cache/3B8/170/shard%2F12768 +1 -0
  104. data/spec/dummy/tmp/cache/3B9/1B0/shard%2F12796 +1 -0
  105. data/spec/lib/active_record/connection_pool_spec.rb +5 -5
  106. data/spec/lib/active_record/postgresql_adapter_spec.rb +1 -0
  107. data/spec/lib/connection_pool_proxy_spec.rb +1 -1
  108. data/spec/lib/database_server_spec.rb +14 -14
  109. data/spec/lib/rails_spec.rb +1 -1
  110. data/spec/lib/rake_spec.rb +9 -1
  111. data/spec/lib/shackles_spec.rb +2 -2
  112. data/spec/models/shard_spec.rb +10 -10
  113. data/spec/spec_helper.rb +1 -1
  114. metadata +184 -2

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.