[DRE-commits] [ruby-safe-yaml] 04/06: refresh use_ruby-indentation.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Thu May 15 22:33:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-safe-yaml.
commit 30ab201cf6a33f2b5c47ae6a53407d7d14c7b615
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu May 15 17:32:49 2014 +0200
refresh use_ruby-indentation.patch
---
debian/patches/use_ruby-indentation.patch | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/debian/patches/use_ruby-indentation.patch b/debian/patches/use_ruby-indentation.patch
index 3deb8b7..b5ea532 100644
--- a/debian/patches/use_ruby-indentation.patch
+++ b/debian/patches/use_ruby-indentation.patch
@@ -3,20 +3,20 @@ Description: use 'indentation' gem instead of unpackaged 'heredoc_unindent'
indentation gem.
Author: Cédric Boutillier <boutil at debian.org>
Forwarded: not-needed
-Last-Update: 2014-01-10
+Last-Update: 2014-05-10
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
-@@ -22,6 +22,11 @@
+@@ -29,7 +29,11 @@
require "safe_yaml/load"
require "ostruct"
require "hashie"
-require "heredoc_unindent"
-+#require "heredoc_unindent"
+require "indentation"
-
- require File.join(HERE, "resolver_specs")
+
+class String
+ alias unindent reset_indentation
+end
+
+ # Stolen from Rails:
+ # https://github.com/rails/rails/blob/3-2-stable/activesupport/lib/active_support/core_ext/kernel/reporting.rb#L10-25
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-safe-yaml.git
More information about the Pkg-ruby-extras-commits
mailing list