persistent_http 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/History.md +4 -0
  3. data/lib/persistent_http.rb +3 -3
  4. metadata +20 -26
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f9ee404e0c66d58e123b284244bb4ff73ebae344
4
+ data.tar.gz: fc850b407449aee15a7928bfc36275c51bff45e2
5
+ SHA512:
6
+ metadata.gz: c2fc446787f29eb14b7a342434b82fc103baa39e4c58f3e19ed6b105d70e8d11ca1cc219ca977fe4aec0fa1a06eb401d401aebda04bd18ede41f9ee3a84f05be
7
+ data.tar.gz: 21be4d18ec9d44bbc1e3838b8e445c5940be21684d8f196fe357e112247ee0b56416a7c89ec879ac4c5fedbc80f2fcf63a66ab328c0c2f6dbd816462afd4b9a2
data/History.md CHANGED
@@ -1,6 +1,10 @@
1
1
  PersistentHttp Changelog
2
2
  ========================
3
3
 
4
+ 1.0.6
5
+
6
+ - Fix pool_size and shutdown methods and make tests pass again (Matt Campbell - soupmatt)
7
+
4
8
  1.0.5
5
9
 
6
10
  - Don't require 'net/https' in code. JRuby 1.6.8 can have issues when 2 threads attempt to require it
@@ -263,12 +263,12 @@ class PersistentHTTP
263
263
 
264
264
  # Reset the size of the connection pool
265
265
  def pool_size=(pool_size)
266
- @gene_pool.pool_size = pool_size
266
+ @pool.pool_size = pool_size
267
267
  end
268
268
 
269
269
  # Return the size of the connection pool
270
270
  def pool_size
271
- @gene_pool.pool_size
271
+ @pool.pool_size
272
272
  end
273
273
 
274
274
  ##
@@ -346,7 +346,7 @@ class PersistentHTTP
346
346
  ##
347
347
  # Shuts down all connections.
348
348
  def shutdown(timeout=10)
349
- @gene_pool.close(timeout)
349
+ @pool.close(timeout)
350
350
  end
351
351
 
352
352
  #######
metadata CHANGED
@@ -1,27 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: persistent_http
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.0.5
4
+ version: 1.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Brad Pardee
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-26 00:00:00.000000000Z
11
+ date: 2013-09-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: gene_pool
16
- version_requirements: &3246 !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ! '>='
17
+ - - '>='
19
18
  - !ruby/object:Gem::Version
20
19
  version: '1.3'
21
- none: false
22
- requirement: *3246
23
- prerelease: false
24
20
  type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
25
27
  description: Persistent HTTP connections using a connection pool
26
28
  email:
27
29
  - bradpardee@gmail.com
@@ -29,41 +31,33 @@ executables: []
29
31
  extensions: []
30
32
  extra_rdoc_files: []
31
33
  files:
32
- - lib/persistent_http.rb
33
34
  - lib/persistent_http/faster.rb
35
+ - lib/persistent_http.rb
34
36
  - LICENSE
35
37
  - Rakefile
36
38
  - History.md
37
39
  - README.rdoc
38
40
  homepage: http://github.com/bpardee/persistent_http
39
41
  licenses: []
40
- post_install_message:
42
+ metadata: {}
43
+ post_install_message:
41
44
  rdoc_options: []
42
45
  require_paths:
43
46
  - lib
44
47
  required_ruby_version: !ruby/object:Gem::Requirement
45
48
  requirements:
46
- - - ! '>='
49
+ - - '>='
47
50
  - !ruby/object:Gem::Version
48
- segments:
49
- - 0
50
- hash: 2
51
51
  version: '0'
52
- none: false
53
52
  required_rubygems_version: !ruby/object:Gem::Requirement
54
53
  requirements:
55
- - - ! '>='
54
+ - - '>='
56
55
  - !ruby/object:Gem::Version
57
- segments:
58
- - 0
59
- hash: 2
60
56
  version: '0'
61
- none: false
62
57
  requirements: []
63
- rubyforge_project:
64
- rubygems_version: 1.8.9
65
- signing_key:
66
- specification_version: 3
58
+ rubyforge_project:
59
+ rubygems_version: 2.0.2
60
+ signing_key:
61
+ specification_version: 4
67
62
  summary: Persistent HTTP connections using a connection pool
68
63
  test_files: []
69
- ...