sinatra-websocketio 0.1.3 → 0.1.4

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/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.1.4 2013-03-19
2
+
3
+ * update event_emitter.js v0.0.7
4
+
1
5
  === 0.1.3 2013-03-18
2
6
 
3
7
  * require "sinatra/websocketio_nostart"
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  sinatra-websocketio
2
2
  ===================
3
+ WebSocket component for [Sinatra RocketIO](https://github.com/shokai/sinatra-rocketio)
3
4
 
4
- * Node.js like WebSocket I/O plugin for Sinatra.
5
+ * Node.js like WebSocket I/O plugin for Sinatra
5
6
  * https://github.com/shokai/sinatra-websocketio
6
7
  * https://github.com/shokai/sinatra-websocketio/wiki
7
8
  * [Handle 10K+ clients on 1 process](https://github.com/shokai/sinatra-websocketio/wiki/C10K)
8
- * This is a component of the [RocketIO](https://github.com/shokai/sinatra-rocketio)
9
9
 
10
10
 
11
11
  Installation
@@ -1,5 +1,5 @@
1
- // event_emitter.js v0.0.5
2
- // https://github.com/shokai/EventEmitter.js
1
+ // event_emitter.js v0.0.7
2
+ // https://github.com/shokai/event_emitter.js
3
3
  // (c) 2013 Sho Hashimoto <hashimoto@shokai.org>
4
4
  // The MIT License
5
5
  var EventEmitter = function(){
@@ -7,7 +7,7 @@ var EventEmitter = function(){
7
7
  this.apply = function(target, prefix){
8
8
  if(!prefix) prefix = "";
9
9
  for(var func in self){
10
- if(self.hasOwnProperty(func)){
10
+ if(self.hasOwnProperty(func) && func !== "apply"){
11
11
  target[prefix+func] = this[func];
12
12
  }
13
13
  }
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module WebSocketIO
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-websocketio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: