thrift-amqp-ruby 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thrift/amqp/amqp_rpc_client.rb +2 -2
- data/lib/thrift/amqp/ruby/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: a69d7c06e7fcfb12fdcd862d3fd44759b925e0a1
|
4
|
+
data.tar.gz: 02fec0f826fa9ee852bc4ee07eec16e59a965d63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eb45261cc2d12692cfaf6d511036ba6230c995afaf16e303011e76a8162ca61cb238ba60ee6225c8e0a939129c22360d2e26d01e4ba727fde14700ef399856e
|
7
|
+
data.tar.gz: ceb2eb790bbc306c3b92932312136635749074d9c4174b6a38bcc4b3a5ebf3d2309cb14666ad814cef2088c096fc8e325ecae79154a8684ce0237a9878865ffe
|
@@ -32,7 +32,7 @@ module Thrift
|
|
32
32
|
def initialize(service_queue_name, opts={})
|
33
33
|
@service_queue_name = service_queue_name
|
34
34
|
@outbuf = Bytes.empty_byte_buffer
|
35
|
-
|
35
|
+
@timeout = opts[:timeout] || 100
|
36
36
|
if opts[:connection].nil?
|
37
37
|
if opts[:host].nil?
|
38
38
|
raise ArgumentError, ":host key not provided in opts dict to make connection"
|
@@ -97,7 +97,7 @@ module Thrift
|
|
97
97
|
|
98
98
|
operation = options.has_key?(:operation) ? options[:operation] : ""
|
99
99
|
blocking = options.has_key?(:blocking) ? options[:blocking] : true
|
100
|
-
msg_timeout = options.has_key?(:msg_timeout) ? options[:msg_timeout] :
|
100
|
+
msg_timeout = options.has_key?(:msg_timeout) ? options[:msg_timeout] : @timeout
|
101
101
|
log_messages = options.has_key?(:log_messages) ? options[:log_messages] : false
|
102
102
|
|
103
103
|
correlation_id = self.generate_uuid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thrift-amqp-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Montagne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|