[DRE-commits] [ruby-rails-assets-jquery-colorbox] 09/11: set rails engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Dec 29 11:26:41 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-colorbox.

commit 2b03f0aa9e0dcb745041701d4b26bf4bc99de938
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Dec 29 16:47:17 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..1422e98
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,17 @@
+Description: set config.root
+ Debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 29-12-2014
+
+Index: ruby-rails-assets-jquery-colorbox-1.5.14/lib/rails-assets-jquery-colorbox.rb
+===================================================================
+--- ruby-rails-assets-jquery-colorbox-1.5.14.orig/lib/rails-assets-jquery-colorbox.rb
++++ ruby-rails-assets-jquery-colorbox-1.5.14/lib/rails-assets-jquery-colorbox.rb
+@@ -26,6 +26,7 @@ module RailsAssetsJqueryColorbox
+ 
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-rails-assets-jquery-colorbox'
+       # 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-colorbox.git



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