updatebroker 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/updatebroker/updatebroker.rb +2 -2
- data/lib/updatebroker/version.rb +1 -1
- data/updatebroker.gemspec +1 -1
- metadata +4 -4
|
@@ -35,7 +35,7 @@ class UpdateBroker < Goliath::API
|
|
|
35
35
|
|
|
36
36
|
def on_close(env)
|
|
37
37
|
path = env[Goliath::Request::REQUEST_PATH]
|
|
38
|
-
return unless path
|
|
38
|
+
return unless path === "/events"
|
|
39
39
|
|
|
40
40
|
channel = env.params[:channel]
|
|
41
41
|
return if channel.nil? || channel == ""
|
|
@@ -43,7 +43,7 @@ class UpdateBroker < Goliath::API
|
|
|
43
43
|
env.logger.info "Connection closed, Unsubscribing."
|
|
44
44
|
unless env['redis'].nil?
|
|
45
45
|
env['redis'].unsubscribe(channel)
|
|
46
|
-
env['redis'].
|
|
46
|
+
env['redis'].close_connection
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
49
|
|
data/lib/updatebroker/version.rb
CHANGED
data/updatebroker.gemspec
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: updatebroker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Vince Hodges
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2012-03-
|
|
13
|
+
date: 2012-03-20 00:00:00 -07:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -30,9 +30,9 @@ dependencies:
|
|
|
30
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
31
31
|
none: false
|
|
32
32
|
requirements:
|
|
33
|
-
- -
|
|
33
|
+
- - ~>
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
|
-
version:
|
|
35
|
+
version: 0.1.1
|
|
36
36
|
type: :runtime
|
|
37
37
|
version_requirements: *id002
|
|
38
38
|
- !ruby/object:Gem::Dependency
|