[DRE-commits] [ruby-remotipart] 02/02: install jquery.remotipart and set engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Nov 24 19:15:34 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-remotipart.

commit 4feb4c3e294c507b27aac674c50c9ed81ed01a06
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Nov 25 00:43:13 2014 +0530

    install jquery.remotipart and 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..ddabd17
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+vendor usr/share/ruby-remotipart
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..81c96e4
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-remotipart/lib/remotipart/rails/engine.rb
+===================================================================
+--- ruby-remotipart.orig/lib/remotipart/rails/engine.rb
++++ ruby-remotipart/lib/remotipart/rails/engine.rb
+@@ -3,6 +3,7 @@ module Remotipart
+   module Rails
+ 
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-remotipart'
+       initializer "remotipart.view_helper" do
+         ActionView::Base.send :include, RequestHelper
+         ActionView::Base.send :include, ViewHelper
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-remotipart.git



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