shooting_star 3.2.2 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -0
- data/lib/shooting_star/channel.rb +10 -2
- data/lib/shooting_star/server.rb +2 -1
- data/lib/shooting_star/version.rb +1 -1
- data/lib/shooting_star.rb +1 -1
- data/vendor/plugins/meteor_strike/generators/meteor/templates/meteor_strike.swf +0 -0
- data/vendor/plugins/meteor_strike/generators/meteor/templates/view.rhtml +1 -1
- data/vendor/plugins/meteor_strike/views/xhr.rhtml +1 -0
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
*** 3.2.3 / 2007-09-18
|
2
|
+
+ 1 major enhancement:
|
3
|
+
+ Implemented new option :except for Meteor::shoot.
|
4
|
+
+ 3 minor bugfix:
|
5
|
+
+ Made meteor_strike work in flash6 correctly.
|
6
|
+
+ Using setInterval instead of _global.setTimeout for flash6.
|
7
|
+
+ Changed way of handing over serial id.
|
8
|
+
|
1
9
|
*** 3.2.2 / 2007-08-26
|
2
10
|
+ 3 major enhancements:
|
3
11
|
+ Profiling by RubyProf if CONFIG.profile.
|
@@ -24,8 +24,16 @@ module ShootingStar
|
|
24
24
|
need_event_handling = observers.nil? || observers.empty?
|
25
25
|
end
|
26
26
|
if event.nil? || need_event_handling
|
27
|
-
|
28
|
-
|
27
|
+
if params[:except]
|
28
|
+
exception = [params[:except]].flatten
|
29
|
+
@waiters.each do |signature, server|
|
30
|
+
next if exception.include?(server.uid)
|
31
|
+
server.commit if server.respond(id, params)
|
32
|
+
end
|
33
|
+
else
|
34
|
+
@waiters.each do |signature, server|
|
35
|
+
server.commit if server.respond(id, params)
|
36
|
+
end
|
29
37
|
end
|
30
38
|
end
|
31
39
|
end
|
data/lib/shooting_star/server.rb
CHANGED
@@ -210,6 +210,7 @@ module ShootingStar
|
|
210
210
|
};
|
211
211
|
var timer = setTimeout(remove, #{sweep_timeout});
|
212
212
|
var ready = function(){
|
213
|
+
ready = function(){};
|
213
214
|
clearTimeout(timer);
|
214
215
|
setTimeout(remove, 0);
|
215
216
|
};
|
@@ -218,7 +219,7 @@ module ShootingStar
|
|
218
219
|
if(this.readyState == 'complete') ready();
|
219
220
|
};
|
220
221
|
iframe.src = ['#{@params['execute']}/', id, '?', query,
|
221
|
-
'
|
222
|
+
'#', ms.serialId++].join('');
|
222
223
|
box.appendChild(iframe);
|
223
224
|
};
|
224
225
|
EOH
|
data/lib/shooting_star.rb
CHANGED
Binary file
|
@@ -9,7 +9,7 @@
|
|
9
9
|
var javascript = #{@javascript.to_json};
|
10
10
|
var execute = function(){
|
11
11
|
var ms = parent.parent.meteorStrike[channel];
|
12
|
-
if(ms) ms.evaluate(javascript,
|
12
|
+
if(ms) ms.evaluate(javascript, location.hash.slice(1));
|
13
13
|
else setTimeout(evaluate, 0);
|
14
14
|
};
|
15
15
|
execute();
|
@@ -101,6 +101,7 @@
|
|
101
101
|
})();
|
102
102
|
function meteor_strike_#{@meteor_strike}_DoFSCommand(command, args){
|
103
103
|
var ms = meteorStrike[#{channel.to_json}];
|
104
|
+
args = unescape(args);
|
104
105
|
switch(command){
|
105
106
|
case 'execute':
|
106
107
|
if(ms.connection == 'flash' || ms.connecting == 'flash') eval(args);
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: shooting_star
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 3.2.
|
7
|
-
date: 2007-
|
6
|
+
version: 3.2.3
|
7
|
+
date: 2007-09-18 00:00:00 +09:00
|
8
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
9
|
require_paths:
|
10
10
|
- lib
|