sinatra-rocketio-linda 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +5 -0
- data/lib/sinatra-rocketio-linda/linda.rb +2 -1
- data/lib/sinatra/rocketio/linda/version.rb +1 -1
- data/linda.js +1 -1
- data/linda.min.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 752b7b4286062e3c40cde9d2cb674913f92bf53e
|
4
|
+
data.tar.gz: 16a0d15fc5000e97496e0a4c00f05e13cff15f7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72ad4d745e035bbcf001f55598a06e1daa0977df740d3ff5de6cda7a9042d6965dee4f25ea62a9caf36934872d0f4c40aa780306fec1b32ccb66cc01cfdc150e
|
7
|
+
data.tar.gz: 71ad4cf606b6b3652ab572dd8474038bb9456237583094adc46368edff0474a866d16c561e8451293fd470aa6fa8558bbaa11684b2887610fbb06876dd88872b
|
data/History.txt
CHANGED
@@ -67,7 +67,8 @@ end
|
|
67
67
|
next
|
68
68
|
end
|
69
69
|
callback_id = Sinatra::RocketIO::Linda[space].__send__ func, tuple do |tuple|
|
70
|
-
|
70
|
+
from = tuple.class == Sinatra::RocketIO::Linda::Tuple ? tuple.from : "server"
|
71
|
+
Sinatra::RocketIO.push "__linda_#{func}_callback_#{callback}", {:tuple => tuple.data, :info => {:from => from}}, :to => client.session
|
71
72
|
Sinatra::RocketIO::Linda.emit func, Hashie::Mash.new(:space => space, :tuple => tuple), client
|
72
73
|
end
|
73
74
|
Sinatra::RocketIO::Linda.callbacks[client.session].push(:space => space, :callback => callback_id)
|
data/linda.js
CHANGED
data/linda.min.js
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-rocketio-linda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|