radiator 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/radiator/api.rb +2 -0
- data/lib/radiator/transaction.rb +4 -0
- data/lib/radiator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7dc50f2559e5378d12b9511cf95ea18c8fa182b
|
4
|
+
data.tar.gz: d484fcd9e21336f1202552589d3c8b58311d48b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e54dc905d85d797f9079194f9ae4f7f8c09623238f0bfbd9ea7bd73ad8666f5b981e9221027cb5cea268f6b0e870e433227271a2d42b98a5d01659ad27004a83
|
7
|
+
data.tar.gz: 2869c113566019bbd2c2ef67db6ab745abaf0e33fef3526a30a041b05ad524d1ec44ac6e2edf4a45d45662b7c8832c038e30fa90b0f501d254ecd46bb5b464e5
|
data/Gemfile.lock
CHANGED
data/lib/radiator/api.rb
CHANGED
@@ -189,6 +189,7 @@ module Radiator
|
|
189
189
|
# @option options [Logger] :logger An instance of `Logger` to send debug messages to.
|
190
190
|
# @option options [Boolean] :recover_transactions_on_error Have Radiator try to recover transactions that are accepted but could not be confirmed due to an error like network timeout. Default: `true`
|
191
191
|
# @option options [Integer] :max_requests Maximum number of requests on a connection before it is considered expired and automatically closed.
|
192
|
+
# @option options [Integer] :pool_size Maximum number of connections allowed.
|
192
193
|
# @option options [Boolean] :reuse_ssl_sessions Reuse a previously opened SSL session for a new connection. There's a slight performance improvement by enabling this, but at the expense of reliability during long execution. Default false.
|
193
194
|
def initialize(options = {})
|
194
195
|
@user = options[:user]
|
@@ -201,6 +202,7 @@ module Radiator
|
|
201
202
|
@logger = options[:logger] || Radiator.logger
|
202
203
|
@hashie_logger = options[:hashie_logger] || Logger.new(nil)
|
203
204
|
@max_requests = options[:max_requests] || 30
|
205
|
+
@pool_size = options[:pool_size] || Net::HTTP::Persistent::DEFAULT_POOL_SIZE
|
204
206
|
@ssl_verify_mode = options[:ssl_verify_mode] || OpenSSL::SSL::VERIFY_PEER
|
205
207
|
@reuse_ssl_sessions = !!options[:reuse_ssl_sessions]
|
206
208
|
@ssl_version = options[:ssl_version]
|
data/lib/radiator/transaction.rb
CHANGED
data/lib/radiator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|