[DRE-commits] [ruby-haml-magic-translations] 03/07: Drop obsolete patch

Jérémy Bobbio lunar at moszumanska.debian.org
Wed Sep 9 22:18:48 UTC 2015


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

lunar pushed a commit to branch master
in repository ruby-haml-magic-translations.

commit 1a52e458714c5b119f369ff6f9d88a165aa26602
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Sep 10 00:12:13 2015 +0200

    Drop obsolete patch
---
 debian/patches/do-not-use-try-method | 18 ------------------
 debian/patches/series                |  1 -
 2 files changed, 19 deletions(-)

diff --git a/debian/patches/do-not-use-try-method b/debian/patches/do-not-use-try-method
deleted file mode 100644
index 3d00a80..0000000
--- a/debian/patches/do-not-use-try-method
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Do not use #try
- #try comes from activesupport, so let's just not use it
-Bug-Debian: https://bugs.debian.org/759902
-Author: Jérémy Bobbio <lunar at debian.org>
-Last-Update: 2014-09-01
-
---- a/spec/haml/magic_translations_spec.rb
-+++ b/spec/haml/magic_translations_spec.rb
-@@ -8,7 +8,8 @@ require 'gettext/tools'
- # does not turn the encoding back to US-ASCII. Strange issue.
- class String
-   def strip_heredoc
--    indent = scan(/^[ \t]*(?=\S)/).min.try(:size) || 0
-+    shortest = scan(/^[ \t]*(?=\S)/).min
-+    indent = shortest ? shortest.size : 0
-     gsub(/^[ \t]{#{indent}}/, '')
-   end
- 
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 6ce8a16..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-do-not-use-try-method

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



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