skein 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/VERSION +1 -1
- data/lib/skein/client/rpc.rb +6 -1
- data/lib/skein/client/subscriber.rb +1 -1
- data/lib/skein/client/worker.rb +1 -1
- data/skein.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a6b54d25c28b9abcb0050951ae47ede341016a9
|
4
|
+
data.tar.gz: d6891e68b077770fc5159566a24c369254046bf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca859cf3dd03676f651609d016abc0d5a1aeec3b00b8b803012d448b53d4a588e9f026271d61a00236771c34bd8a2f2d2f81aa87697eb0e24354386ae443a12c
|
7
|
+
data.tar.gz: d5761799cf2f920976f34672cd53a979384630e4b1a7c512d9b02c97d5fa6f36e18c69fb025b8191d63adcbb5045e1855aad0f125f994de7202e1ebd19ba67b3
|
data/Gemfile.lock
CHANGED
@@ -38,8 +38,8 @@ GEM
|
|
38
38
|
multipart-post (2.0.0)
|
39
39
|
nokogiri (1.6.8.1)
|
40
40
|
mini_portile2 (~> 2.1.0)
|
41
|
-
oauth2 (1.3.
|
42
|
-
faraday (>= 0.8, < 0.
|
41
|
+
oauth2 (1.3.1)
|
42
|
+
faraday (>= 0.8, < 0.12)
|
43
43
|
jwt (~> 1.0)
|
44
44
|
multi_json (~> 1.3)
|
45
45
|
multi_xml (~> 0.5)
|
@@ -65,4 +65,4 @@ DEPENDENCIES
|
|
65
65
|
test-unit
|
66
66
|
|
67
67
|
BUNDLED WITH
|
68
|
-
1.14.
|
68
|
+
1.14.6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.6
|
data/lib/skein/client/rpc.rb
CHANGED
@@ -15,7 +15,12 @@ class Skein::Client::RPC < Skein::Connected
|
|
15
15
|
|
16
16
|
@rpc_exchange = self.channel.direct(exchange_name || EXCHANGE_NAME_DEFAULT, durable: true)
|
17
17
|
@routing_key = routing_key
|
18
|
-
@response_queue = self.channel.queue(
|
18
|
+
@response_queue = self.channel.queue(
|
19
|
+
@ident,
|
20
|
+
durable: false,
|
21
|
+
header: true,
|
22
|
+
auto_delete: true
|
23
|
+
)
|
19
24
|
|
20
25
|
@callback = { }
|
21
26
|
|
@@ -12,7 +12,7 @@ class Skein::Client::Subscriber < Skein::Connected
|
|
12
12
|
exchange
|
13
13
|
end
|
14
14
|
|
15
|
-
@subscribe_queue = self.channel.queue('', exclusive: true)
|
15
|
+
@subscribe_queue = self.channel.queue('', exclusive: true, durable: false)
|
16
16
|
@subscribe_queue.bind(@exchange, routing_key: routing_key)
|
17
17
|
end
|
18
18
|
|
data/lib/skein/client/worker.rb
CHANGED
@@ -8,7 +8,7 @@ class Skein::Client::Worker < Skein::Connected
|
|
8
8
|
|
9
9
|
lock do
|
10
10
|
@reply_exchange = self.channel.default_exchange
|
11
|
-
@queue = self.channel.queue(queue_name, durable:
|
11
|
+
@queue = self.channel.queue(queue_name, durable: queue_name.match(/\S/))
|
12
12
|
|
13
13
|
if (exchange_name)
|
14
14
|
@exchange = self.channel.direct(exchange_name, durable: true)
|
data/skein.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: skein 0.3.
|
5
|
+
# stub: skein 0.3.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "skein".freeze
|
9
|
-
s.version = "0.3.
|
9
|
+
s.version = "0.3.6"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|