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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80ea427ebe1d5b5567614294e23521c21878ea81
4
- data.tar.gz: 9939c563e0d718a87ad755187efd8c8eb3452b4c
3
+ metadata.gz: 752b7b4286062e3c40cde9d2cb674913f92bf53e
4
+ data.tar.gz: 16a0d15fc5000e97496e0a4c00f05e13cff15f7e
5
5
  SHA512:
6
- metadata.gz: 62affc882c4199c103f37c6788d277748d6517140dd1d9e8c696530899981e10f8f5a40c9b2e540a00defc90cc1f001a1858480ca370851a036fda89000c1f23
7
- data.tar.gz: 31bfd9e8adb98c70eac4578d130455eda41bfd3486a3e80c6e9f34386492dd959cac334ac95063ecb238437ca3aace28bf0cc4017d03100a5f04a321d80ba683
6
+ metadata.gz: 72ad4d745e035bbcf001f55598a06e1daa0977df740d3ff5de6cda7a9042d6965dee4f25ea62a9caf36934872d0f4c40aa780306fec1b32ccb66cc01cfdc150e
7
+ data.tar.gz: 71ad4cf606b6b3652ab572dd8474038bb9456237583094adc46368edff0474a866d16c561e8451293fd470aa6fa8558bbaa11684b2887610fbb06876dd88872b
@@ -1,3 +1,8 @@
1
+ === 1.0.1 2013-10-10
2
+
3
+ * bugfix Sinatar::RocketIO::Linda::TupleSpace#write
4
+ * all tests passed
5
+
1
6
  === 1.0.0 2013-10-03
2
7
 
3
8
  * !!! protocol was updated
@@ -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
- Sinatra::RocketIO.push "__linda_#{func}_callback_#{callback}", {:tuple => tuple.data, :info => {:from => tuple.from}}, :to => client.session
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)
@@ -1,7 +1,7 @@
1
1
  module Sinatra
2
2
  module RocketIO
3
3
  module Linda
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
7
7
  end
data/linda.js CHANGED
@@ -1,4 +1,4 @@
1
- // Linda.js v1.0.0 (rocketio v0.3.0)
1
+ // Linda.js v1.0.1 (rocketio v0.3.3)
2
2
  // https://github.com/shokai/sinatra-rocketio-linda
3
3
  // (c) 2013 Sho Hashimoto <hashimoto@shokai.org>
4
4
  // The MIT License
@@ -1,4 +1,4 @@
1
- // Linda.js v1.0.0 (rocketio v0.3.0)
1
+ // Linda.js v1.0.1 (rocketio v0.3.3)
2
2
  // https://github.com/shokai/sinatra-rocketio-linda
3
3
  // (c) 2013 Sho Hashimoto <hashimoto@shokai.org>
4
4
  // The MIT License
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.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-03 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler