updatebroker 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ class UpdateBroker < Goliath::API
17
17
  env.logger.info "Request for '#{path}'"
18
18
  return [404, {}, "Not found"] unless path == "/events"
19
19
 
20
- channel = env.params[:channel]
20
+ channel = env.params[:channel] || env.params['channel']
21
21
  env.logger.info "On channel '#{channel}'"
22
22
  return [404, {}, "Channel required"] if channel.nil? || channel == ""
23
23
 
@@ -1,3 +1,3 @@
1
1
  module Updatebroker
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: