[DRE-commits] [ruby-rails-assets-jquery-idletimer] 06/07: install assets in /usr/share, set rails root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Jan 8 08:55:21 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-idletimer.

commit 699a438114daf578654837538de9835e9d4edd53
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jan 8 14:22:00 2015 +0530

    install assets in /usr/share, set rails root
---
 debian/install                   |  1 +
 debian/patches/engine-root.patch | 17 +++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..adae16e
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+app usr/share/ruby-rails-assets-jquery-idletimer
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..ca0ff98
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,17 @@
+Description: set rails engine root
+ debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 2015-01-08
+
+Index: ruby-rails-assets-jquery-idletimer-1.0.1/lib/rails-assets-jquery-idletimer.rb
+===================================================================
+--- ruby-rails-assets-jquery-idletimer-1.0.1.orig/lib/rails-assets-jquery-idletimer.rb
++++ ruby-rails-assets-jquery-idletimer-1.0.1/lib/rails-assets-jquery-idletimer.rb
+@@ -25,6 +25,7 @@ module RailsAssetsJqueryIdletimer
+ 
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-rails-assets-jquery-idletimer'
+       # 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-idletimer.git



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