[DRE-commits] [ruby-rails-assets-perfect-scrollbar] 09/23: set root for rails Engine

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Jun 30 12:04:46 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-perfect-scrollbar.

commit 76568df11875f6fb34d1f184daaa7a5d9ad9e8fb
Author: Syam G Krishnan <syamgk01 at gmail.com>
Date:   Sun Jun 28 22:07:21 2015 +0530

    set root for rails Engine
---
 debian/patches/series                      |  1 +
 debian/patches/set-rails-engine-root.patch | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..62d902c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+set-rails-engine-root.patch
diff --git a/debian/patches/set-rails-engine-root.patch b/debian/patches/set-rails-engine-root.patch
new file mode 100644
index 0000000..7b271d0
--- /dev/null
+++ b/debian/patches/set-rails-engine-root.patch
@@ -0,0 +1,10 @@
+--- a/lib/rails-assets-perfect-scrollbar.rb
++++ b/lib/rails-assets-perfect-scrollbar.rb
+@@ -25,6 +25,7 @@
+ 
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-rails-assets-perfect-scrollbar'
+       # Rails -> use app/assets directory.
+     end
+   end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-perfect-scrollbar.git



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