Sun Jun 16 09:12:18 2013 UTC ()
Update ruby-sinatra to 1.4.3.

= 1.4.3 / 2013-06-07

 * Running a Sinatra file directly or via `run!` it will now ignore an
   empty $PORT env variable. (noxqsgit)

 * Improve documentation. (burningTyger, Patricio Mac Adden,
   Konstantin Haase, Diogo Scudelletti, Dominic Imhof)

 * Expose matched pattern as env["sinatra.route"]. (Aman Gupta)

 * Fix warning on Ruby 2.0. (Craig Little)

 * Improve running subset of tests in isolation. (Viliam Pucik)

 * Reorder private/public methods. (Patricio Mac Adden)

 * Loosen version dependency for rack, so it runs with Rails 3.2.
   (Konstantin Haase)

 * Request#accept? now returns true instead of a truthy value. (Alan Harris)

= 1.4.2 / 2013-03-21

 * Fix parsing error for case where both the pattern and the captured part
   contain a dot. (Florian Hanke, Konstantin Haase)

 * Missing Accept header is treated like */*. (Greg Denton)

 * Improve documentation. (Patricio Mac Adden, Joe Bottigliero)

= 1.4.1 / 2013-03-15

 * Make delegated methods available in config.ru (Konstantin Haase)

= 1.4.0 / 2013-03-15

 * Add support for LINK and UNLINK requests. (Konstantin Haase)

 * Add support for Yajl templates. (Jamie Hodge)

 * Add support for Rabl templates. (Jesse Cooke)

 * Add support for Wlang templates. (Bernard Lambeau)

 * Add support for Stylus templates. (Juan David Pastas, Konstantin Haase)

 * You can now pass a block to ERb, Haml, Slim, Liquid and Wlang templates,
   which will be used when calling `yield` in the template. (Alexey Muranov)

 * When running in classic mode, no longer include Sinatra::Delegator in Object,
   instead extend the main object only. (Konstantin Haase)

 * Improved route parsing: "/:name.?:format?" with "/foo.png" now matches to
   {name: "foo", format: "png"} instead of {name: "foo.png"}. (Florian Hanke)

 * Add :status option support to send_file. (Konstantin Haase)

 * The `provides` condition now respects an earlier set content type.
   (Konstantin Haase)

 * Exception#code is only used when :use_code is enabled. Moreover, it will
   be ignored if the value is not between 400 and 599. You should use
   Exception#http_status instead. (Konstantin Haase)

 * Status, headers and body will be set correctly in an after filter when using
   halt in a before filter or route. (Konstantin Haase)

 * Sinatra::Base.new now returns a Sinatra::Wrapper instance, exposing
   #settings and #helpers, yet going through the middleware stack on #call.
   It also implements a nice #inspect, so it plays nice with Rails' `rake
   routes`. (Konstantin Haase)

 * In addition to WebRick, Thin and Mongrel, Sinatra will now automatically pick
   up Puma, Trinidad, ControlTower or Net::HTTP::Server when installed. The
   logic for picking the server has been improved and now depends on the Ruby
   implementation used. (Mark Rada, Konstantin Haase, Patricio Mac Adden)

 * "Sinatra doesn't know this ditty" pages now show the app class when running
   a modular application. This helps detecting where the response came from when
   combining multiple modular apps. (Konstantin Haase)

 * When port is not set explicitly, use $PORT env variable if set and only
   default to 4567 if not. Plays nice with foreman. (Konstantin Haase)

 * Allow setting layout on a per engine basis. (Zachary Scott, Konstantin Haase)

 * You can now use `register` directly in a classic app. (Konstantin Haase)

 * `redirect` now accepts URI or Addressable::URI instances. (Nicolas
   Sanguinetti)

 * Have Content-Disposition header also include file name for `inline`, not
   just for `attachment`. (Konstantin Haase)

 * Better compatibility to Rack 1.5. (James Tucker, Konstantin Haase)

 * Make route parsing regex more robust. (Zoltan Dezso, Konstantin Haase)

 * Improve Accept header parsing, expose parameters. (Pieter van de Bruggen,
   Konstantin Haase)

 * Add `layout_options` render option. Allows you, amongst other things, to
   render a layout from a different folder. (Konstantin Haase)

 * Explicitly setting `layout` to `nil` is treated like setting it to `false`.
   (richo)

 * Properly escape attributes in Content-Type header. (Pieter van de Bruggen)

 * Default to only serving localhost in development mode. (Postmodern)

 * Setting status code to 404 in error handler no longer triggers not_found
   handler. (Konstantin Haase)

 * The `protection` option now takes a `session` key for force
   disabling/enabling session based protections. (Konstantin Haase)

 * Add `x_cascade` option to disable `X-Cascade` header on missing route.
   (Konstantin Haase)

 * Improve documentation. (Kashyap, Stanislav Chistenko, Zachary Scott,
   Anthony Accomazzo, Peter Suschlik, Rachel Mehl, ymmtmsys, Anurag Priyam,
   burningTyger, Tony Miller, akicho8, Vasily Polovnyov, Markus Prinz,
   Alexey Muranov, Erik Johnson, Vipul A M, Konstantin Haase)

 * Convert documentation to Markdown. (Kashyap, Robin Dupret, burningTyger,
   Vasily Polovnyov, Iain Barnett, Giuseppe Capizzi, Neil West)

 * Don't set not_found content type to HTML in development mode with custom
   not_found handler. (Konstantin Haase)

 * Fix mixed indentation for private methods. (Robin Dupret)

 * Recalculate Content-Length even if hard coded if body is reset. Relevant
   mostly for error handlers. (Nathan Esquenazi, Konstantin Haase)

 * Plus sign is once again kept as such when used for URL matches. (Konstantin
   Haase)

 * Take views option into account for template caching. (Konstantin Haase)

 * Consistent use of `headers` instead of `header` internally. (Patricio Mac Adden)

 * Fix compatibility to RDoc 4. (Bohuslav Kabrda)

 * Make chat example work with latest jQuery. (loveky, Tony Miller)

 * Make tests run without warnings. (Patricio Mac Adden)

 * Make sure value returned by `mime_type` is a String or nil, even when a
   different object is passed in, like an AcceptEntry. (Konstantin Haase)

 * Exceptions in `after` filter are now handled like any other exception.
   (Nathan Esquenazi)


(obache)
diff -r1.12 -r1.13 pkgsrc/www/ruby-sinatra/Makefile
diff -r1.5 -r1.6 pkgsrc/www/ruby-sinatra/PLIST
diff -r1.8 -r1.9 pkgsrc/www/ruby-sinatra/distinfo

cvs diff -r1.12 -r1.13 pkgsrc/www/ruby-sinatra/Makefile (expand / switch to unified diff)

--- pkgsrc/www/ruby-sinatra/Makefile 2013/03/16 12:39:22 1.12
+++ pkgsrc/www/ruby-sinatra/Makefile 2013/06/16 09:12:18 1.13
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.12 2013/03/16 12:39:22 obache Exp $ 1# $NetBSD: Makefile,v 1.13 2013/06/16 09:12:18 obache Exp $
2 2
3DISTNAME= sinatra-1.3.6 3DISTNAME= sinatra-1.4.3
4CATEGORIES= www 4CATEGORIES= www
5 5
6MAINTAINER= obache@NetBSD.org 6MAINTAINER= obache@NetBSD.org
7HOMEPAGE= http://www.sinatrarb.com/ 7HOMEPAGE= http://www.sinatrarb.com/
8COMMENT= Classy web-development dressed in a DSL 8COMMENT= Classy web-development dressed in a DSL
9LICENSE= mit 9LICENSE= mit
10 10
11DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.4<2:../../www/ruby-rack 11DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.4<2:../../www/ruby-rack
12DEPENDS+= ${RUBY_PKGPREFIX}-rack-protection>=1.3<2:../../www/ruby-rack-protection 12DEPENDS+= ${RUBY_PKGPREFIX}-rack-protection>=1.4<2:../../www/ruby-rack-protection
13DEPENDS+= ${RUBY_PKGPREFIX}-tilt>=1.3.3<2:../../textproc/ruby-tilt 13DEPENDS+= ${RUBY_PKGPREFIX}-tilt>=1.3.4<2:../../textproc/ruby-tilt
14 14
15RUBY_RDOC_REQD= 3.0 15RUBY_RDOC_REQD= 3.0
16 16
17.include "../../lang/ruby/gem.mk" 17.include "../../lang/ruby/gem.mk"
18.include "../../mk/bsd.pkg.mk" 18.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/www/ruby-sinatra/PLIST (expand / switch to unified diff)

--- pkgsrc/www/ruby-sinatra/PLIST 2012/09/16 13:39:33 1.5
+++ pkgsrc/www/ruby-sinatra/PLIST 2013/06/16 09:12:18 1.6
@@ -1,114 +1,125 @@ @@ -1,114 +1,125 @@
1@comment $NetBSD: PLIST,v 1.5 2012/09/16 13:39:33 taca Exp $ 1@comment $NetBSD: PLIST,v 1.6 2013/06/16 09:12:18 obache Exp $
2${GEM_HOME}/cache/${GEM_NAME}.gem 2${GEM_HOME}/cache/${GEM_NAME}.gem
3${GEM_LIBDIR}/.yardopts 3${GEM_LIBDIR}/.yardopts
4${GEM_LIBDIR}/AUTHORS 4${GEM_LIBDIR}/AUTHORS
5${GEM_LIBDIR}/CHANGES 5${GEM_LIBDIR}/CHANGES
6${GEM_LIBDIR}/Gemfile 6${GEM_LIBDIR}/Gemfile
7${GEM_LIBDIR}/LICENSE 7${GEM_LIBDIR}/LICENSE
8${GEM_LIBDIR}/README.de.rdoc 8${GEM_LIBDIR}/README.de.md
9${GEM_LIBDIR}/README.es.rdoc 9${GEM_LIBDIR}/README.es.md
10${GEM_LIBDIR}/README.fr.rdoc 10${GEM_LIBDIR}/README.fr.md
11${GEM_LIBDIR}/README.hu.rdoc 11${GEM_LIBDIR}/README.hu.md
12${GEM_LIBDIR}/README.jp.rdoc 12${GEM_LIBDIR}/README.jp.md
13${GEM_LIBDIR}/README.ko.rdoc 13${GEM_LIBDIR}/README.ko.md
14${GEM_LIBDIR}/README.pt-br.rdoc 14${GEM_LIBDIR}/README.md
15${GEM_LIBDIR}/README.pt-pt.rdoc 15${GEM_LIBDIR}/README.pt-br.md
16${GEM_LIBDIR}/README.rdoc 16${GEM_LIBDIR}/README.pt-pt.md
17${GEM_LIBDIR}/README.ru.rdoc 17${GEM_LIBDIR}/README.ru.md
18${GEM_LIBDIR}/README.zh.rdoc 18${GEM_LIBDIR}/README.zh.md
19${GEM_LIBDIR}/Rakefile 19${GEM_LIBDIR}/Rakefile
20${GEM_LIBDIR}/examples/chat.rb 20${GEM_LIBDIR}/examples/chat.rb
21${GEM_LIBDIR}/examples/simple.rb 21${GEM_LIBDIR}/examples/simple.rb
22${GEM_LIBDIR}/examples/stream.ru 22${GEM_LIBDIR}/examples/stream.ru
23${GEM_LIBDIR}/lib/sinatra.rb 23${GEM_LIBDIR}/lib/sinatra.rb
24${GEM_LIBDIR}/lib/sinatra/base.rb 24${GEM_LIBDIR}/lib/sinatra/base.rb
25${GEM_LIBDIR}/lib/sinatra/images/404.png 25${GEM_LIBDIR}/lib/sinatra/images/404.png
26${GEM_LIBDIR}/lib/sinatra/images/500.png 26${GEM_LIBDIR}/lib/sinatra/images/500.png
27${GEM_LIBDIR}/lib/sinatra/main.rb 27${GEM_LIBDIR}/lib/sinatra/main.rb
28${GEM_LIBDIR}/lib/sinatra/showexceptions.rb 28${GEM_LIBDIR}/lib/sinatra/showexceptions.rb
29${GEM_LIBDIR}/lib/sinatra/version.rb 29${GEM_LIBDIR}/lib/sinatra/version.rb
30${GEM_LIBDIR}/sinatra.gemspec 30${GEM_LIBDIR}/sinatra.gemspec
31${GEM_LIBDIR}/test/base_test.rb 31${GEM_LIBDIR}/test/base_test.rb
32${GEM_LIBDIR}/test/builder_test.rb 32${GEM_LIBDIR}/test/builder_test.rb
33${GEM_LIBDIR}/test/coffee_test.rb 33${GEM_LIBDIR}/test/coffee_test.rb
 34${GEM_LIBDIR}/test/compile_test.rb
34${GEM_LIBDIR}/test/contest.rb 35${GEM_LIBDIR}/test/contest.rb
35${GEM_LIBDIR}/test/creole_test.rb 36${GEM_LIBDIR}/test/creole_test.rb
36${GEM_LIBDIR}/test/delegator_test.rb 37${GEM_LIBDIR}/test/delegator_test.rb
37${GEM_LIBDIR}/test/encoding_test.rb 38${GEM_LIBDIR}/test/encoding_test.rb
38${GEM_LIBDIR}/test/erb_test.rb 39${GEM_LIBDIR}/test/erb_test.rb
39${GEM_LIBDIR}/test/extensions_test.rb 40${GEM_LIBDIR}/test/extensions_test.rb
40${GEM_LIBDIR}/test/filter_test.rb 41${GEM_LIBDIR}/test/filter_test.rb
41${GEM_LIBDIR}/test/haml_test.rb 42${GEM_LIBDIR}/test/haml_test.rb
42${GEM_LIBDIR}/test/helper.rb 43${GEM_LIBDIR}/test/helper.rb
43${GEM_LIBDIR}/test/helpers_test.rb 44${GEM_LIBDIR}/test/helpers_test.rb
44${GEM_LIBDIR}/test/integration/app.rb 45${GEM_LIBDIR}/test/integration/app.rb
45${GEM_LIBDIR}/test/integration_helper.rb 46${GEM_LIBDIR}/test/integration_helper.rb
46${GEM_LIBDIR}/test/integration_test.rb 47${GEM_LIBDIR}/test/integration_test.rb
47${GEM_LIBDIR}/test/less_test.rb 48${GEM_LIBDIR}/test/less_test.rb
48${GEM_LIBDIR}/test/liquid_test.rb 49${GEM_LIBDIR}/test/liquid_test.rb
49${GEM_LIBDIR}/test/mapped_error_test.rb 50${GEM_LIBDIR}/test/mapped_error_test.rb
50${GEM_LIBDIR}/test/markaby_test.rb 51${GEM_LIBDIR}/test/markaby_test.rb
51${GEM_LIBDIR}/test/markdown_test.rb 52${GEM_LIBDIR}/test/markdown_test.rb
52${GEM_LIBDIR}/test/middleware_test.rb 53${GEM_LIBDIR}/test/middleware_test.rb
53${GEM_LIBDIR}/test/nokogiri_test.rb 54${GEM_LIBDIR}/test/nokogiri_test.rb
54${GEM_LIBDIR}/test/public/favicon.ico 55${GEM_LIBDIR}/test/public/favicon.ico
 56${GEM_LIBDIR}/test/rabl_test.rb
55${GEM_LIBDIR}/test/rack_test.rb 57${GEM_LIBDIR}/test/rack_test.rb
56${GEM_LIBDIR}/test/radius_test.rb 58${GEM_LIBDIR}/test/radius_test.rb
57${GEM_LIBDIR}/test/rdoc_test.rb 59${GEM_LIBDIR}/test/rdoc_test.rb
58${GEM_LIBDIR}/test/readme_test.rb 60${GEM_LIBDIR}/test/readme_test.rb
59${GEM_LIBDIR}/test/request_test.rb 61${GEM_LIBDIR}/test/request_test.rb
60${GEM_LIBDIR}/test/response_test.rb 62${GEM_LIBDIR}/test/response_test.rb
61${GEM_LIBDIR}/test/result_test.rb 63${GEM_LIBDIR}/test/result_test.rb
62${GEM_LIBDIR}/test/route_added_hook_test.rb 64${GEM_LIBDIR}/test/route_added_hook_test.rb
63${GEM_LIBDIR}/test/routing_test.rb 65${GEM_LIBDIR}/test/routing_test.rb
64${GEM_LIBDIR}/test/sass_test.rb 66${GEM_LIBDIR}/test/sass_test.rb
65${GEM_LIBDIR}/test/scss_test.rb 67${GEM_LIBDIR}/test/scss_test.rb
66${GEM_LIBDIR}/test/server_test.rb 68${GEM_LIBDIR}/test/server_test.rb
67${GEM_LIBDIR}/test/settings_test.rb 69${GEM_LIBDIR}/test/settings_test.rb
68${GEM_LIBDIR}/test/sinatra_test.rb 70${GEM_LIBDIR}/test/sinatra_test.rb
69${GEM_LIBDIR}/test/slim_test.rb 71${GEM_LIBDIR}/test/slim_test.rb
70${GEM_LIBDIR}/test/static_test.rb 72${GEM_LIBDIR}/test/static_test.rb
71${GEM_LIBDIR}/test/streaming_test.rb 73${GEM_LIBDIR}/test/streaming_test.rb
 74${GEM_LIBDIR}/test/stylus_test.rb
72${GEM_LIBDIR}/test/templates_test.rb 75${GEM_LIBDIR}/test/templates_test.rb
73${GEM_LIBDIR}/test/textile_test.rb 76${GEM_LIBDIR}/test/textile_test.rb
74${GEM_LIBDIR}/test/views/a/in_a.str 77${GEM_LIBDIR}/test/views/a/in_a.str
75${GEM_LIBDIR}/test/views/ascii.erb 78${GEM_LIBDIR}/test/views/ascii.erb
76${GEM_LIBDIR}/test/views/b/in_b.str 79${GEM_LIBDIR}/test/views/b/in_b.str
77${GEM_LIBDIR}/test/views/calc.html.erb 80${GEM_LIBDIR}/test/views/calc.html.erb
78${GEM_LIBDIR}/test/views/error.builder 81${GEM_LIBDIR}/test/views/error.builder
79${GEM_LIBDIR}/test/views/error.erb 82${GEM_LIBDIR}/test/views/error.erb
80${GEM_LIBDIR}/test/views/error.haml 83${GEM_LIBDIR}/test/views/error.haml
81${GEM_LIBDIR}/test/views/error.sass 84${GEM_LIBDIR}/test/views/error.sass
82${GEM_LIBDIR}/test/views/explicitly_nested.str 85${GEM_LIBDIR}/test/views/explicitly_nested.str
83${GEM_LIBDIR}/test/views/foo/hello.test 86${GEM_LIBDIR}/test/views/foo/hello.test
84${GEM_LIBDIR}/test/views/hello.builder 87${GEM_LIBDIR}/test/views/hello.builder
85${GEM_LIBDIR}/test/views/hello.coffee 88${GEM_LIBDIR}/test/views/hello.coffee
86${GEM_LIBDIR}/test/views/hello.creole 89${GEM_LIBDIR}/test/views/hello.creole
87${GEM_LIBDIR}/test/views/hello.erb 90${GEM_LIBDIR}/test/views/hello.erb
88${GEM_LIBDIR}/test/views/hello.haml 91${GEM_LIBDIR}/test/views/hello.haml
89${GEM_LIBDIR}/test/views/hello.less 92${GEM_LIBDIR}/test/views/hello.less
90${GEM_LIBDIR}/test/views/hello.liquid 93${GEM_LIBDIR}/test/views/hello.liquid
91${GEM_LIBDIR}/test/views/hello.mab 94${GEM_LIBDIR}/test/views/hello.mab
92${GEM_LIBDIR}/test/views/hello.md 95${GEM_LIBDIR}/test/views/hello.md
93${GEM_LIBDIR}/test/views/hello.nokogiri 96${GEM_LIBDIR}/test/views/hello.nokogiri
 97${GEM_LIBDIR}/test/views/hello.rabl
94${GEM_LIBDIR}/test/views/hello.radius 98${GEM_LIBDIR}/test/views/hello.radius
95${GEM_LIBDIR}/test/views/hello.rdoc 99${GEM_LIBDIR}/test/views/hello.rdoc
96${GEM_LIBDIR}/test/views/hello.sass 100${GEM_LIBDIR}/test/views/hello.sass
97${GEM_LIBDIR}/test/views/hello.scss 101${GEM_LIBDIR}/test/views/hello.scss
98${GEM_LIBDIR}/test/views/hello.slim 102${GEM_LIBDIR}/test/views/hello.slim
99${GEM_LIBDIR}/test/views/hello.str 103${GEM_LIBDIR}/test/views/hello.str
 104${GEM_LIBDIR}/test/views/hello.styl
100${GEM_LIBDIR}/test/views/hello.test 105${GEM_LIBDIR}/test/views/hello.test
101${GEM_LIBDIR}/test/views/hello.textile 106${GEM_LIBDIR}/test/views/hello.textile
 107${GEM_LIBDIR}/test/views/hello.wlang
 108${GEM_LIBDIR}/test/views/hello.yajl
102${GEM_LIBDIR}/test/views/layout2.builder 109${GEM_LIBDIR}/test/views/layout2.builder
103${GEM_LIBDIR}/test/views/layout2.erb 110${GEM_LIBDIR}/test/views/layout2.erb
104${GEM_LIBDIR}/test/views/layout2.haml 111${GEM_LIBDIR}/test/views/layout2.haml
105${GEM_LIBDIR}/test/views/layout2.liquid 112${GEM_LIBDIR}/test/views/layout2.liquid
106${GEM_LIBDIR}/test/views/layout2.mab 113${GEM_LIBDIR}/test/views/layout2.mab
107${GEM_LIBDIR}/test/views/layout2.nokogiri 114${GEM_LIBDIR}/test/views/layout2.nokogiri
 115${GEM_LIBDIR}/test/views/layout2.rabl
108${GEM_LIBDIR}/test/views/layout2.radius 116${GEM_LIBDIR}/test/views/layout2.radius
109${GEM_LIBDIR}/test/views/layout2.slim 117${GEM_LIBDIR}/test/views/layout2.slim
110${GEM_LIBDIR}/test/views/layout2.str 118${GEM_LIBDIR}/test/views/layout2.str
111${GEM_LIBDIR}/test/views/layout2.test 119${GEM_LIBDIR}/test/views/layout2.test
 120${GEM_LIBDIR}/test/views/layout2.wlang
112${GEM_LIBDIR}/test/views/nested.str 121${GEM_LIBDIR}/test/views/nested.str
113${GEM_LIBDIR}/test/views/utf8.erb 122${GEM_LIBDIR}/test/views/utf8.erb
 123${GEM_LIBDIR}/test/wlang_test.rb
 124${GEM_LIBDIR}/test/yajl_test.rb
114${GEM_HOME}/specifications/${GEM_NAME}.gemspec 125${GEM_HOME}/specifications/${GEM_NAME}.gemspec

cvs diff -r1.8 -r1.9 pkgsrc/www/ruby-sinatra/distinfo (expand / switch to unified diff)

--- pkgsrc/www/ruby-sinatra/distinfo 2013/03/16 12:39:22 1.8
+++ pkgsrc/www/ruby-sinatra/distinfo 2013/06/16 09:12:18 1.9
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.8 2013/03/16 12:39:22 obache Exp $ 1$NetBSD: distinfo,v 1.9 2013/06/16 09:12:18 obache Exp $
2 2
3SHA1 (sinatra-1.3.6.gem) = a1be5a671e8ad47f541ec37167ead8b7a00c826c 3SHA1 (sinatra-1.4.3.gem) = 7797b774826fdc433d7fd49cf3efa5a1eb3d288c
4RMD160 (sinatra-1.3.6.gem) = 06c1a298263429114720b44813a667ea89742e5d 4RMD160 (sinatra-1.4.3.gem) = fe14fd76d34e94fd59a302f097e82381383f48f0
5Size (sinatra-1.3.6.gem) = 307712 bytes 5Size (sinatra-1.4.3.gem) = 333312 bytes