diff options
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | site/README | 6 | ||||
-rw-r--r-- | site/src/default.template | 2 | ||||
-rw-r--r-- | test/jruby_socket.rb | 2 | ||||
-rw-r--r-- | test/test_uriclassifier.rb | 2 |
5 files changed, 4 insertions, 10 deletions
@@ -188,7 +188,7 @@ task :gem_source => [:package_all] do end task :site_webgen do - sh "pushd site; webgen; ruby atom.rb > output/feed.atom; rsync -azv output/* rubyforge.org:/var/www/gforge-projects/mongrel/; popd" + sh "pushd site; webgen; ruby atom.rb > output/feed.atom; rsync -azv --no-perms --no-times output/* rubyforge.org:/var/www/gforge-projects/mongrel/; popd" end task :site_rdoc => [:redoc] do diff --git a/site/README b/site/README deleted file mode 100644 index d633e5c..0000000 --- a/site/README +++ /dev/null @@ -1,6 +0,0 @@ -webgen Website Template 'default' - -This is the default website template. It only contains the basic files and is a good -starting place for any website. - -This note can be deleted! diff --git a/site/src/default.template b/site/src/default.template index c6433b9..098e8bf 100644 --- a/site/src/default.template +++ b/site/src/default.template @@ -70,7 +70,7 @@ <dt><a href="http://rubyforge.org/tracker/?atid=5145&group_id=1306&func=browse"><img src="{relocatable: images/side_p2.gif}" alt="Bugs" /><br /></a></dt> <dd> - <p><b>Tracker:</b> Found a bug? Well then report it already?!</p> + <p><b>Tracker:</b> Found a bug? Well then report it already!</p> </dd> <dt><a href="http://rubyforge.org/mailman/listinfo/mongrel-users"><img src="{relocatable: images/side_p1.gif}" alt= diff --git a/test/jruby_socket.rb b/test/jruby_socket.rb index b06cb67..fc81368 100644 --- a/test/jruby_socket.rb +++ b/test/jruby_socket.rb @@ -8,7 +8,7 @@ require 'socket' this_client = server_socket.accept 4.times do |n| begin - data = this_client.readpartial(4) + data = this_client.readpartial(2) puts "Server got: #{data}" if n == 0 this_client.close diff --git a/test/test_uriclassifier.rb b/test/test_uriclassifier.rb index f222992..696191c 100644 --- a/test/test_uriclassifier.rb +++ b/test/test_uriclassifier.rb @@ -178,7 +178,7 @@ class URIClassifierTest < Test::Unit::TestCase tests.each do |uri| script_name, path_info, handler = uri_classifier.resolve(uri) - assert_equal root, script_name + assert_equal root, script_name, "#{uri} did not resolve to #{root}" assert_equal uri, path_info assert_equal 2, handler end |