updatebroker 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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"
@@ -1,3 +1,3 @@
1
1
  module Updatebroker
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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-16 00:00:00.000000000 Z
12
+ date: 2012-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hiredis