sinatra-rocketio 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/README.md +1 -1
- data/lib/js/event_emitter.js +2 -2
- data/lib/sinatra-rocketio/version.rb +1 -1
- data/sample/Gemfile +2 -2
- data/sample/Gemfile.lock +4 -4
- data/sinatra-rocketio.gemspec +3 -3
- metadata +7 -7
data/History.txt
CHANGED
data/README.md
CHANGED
data/lib/js/event_emitter.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// event_emitter.js v0.0.
|
1
|
+
// event_emitter.js v0.0.7
|
2
2
|
// https://github.com/shokai/event_emitter.js
|
3
3
|
// (c) 2013 Sho Hashimoto <hashimoto@shokai.org>
|
4
4
|
// The MIT License
|
@@ -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
|
}
|
data/sample/Gemfile
CHANGED
data/sample/Gemfile.lock
CHANGED
@@ -36,7 +36,7 @@ GEM
|
|
36
36
|
rack (~> 1.4)
|
37
37
|
rack-protection (~> 1.3)
|
38
38
|
tilt (~> 1.3, >= 1.3.3)
|
39
|
-
sinatra-cometio (0.3.
|
39
|
+
sinatra-cometio (0.3.6)
|
40
40
|
event_emitter (>= 0.2.3)
|
41
41
|
eventmachine (>= 1.0.0)
|
42
42
|
httparty (>= 0.10.2)
|
@@ -51,7 +51,7 @@ GEM
|
|
51
51
|
rack-test
|
52
52
|
sinatra (~> 1.3.0)
|
53
53
|
tilt (~> 1.3)
|
54
|
-
sinatra-websocketio (0.1.
|
54
|
+
sinatra-websocketio (0.1.4)
|
55
55
|
em-websocket (>= 0.5.0)
|
56
56
|
em-websocket-client (>= 0.1.1)
|
57
57
|
event_emitter (>= 0.2.3)
|
@@ -78,6 +78,6 @@ DEPENDENCIES
|
|
78
78
|
rack
|
79
79
|
sass
|
80
80
|
sinatra
|
81
|
-
sinatra-cometio (>= 0.3.
|
82
|
-
sinatra-websocketio (>= 0.1.
|
81
|
+
sinatra-cometio (>= 0.3.6)
|
82
|
+
sinatra-websocketio (>= 0.1.4)
|
83
83
|
thin
|
data/sinatra-rocketio.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.version = Sinatra::RocketIO::VERSION
|
8
8
|
gem.authors = ["Sho Hashimoto"]
|
9
9
|
gem.email = ["hashimoto@shokai.org"]
|
10
|
-
gem.description = %q{
|
10
|
+
gem.description = %q{WebSocket/Comet IO plugin for Sinatra}
|
11
11
|
gem.summary = gem.description
|
12
12
|
gem.homepage = "https://github.com/shokai/sinatra-rocketio"
|
13
13
|
|
@@ -20,6 +20,6 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.add_dependency "eventmachine", ">= 1.0.0"
|
21
21
|
gem.add_dependency "event_emitter", ">= 0.2.3"
|
22
22
|
gem.add_dependency "sinatra-contrib", ">= 1.3.2"
|
23
|
-
gem.add_dependency "sinatra-cometio", ">= 0.3.
|
24
|
-
gem.add_dependency "sinatra-websocketio", ">= 0.1.
|
23
|
+
gem.add_dependency "sinatra-cometio", ">= 0.3.6"
|
24
|
+
gem.add_dependency "sinatra-websocketio", ">= 0.1.4"
|
25
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-rocketio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.3.
|
101
|
+
version: 0.3.6
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.3.
|
109
|
+
version: 0.3.6
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: sinatra-websocketio
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.1.
|
117
|
+
version: 0.1.4
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,8 +122,8 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ! '>='
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.1.
|
126
|
-
description:
|
125
|
+
version: 0.1.4
|
126
|
+
description: WebSocket/Comet IO plugin for Sinatra
|
127
127
|
email:
|
128
128
|
- hashimoto@shokai.org
|
129
129
|
executables: []
|
@@ -185,7 +185,7 @@ rubyforge_project:
|
|
185
185
|
rubygems_version: 1.8.24
|
186
186
|
signing_key:
|
187
187
|
specification_version: 3
|
188
|
-
summary:
|
188
|
+
summary: WebSocket/Comet IO plugin for Sinatra
|
189
189
|
test_files:
|
190
190
|
- test/app.rb
|
191
191
|
- test/app/config.ru
|