hot_tub 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/HISTORY.md +6 -1
- data/README.md +110 -64
- data/benchmarks/block_passing.rb +96 -0
- data/benchmarks/hot_tub.rb +76 -41
- data/hot_tub.gemspec +2 -4
- data/lib/hot_tub/known_clients.rb +40 -23
- data/lib/hot_tub/pool.rb +96 -83
- data/lib/hot_tub/reaper.rb +14 -2
- data/lib/hot_tub/sessions.rb +111 -78
- data/lib/hot_tub/version.rb +1 -1
- data/lib/hot_tub.rb +48 -10
- data/spec/hot_tub/integration/excon_spec.rb +15 -21
- data/spec/hot_tub/integration/net_http_spec.rb +14 -14
- data/spec/hot_tub/integration/sessions_spec.rb +26 -15
- data/spec/hot_tub/pool_spec.rb +15 -34
- data/spec/hot_tub/sessions_spec.rb +50 -69
- data/spec/hot_tub_spec.rb +12 -7
- data/spec/spec_helper.rb +2 -0
- metadata +5 -19
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hot_tub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Mckinney
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: thread_safe
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rspec
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,8 +94,7 @@ dependencies:
|
|
108
94
|
- - ">="
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '0'
|
111
|
-
description:
|
112
|
-
static pool.
|
97
|
+
description: Flexible connection pooling for Ruby.
|
113
98
|
email:
|
114
99
|
- joshmckin@gmail.com
|
115
100
|
executables: []
|
@@ -124,6 +109,7 @@ files:
|
|
124
109
|
- LICENSE.txt
|
125
110
|
- README.md
|
126
111
|
- Rakefile
|
112
|
+
- benchmarks/block_passing.rb
|
127
113
|
- benchmarks/hot_tub.rb
|
128
114
|
- hot_tub.gemspec
|
129
115
|
- lib/hot_tub.rb
|
@@ -167,7 +153,7 @@ rubyforge_project: hot_tub
|
|
167
153
|
rubygems_version: 2.4.8
|
168
154
|
signing_key:
|
169
155
|
specification_version: 4
|
170
|
-
summary:
|
156
|
+
summary: Flexible connection pooling for Ruby.
|
171
157
|
test_files:
|
172
158
|
- spec/helpers/moc_client.rb
|
173
159
|
- spec/helpers/moc_pool.rb
|