shooting_star 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ *** 1.0.5 / 2007-04-18
2
+ + 2 minor enhancements:
3
+ + Added signature to log.
4
+ + Changed format of error log.
5
+ + 1 minor bugfix:
6
+ + Fixed invalid html.
7
+
1
8
  *** 1.0.4 / 2007-03-29
2
9
  + 2 major enhancements:
3
10
  + Cached rendering result of meteor/strike.
@@ -8,7 +15,7 @@
8
15
  + Added timer to remove forsaken iframes for Safari.
9
16
  + Added configuration option 'sweep_timeout'.
10
17
  + Added 'session_timeout' option.
11
- + 2 minor bugfixes:
18
+ + 3 minor bugfixes:
12
19
  + Solved problem on caching of browsers of MacOS.
13
20
  + Added workaround for Safari's strange behaviour after back navigation.
14
21
  + Solved problem on connection management.
@@ -38,7 +38,7 @@ module ShootingStar
38
38
  @@uids.delete(@signature)
39
39
  @@tags.delete(@signature)
40
40
  @@executings.delete(@signature)
41
- log "Disconnected: #{@uid}"
41
+ log "Disconnected: #{@uid}:#{@signature}"
42
42
  if Channel.cleanup(@channel)
43
43
  log "Channel closed: #{@channel}"
44
44
  end
@@ -116,9 +116,9 @@ module ShootingStar
116
116
  # wait for commands or events until they occur. if they're already in
117
117
  # the execution buffer, they'll be flushed and return on the spot.
118
118
  def wait_for
119
- log "Wait for: #{@channel}:#{@uid}:#{@tag.join(',')}"
119
+ log "Wait for: #{@channel}:#{@uid}:#{@tag.join(',')}:#{@signature}"
120
120
  if Channel[@channel].join(self)
121
- log "Flushed: #{@channel}:#{@uid}:#{@tag.join(',')}"
121
+ log "Flushed: #{@channel}:#{@uid}:#{@tag.join(',')}:#{@signature}"
122
122
  end
123
123
  @waiting = true
124
124
  end
@@ -168,7 +168,7 @@ module ShootingStar
168
168
  wait_for
169
169
  end
170
170
  rescue
171
- log "ERROR: #{$!.message}\n#{@data}"
171
+ log "ERROR: #{$!.pretty_print}\n#{@data}"
172
172
  raise
173
173
  ensure
174
174
  @data = ''
data/lib/shooting_star.rb CHANGED
@@ -7,7 +7,7 @@ require 'shooting_star/config'
7
7
  require 'shooting_star/shooter'
8
8
 
9
9
  module ShootingStar
10
- VERSION = '1.0.4'
10
+ VERSION = '1.0.5'
11
11
  CONFIG = Config.new(
12
12
  :config => 'config/shooting_star.yml',
13
13
  :pid_file => 'log/shooting_star.pid',
@@ -29,7 +29,7 @@ module MeteorStrike
29
29
  sig = Meteor.shooter.signature
30
30
  <<-"EOH"
31
31
  <script type="text/javascript">
32
- //<[CDATA[
32
+ //<![CDATA[
33
33
  var meteorStrike;
34
34
  Event.observe(window, 'load', function(){
35
35
  var channel = #{channel.to_json};
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: shooting_star
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.4
7
- date: 2007-03-29 00:00:00 +09:00
6
+ version: 1.0.5
7
+ date: 2007-04-17 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