shooting_star 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/Rakefile +1 -0
- data/ext/asteroid.c +1 -1
- data/lib/shooting_star/server.rb +0 -1
- data/lib/shooting_star/shooter.rb +1 -0
- data/lib/shooting_star.rb +1 -1
- data/vendor/plugins/meteor_strike/generators/meteor/templates/model.rb +3 -4
- data/vendor/plugins/meteor_strike/lib/meteor_strike.rb +1 -1
- metadata +12 -3
data/History.txt
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
*** 2.0.1 / 2007-05-16
|
2
|
+
+ 1 minor enhancement:
|
3
|
+
+ Added dependencies of gems.
|
4
|
+
+ 2 minor bug fix:
|
5
|
+
+ Corrected an invalid use of logger in models/meteor.rb
|
6
|
+
+ An overlooked exception came to be caught.
|
7
|
+
|
1
8
|
*** 2.0.0 / 2007-05-07
|
2
9
|
+ 2 major enhancements:
|
3
10
|
+ Comet server clustering.
|
data/Rakefile
CHANGED
@@ -21,6 +21,7 @@ namespace :gem do
|
|
21
21
|
hoe.description = hoe.paragraphs_of('README.txt', 2..5).join("\n\n")
|
22
22
|
hoe.url = hoe.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
|
23
23
|
hoe.changes = hoe.paragraphs_of('History.txt', 0..1).join("\n\n")
|
24
|
+
hoe.extra_deps = [['json']]
|
24
25
|
hoe.spec_extras = {
|
25
26
|
:extensions => 'ext/extconf.rb',
|
26
27
|
:rdoc_options => ['-S',
|
data/ext/asteroid.c
CHANGED
@@ -241,7 +241,7 @@ int dispatch(){
|
|
241
241
|
int i, s, len;
|
242
242
|
while(1){
|
243
243
|
TRAP_BEG;
|
244
|
-
s = asteroid_poll_wait(epoll_fd, events, EVENT_BUF_SIZE,
|
244
|
+
s = asteroid_poll_wait(epoll_fd, events, EVENT_BUF_SIZE, 1);
|
245
245
|
TRAP_END;
|
246
246
|
if(s <= 0) break;
|
247
247
|
for(i = 0; i < s; ++i){
|
data/lib/shooting_star/server.rb
CHANGED
@@ -195,7 +195,6 @@ module ShootingStar
|
|
195
195
|
|
196
196
|
# make client connect us.
|
197
197
|
def make_connection(path)
|
198
|
-
#path.sub!(%r[\&__ts__=.*$], '&__ts__=')
|
199
198
|
assets = URI.parse(@params['execute'])
|
200
199
|
assets.path = '/javascripts/prototype.js'
|
201
200
|
assets.query = assets.fragment = nil
|
data/lib/shooting_star.rb
CHANGED
@@ -28,11 +28,10 @@ class Meteor < ActiveRecord::Base
|
|
28
28
|
begin
|
29
29
|
result << shooter.__send__(method, *args, &block)
|
30
30
|
rescue Exception => e
|
31
|
-
logger.error "#{e.message}\n#{e.backtrace.join("\n")}"
|
32
|
-
ensure
|
33
|
-
result
|
31
|
+
Meteor.logger.error "#{e.message}\n#{e.backtrace.join("\n")}"
|
34
32
|
end
|
35
|
-
|
33
|
+
result
|
34
|
+
end || []
|
36
35
|
end
|
37
36
|
end
|
38
37
|
|
@@ -62,7 +62,7 @@ module MeteorStrike
|
|
62
62
|
new Ajax.Request(#{update_uri.to_json}, {postBody: $H({
|
63
63
|
channel: channel, uid: uid || UID,
|
64
64
|
tag: encodeTags(tags || TAGS), sig: #{sig.to_json}
|
65
|
-
}).toQueryString(), asynchronous:
|
65
|
+
}).toQueryString(), asynchronous: true});
|
66
66
|
UID = uid, TAGS = tags;
|
67
67
|
};
|
68
68
|
ms.tuneIn = function(tags){
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.3
|
3
3
|
specification_version: 1
|
4
4
|
name: shooting_star
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 2.0.
|
7
|
-
date: 2007-05-
|
6
|
+
version: 2.0.1
|
7
|
+
date: 2007-05-20 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
|
@@ -90,6 +90,15 @@ extensions:
|
|
90
90
|
requirements: []
|
91
91
|
|
92
92
|
dependencies:
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: json
|
95
|
+
version_requirement:
|
96
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 0.0.0
|
101
|
+
version:
|
93
102
|
- !ruby/object:Gem::Dependency
|
94
103
|
name: hoe
|
95
104
|
version_requirement:
|