[DRE-commits] [ruby-sidekiq] 01/01: install web directory in /usr/share/ruby-sidekiq
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Aug 19 21:18:06 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-sidekiq.
commit 87bf72e180ff6c8095646d3ac07e18ecdd8e23d1
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Aug 20 02:20:26 2014 +0530
install web directory in /usr/share/ruby-sidekiq
---
debian/patches/series | 1 +
debian/patches/web-path-change.patch | 13 +++++++++++++
debian/ruby-sidekiq.install | 1 +
3 files changed, 15 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a784147
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+web-path-change.patch
diff --git a/debian/patches/web-path-change.patch b/debian/patches/web-path-change.patch
new file mode 100644
index 0000000..3561181
--- /dev/null
+++ b/debian/patches/web-path-change.patch
@@ -0,0 +1,13 @@
+Index: ruby-sidekiq/lib/sidekiq/web.rb
+===================================================================
+--- ruby-sidekiq.orig/lib/sidekiq/web.rb
++++ ruby-sidekiq/lib/sidekiq/web.rb
+@@ -11,7 +11,7 @@ module Sidekiq
+ class Web < Sinatra::Base
+ include Sidekiq::Paginator
+
+- set :root, File.expand_path(File.dirname(__FILE__) + "/../../web")
++ set :root, File.expand_path(File.dirname(__FILE__) + "../../../../share/ruby-sidekiq/web")
+ set :public_folder, Proc.new { "#{root}/assets" }
+ set :views, Proc.new { "#{root}/views" }
+ set :locales, ["#{root}/locales"]
diff --git a/debian/ruby-sidekiq.install b/debian/ruby-sidekiq.install
new file mode 100644
index 0000000..89d7753
--- /dev/null
+++ b/debian/ruby-sidekiq.install
@@ -0,0 +1 @@
+web usr/share/ruby-sidekiq
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-sidekiq.git
More information about the Pkg-ruby-extras-commits
mailing list