[DRE-commits] [ruby-rails-assets-colorbox] 03/04: set engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Sep 4 05:27:39 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-colorbox.

commit d759ee61d82930afda1fdd0e01a6e3df596bdae9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Sep 4 10:33:19 2015 +0530

    set 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..c1e5598
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-rails-assets-colorbox/lib/rails-assets-colorbox.rb
+===================================================================
+--- ruby-rails-assets-colorbox.orig/lib/rails-assets-colorbox.rb
++++ ruby-rails-assets-colorbox/lib/rails-assets-colorbox.rb
+@@ -27,6 +27,7 @@ module RailsAssetsColorbox
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
+       # Rails -> use app/assets directory.
++      config.root = '/usr/share/ruby-rails-assets-colorbox'
+     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-colorbox.git



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