persistent_http 2.0.2 → 2.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d523aa4ce9ba2f4c152ca0dff6fed4a3fa11db58
4
- data.tar.gz: 5188aa8505323ede2e9f1651372e6f215132548b
3
+ metadata.gz: 8ac454a8013780a1a9a3d23606c0421e13192f33
4
+ data.tar.gz: 05c860eecfa6d6a1773ca48bd0cdc3eb44ca97d4
5
5
  SHA512:
6
- metadata.gz: c13143f9fd45f59c0ff7d3a34353fa8229aa4af30d723ce0babc33b7d64efa5497afd57fa17a9009389487c68150a6e4bd47f5e23abb807de0ff62e942ccc8f5
7
- data.tar.gz: 159fef3e71ff5ca9e65a7a75a2a18818dc63c8b0f8d5c63b2e2e7522146f98cd625b37d1d8d201f81a6e9c6c7e47f8817a10983ba8db89d072e44d5396ab21d9
6
+ metadata.gz: 0a6756875ab9eb69b5c3ae8b637866817e651f212c8551490dccb4d89b4c57400c6505b3d12790ce29029dc3f32da7929dff5a77c7272ef9cdcd84ecd9871f64
7
+ data.tar.gz: 1a39fd86f56777c2394e934d85c2e7cef6df50c885cd0295e16d1d9f61d76fd2bdaf8e45a0d50340cd0724375923cdb3a42e5fc245f80d9cd592428e6e1b8196
data/History.md CHANGED
@@ -1,6 +1,10 @@
1
1
  PersistentHttp Changelog
2
2
  ========================
3
3
 
4
+ 2.0.3
5
+
6
+ - Set keep_alive_timeout based on keep_alive option, added in ruby 2.0
7
+
4
8
  2.0.2
5
9
 
6
10
  - Add OpenSSL::SSL::SSLError to retriable exceptions if it's defined.
@@ -218,6 +218,7 @@ class PersistentHTTP
218
218
  @connection.set_debug_output @debug_output if @debug_output
219
219
  @connection.open_timeout = @open_timeout if @open_timeout
220
220
  @connection.read_timeout = @read_timeout if @read_timeout
221
+ @connection.keep_alive_timeout = @keep_alive if @keep_alive
221
222
 
222
223
  ssl if @use_ssl
223
224
 
@@ -1,3 +1,3 @@
1
1
  class PersistentHTTP #:nodoc
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: persistent_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Pardee
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-22 00:00:00.000000000 Z
11
+ date: 2018-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: gene_pool
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - '>='
17
+ - - ">="
17
18
  - !ruby/object:Gem::Version
18
19
  version: '1.3'
19
- name: gene_pool
20
- prerelease: false
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  description: Persistent HTTP connections using a connection pool
@@ -31,34 +31,34 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - History.md
35
+ - LICENSE
36
+ - README.rdoc
37
+ - Rakefile
34
38
  - lib/persistent_http.rb
35
39
  - lib/persistent_http/connection.rb
36
40
  - lib/persistent_http/version.rb
37
- - LICENSE
38
- - Rakefile
39
- - History.md
40
- - README.rdoc
41
41
  homepage: http://github.com/bpardee/persistent_http
42
42
  licenses: []
43
43
  metadata: {}
44
- post_install_message:
44
+ post_install_message:
45
45
  rdoc_options: []
46
46
  require_paths:
47
47
  - lib
48
48
  required_ruby_version: !ruby/object:Gem::Requirement
49
49
  requirements:
50
- - - '>='
50
+ - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - '>='
55
+ - - ">="
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  requirements: []
59
- rubyforge_project:
60
- rubygems_version: 2.1.9
61
- signing_key:
59
+ rubyforge_project:
60
+ rubygems_version: 2.5.2.1
61
+ signing_key:
62
62
  specification_version: 4
63
63
  summary: Persistent HTTP connections using a connection pool
64
64
  test_files: []