[DRE-commits] [ruby-rails-assets-markdown-it-sub] 04/05: set rails engine root
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Mar 31 11:47:05 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-markdown-it-sub.
commit 10f8473160459d93268faaf3c9163f7c3de14fe6
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Mar 31 17:14:28 2015 +0530
set rails engine root
---
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..836adcf
--- /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-03-31
+
+Index: ruby-rails-assets-markdown-it-sub-1.0.0/lib/rails-assets-markdown-it-sub.rb
+===================================================================
+--- ruby-rails-assets-markdown-it-sub-1.0.0.orig/lib/rails-assets-markdown-it-sub.rb
++++ ruby-rails-assets-markdown-it-sub-1.0.0/lib/rails-assets-markdown-it-sub.rb
+@@ -25,6 +25,7 @@ module RailsAssetsMarkdownItSub
+
+ if defined?(Rails)
+ class Engine < ::Rails::Engine
++ config.root = '/usr/share/ruby-rails-assets-markdown-it-sub'
+ # 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-markdown-it-sub.git
More information about the Pkg-ruby-extras-commits
mailing list