[DRE-commits] [ruby-rails-timeago] 06/10: set engine root for rails assets
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Sep 30 06:12:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-rails-timeago.
commit b66c73d80dcee05aac04a04751199ce275ad9645
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Sep 30 11:30:17 2014 +0530
set engine root for rails assets
---
debian/patches/engine-root.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..1077a4e
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,17 @@
+Description: change rails engine root
+ Debian specific.
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 2014-09-30
+
+Index: ruby-rails-timeago-2.11.1/lib/rails-timeago.rb
+===================================================================
+--- ruby-rails-timeago-2.11.1.orig/lib/rails-timeago.rb
++++ ruby-rails-timeago-2.11.1/lib/rails-timeago.rb
+@@ -5,6 +5,7 @@ module Rails
+ module Timeago
+ if defined?(::Rails::Engine)
+ class Engine < ::Rails::Engine # :nodoc:
++ config.root = '/usr/share/ruby-rails-timeago'
+ initializer 'rails-timeago', :group => :all do |app|
+ ActiveSupport.on_load(:action_controller) do
+ include Rails::Timeago::Helper
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-timeago.git
More information about the Pkg-ruby-extras-commits
mailing list