debian/0000755000000000000000000000000012122364205007163 5ustar debian/rules0000755000000000000000000000100412122363650010241 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 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_installchangelogs: dh_installchangelogs History.rdoc debian/copyright0000644000000000000000000000253312122363553011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: rack-rewrite Source: http://rubygems.org/gems/rack-rewrite Files: * Copyright: 2012 John Trupiano, Travis Jeffery License: Expat Files: debian/* Copyright: 2013 Praveen Arimbrathodiyil License: Expat License: Expat 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. debian/compat0000644000000000000000000000000212122360271010360 0ustar 7 debian/patches/0000755000000000000000000000000012122364155010616 5ustar debian/patches/series0000644000000000000000000000003612122360271012025 0ustar remove-rubygems-bundler.patch debian/patches/remove-rubygems-bundler.patch0000644000000000000000000000137212122364155016423 0ustar Description: remove rebygems and bundler use A deb package should not require rubygems or bundler to work. We add all required dependencies in debian/control. Author: Praveen Arimbrathodiyil Last-Update: 2013-03-20 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,13 +1,18 @@ -require 'rubygems' -require 'bundler/setup' +# We'll add dependencies in debian/control +#require 'rubygems' +#require 'bundler/setup' -Bundler.require :default, :development +#Bundler.require :default, :development require 'test/unit' +require 'shoulda' +require 'mocha' +require 'rack' +require 'rack/rewrite' class Test::Unit::TestCase end def supported_status_codes [:r301, :r302, :r303, :r307] -end \ No newline at end of file +end debian/ruby-rack-rewrite.docs0000644000000000000000000000005112122360271013406 0ustar # FIXME: READMEs found # README.markdown debian/changelog0000644000000000000000000000025412122363255011042 0ustar ruby-rack-rewrite (1.3.3-1) unstable; urgency=low * Initial release (Closes: #703527) -- Praveen Arimbrathodiyil Wed, 20 Mar 2013 19:11:28 +0530 debian/control0000644000000000000000000000222612122363373010575 0ustar Source: ruby-rack-rewrite Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Praveen Arimbrathodiyil Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-mocha, ruby-rack, ruby-shoulda Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rack-rewrite.git Vcs-Browser: http://anonscm.debian.org/?p=pkg-ruby-extras/ruby-rack-rewrite.git Homepage: http://github.com/jtrupiano/rack-rewrite XS-Ruby-Versions: all Package: ruby-rack-rewrite Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack # bundler (>= 0, development), shoulda (~> 2.10.2, development), mocha (~> 0.9.7, development), rack (>= 0, development) Description: rack middleware for enforcing rewrite rules A rack middleware for enforcing rewrite rules. In many cases you can get away with rack-rewrite instead of writing Apache mod_rewrite rules. . Use Cases - Rebuild of existing site in a new technology - Retire old routes - CNAME alternative - Site Maintenance debian/watch0000644000000000000000000000015512122360271010214 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rack-rewrite .*/rack-rewrite-(.*).tar.gz debian/ruby-tests.rb0000644000000000000000000000072512122360271011634 0ustar # FIXME # there's a spec/ or a test/ directory in the upstream source, but # no test suite was defined in the Gem specification. It would be # a good idea to define it here so the package gets tested at build time. # Examples: $: << 'test' << '.' Dir['{test}/**/*.rb'].each { |f| require f } # # require 'test/ts_foo.rb' # # require 'rbconfig' # ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) # exec("#{ruby} -I. test/runtests.rb") debian/source/0000755000000000000000000000000012122346125010464 5ustar debian/source/format0000644000000000000000000000001412122360271011670 0ustar 3.0 (quilt)