shooting_star 3.2.5 → 3.2.6
Sign up to get free protection for your applications and to get access to all the features.
data/History.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
*** 3.2.6 / 2007-12-27
|
2
|
+
+ 1 major enhancement
|
3
|
+
+ Fixed meteorStrike to work with prototype.js 1.6 correctly.
|
4
|
+
+ 1 minor spec change
|
5
|
+
+ meteorStrike.update(uid = UID, tags = TAGS).
|
6
|
+
|
1
7
|
*** 3.2.5 / 2007-12-10
|
2
8
|
+ 1 major enhancement
|
3
9
|
+ Implemented user agent detection for ipod/iphone.
|
data/lib/shooting_star/server.rb
CHANGED
@@ -257,8 +257,9 @@ module ShootingStar
|
|
257
257
|
#{executioner(1)}
|
258
258
|
var connect = function(reconnect){
|
259
259
|
var body = $H(#{@params.to_json});
|
260
|
-
body.
|
261
|
-
body.
|
260
|
+
if(!body.set) body.set = function(k, v){return this[k] = v}
|
261
|
+
body.set('__t__', 'xhr');
|
262
|
+
body.set('__p__', reconnect ? 'reconnect' : 'connect');
|
262
263
|
var request = new Ajax.Request(#{path.to_json}, {evalScript: true,
|
263
264
|
onComplete: function(xhr){
|
264
265
|
setTimeout(function(){connect(true)},
|
@@ -13,7 +13,8 @@
|
|
13
13
|
</form>
|
14
14
|
<div id="<%= iframe_id %>-flash"></div>
|
15
15
|
<%= javascript_tag %Q{
|
16
|
-
|
16
|
+
window.meteorStrike_installed = true;
|
17
|
+
window.meteorStrike = window.meteorStrike || new Object;
|
17
18
|
meteorStrike.getFlashVersion = function(){
|
18
19
|
if(#{options[:noflash].to_json}) return 0;
|
19
20
|
var version = 0, ua = navigator.userAgent;
|
@@ -80,7 +81,7 @@
|
|
80
81
|
channel: channel, uid: uid || UID,
|
81
82
|
tag: encodeTags(tags || TAGS), sig: #{sig.to_json}
|
82
83
|
}).toQueryString(), asynchronous: true});
|
83
|
-
UID = uid, TAGS = tags;
|
84
|
+
UID = uid || UID, TAGS = tags || TAGS;
|
84
85
|
};
|
85
86
|
ms.tuneIn = function(tags){
|
86
87
|
ms.update(UID, TAGS.concat(tags || []).uniq());
|
metadata
CHANGED
@@ -1,34 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: shooting_star
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 3.2.
|
7
|
-
date: 2007-12-10 00:00:00 +09:00
|
8
|
-
summary: Our goal is development of practical comet server which will be achieving over 100,000 simultaneous connections per host. On this purpose, we abandon portability and use system calls depending on particular OS such as epoll and kqueue.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
- ext
|
12
|
-
email: takiuchi@drecom.co.jp
|
13
|
-
homepage: " by Genki Takiuchi <takiuchi@drecom.co.jp>"
|
14
|
-
rubyforge_project: shooting-star
|
15
|
-
description: "Our goal is development of practical comet server which will be achieving over 100,000 simultaneous connections per host. On this purpose, we abandon portability and use system calls depending on particular OS such as epoll and kqueue. == FEATURES/PROBLEMS: * Comet server * Comet client implementation (Rails plugin) == SYNOPSYS:"
|
16
|
-
autorequire:
|
17
|
-
default_executable:
|
18
|
-
bindir: bin
|
19
|
-
has_rdoc: true
|
20
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
|
-
requirements:
|
22
|
-
- - ">"
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 0.0.0
|
25
|
-
version:
|
4
|
+
version: 3.2.6
|
26
5
|
platform: ruby
|
27
|
-
signing_key:
|
28
|
-
cert_chain:
|
29
|
-
post_install_message:
|
30
6
|
authors:
|
31
7
|
- Genki Takiuchi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2007-12-27 00:00:00 +09:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: json
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "0"
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: hoe
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 1.4.0
|
32
|
+
version:
|
33
|
+
description: "Our goal is development of practical comet server which will be achieving over 100,000 simultaneous connections per host. On this purpose, we abandon portability and use system calls depending on particular OS such as epoll and kqueue. == FEATURES/PROBLEMS: * Comet server * Comet client implementation (Rails plugin) == SYNOPSYS:"
|
34
|
+
email: takiuchi@drecom.co.jp
|
35
|
+
executables:
|
36
|
+
- shooting_star
|
37
|
+
extensions:
|
38
|
+
- ext/extconf.rb
|
39
|
+
extra_rdoc_files:
|
40
|
+
- History.txt
|
41
|
+
- Manifest.txt
|
42
|
+
- README.txt
|
32
43
|
files:
|
33
44
|
- History.txt
|
34
45
|
- Manifest.txt
|
@@ -91,8 +102,9 @@ files:
|
|
91
102
|
- vendor/plugins/meteor_strike/generators/chat/templates/migration.rb
|
92
103
|
- vendor/plugins/meteor_strike/generators/chat/templates/unit_test.rb
|
93
104
|
- vendor/plugins/meteor_strike/generators/chat/templates/functional_test.rb
|
94
|
-
|
95
|
-
|
105
|
+
has_rdoc: true
|
106
|
+
homepage: " by Genki Takiuchi <takiuchi@drecom.co.jp>"
|
107
|
+
post_install_message:
|
96
108
|
rdoc_options:
|
97
109
|
- -S
|
98
110
|
- --template
|
@@ -102,32 +114,27 @@ rdoc_options:
|
|
102
114
|
- --exclude
|
103
115
|
- ext/asteroid
|
104
116
|
- README.txt
|
105
|
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
|
109
|
-
|
110
|
-
-
|
111
|
-
|
112
|
-
|
117
|
+
require_paths:
|
118
|
+
- lib
|
119
|
+
- ext
|
120
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: "0"
|
125
|
+
version:
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: "0"
|
131
|
+
version:
|
113
132
|
requirements: []
|
114
133
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 0.0.0
|
124
|
-
version:
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: hoe
|
127
|
-
version_requirement:
|
128
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 1.3.0
|
133
|
-
version:
|
134
|
+
rubyforge_project: shooting-star
|
135
|
+
rubygems_version: 1.0.1
|
136
|
+
signing_key:
|
137
|
+
specification_version: 2
|
138
|
+
summary: Our goal is development of practical comet server which will be achieving over 100,000 simultaneous connections per host. On this purpose, we abandon portability and use system calls depending on particular OS such as epoll and kqueue.
|
139
|
+
test_files:
|
140
|
+
- test/test_helper.rb
|