[DRE-commits] [ruby-doorkeeper] 02/04: set engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jul 3 16:52:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-doorkeeper.

commit 48445753f8a87fbaa4a8c26ee91388ab7ce0d642
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Jul 3 22:13:50 2015 +0530

    set engine root
---
 debian/patches/series                |  1 +
 debian/patches/set-engine-root.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e7bdefa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+set-engine-root.patch
diff --git a/debian/patches/set-engine-root.patch b/debian/patches/set-engine-root.patch
new file mode 100644
index 0000000..b7a8c5f
--- /dev/null
+++ b/debian/patches/set-engine-root.patch
@@ -0,0 +1,16 @@
+Description: set rails engine root
+ debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 2015-07-03
+
+Index: ruby-doorkeeper/lib/doorkeeper/engine.rb
+===================================================================
+--- ruby-doorkeeper.orig/lib/doorkeeper/engine.rb
++++ ruby-doorkeeper/lib/doorkeeper/engine.rb
+@@ -1,5 +1,6 @@
+ module Doorkeeper
+   class Engine < Rails::Engine
++    config.root='/usr/share/ruby-doorkeeper'
+     initializer "doorkeeper.params.filter" do |app|
+       app.config.filter_parameters += [:client_secret, :code, :token]
+     end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-doorkeeper.git



More information about the Pkg-ruby-extras-commits mailing list