[DRE-commits] [ruby-js-image-paths] 05/06: set rails engine

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Dec 31 14:36:24 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-image-paths.

commit 0583424c58ec9ae26806d9be167cb545e72dc045
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Dec 31 19:23:31 2014 +0530

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

diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..100bb46
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,17 @@
+Description: Set rails engine root
+ Debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 31-12-2014
+
+Index: ruby-js-image-paths-0.0.1/lib/js_image_paths/engine.rb
+===================================================================
+--- ruby-js-image-paths-0.0.1.orig/lib/js_image_paths/engine.rb
++++ ruby-js-image-paths-0.0.1/lib/js_image_paths/engine.rb
+@@ -1,6 +1,6 @@
+ module JsImagePaths
+   class Engine < Rails::Engine
+-
++    config.root = '/usr/share/ruby-js-image-paths'
+     isolate_namespace(JsImagePaths)
+ 
+     initializer('js_image_paths.compile', after: 'sprockets.environment') do |application|
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-image-paths.git



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