philotic 1.3.0 → 1.3.1

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: 1b524277f78a63e3afbcd2649eb0e82e9de78ffb
4
- data.tar.gz: c4cc2b51a95698aa90a18c5cdbf83e314c5a4e2e
3
+ metadata.gz: b48912fb851c78acf1621da8c01dae3a40cc2125
4
+ data.tar.gz: 5edf6462910182e40715a2417c9cd886236170de
5
5
  SHA512:
6
- metadata.gz: 3374f872ddc36c952277c06e20e0133b85eb342eee2d9fed8063d69b518d5f5d54f03eb134661b9ca7009514ed898a20b82a1c9ce8ce7c1a80ae1f046db8d3e3
7
- data.tar.gz: 24db814982d903080bd8d8f2b647a962b2e530a7ed338f1914365466b23c45ac39d032d0cd47d7352e984cf2dac42433e309acd8f31ee84e722ffaa5213a1f0a
6
+ metadata.gz: 40512e9bbb3cd523aed937adc3cfdcd778093173802ee269a31f6f18d0082a74bc48918881cf28b2cecc3fe128fafdfbe0ad7a4890c3316030ea61033d154eb2
7
+ data.tar.gz: 0b12bbe96f006671dba904d49f8fd311dc998222e803d1d24452d41055e9d94d46756612a44ed10f147c01978f58269160f18dca66996921a782232539bd96a7
@@ -23,7 +23,7 @@ module Philotic
23
23
  lambda do |delivery_info, metadata, payload|
24
24
  hash_payload = Philotic::Serialization::Serializer.load(payload, metadata)
25
25
 
26
- message = Class.new(Philotic::Message).new(metadata[:headers], hash_payload)
26
+ message = Class.new(Philotic::Message).new(metadata[:headers], hash_payload)
27
27
  message.delivery_info = delivery_info
28
28
 
29
29
  instance_exec(message, &block)
@@ -69,10 +69,10 @@ module Philotic
69
69
  queue_options[:auto_delete] ||= true if queue_name == ''
70
70
 
71
71
  {
72
- queue_name: queue_name,
73
- queue_options: queue_options,
74
- arguments: arguments,
75
- subscribe_options: subscribe_options,
72
+ queue_name: queue_name,
73
+ queue_options: queue_options,
74
+ arguments: arguments,
75
+ subscribe_options: subscribe_options,
76
76
  }
77
77
  end
78
78
 
@@ -91,9 +91,7 @@ module Philotic
91
91
  end
92
92
 
93
93
  def endure
94
- while true
95
- Thread.pass
96
- end
94
+ Thread.stop
97
95
  end
98
96
  end
99
97
  end
@@ -1,3 +1,3 @@
1
1
  module Philotic
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philotic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Keyes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2016-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print