debian/0000755000000000000000000000000012256404147007173 5ustar debian/rules0000755000000000000000000000132712230322173010244 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 DEST = debian/ruby-ramaze %: dh $@ --buildsystem=ruby --with ruby override_dh_install: dh_install mv $(DEST)/usr/lib/ruby/vendor_ruby/proto $(DEST)/usr/share/ruby/vendor_ruby/ ln -s ../../../share/ruby/vendor_ruby/proto $(DEST)/usr/lib/ruby/vendor_ruby/ chmod a+x $(DEST)/usr/lib/ruby/vendor_ruby/proto/config.ru debian/ramaze.10000644000000000000000000000222112230322173010517 0ustar .TH ramaze 1 "Aug 30, 2013" .SH NAME ramaze \- Create Ramaze Web applications. .SH SYNOPSIS .B ramaze [COMMAND] [OPTIONS] .SH DESCRIPTION ramaze binary tightly integrates with both Ramaze and the Rack executable rackup, so you will be able to take advantage of both. .SH OPTIONS .TP 8 .B create \f2application_name\f1 Create a new Ramaze application; the application name should be provided as the only option. .TP 8 .B \-v \-\-version Shows the version of Ramaze .TP 8 .B \-h \-\-help Shows a brief help message .SH Controlling your application .P Note that in previous versions, this binary had several options for controlling your Ramaze Web applications, via \f2start\f1, \f2stop\f1 and \f2restart\f1, as well as debugging them, via \f2console\f1. Those methods are now available through \f2Rake\f1 tasks; to list the available Rake tasks run, from inside your project directory, .RS 8m rake \-T .RE .SH SEE ALSO This program is shipped as part of the ruby\-ramaze library package. .SH AUTHOR This manual page was written by Gunnar Wolf , based on the document of this program, for the Debian GNU/Linux system (but may be freely used by others). debian/watch0000644000000000000000000000014111761370263010221 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ramaze .*/ramaze-(.*).tar.gz debian/source/0000755000000000000000000000000011761370263010474 5ustar debian/source/format0000644000000000000000000000001411761370263011702 0ustar 3.0 (quilt) debian/ruby-ramaze.dirs0000644000000000000000000000003412230322173012277 0ustar usr/share/ruby/vendor_ruby/ debian/ruby-ramaze.examples0000644000000000000000000000001312230322173013151 0ustar examples/* debian/ruby-ramaze.lintian-overrides0000644000000000000000000000041412230322173014776 0ustar # We ship a very old version of jquery as part of the examples, # not worth declaring a dependency on libjs-jquery ruby-ramaze binary: embedded-javascript-library # Spurious error emitted by lintian, reported as #721268 ruby-ramaze binary: missing-dep-for-interpreter debian/copyright0000644000000000000000000002127212230322173011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ramaze Source: http://ramaze.net Files: * Copyright: 2006-2012 Michael Fellinger Aman Gupta Jonathan Buch Pistos Clive Crous Keita Yamaguchi Ryan Grove injekt TJ Vanderpoel Wang, Jinjing Mario Gutierrez Tadahiko Uehara Aki Reijonen Antti Tuomi Sam Carr Dmitry Gorbik mwlang Andreas Karlsson James Tucker mig Chris Duncan Clinton R. Nixon Masahiro Nakagawa Riku Raisaenen starapor Andrew Farmer jShaf Lars Olsson Yutaka HARA Aaron Mueller Ara T. Howard Carlo Zottmann Cheah Chu Yeow Christian Neukirchen Colin Shea crab Dmitry Gorbik Fabian Buch Gavin Kistner Jean-Francois Chevrette Jeremy Evans kez Martin Hilbig Matt Rubens Rob Lievaart sean Thomas Leitner Victor Luft Vincent Roy Yasushi Abe Zoxc License: MIT Files: debian/* Copyright: 2008 Sebastien Delafond 2010 Deepak Tripathi 2012 Cédric Boutillier 2013 Gunnar Wolf 2009 Michael Fellinger License: Ruby Files: lib/ramaze/log/syslog.rb spec/ramaze/log/syslog.rb Copyright: 2008 2008 Michael Fellinger License: MIT License: MIT 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. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: Ruby You can redistribute it and/or modify it under either the terms of the 2-clause BSDL (see the file BSDL), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: . a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. . For the list of those files and their copying conditions, see the file LEGAL. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. . Content of the BSDL file: . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000441712256404124010577 0ustar Source: ruby-ramaze Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Cédric Boutillier , Gunnar Wolf Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-innate Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ramaze.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-ramaze.git;a=summary Homepage: http://ramaze.net/ XS-Ruby-Versions: all Package: ruby-ramaze Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-innate, ruby-rack, ruby-erubis, ruby-haml, ruby-hpricot, ruby-liquid, ruby-locale, ruby-maruku, ruby-mustache, ruby-rdiscount, ruby-sass, ruby-sequel, ruby-slim Replaces: libramaze-ruby1.8 (<< 2012.12.08-1~), libramaze-ruby1.9.1 (<< 2012.12.08-1~), libramaze-ruby (<< 2012.12.08-1~) Breaks: libramaze-ruby1.8 (<< 2012.12.08-1~), libramaze-ruby1.9.1 (<< 2012.12.08-1~), libramaze-ruby (<< 2012.12.08-1~) Provides: libramaze-ruby1.8, libramaze-ruby1.9.1, libramaze-ruby Description: Simple and modular web framework Ramaze is a very simple and straight-forward web-framework. The philosophy of it could be expressed in a mix of KISS and POLS, trying to make simple things simple and complex things possible and fun. # Package migrated to new policy post-wheezy; leave transitional packages until post-jessie Package: libramaze-ruby Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-ramaze Description: Transitional package for ruby-ramaze This is a transitional package to ease upgrades to the ruby-ramaze package. It can safely be removed. Package: libramaze-ruby1.8 Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-ramaze Description: Transitional package for ruby-ramaze This is a transitional package to ease upgrades to the ruby-ramaze package. It can safely be removed. Package: libramaze-ruby1.9.1 Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-ramaze Description: Transitional package for ruby-ramaze This is a transitional package to ease upgrades to the ruby-ramaze package. It can safely be removed. debian/ruby-ramaze.manpages0000644000000000000000000000002012230322173013124 0ustar debian/ramaze.1 debian/patches/0000755000000000000000000000000012245036474010624 5ustar debian/patches/series0000644000000000000000000000011312245036347012033 0ustar dont_hardcode_relative_paths dont_require_rubygems dont_gem_rinotify.patch debian/patches/dont_hardcode_relative_paths0000644000000000000000000000141312230322173016421 0ustar Last-Update: 2013-08-30 Forwarded: not-needed Author: Gunnar Wolf Description: Avoid the 'ramaze' script's hard-coded paths The packaged Ramaze script fails as its directory structure now matches Debian's policies and not the same Index: ruby-ramaze/bin/ramaze =================================================================== --- ruby-ramaze.orig/bin/ramaze 2012-07-25 17:37:40.000000000 -0500 +++ ruby-ramaze/bin/ramaze 2013-08-29 12:31:05.000000000 -0500 @@ -1,7 +1,7 @@ #!/usr/bin/env ruby begin; require 'rubygems'; rescue LoadError; end -require File.expand_path('../../lib/ramaze' , __FILE__) -require File.expand_path('../../lib/ramaze/bin/runner', __FILE__) +require 'ramaze' +require 'ramaze/bin/runner' Ramaze::Bin::Runner.run debian/patches/dont_gem_rinotify.patch0000644000000000000000000000074112245036474015366 0ustar Description: do not try to use rinotify via rubygems Author: Cédric Boutillier Last-Update: 2013-11-26 --- a/lib/ramaze/reloader.rb +++ b/lib/ramaze/reloader.rb @@ -46,11 +46,6 @@ } begin - begin - gem('RInotify', '>=0.9') # is older version ok? - rescue NoMethodError # Kernel::gem might simply be not available - end - require 'rinotify' require 'ramaze/reloader/watch_inotify' Watcher = WatchInotify debian/patches/dont_require_rubygems0000644000000000000000000000203212230322173015145 0ustar Last-Update: 2013-08-30 Forwarded: not-needed Author: Gunnar Wolf Tue, 24 Dec 2013 23:11:35 +0100 ruby-ramaze (2012.12.08-2) unstable; urgency=low * Build-depend on ruby-innate (Closes: #725545) * Add some dependencies * Update my email address in the Uploaders field * Add dont_gem_rinotify.patch, forbidding to try to load RInotify Ruby library with rubygems. -- Cédric Boutillier Tue, 26 Nov 2013 06:59:05 +0100 ruby-ramaze (2012.12.08-1) unstable; urgency=low [ Cédric Boutillier ] * Repackaged to use the newer Ruby policy [ Gunnar Wolf ] * Create transitional packages; review+update copyright information * Incorporate previous packaging information from the old packaging * Don't require rubygems from within Debian packages * Minor fixes, including some lintian warnings * Avoid the ramaze binary's hard-coded relative paths -- Gunnar Wolf Thu, 29 Aug 2013 10:10:15 -0500 libramaze-ruby (2010.06.18-2) unstable; urgency=low * added rubygems1.9.1 as Depends (Closes: #593081) * debian/control + bumped standard version to 3.9.1 (no changes). -- Deepak Tripathi Thu, 26 Aug 2010 23:37:13 +0530 libramaze-ruby (2010.06.18-1) unstable; urgency=low * New upstream release. * debian/ + removed libramaze-ruby1.8.postinst file not required now. -- Deepak Tripathi Sat, 19 Jun 2010 23:04:18 +0530 libramaze-ruby (2010.04.04-1) unstable; urgency=low * New upstream release. * debian/watch + updated source location to gemwatch. * debian/ + added libramaze-ruby.examples. * debian/copyright + updated upsteam author's list. * debian/rules + added rules for removing jquery.js. -- Deepak Tripathi Thu, 10 Jun 2010 17:05:55 +0530 libramaze-ruby (2009.06.12-6) unstable; urgency=low * New maintainer (Closes: #570794). * debian/control + keeping under pkg-ruby-extra group. + added DMUA flag. + added vcs-* entry. + updated description of dummy package. + removed BD to dpatch. * Switch to dpkg-source 3.0 (quilt) format. + added debian/source/format * debian/rules + removed dpatch.mk. + corrected lintian error - rackup1.9 => librack-ruby1.9(./usr/share/libramaze-ruby1.9.1/ proto/config.ru). (Closes: #583361) * debian/ + removed README.source. + removed libramaze-ruby1.9.debhelper.log. + removed libramaze-ruby1.9.substvars. + removed source.lintian-overrides. + remoded patches/* * debian/copyright + added Debian's specific copyright information -- Deepak Tripathi Sat, 29 May 2010 01:59:35 +0530 libramaze-ruby (2009.06.12-5) unstable; urgency=low * Orphaning. -- Sebastien Delafond Sun, 21 Feb 2010 14:21:32 +0100 libramaze-ruby (2009.06.12-4) unstable; urgency=low * Move to ruby1.9.1 (Closes: #569859). * Bumped up Standards-Version. * Removed unused lintian override. -- Sebastien Delafond Mon, 15 Feb 2010 20:02:33 +0100 libramaze-ruby (2009.06.12-3) unstable; urgency=low * More lintian cleanups. -- Sebastien Delafond Thu, 22 Oct 2009 17:57:13 +0200 libramaze-ruby (2009.06.12-2) unstable; urgency=low * More detailed copyright file, with proper copyright holders. -- Sebastien Delafond Fri, 16 Oct 2009 11:42:29 +0200 libramaze-ruby (2009.06.12-1) unstable; urgency=low * New upstream release. * Moved to CDBS. * Bumped up Standards revision. * Added watch file. * Various lintian cleanups. -- Sebastien Delafond Mon, 12 Oct 2009 18:10:37 +0200 libramaze-ruby (0.3.9.1-4) unstable; urgency=low * Correct copyright file (Closes: #483306). -- Sebastien Delafond Wed, 28 May 2008 08:01:44 -0700 libramaze-ruby (0.3.9.1-3) unstable; urgency=low * Do not "require 'rubygems'" in any of the ramaze library files. -- Sebastien Delafond Sun, 11 May 2008 09:30:56 -0700 libramaze-ruby (0.3.9.1-2) unstable; urgency=low * Correct descriptions. -- Sebastien Delafond Wed, 07 May 2008 14:17:04 -0700 libramaze-ruby (0.3.9.1-1) unstable; urgency=low * Initial Release (Closes: #480040). -- Sebastien Delafond Wed, 07 May 2008 11:50:33 -0700 debian/ruby-tests.rb0000644000000000000000000000110312230322173011622 0ustar # TERRIBLY MINIMAL TEST! # # We are currently NOT running any real tests on package build! # # To run test, we have to build-depend on the following packages: # # ruby-bacon, ruby-slim, ruby-liquid, ruby-sequel # # And to package (at least) the following gems, not yet available: # # rack/contrib erector remarkably tenjin nagoro lokar ezamar slippers # tagz redis localmemcache dalli # # The proper way to run the test suite would be with 'rake bacon' # AFACIT. # # The only test I can presently do is to check if the library loads # successfully. $: << 'lib' require 'ramaze'