[DRE-commits] [ruby-sinon-rails] 02/02: add config.root for rails engine

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Apr 16 05:22:47 UTC 2014


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

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

commit 8e0ef22f2bc324de52d8fb551fc02ca873a58a4a
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Apr 16 10:38:15 2014 +0530

    add config.root for rails engine
---
 debian/patches/engine-root.patch | 10 ++++++++++
 debian/patches/series            |  1 +
 2 files changed, 11 insertions(+)

diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..b70f769
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,10 @@
+--- a/lib/sinon/rails/engine.rb
++++ b/lib/sinon/rails/engine.rb
+@@ -3,6 +3,7 @@
+ module Sinon
+   module Rails
+     class Engine < ::Rails::Engine
++     config.root = '/usr/share/ruby-sinon-rails'
+       # making class enables assets pipeline 
+     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-sinon-rails.git



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