[DRE-commits] [ruby-rails-assets-jquery.slimscroll] 04/11: set engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Sep 16 17:29:50 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-jquery.slimscroll.

commit 3dc9ff5140943be44af82ed3ce7336bcbfecf680
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Sep 16 22:18:08 2015 +0530

    set engine root
---
 debian/install                   |  1 +
 debian/patches/engine-root.patch | 12 ++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..1fd8244
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+app usr/share/ruby-rails-assets-jquery.slimscroll
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..252380d
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-rails-assets-jquery.slimscroll/lib/rails-assets-jquery.slimscroll.rb
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/lib/rails-assets-jquery.slimscroll.rb
++++ ruby-rails-assets-jquery.slimscroll/lib/rails-assets-jquery.slimscroll.rb
+@@ -27,6 +27,7 @@ module RailsAssetsJquerySlimscroll
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
+       # Rails -> use app/assets directory.
++      config.root = '/usr/share/ruby-rails-assets-jquery.slimscroll'
+     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.slimscroll.git



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