em-mysql 0.4.1 → 0.4.2
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 +11 -1
- data/em-mysql.gemspec +4 -4
- metadata +4 -3
data/README
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
Async MySQL driver for Ruby/EventMachine
|
2
2
|
(c) 2008 Aman Gupta (tmm1)
|
3
3
|
|
4
|
+
== Fork comments
|
5
|
+
|
6
|
+
Can work with multiple databases.
|
7
|
+
|
8
|
+
db = Sequel.mysql config
|
9
|
+
EventedMysql.databases[db] ||= EmMysql.new(config)
|
10
|
+
|
11
|
+
db2 = Sequel.mysql config2
|
12
|
+
EventedMysql.databases[db2] ||= EmMysql.new(config2)
|
4
13
|
|
5
14
|
Requires mysqlplus.
|
6
15
|
|
@@ -37,4 +46,5 @@ Also includes a sequel async wrapper
|
|
37
46
|
|
38
47
|
DB[:table].where(:field => 'value').async_update(:field => 'new value')
|
39
48
|
|
40
|
-
For more info, see the comments in lib/sequel/async.rb
|
49
|
+
For more info, see the comments in lib/sequel/async.rb
|
50
|
+
|
data/em-mysql.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
2
2
|
s.name = 'em-mysql'
|
3
|
-
s.version = '0.4.
|
3
|
+
s.version = '0.4.2'
|
4
4
|
s.date = '2009-06-23'
|
5
5
|
s.summary = 'Async MySQL client API for Ruby/EventMachine'
|
6
6
|
s.email = "em-mysql@tmm1.net"
|
7
|
-
s.homepage = "http://github.com/
|
8
|
-
s.description = 'Async MySQL client API for Ruby/EventMachine'
|
7
|
+
s.homepage = "http://github.com/prepor/em-mysql"
|
8
|
+
s.description = 'Async MySQL client API for Ruby/EventMachine. prepor fork'
|
9
9
|
s.has_rdoc = false
|
10
|
-
s.authors = ["Aman Gupta"]
|
10
|
+
s.authors = ["Aman Gupta", "Andrew Rudenko"]
|
11
11
|
s.add_dependency('eventmachine', '>= 0.12.9')
|
12
12
|
|
13
13
|
# git ls-files
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-mysql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
8
|
+
- Andrew Rudenko
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
@@ -22,7 +23,7 @@ dependencies:
|
|
22
23
|
- !ruby/object:Gem::Version
|
23
24
|
version: 0.12.9
|
24
25
|
version:
|
25
|
-
description: Async MySQL client API for Ruby/EventMachine
|
26
|
+
description: Async MySQL client API for Ruby/EventMachine. prepor fork
|
26
27
|
email: em-mysql@tmm1.net
|
27
28
|
executables: []
|
28
29
|
|
@@ -37,7 +38,7 @@ files:
|
|
37
38
|
- lib/sequel/async.rb
|
38
39
|
- test.rb
|
39
40
|
has_rdoc: true
|
40
|
-
homepage: http://github.com/
|
41
|
+
homepage: http://github.com/prepor/em-mysql
|
41
42
|
licenses: []
|
42
43
|
|
43
44
|
post_install_message:
|