From 42d80bbba13655aec55d733df0fe2709b568d6b2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 13 Nov 2009 17:45:09 -0800 Subject: upr 0.2.0 - twice as good as the first! This release fixes several bugs and adds better compatibility with existing upload progress implementations from other web servers. 'config.gem "upr"' in Rails config/environment should work now that double loads are non-fatal (but still warn). Additionally, better error handling has been added and timeouts increased to reduce the probability of errors due to slow clients. The Rack backend can now generate JSON responses compatible[1] with upload progress modules for both lighttpd and nginx. Additionally, streaming JSON as demonstrated in mongrel_streaming_upload_progress is supported, too. This is a list of upload progress modules we are compatible with: 1. mongrel_upload_progress http://mongrel.rubyforge.org/wiki/UploadProgress 2. jquery-upload-progress http://github.com/drogus/jquery-upload-progress 3. mongrel_streaming_upload_progress http://rubyforge.org/pipermail/mongrel-users/2007-July/003747.html Eric Wong (32): README: fix grammar/speling mistakes README: fix grammar bug (excessive dash) monitor: fix class name in RDoc monitor: add "finish" method input_wrapper: use the new finish methods in backends example/rainbows_config: disable Nagle's algorithm examples/rails_app-2.3.4: fix session verifier 1.9 examples/rails_app-2.3.4: move middleware setup to config.ru examples/rails_app-2.3.4: smaller JavaScript footprint split upr/status out to its own file status: add error? method Clarify license of examples upr/status: add done? method Revert "examples/rails_app-2.3.4: move middleware setup to config.ru" Split out Params and StatusMethods input_wrapper: don't wrap if we don't have to set "encoding: binary" to workaround 1.9 insanity backends: internal API updates/cleanups gemspec: put a hard dependency on Rack add JSON generator input_wrapper: lower default frequency examples/rails: UprStatus reuses expiry in Upr::Monitor Upr::Monitor expiry is 60 seconds Add jQuery-compatible Rails example JSON compatible with Ry Dahl's Ajax.Pull + example Update README example/rails_app-2.3.4: limit compat 1.9 to only 1.9 example/rails_app-2.3.4: UprStatus unit tests tests: add Monitor tests (also reaches into Status) JSON: set no-transform in headers examples/rails_app-2.3.4: show links to different interfaces update README --- GIT-VERSION-GEN | 2 +- GNUmakefile | 2 +- lib/upr.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 4e7f0e3..e36125a 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v0.1.0.GIT +DEF_VER=v0.2.0.GIT LF=' ' diff --git a/GNUmakefile b/GNUmakefile index 6a395d1..ad4c028 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -55,7 +55,7 @@ NEWS: GIT-VERSION-FILE $(rake) -s news_rdoc > $@+ mv $@+ $@ -SINCE = +SINCE = 0.1.0 ChangeLog: log_range = $(shell test -n "$(SINCE)" && echo v$(SINCE)..) ChangeLog: GIT-VERSION-FILE @echo "ChangeLog from $(GIT_URL) ($(SINCE)..$(GIT_VERSION))" > $@+ diff --git a/lib/upr.rb b/lib/upr.rb index f0cd950..515b170 100644 --- a/lib/upr.rb +++ b/lib/upr.rb @@ -5,7 +5,7 @@ require 'upr/status' module Upr # Upr version number - VERSION = '0.1.0' + VERSION = '0.2.0' autoload :Monitor, 'upr/monitor' autoload :Params, 'upr/params' -- cgit v1.2.3-24-ge0c7