cramp 0.9.1 → 0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cramp.rb +1 -1
- data/lib/cramp/controller/websocket.rb +1 -1
- metadata +4 -4
data/lib/cramp.rb
CHANGED
@@ -50,7 +50,7 @@ module Cramp
|
|
50
50
|
def _on_data_receive(data)
|
51
51
|
data = data.slice(/\000([^\377]*)\377/).gsub(/^\x00|\xff$/, '')
|
52
52
|
|
53
|
-
self.on_data_callbacks.each do |callback|
|
53
|
+
self.class.on_data_callbacks.each do |callback|
|
54
54
|
EM.next_tick { send(callback, data) }
|
55
55
|
end
|
56
56
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cramp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: "0.10"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pratik Naik
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-19 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 3.0.beta
|
23
|
+
version: 3.0.0.beta
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activemodel
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0.beta
|
33
|
+
version: 3.0.0.beta
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: arel
|