[DRE-commits] [ruby-sinatra-contrib] 01/02: Remove unavailable dependencies from the list of engines
Jérémy Bobbio
lunar at moszumanska.debian.org
Thu Feb 18 15:35:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository ruby-sinatra-contrib.
commit 9d4075927bd208e3c45921a630a383d15fade1b1
Author: Jérémy Bobbio <lunar at debian.org>
Date: Thu Feb 18 16:09:39 2016 +0100
Remove unavailable dependencies from the list of engines
Closes: #812189
---
.../patches/remove-unpackaged-dependencies.patch | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/debian/patches/remove-unpackaged-dependencies.patch b/debian/patches/remove-unpackaged-dependencies.patch
index 6250c44..5bcd7d8 100644
--- a/debian/patches/remove-unpackaged-dependencies.patch
+++ b/debian/patches/remove-unpackaged-dependencies.patch
@@ -95,3 +95,32 @@ Index: git/sinatra-contrib.gemspec
- s.add_development_dependency "markaby"
s.add_development_dependency "rake"
end
+Index: git/lib/sinatra/respond_with.rb
+===================================================================
+--- git.orig/lib/sinatra/respond_with.rb
++++ git/lib/sinatra/respond_with.rb
+@@ -216,7 +216,6 @@ module Sinatra
+
+ def rendering_method(engine)
+ return [engine] if Sinatra::Templates.method_defined? engine
+- return [:mab] if engine.to_sym == :markaby
+ [:render, :engine]
+ end
+
+@@ -238,13 +237,12 @@ module Sinatra
+
+ def self.engines
+ engines = {
+- :css => [:less, :sass, :scss],
++ :css => [:sass, :scss],
+ :xml => [:builder, :nokogiri],
+ :js => [:coffee],
+- :html => [:erb, :erubis, :haml, :slim, :liquid, :radius, :mab,
++ :html => [:erb, :erubis, :haml, :slim, :liquid,
+ :markdown, :textile, :rdoc],
+- :all => (Sinatra::Templates.instance_methods.map(&:to_sym) +
+- [:mab] - [:find_template, :markaby]),
++ :all => (Sinatra::Templates.instance_methods.map(&:to_sym) - [:find_template, :less, :radius, :markaby]),
+ :json => [:yajl],
+ }
+ engines.default = []
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-sinatra-contrib.git
More information about the Pkg-ruby-extras-commits
mailing list