activerecord-turntable 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea91bc7aa32c2c1c0a017d9c0a812ee2f312ee8c
|
4
|
+
data.tar.gz: 6d0ee905e11f4782330039b0074d6b84cfc7487d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3aab0f4a1895b16257f3eb7c7c8f93524270395a8d3c03bab09b7b6055c820ab295e4fa992e44ee7ff9d0a7face7a8f56f8e147e6f203c9e0cbadd4725001e0
|
7
|
+
data.tar.gz: 2053ab8dd31a1e2e9a5564ced8c19299c6f0875e87ba0ea61264b6b3576c25ec3828837232f9e2292ad1aa65979cd9034b44932ea03ba9a134536ba5f53328ae
|
data/CHANGELOG.md
CHANGED
@@ -78,7 +78,7 @@ db_namespace = namespace :db do
|
|
78
78
|
task :dump do
|
79
79
|
current_config = ActiveRecord::Tasks::DatabaseTasks.current_config
|
80
80
|
shard_configs = current_config["shards"]
|
81
|
-
shard_configs.merge!(config["seq"]) if
|
81
|
+
shard_configs.merge!(config["seq"]) if current_config["seq"]
|
82
82
|
if shard_configs
|
83
83
|
shard_configs.each do |name, config|
|
84
84
|
next unless config["database"]
|
@@ -101,7 +101,7 @@ db_namespace = namespace :db do
|
|
101
101
|
task :load do
|
102
102
|
current_config = ActiveRecord::Tasks::DatabaseTasks.current_config
|
103
103
|
shard_configs = current_config["shards"]
|
104
|
-
shard_configs.merge!(config["seq"]) if
|
104
|
+
shard_configs.merge!(config["seq"]) if current_config["seq"]
|
105
105
|
if shard_configs
|
106
106
|
shard_configs.each do |name, config|
|
107
107
|
next unless config["database"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-turntable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gussan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|