updatebroker 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/updatebroker/updatebroker.rb +2 -0
- data/lib/updatebroker/version.rb +1 -1
- metadata +2 -2
@@ -14,9 +14,11 @@ class UpdateBroker < Goliath::API
|
|
14
14
|
|
15
15
|
def response(env)
|
16
16
|
path = env[Goliath::Request::REQUEST_PATH]
|
17
|
+
env.logger.info "Request for '#{path}'"
|
17
18
|
return [404, {}, "Not found"] unless path == "/events"
|
18
19
|
|
19
20
|
channel = env.params[:channel]
|
21
|
+
env.logger.info "On channel '#{channel}'"
|
20
22
|
return [404, {}, "Channel required"] if channel.nil? || channel == ""
|
21
23
|
|
22
24
|
env.logger.info "Connecting to channel '#{channel}'@#{options[:redis]} for updates"
|
data/lib/updatebroker/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: updatebroker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hiredis
|