debian/0000755000000000000000000000000012247170425007172 5ustar debian/copyright0000644000000000000000000000334412133040140011111 0ustar This package was debianized by Laurent Vallar on Wed, 24 Jun 2009 14:13:24 +0200 The current Debian maintainer is Laurent Vallar . It was downloaded from http://github.com/sinatra/sinatra/downloads. Upstream Authors: Blake Mizerany , Adam Wiggins , Chris Wanstrath , PJ Hyett and many others (see AUTHORS file). Copyright 2007-2009 Blake Mizerany Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Debian packaging is © 2009, Laurent Vallar and is licensed under the GPL version 2. On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. debian/rules0000755000000000000000000000077212133040140010240 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=sinatra.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_auto_clean: dh_auto_clean rm -fr $(CURDIR)/.sass-cache debian/require-rubygems.overrides0000644000000000000000000000007512133040140014407 0ustar debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra/base.rb debian/gbp.conf0000644000000000000000000000003612203174455010607 0ustar [DEFAULT] pristine-tar = True debian/ruby-sinatra.lintian-overrides0000644000000000000000000000025012133040140015147 0ustar ruby-sinatra: image-file-in-usr-lib usr/lib/ruby/vendor_ruby/sinatra/images/404.png ruby-sinatra: image-file-in-usr-lib usr/lib/ruby/vendor_ruby/sinatra/images/500.png debian/source/0000755000000000000000000000000012133040140010452 5ustar debian/source/format0000644000000000000000000000001412133040140011660 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000037112133040140014034 0ustar ruby-sinatra source: duplicate-short-description libsinatra-ruby libsinatra-ruby-doc libsinatra-ruby1.8 libsinatra-ruby1.9.1 ruby-sinatra source: duplicate-long-description libsinatra-ruby libsinatra-ruby-doc libsinatra-ruby1.8 libsinatra-ruby1.9.1 debian/control0000644000000000000000000000304212247170313010570 0ustar Source: ruby-sinatra Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , Youhei SASAKI Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-json, ruby-rack (>= 1.4) | ruby-rack1.4, ruby-tilt (>= 1.3.4), ruby-rack-test, ruby-rack-protection (>= 1.4) # ruby-haml, ruby-redcarpet, ruby-rdiscount, ruby-bluecloth, ruby-kramdown # ruby-maruku, ruby-sass, ruby-redcloth, ruby-nokogiri, ruby-erubis, ruby-builder, ruby-liquid # ruby-less, ruby-radius, ruby-slim, ruby-markaby, ruby-coffee-script, ruby-creole Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-sinatra.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-sinatra.git;a=summary Homepage: http://www.sinatrarb.com/ XS-Ruby-Versions: all Package: ruby-sinatra Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack (>= 1.4) | ruby-rack1.4, ruby-tilt (>= 1.3.4), ruby-rack-protection (>= 1.4) Description: Ruby web-development dressed in a DSL Sinatra is an open source web framework for Ruby programming language. It provides simple Domain Specific Language (DSL) for defining RESTful HTTP actions, and then defining how the application is going to respond to them. . This framework is lighweight and uses Rack which is a web server interface developed to run many Ruby frameworks using the same stack. debian/watch0000644000000000000000000000014312133040140010201 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/sinatra .*/sinatra-(.*).tar.gz debian/ruby-tests.rake0000644000000000000000000000040612203174455012156 0ustar require 'rake/testtask' task :default => :test task :test do ENV['LANG'] = 'C' ENV.delete 'LC_CTYPE' end Rake::TestTask.new(:test) do |t| t.test_files = FileList['test/*_test.rb'] t.ruby_opts = ['-rubygems'] if defined? Gem t.ruby_opts << '-I.' end debian/ruby-sinatra.docs0000644000000000000000000000022212203174455012457 0ustar README.de.md README.es.md README.fr.md README.hu.md README.jp.md README.ko.md README.md README.pt-br.md README.pt-pt.md README.ru.md README.zh.md debian/changelog0000644000000000000000000000731512247170355011054 0ustar ruby-sinatra (1.4.3-2) unstable; urgency=low Team upload. * Update Standards-Version to 3.9.5 (no changes) * Add alternative dependency on ruby-rack1.4 * Fix test failure by cherry picking upstream fix (Closes: #728633) * Change ruby1.8 dependency to ruby -- Christian Hofstaedtler Mon, 02 Dec 2013 20:56:50 +0100 ruby-sinatra (1.4.3-1) unstable; urgency=low [ Jérémy Bobbio ] * Team upload. * New upstream version. * Add git-buildpackage configuration. * Adjust Depends and Build-Depends. * Drop transitional packages now that Wheezy is stable. * Bump Standards-Version to version 3.9.4, no changes required. * Add missing Build-Depends on ruby-json. * Use rake to run the test suite to avoid false negative results. * Update paths to documentation. [ Cédric Boutillier ] * debian/control: remove obsolete DM-Upload-Allowed flag. * Use canonical URI in Vcs-* fields. -- Jérémy Bobbio Wed, 07 Aug 2013 16:02:37 +0200 ruby-sinatra (1.3.2-2) unstable; urgency=low * Team upload * Add a dependency on ruby-rack-protection (Closes: #683496) -- Gunnar Wolf Sun, 05 Aug 2012 15:12:53 -0500 ruby-sinatra (1.3.2-1) unstable; urgency=low * New upstream version:1.3.2 * Bump Standard Version: 3.9.3 * Change transitional package priority to extra * Add lintian-overrides for transitional packages * Add rack-test-protection into Build-Depends -- Youhei SASAKI Fri, 29 Jun 2012 00:10:33 +0900 ruby-sinatra (1.2.6-1) unstable; urgency=low * New upstream version: 1.2.6 * Add me to Uploaders * Add lintian-overrides -- Youhei SASAKI Tue, 26 Jul 2011 01:23:37 +0900 ruby-sinatra (1.2.3-1) unstable; urgency=low * Switch to gem2deb-based packaging. Rename source and binary packages. -- Lucas Nussbaum Tue, 26 Apr 2011 15:41:55 +0200 libsinatra-ruby (1.0.really1.0-1) unstable; urgency=low [Laurent Vallar] * New upstream release. [Deepak Tripathi] * Added debian/source * Added debian/README.source -- Laurent Vallar Fri, 07 May 2010 15:21:21 +0200 libsinatra-ruby (1.0.b-1) unstable; urgency=low * New upstream release. No changes needed. -- Laurent Vallar Sat, 27 Mar 2010 16:37:27 +0100 libsinatra-ruby (1.0.a-1) unstable; urgency=low * New upstream release. * Bumped Standards-Version to 3.8.4. No changes needed. * Build ri documentation. * Port the package to Ruby 1.9.1. -- Laurent Vallar Mon, 22 Feb 2010 09:42:32 +0100 libsinatra-ruby (0.9.4-1) unstable; urgency=low * New uptstream release. * Remove patches associated to sinatra's lighthouseapp tickets #249 and #254, bugs are now fixed upstream. * Bumped Standards-Version to 3.8.3. No changes needed. -- Laurent Vallar Mon, 24 Aug 2009 16:46:00 +0200 libsinatra-ruby (0.9.3-1) unstable; urgency=low [ Laurent Vallar ] * Initial release (Closes: #534557). * Provide patch to fix :run default bad value on Sinatra applications, see https://sinatra.lighthouseapp.com/projects/9779-sinatra/tickets/249. * Provide patch to fix in file template support, see https://sinatra.lighthouseapp.com/projects/9779-sinatra/tickets/254 * Move images from library path and provide patch to fix path in code. * Build HTML API documentation using rdoc instead of mislav-hanna gem which is not packaged for now. * Add graphviz dependency for build process plus many lintian fixes (thanks Ryan). [ Ryan Niebur ] * fix watch file [ Lucas Nussbaum ] * Fixed Vcs-* fields after pkg-ruby-extras SVN layout change. -- Laurent Vallar Wed, 24 Jun 2009 14:13:24 +0200 debian/compat0000644000000000000000000000000212133040140010350 0ustar 7 debian/patches/0000755000000000000000000000000012247170311010613 5ustar debian/patches/series0000644000000000000000000000003512247170311012026 0ustar test-disable-path-protection debian/patches/test-disable-path-protection0000644000000000000000000000133412247170311016235 0ustar Upstream commit: https://github.com/sinatra/sinatra/commit/c5c9f6b5501a366d5809faa44e50fad371c14870 Fixes test failure on Ruby 1.9. Index: ruby-sinatra/test/routing_test.rb =================================================================== --- ruby-sinatra.orig/test/routing_test.rb 2013-08-15 17:52:13.941606687 +0200 +++ ruby-sinatra/test/routing_test.rb 2013-12-02 21:10:15.918998018 +0100 @@ -90,7 +90,10 @@ class RoutingTest < Test::Unit::TestCase end it "it handles encoded slashes correctly" do - mock_app { get("/:a") { |a| a } } + mock_app { + set :protection, :except => :path_traversal + get("/:a") { |a| a } + } get '/foo%2Fbar' assert_equal 200, status assert_body "foo/bar"