websocket-driver 0.2.1-java → 0.2.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/websocket/driver/event_emitter.rb +6 -2
- metadata +2 -8
data/CHANGELOG.md
CHANGED
@@ -33,8 +33,12 @@ module WebSocket
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def listener_count(event)
|
36
|
-
|
37
|
-
|
36
|
+
return 0 unless @listeners.has_key?(event.to_s)
|
37
|
+
@listeners[event.to_s].size
|
38
|
+
end
|
39
|
+
|
40
|
+
def listeners(event)
|
41
|
+
@listeners[event.to_s]
|
38
42
|
end
|
39
43
|
end
|
40
44
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: websocket-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: java
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|
@@ -101,19 +101,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
102
102
|
- - '>='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
segments:
|
105
|
-
- 0
|
106
104
|
version: '0'
|
107
|
-
hash: 2
|
108
105
|
none: false
|
109
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
107
|
requirements:
|
111
108
|
- - '>='
|
112
109
|
- !ruby/object:Gem::Version
|
113
|
-
segments:
|
114
|
-
- 0
|
115
110
|
version: '0'
|
116
|
-
hash: 2
|
117
111
|
none: false
|
118
112
|
requirements: []
|
119
113
|
rubyforge_project:
|