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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff3221a3eff25a91df8e35a5c1fbcc7aa220c6c3
4
- data.tar.gz: 390343d71f7ab2e9a3f854463a5533f009f8c618
3
+ metadata.gz: 4a6b54d25c28b9abcb0050951ae47ede341016a9
4
+ data.tar.gz: d6891e68b077770fc5159566a24c369254046bf4
5
5
  SHA512:
6
- metadata.gz: f89a9dbacd906a33742294cb909097d213ce7f4d6318aba28df1bb151a9fe6256d91b1b84454a1fc2e7fe1a3b70b08bc966ecae8ff6329e2f40824d062ddb996
7
- data.tar.gz: 57754a31620ec832354dba43ca9387fe75c2e91fc7d8d44ac4c45a90f9e5f0dd7a4650d9a34c5fbab6140aec95501f8eb26d2258510d74809f85831993ac5e6c
6
+ metadata.gz: ca859cf3dd03676f651609d016abc0d5a1aeec3b00b8b803012d448b53d4a588e9f026271d61a00236771c34bd8a2f2d2f81aa87697eb0e24354386ae443a12c
7
+ data.tar.gz: d5761799cf2f920976f34672cd53a979384630e4b1a7c512d9b02c97d5fa6f36e18c69fb025b8191d63adcbb5045e1855aad0f125f994de7202e1ebd19ba67b3
@@ -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.0)
42
- faraday (>= 0.8, < 0.11)
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.5
68
+ 1.14.6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.5
1
+ 0.3.6
@@ -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(@ident, durable: true, header: true, auto_delete: true)
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
 
@@ -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: true)
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)
@@ -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 ruby lib
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.5"
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]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skein
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Tadman