debian/0000755000000000000000000000000012132212561007161 5ustar debian/gbp.conf0000644000000000000000000000003612132212561010577 0ustar [DEFAULT] pristine-tar = True debian/rules0000755000000000000000000000064712132212561010250 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=ruby --with ruby override_dh_installchangelogs: dh_installchangelogs CHANGES -O--buildsystem=ruby override_dh_installexamples: dh_installexamples -O--buildsystem=ruby mkdir -p debian/ruby-slim/usr/share/doc/ruby-slim/examples mv debian/ruby-slim/usr/bin/slimrb debian/ruby-slim/usr/share/doc/ruby-slim/examples rmdir --ignore-fail-on-non-empty -p debian/ruby-slim/usr/bin debian/control0000644000000000000000000000317712132212561010574 0ustar Source: ruby-slim Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Eugene Lavnikevich , Jérémy Bobbio Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake (>= 0.8.7), ruby-temple (>= 0.6.2~), ruby-tilt (>= 1.3.3~), ruby-sass (>= 3.1.0), ruby-minitest, ruby-kramdown, ruby-creole, ruby-builder, ruby-sinatra Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-slim.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-slim.git;a=summary Homepage: http://slim-lang.com/ XS-Ruby-Versions: all Package: ruby-slim Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-temple (>= 0.6.2~), ruby-tilt (>= 1.3.3~) Description: powerful (X)HTML templating engine with an elegant syntax Slim is a template language whose goal is to reduce the view syntax to the essential parts without becoming cryptic. . A short list of the features: - elegant syntax: short syntax without closing tags, HTML style mode with closing tags and configurable shortcut tags - automatic HTML escaping and support for Rails' `html_safe?` - highly configurable and extendable via plugins: logic less mode similar to Mustache and translator/I18n support among others. - high performance: comparable speed to ERB and streaming support in Rails - supported by all major frameworks (Rails, Sinatra, ...) - full Unicode support for tags and attributes on Ruby 1.9 - embedded engines like Markdown and Textile debian/ruby-slim.docs0000644000000000000000000000001212132212561011747 0ustar README.md debian/compat0000644000000000000000000000000212132212561010357 0ustar 7 debian/copyright0000644000000000000000000000431612132212561011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: slim Source: https://github.com/stonean/slim Files: * Copyright: 2010-2013 Slim Team License: Expat Files: debian/* Copyright: 2012 Eugene Lavnikevich 2013 Jérémy Bobbio License: GPL-2+ This package 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 package 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: debian/patches/* Copyright: 2013 Jérémy Bobbio 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/changelog0000644000000000000000000000023712132212561011035 0ustar ruby-slim (2.0.0~pre6-1) unstable; urgency=low * Initial release (Closes: #703182) -- Jérémy Bobbio Sat, 13 Apr 2013 08:20:54 +0000 debian/source/0000755000000000000000000000000012132212561010461 5ustar debian/source/format0000644000000000000000000000001412132212561011667 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013512132212561010211 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/slim .*/slim-(.*).tar.gz debian/ruby-tests.rb0000644000000000000000000000012412132212561011624 0ustar require 'rake' app = Rake.application app.init app.load_rakefile app['test'].invoke debian/patches/0000755000000000000000000000000012132212561010610 5ustar debian/patches/0001-Explicitly-load-rubygems-in-Rakefile.patch0000644000000000000000000000107012132212561021227 0ustar From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= Date: Sat, 16 Mar 2013 10:48:35 +0000 Subject: Explicitly load 'rubygems' in Rakefile `Gem` must be loaded before we try to use it to reach Sinatra tests. --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 753fe21..bca31c9 100644 --- a/Rakefile +++ b/Rakefile @@ -48,6 +48,7 @@ namespace 'test' do end begin + require 'rubygems' require 'sinatra' spec = Gem::Specification.find_by_name('sinatra') Rake::TestTask.new('sinatra') do |t| debian/patches/series0000644000000000000000000000006012132212561012021 0ustar 0001-Explicitly-load-rubygems-in-Rakefile.patch