[DRE-commits] [coderay] 04/14: restore lacking strings

Daisuke Higuchi dai at moszumanska.debian.org
Sun Oct 22 15:26:56 UTC 2017


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

dai pushed a commit to branch master
in repository coderay.

commit 9a8a85bc970e993e7857b44f033a5ddbb7e08929
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Sun Oct 22 23:58:28 2017 +0900

    restore lacking strings
---
 debian/patches/0001-Remove-rubygems-depends.patch | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/debian/patches/0001-Remove-rubygems-depends.patch b/debian/patches/0001-Remove-rubygems-depends.patch
index 94e6b89..3efa7c3 100644
--- a/debian/patches/0001-Remove-rubygems-depends.patch
+++ b/debian/patches/0001-Remove-rubygems-depends.patch
@@ -8,11 +8,11 @@ Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
  lib/coderay/for_redcloth.rb  |   13 +------------
  2 files changed, 3 insertions(+), 21 deletions(-)
 
-diff --git a/lib/coderay/encoders/json.rb b/lib/coderay/encoders/json.rb
-index a9e40dc..51a8539 100644
---- a/lib/coderay/encoders/json.rb
-+++ b/lib/coderay/encoders/json.rb
-@@ -20,15 +20,8 @@ module Encoders
+Index: coderay/lib/coderay/encoders/json.rb
+===================================================================
+--- coderay.orig/lib/coderay/encoders/json.rb
++++ coderay/lib/coderay/encoders/json.rb
+@@ -20,15 +20,9 @@ module Encoders
      begin
        require 'json'
      rescue LoadError
@@ -26,14 +26,15 @@ index a9e40dc..51a8539 100644
 -        raise
 -      end
 +      $stderr.puts "The JSON encoder needs the JSON library.\n" \
++        "Please gem install json."
 +      raise
      end
      
      register_for :json
-diff --git a/lib/coderay/for_redcloth.rb b/lib/coderay/for_redcloth.rb
-index f9df32b..88ef585 100644
---- a/lib/coderay/for_redcloth.rb
-+++ b/lib/coderay/for_redcloth.rb
+Index: coderay/lib/coderay/for_redcloth.rb
+===================================================================
+--- coderay.orig/lib/coderay/for_redcloth.rb
++++ coderay/lib/coderay/for_redcloth.rb
 @@ -13,18 +13,7 @@ module CodeRay
    module ForRedCloth
      

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



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