[DRE-commits] [ruby-whitewash] 01/01: 0001-rename-data-dir-to-ruby-whitewash.patch rebased

Dmitry Borodaenko angdraug at moszumanska.debian.org
Mon Apr 18 02:18:27 UTC 2016


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

angdraug pushed a commit to branch master
in repository ruby-whitewash.

commit 69e76e1fc9669fb1e16d65558483e905331a409c
Author: Dmitry Borodaenko <angdraug at gmail.com>
Date:   Sun Apr 17 19:17:52 2016 -0700

    0001-rename-data-dir-to-ruby-whitewash.patch rebased
---
 .../patches/0001-rename-data-dir-to-ruby-whitewash.patch  | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch b/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch
index 11865c2..5bb4a94 100644
--- a/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch
+++ b/debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch
@@ -3,24 +3,23 @@ Date: Wed, 14 Sep 2011 18:10:46 +0300
 Subject: rename data dir to ruby-whitewash
 
 ---
- lib/whitewash.rb |    6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
+ lib/whitewash.rb | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/lib/whitewash.rb b/lib/whitewash.rb
-index 1446894..45e383e 100644
+index 59dc4eb..fe767f3 100644
 --- a/lib/whitewash.rb
 +++ b/lib/whitewash.rb
-@@ -120,9 +120,9 @@ class Whitewash
+@@ -121,9 +121,9 @@ class Whitewash
  
    private
  
 -  PATH = [ '/etc/whitewash',
 -           File.join(RbConfig::CONFIG['datadir'].untaint, 'whitewash'),
--           '/usr/local/share/whitewash/' ]
+-           '/usr/local/share/whitewash/',
 +  PATH = [ '/etc/ruby-whitewash',
 +           File.join(RbConfig::CONFIG['datadir'].untaint, 'ruby-whitewash'),
-+           '/usr/local/share/ruby-whitewash/' ]
++           '/usr/local/share/ruby-whitewash/',
+            File.expand_path('../data/whitewash/', File.dirname(__FILE__)) ]
  
    WHITELIST = 'whitelist.yaml'
- end
--- 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-whitewash.git



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