maria_db_cluster_pool 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -17,6 +17,7 @@ The cluster connections are configured in database.yml using the maria_db_cluste
17
17
  password: abc123
18
18
  pool_adapter: mysql
19
19
  port: 3306
20
+ encoding: utf8
20
21
  server_pool:
21
22
  - host: read-db-1.example.com
22
23
  pool_weight: 1
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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
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-04 00:00:00 +02:00
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