[DRE-commits] [ruby-rails-assets-jquery-textchange] 09/10: set rails engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Dec 29 09:03:10 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-rails-assets-jquery-textchange.

commit cf46fd29e9d05a6cecd9329bba14b7c957ebad89
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Dec 29 14:31:20 2014 +0530

    set rails engine root
---
 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..7866a23
--- /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: 29-12-2014
+
+Index: ruby-rails-assets-jquery-textchange-0.2.3/lib/rails-assets-jquery-textchange.rb
+===================================================================
+--- ruby-rails-assets-jquery-textchange-0.2.3.orig/lib/rails-assets-jquery-textchange.rb
++++ ruby-rails-assets-jquery-textchange-0.2.3/lib/rails-assets-jquery-textchange.rb
+@@ -26,6 +26,7 @@ module RailsAssetsJqueryTextchange
+ 
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-rails-assets-jquery-textchange'
+       # 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-jquery-textchange.git



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