my-sequel-synchrony 0.0.2 → 0.0.3.pre.1
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/LICENSE
CHANGED
@@ -3,9 +3,8 @@ require "set"
|
|
3
3
|
require "sequel"
|
4
4
|
require "sequel/adapters/mysql2"
|
5
5
|
|
6
|
-
# A Fiber-aware Sequel::ConnectionPool that works with EM::Synchrony! This version is not shard-aware,
|
7
|
-
# that may be a TODO in the future.
|
8
6
|
module Sequel::Mysql2::Synchrony
|
7
|
+
# A Fiber-aware Sequel::ConnectionPool that works with EM::Synchrony! This version is not shard-aware.
|
9
8
|
class ConnectionPool < ::Sequel::ConnectionPool
|
10
9
|
# The maximum number of connections this pool will create (per shard/server
|
11
10
|
# if sharding).
|
@@ -53,7 +52,7 @@ module Sequel::Mysql2::Synchrony
|
|
53
52
|
@pending_disconnects += @in_use_connections.values.to_set
|
54
53
|
block ||= @disconnection_proc
|
55
54
|
connections_to_disconnect.each do |conn|
|
56
|
-
disconnect_conn(conn, opts, block)
|
55
|
+
disconnect_conn(conn, opts, &block)
|
57
56
|
end
|
58
57
|
end
|
59
58
|
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my-sequel-synchrony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3.pre.1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ilya Maykov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-09
|
13
|
+
date: 2012-10-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sequel
|
@@ -109,9 +109,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
none: false
|
111
111
|
requirements:
|
112
|
-
- - ! '
|
112
|
+
- - ! '>'
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version:
|
114
|
+
version: 1.3.1
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project:
|
117
117
|
rubygems_version: 1.8.24
|