lib/appengine-tools/web-xml.rb in appengine-tools-0.0.1 vs lib/appengine-tools/web-xml.rb in appengine-tools-0.0.2

- old
+ new

@@ -30,12 +30,12 @@ instance_eval(&block) if block_given? end def add_jruby_rack_defaults(rackup) use JavaContextParams, :rackup => rackup - - run JavaServlet.new('org.jruby.rack.RackServlet') + use JavaServletFilter, 'org.jruby.rack.RackFilter', + { :name => 'RackFilter', :wildcard => true } use JavaContextListener, 'org.jruby.rack.RackServletContextListener' end def use(middleware, *args, &block) if middleware.respond_to? :append_xml @@ -81,6 +81,6 @@ def each_path @paths.sort {|a, b| b[0].length - a[0].length}.each do |path, value| yield path, value end end -end \ No newline at end of file +end