debian/0000755000000000000000000000000012232502576007172 5ustar debian/rules0000755000000000000000000000070111643314351010245 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 debian/ruby-mustache.docs0000644000000000000000000000001211643314351012622 0ustar README.md debian/watch0000644000000000000000000000014511643314351010220 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/mustache .*/mustache-(.*).tar.gz debian/source/0000755000000000000000000000000011643314351010467 5ustar debian/source/format0000644000000000000000000000001411643314351011675 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000250011773600575011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mustache Source: https://github.com/defunkt/mustache Files: * Copyright: 2009 Chris Wanstrath License: Expat Files: debian/* Copyright: 2011 Martin Ueding 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/control0000644000000000000000000000232212232502315010563 0ustar Source: ruby-mustache Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Martin Ueding Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-mustache.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-mustache.git;a=summary Homepage: http://github.com/defunkt/mustache XS-Ruby-Versions: all Package: ruby-mustache Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-sinatra Suggests: ruby-rack Description: Mustache is a framework-agnostic way to render logic-free views Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. (As in model-view-controller.) . As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language." . Think of Mustache as a replacement for your views. Instead of views consisting of ERB or HAML with random helpers and arbitrary logic, your views are broken into two parts: a Ruby class and an HTML template. debian/ruby-mustache.manpages0000644000000000000000000000003611643314351013473 0ustar man/mustache.1 man/mustache.5 debian/patches/0000755000000000000000000000000012232502063010610 5ustar debian/patches/fix-encoding0000644000000000000000000000075512232502063013114 0ustar Description: Fix encoding error in test suite with Ruby 1.9 and 2.0 Fixes a failing test with Ruby 1.9 Origin: vendor Forwarded: no Reviewed-By: Cédric Boutillier Last-Update: 2013-10-25 --- a/test/mustache_test.rb +++ b/test/mustache_test.rb @@ -1,5 +1,8 @@ # -*- coding: utf-8 -*- $LOAD_PATH.unshift File.dirname(__FILE__) + +Encoding.default_external = Encoding::UTF_8 if defined? Encoding + require 'helper' class MustacheTest < Test::Unit::TestCase debian/patches/series0000644000000000000000000000001511645555060012035 0ustar fix-encoding debian/compat0000644000000000000000000000000211643314351010365 0ustar 7 debian/changelog0000644000000000000000000000151212232502564011040 0ustar ruby-mustache (0.99.4-4) unstable; urgency=low * Team upload * Bump Standards-Version: to 3.9.4 (no changes needed) * Add Vcs-* fields in debian/control * Extend fix-encoding patch to all versions of Ruby defining Encoding This fixes FTBFS with ruby2.0 (Closes: #720239) -- Cédric Boutillier Fri, 25 Oct 2013 16:32:24 +0200 ruby-mustache (0.99.4-3) unstable; urgency=low * Team upload. * Bump build dependency on gem2deb to >= 0.3.0~. * Bump Standards-Version: to 3.9.3 (no changes needed) * Update debian/copyright to DEP-5 copyright-format/1.0 -- Cédric Boutillier Sat, 30 Jun 2012 15:33:22 +0200 ruby-mustache (0.99.4-2) unstable; urgency=low * Initial release (Closes: #643674) -- Martin Ueding Wed, 28 Sep 2011 16:17:52 +0200 debian/ruby-tests.rb0000644000000000000000000000004611644650435011644 0ustar Dir["test/*.rb"].each {|f| require f}