freddy 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/freddy.gemspec +1 -1
- data/lib/freddy/request.rb +1 -1
- data/spec/integration/logging_spec.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: 5c84cfbe692660ec399eb036e8e83fcc697cb8e8
|
4
|
+
data.tar.gz: 485a80604842982f1232a11586f53f45df824828
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da4cdbe93fc7c1371697689dc5394b125593d2c72c8abcf2380f6adaf4fae78e93d087fdece9cbcda9adde4243a211fe7b6fead6304619632b3cf784f7084813
|
7
|
+
data.tar.gz: 715807ff88027841c78f2d2ca1c89645f8aad845a245855a8d0911adad07d1f3e45e430c318f61d81832fdf4c0353c9137186c922820d7d01e8f2449ae807cc3
|
data/Gemfile.lock
CHANGED
data/freddy.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "freddy"
|
7
|
-
spec.version = '0.3.
|
7
|
+
spec.version = '0.3.7'
|
8
8
|
spec.authors = ["Urmas Talimaa"]
|
9
9
|
spec.email = ["urmas.talimaa@gmail.com"]
|
10
10
|
spec.description = %q{Messaging API}
|
data/lib/freddy/request.rb
CHANGED
@@ -67,7 +67,7 @@ class Freddy
|
|
67
67
|
raise EmptyResponder unless block
|
68
68
|
|
69
69
|
ensure_response_queue_exists
|
70
|
-
@logger.
|
70
|
+
@logger.info "Listening for requests on #{destination}"
|
71
71
|
|
72
72
|
responder_handler = @consumer.consume destination do |payload, delivery|
|
73
73
|
handler = MessageHandlers.for_type(delivery.properties[:type]).new(@producer, @logger)
|
@@ -20,7 +20,7 @@ describe 'Logging' do
|
|
20
20
|
end
|
21
21
|
|
22
22
|
it 'logs all consumed messages' do
|
23
|
-
expect(logger1).to have_received(:
|
23
|
+
expect(logger1).to have_received(:info).with(/Listening for requests on \S+/)
|
24
24
|
expect(logger1).to have_received(:debug).with(/Consuming messages on \S+/)
|
25
25
|
expect(logger1).to have_received(:debug).with(/Received message on \S+ with payload {:pay=>"load"}/)
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freddy
|
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
|
- Urmas Talimaa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|