debian/0000755000000000000000000000000012154165276007177 5ustar debian/ruby-tests.rb0000644000000000000000000000020711712612173011634 0ustar # Testing... $LOAD_PATH << 'test' # Run the Camping test apps. require "test/test_helper" Dir['test/app_*.rb'].each { |f| require f } debian/control0000644000000000000000000000230012154161706010567 0ustar Source: camping Section: web Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Paul van Tilburg Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rack-test, ruby-minitest, ruby-mab (>= 0.0.3), ruby-tilt Standards-Version: 3.9.4 Homepage: http://camping.rubyforge.org/ Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/camping.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/camping.git;a=summary XS-Ruby-Versions: all Package: camping Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-rack Recommends: ruby-activerecord-3.2, ruby-sqlite3 (>= 1.1.0.1), ruby-mab (>= 0.0.3) | ruby-tilt Suggests: thin Description: small Ruby web framework for Model-View-Controller type applications Camping is a web framework which consistently stays at less than 4kb of code. The idea here is to store a complete fledgling web application (written in Ruby) in a single file like many small CGIs, but to organize it as a Model-View-Controller application like Rails does. You can then easily move it to Rails once you've got it going. debian/camping.10000644000000000000000000000246511712612173010676 0ustar .TH CAMPING "1" "May 2010" "camping 2.0" "User Commands" .SH NAME camping \- small Ruby web framework for MVC type applications .SH SYNOPSIS .B camping \fIapp1.rb app2.rb\fR... .SH DESCRIPTION Camping is a web framework which consistently stays at less than 4kb of code. The idea here is to store a complete fledgling web application (written in Ruby) in a single file like many small CGIs, but to organize it as a Model-View-Controller application like Rails does. You can then easily move it to Rails once you've got it going. .SS "Specific options:" .TP \fB\-h\fR, \fB\-\-host\fR HOSTNAME Host for web server to bind to (default is all IPs) .TP \fB\-p\fR, \fB\-\-port\fR NUM Port for web server (defaults to 3301) .TP \fB\-d\fR, \fB\-\-database\fR FILE SQLite3 database path (defaults to ~/.camping.db) .TP \fB\-C\fR, \fB\-\-console\fR Run in console mode with IRB .TP \fB\-s\fR, \fB\-\-server\fR NAME Server to force (mongrel, webrick, console) .SS "Common options:" .TP \-?, \fB\-\-help\fR Show this message .TP \fB\-v\fR, \fB\-\-version\fR Show version .SH FILES .TP \fB~/.camping.db\fR The default database file. .SH SEE ALSO The Camping website on http://camping.rubyforge.org/. .SH AUTHOR This manual page was written by Paul van Tilburg , for the Debian GNU/Linux system (but may be used by others). debian/changelog0000644000000000000000000001437312154164667011064 0ustar camping (2.1.532-1) unstable; urgency=low * New upstream release * debian/control: - Bumped standards version to 3.9.4; no changes required - Add build-depend on ruby-minitest - Change build depend on ruby-activerecord-2.3 into ruby-activerecord-3.2 - Bump build-depend and depend on ruby-mab to >= 0.0.3 * d/p/allow-POST-through-Rack-File.patch: dropped, applied upstream -- Paul van Tilburg Thu, 06 Jun 2013 21:57:41 +0200 camping (2.1.498-4) unstable; urgency=low * debian/patches: add camping-allow-POST-through-Rack-File, courtesy of Magnus Holm (closes: #689038) * debian/source/local-options: unapply patches after build -- Paul van Tilburg Thu, 25 Oct 2012 19:54:15 +0200 camping (2.1.498-3) unstable; urgency=low * debian/control: - Bump build-depend on gem2deb to 0.3.0. -- Paul van Tilburg Sun, 24 Jun 2012 16:23:06 +0200 camping (2.1.498-2) unstable; urgency=low * Upload to unstable. -- Paul van Tilburg Sun, 27 May 2012 22:05:05 +0200 camping (2.1.498-1) experimental; urgency=low * New upstream release (closes: #640065). * Upload this prerelease of Camping version 2.2 to experimental first. * Source packages adapted according to the new Ruby policy: - Build for both ruby1.8 and ruby1.9.1 (Closes: #550806) - Migrated to pkg-ruby-extras git repos. Changed the Vcs-* fields in debian/control accordingly. - Changed the depends and recommends to follow the new Ruby library naming scheme. * debian/README.Debian: dropped; there is no longer the need to explain the depend on rails as we can depend on activerecord specifcally now since the rails splitup. * debian/NEWS: added to explain the replacement of Markaby by Mab. * debian/camping.doc-base: added to register generated RDoc documentation. * debian/control: - Added a default DM-Upload-Allowed field set to yes. - Standards-Version bumped to 3.9.3; no changes required. - Set XS-Ruby-Versions to all. - Changed the build-depends for using gem2deb instead of ruby-pkg-tools. - Added build-depends on ruby-rack-test, ruby-mab and ruby-tilt required for running tests. - Switched the maintainer with the uploaders field as per new convention the team is the default maintainer. - Replaced the dependency on libmarkaby-ruby by ruby-mab. - Added an alternative depend on ruby-tilt, so the user can choose between Mab and Tilt. - Replaced the suggest on mongrel by thin; mongrel is not available anymore. * debian/copyright: reworked to fit the Debian copyright format version 1.0. * debian/ruby-test.rb: added to run the test apps from test/. -- Paul van Tilburg Sat, 19 May 2012 20:24:31 +0200 camping (2.0-2) unstable; urgency=low * Although activerecord is not needed for an Camping application, it is used by the camping binary (camping/server) during development. * debian/rules: - The recommend on mongrel is not necessary, demoted to suggests. - Replaced recommend on libactivesupport-ruby1.8 by the actually intented libactiverecord-ruby1.8. -- Paul van Tilburg Wed, 16 Jun 2010 23:28:46 +0200 camping (2.0-1) unstable; urgency=low * New upstream release. * Camping has been adopted by the community after _why's disappearance, due to this, the main site and code was moved. * debian/camping.1: added, manpage no longer provided by upstream. * debian/control: - Bumped standards version to 3.8.4. - Updated the depends, now depends on librack-ruby1.8 and no longer depends on but recommends libmarkaby-ruby1.8. - Dropped the recommend on rails now that it has been split up. - Added libactiverecord-ruby1.8, mongrel and ${misc:Depends} to the recommends. * debian/copyright: updated for the new download location. * debian/docs: added to install the generated RDoc documentation. * debian/patches/01_add-activerecord-activesupport-loadpath.diff: dropped, since the rails split up the libraries are available in $LOAD_PATH. * debian/README.Debian: update the text to reflect that Camping now not depends but just recommends active record and support. * debian/rules: - Removed the manpage generation since the source is no longer provided. - Generate and install RDoc documentation. * debian/watch: updated for the new location on Github. -- Paul van Tilburg Tue, 01 Jun 2010 22:14:14 +0200 camping (1.5+svn242-1) unstable; urgency=low * New Subversion snapshot (close to 1.6 release). * Replaced 01_add-activesupport-loadpath patch by 01_add-activerecord-activesupport-loadpatch to add active_record too. * Bumped standards version to 3.7.3; no changes required. * debian/control: - Added Vcs-* fields to debian/control. - Changed depend on ruby into ruby1.8. -- Paul van Tilburg Mon, 31 Mar 2008 22:16:14 +0200 camping (1.5+svn186-2) unstable; urgency=low * First upload to Debian unstable. * Make the Homepage pseudo-field a real field of the source package. * No longer use the Uploaders rule; removed debian/control.in, updated debian/rules. * Adapted debian/rules to repack the man-page (via dh_manpages) after * build to comply with the -z9 policy. -- Paul van Tilburg Sat, 03 Nov 2007 21:18:37 +0100 camping (1.5+svn186-1) luon-sid; urgency=low * Subversion snapshot that fixes several issues: - When using X-Sendfile, a erroneous newline is no longer prepended to the data. - Small fastcgi fixes. - Query string building added to R(). * Removed patch 02_webrick-typo since this has been fixed upstream. * Changed both the build-depend and depend from ruby1.8 to ruby. -- Paul van Tilburg Tue, 20 Mar 2007 19:53:55 +0100 camping (1.5-1) luon-sid; urgency=low * Initial release. (Closes: #396891) * Added patch 01_add-activesupport-loadpath to help Camping find the active support library directory which is not in a standard location. * Added patch 02_webrick-typo to fix a typo made in the WEBrick code which emerges when serving static files. -- Paul van Tilburg Sat, 4 Nov 2006 22:08:29 +0100 debian/examples0000644000000000000000000000001311712612173010722 0ustar examples/* debian/source/0000755000000000000000000000000012042275374010474 5ustar debian/source/format0000644000000000000000000000001411712612173011675 0ustar 3.0 (quilt) debian/camping.doc-base0000644000000000000000000000061211755761746012225 0ustar Document: camping-doc Title: Documentation of the Camping web framework Author: Chris Lalancette et al. Abstract: This API documentation is generated with RDOC from the source of the Camping, providing a small web framework for Model-View-Controller type applications. Section: Programming/Ruby Format: HTML Index: /usr/share/doc/camping/rdoc/index.html Files: /usr/share/doc/camping/rdoc/* debian/manpages0000644000000000000000000000002111712612173010676 0ustar debian/camping.1 debian/watch0000644000000000000000000000014311712612173010216 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/camping .*/camping-(.*).tar.gz debian/copyright0000644000000000000000000000427211755714606011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: camping Upstream-Conact: camping-list@rubyforge.org Source: http://camping.rubyforge.org/ Files: * Copyright: 2006, Why the lucky stiff 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 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. Files: debian/* Copyright: 2011, Paul van Tilburg 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, version 2 of the License, or (at your opinion) 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'. debian/rules0000755000000000000000000000133411712612173010250 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_auto_build: dh_auto_build rdoc --fmt html --inline-source --fileboxes --line-numbers \ --main README --title "Camping, a Microframework" --op doc/rdoc \ README book/* lib/camping-unabridged.rb lib/camping/*.rb override_dh_auto_clean: dh_auto_clean rm -rf doc debian/docs0000644000000000000000000000001111712612173010032 0ustar doc/rdoc debian/NEWS0000644000000000000000000000147711755762350007711 0ustar camping (2.1.498-1) experimental; urgency=low As of version 2.2, Camping no longer uses Markaby as its default templating engine but Mab (see also [1]). Due to license issues, Markaby development was halted[2] and also removed from Debian. Mab is almost fully backward compatible with Markaby but differs on two small points: * in Markaby, the string resulting from `text "foo"` is not escaped, in Mab it _is_ escaped, but it is not escaped in `text! "foo"`. * in Markaby one can use <<, which is not present in Mab but still provided by Camping::Mab Of course, it is also possible to use Tilt instead of Mab. 1: http://github.com/camping/mab#readme 2: http://rubyforge.org/pipermail/camping-list/2011-December/001709.html -- Paul van Tilburg Wed, 25 Jan 2012 13:33:11 +0100 debian/compat0000644000000000000000000000000211712612173010365 0ustar 7 debian/patches/0000755000000000000000000000000012154160137010615 5ustar debian/patches/series0000644000000000000000000000000012154160024012013 0ustar