maria_db_cluster_pool 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +14 -0
  2. data/Rakefile +0 -23
  3. metadata +8 -82
data/README.rdoc CHANGED
@@ -24,6 +24,20 @@ The cluster connections are configured in database.yml using the maria_db_cluste
24
24
  - host: read-db-2.example.com
25
25
  pool_weight: 2
26
26
 
27
+ == Rails 2.3.x
28
+
29
+ To make rake db:migrate, rake db:seed work, remember to put:
30
+
31
+ config.gem 'maria_db_cluster_pool'
32
+
33
+ in the environment.rb
34
+
35
+ == Known issues:
36
+
37
+ rake db:test:clone
38
+
39
+ will not work.
40
+
27
41
  == License
28
42
 
29
43
  This software is a derived work of https://github.com/bdurand/seamless_database_pool the parts which derives from that codes is copyrighted by Brian Durand
data/Rakefile CHANGED
@@ -58,27 +58,4 @@ rescue LoadError
58
58
  task :test do
59
59
  STDERR.puts "You must have rspec >= 2.0 to run the tests"
60
60
  end
61
- end
62
-
63
- begin
64
- require 'jeweler'
65
- Jeweler::Tasks.new do |gem|
66
- gem.name = "maria_db_cluster_pool"
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."
69
- gem.email = "rm@microting.com"
70
- gem.homepage = "https://github.com/renemadsen/maria_db_cluster_pool"
71
- gem.authors = ["René Schultz Madsen"]
72
- gem.files = FileList["lib/**/*", "spec/**/*", "README.rdoc", "Rakefile", "MIT-LICENSE"].to_a
73
- gem.has_rdoc = true
74
- gem.extra_rdoc_files = ["README.rdoc", "MIT-LICENSE"]
75
-
76
- gem.add_dependency('activerecord', '>= 2.2.2')
77
- gem.add_development_dependency('rspec', '>= 2.0')
78
- gem.add_development_dependency('jeweler')
79
- gem.add_development_dependency('mysql')
80
- end
81
-
82
- Jeweler::GemcutterTasks.new
83
- rescue LoadError
84
61
  end
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
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-09 00:00:00 +02:00
18
+ date: 2013-04-10 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -50,39 +50,10 @@ dependencies:
50
50
  version: 0.8.7
51
51
  type: :runtime
52
52
  version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: rspec
55
- prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 2
64
- - 0
65
- version: "2.0"
66
- type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: jeweler
70
- prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 0
79
- version: "0"
80
- type: :runtime
81
- version_requirements: *id004
82
53
  - !ruby/object:Gem::Dependency
83
54
  name: mysql
84
55
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
56
+ requirement: &id003 !ruby/object:Gem::Requirement
86
57
  none: false
87
58
  requirements:
88
59
  - - ">="
@@ -92,56 +63,11 @@ dependencies:
92
63
  - 0
93
64
  version: "0"
94
65
  type: :runtime
95
- version_requirements: *id005
96
- - !ruby/object:Gem::Dependency
97
- name: activerecord
98
- prerelease: false
99
- requirement: &id006 !ruby/object:Gem::Requirement
100
- none: false
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- hash: 3
105
- segments:
106
- - 2
107
- - 2
108
- - 2
109
- version: 2.2.2
110
- type: :runtime
111
- version_requirements: *id006
66
+ version_requirements: *id003
112
67
  - !ruby/object:Gem::Dependency
113
68
  name: rspec
114
69
  prerelease: false
115
- requirement: &id007 !ruby/object:Gem::Requirement
116
- none: false
117
- requirements:
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- hash: 3
121
- segments:
122
- - 2
123
- - 0
124
- version: "2.0"
125
- type: :development
126
- version_requirements: *id007
127
- - !ruby/object:Gem::Dependency
128
- name: jeweler
129
- prerelease: false
130
- requirement: &id008 !ruby/object:Gem::Requirement
131
- none: false
132
- requirements:
133
- - - ">="
134
- - !ruby/object:Gem::Version
135
- hash: 3
136
- segments:
137
- - 0
138
- version: "0"
139
- type: :development
140
- version_requirements: *id008
141
- - !ruby/object:Gem::Dependency
142
- name: mysql
143
- prerelease: false
144
- requirement: &id009 !ruby/object:Gem::Requirement
70
+ requirement: &id004 !ruby/object:Gem::Requirement
145
71
  none: false
146
72
  requirements:
147
73
  - - ">="
@@ -151,7 +77,7 @@ dependencies:
151
77
  - 0
152
78
  version: "0"
153
79
  type: :development
154
- version_requirements: *id009
80
+ version_requirements: *id004
155
81
  description: This gem add support for the Maria DB Galera Cluster setup.
156
82
  email: rm@microting.com
157
83
  executables: []