[DRE-commits] [ruby-js-routes] 07/08: set rails engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Dec 31 06:42:49 UTC 2014


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

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

commit 1a352ce4f40918e291b3f28c528b153981f0100e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Dec 31 12:07:55 2014 +0530

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

diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..8e30325
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,16 @@
+Description: Add rails engine root
+ Debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updared: 31-12-2014
+
+Index: ruby-js-routes-0.9.9/lib/js_routes/engine.rb
+===================================================================
+--- ruby-js-routes-0.9.9.orig/lib/js_routes/engine.rb
++++ ruby-js-routes-0.9.9/lib/js_routes/engine.rb
+@@ -1,5 +1,6 @@
+ class JsRoutes
+   class Engine < ::Rails::Engine
++    config.root = '/usr/share/ruby-js-routes'
+     JS_ROUTES_ASSET = 'js-routes'
+ 
+     initializer 'js-routes.dependent_on_routes', after: "sprockets.environment" do
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d77d941
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+engine-root.patch

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



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