[DRE-commits] [ruby-sidekiq] 04/07: refresh patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Jul 30 17:30:39 UTC 2015


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

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

commit e34785350e508aaf682f9e5df8e70f71247ef704
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jul 30 19:58:24 2015 +0530

    refresh patch
---
 debian/changelog                     |  1 +
 debian/patches/web-path-change.patch | 16 +++++++++-------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cc6689c..0e4c54f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-sidekiq (3.4.2~dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Bump ruby-connection-pool dependency >= 2.1.1.
+  * Refresh patch.
 
  -- Pirate Praveen <praveen at debian.org>  Sat, 02 May 2015 17:49:18 +0530
 
diff --git a/debian/patches/web-path-change.patch b/debian/patches/web-path-change.patch
index 6812a05..11728ef 100644
--- a/debian/patches/web-path-change.patch
+++ b/debian/patches/web-path-change.patch
@@ -4,14 +4,16 @@ Description: use web directory from /usr/share
 Author: Pirate Praveen <praveen at debian.org>
 Last-Updated: 2014-08-27
 
---- a/lib/sidekiq/web.rb
-+++ b/lib/sidekiq/web.rb
-@@ -11,7 +11,7 @@
-   class Web < Sinatra::Base
-     include Sidekiq::Paginator
+Index: ruby-sidekiq/lib/sidekiq/web.rb
+===================================================================
+--- ruby-sidekiq.orig/lib/sidekiq/web.rb
++++ ruby-sidekiq/lib/sidekiq/web.rb
+@@ -13,7 +13,7 @@ module Sidekiq
+ 
+     use Rack::Protection, :use => :authenticity_token unless ENV['RACK_ENV'] == 'test'
  
 -    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 :public_folder, proc { "#{root}/assets" }
+     set :views, proc { "#{root}/views" }
      set :locales, ["#{root}/locales"]

-- 
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