[DRE-commits] [ruby-rails-assets-diaspora-jsxc] 06/12: set rails engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Jan 10 20:20:56 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-rails-assets-diaspora-jsxc.

commit c2be34e16caaf67318876cf016ff7701b6f253a0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Jan 11 01:25:42 2015 +0530

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

diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..9b9c0a0
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-rails-assets-diaspora-jsxc-0.0.9/lib/rails-assets-diaspora_jsxc.rb
+===================================================================
+--- ruby-rails-assets-diaspora-jsxc-0.0.9.orig/lib/rails-assets-diaspora_jsxc.rb
++++ ruby-rails-assets-diaspora-jsxc-0.0.9/lib/rails-assets-diaspora_jsxc.rb
+@@ -34,6 +34,7 @@ module RailsAssetsDiasporaJsxc
+ 
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-rails-assets-diaspora-jsxc'
+       # Rails -> use app/assets directory.
+     end
+   end
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-rails-assets-diaspora-jsxc.git



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