maria_db_cluster_pool 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/Rakefile +1 -0
- data/lib/active_record/connection_adapters/maria_db_cluster_pool_adapter.rb +0 -13
- metadata +5 -5
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -65,6 +65,7 @@ begin
|
|
65
65
|
Jeweler::Tasks.new do |gem|
|
66
66
|
gem.name = "maria_db_cluster_pool"
|
67
67
|
gem.summary = "Add support for master/master database clusters in ActiveRecord to improve performance."
|
68
|
+
gem.description = "This gem add support for the Maria DB Galera Cluster setup."
|
68
69
|
gem.email = "rm@microting.com"
|
69
70
|
gem.homepage = "https://github.com/renemadsen/maria_db_cluster_pool"
|
70
71
|
gem.authors = ["René Schultz Madsen"]
|
@@ -62,19 +62,6 @@ module ActiveRecord
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
65
|
-
|
66
|
-
module MariaDBClusterPoolBehavior
|
67
|
-
def self.included(base)
|
68
|
-
base.alias_method_chain(:reload, :maria_db_cluster_pool)
|
69
|
-
end
|
70
|
-
|
71
|
-
# Force reload to use the master connection since it's probably being called for a reason.
|
72
|
-
def reload_with_maria_db_cluster_pool(*args)
|
73
|
-
reload_without_maria_db_Cluster_Pool(*args)
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
include(MariaDBClusterPoolBehavior) unless include?(MariaDBClusterPoolBehavior)
|
78
65
|
end
|
79
66
|
|
80
67
|
module ConnectionAdapters
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maria_db_cluster_pool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Ren\xC3\xA9 Schultz Madsen"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-04-
|
18
|
+
date: 2013-04-09 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -152,7 +152,7 @@ dependencies:
|
|
152
152
|
version: "0"
|
153
153
|
type: :development
|
154
154
|
version_requirements: *id009
|
155
|
-
description:
|
155
|
+
description: This gem add support for the Maria DB Galera Cluster setup.
|
156
156
|
email: rm@microting.com
|
157
157
|
executables: []
|
158
158
|
|