[DRE-commits] [ruby-stringex] 02/05: Refresh patches
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Mon Feb 10 16:21:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch master
in repository ruby-stringex.
commit ff456d5903bbdc47bfa4d299d582556e758fc4b0
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Tue Feb 11 01:06:30 2014 +0900
Refresh patches
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
debian/patches/0001-Drop-RubyGems-depends.patch | 32 ++++++++++++-------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/debian/patches/0001-Drop-RubyGems-depends.patch b/debian/patches/0001-Drop-RubyGems-depends.patch
index b68bc81..0e174bf 100644
--- a/debian/patches/0001-Drop-RubyGems-depends.patch
+++ b/debian/patches/0001-Drop-RubyGems-depends.patch
@@ -10,16 +10,16 @@ Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
test/redcloth_to_html_test.rb | 11 +----------
4 files changed, 1 insertion(+), 18 deletions(-)
---- ruby-stringex.orig/test/acts_as_url/adapter/active_record.rb
-+++ ruby-stringex/test/acts_as_url/adapter/active_record.rb
+--- ruby-stringex.orig/test/unit/acts_as_url/adapter/active_record.rb
++++ ruby-stringex/test/unit/acts_as_url/adapter/active_record.rb
@@ -1,5 +1,3 @@
-require 'rubygems'
-gem 'activerecord'
require 'active_record'
require "stringex"
# Reload adapters to make sure ActsAsUrl sees the ORM
---- ruby-stringex.orig/test/acts_as_url/adapter/data_mapper.rb
-+++ ruby-stringex/test/acts_as_url/adapter/data_mapper.rb
+--- ruby-stringex.orig/test/unit/acts_as_url/adapter/data_mapper.rb
++++ ruby-stringex/test/unit/acts_as_url/adapter/data_mapper.rb
@@ -1,7 +1,3 @@
-require 'rubygems'
-gem 'dm-core'
@@ -28,23 +28,23 @@ Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
require 'dm-core'
require 'dm-migrations'
require 'dm-validations'
---- ruby-stringex.orig/test/acts_as_url/adapter/mongoid.rb
-+++ ruby-stringex/test/acts_as_url/adapter/mongoid.rb
+--- ruby-stringex.orig/test/unit/acts_as_url/adapter/mongoid.rb
++++ ruby-stringex/test/unit/acts_as_url/adapter/mongoid.rb
@@ -1,5 +1,3 @@
-require 'rubygems'
-gem 'mongoid'
require 'mongoid'
require 'stringex'
# Reload adapters to make sure ActsAsUrl sees the ORM
---- ruby-stringex.orig/test/redcloth_to_html_test.rb
-+++ ruby-stringex/test/redcloth_to_html_test.rb
-@@ -1,15 +1,6 @@
- require 'test_helper'
- require 'stringex'
--
+--- ruby-stringex.orig/test/unit/string_extensions_test.rb
++++ ruby-stringex/test/unit/string_extensions_test.rb
+@@ -7,15 +7,7 @@
+ $KCODE = "U"
+ end
+
+-# Try loading RedCloth but it's okay if it's not there
-begin
-- require 'rubygems'
-- require 'RedCloth'
+- gem 'RedCloth'
-rescue LoadError
- puts
- puts ">> Could not load RedCloth. String#to_html was not tested."
@@ -53,5 +53,5 @@ Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
-end
+require 'redcloth'
- class RedclothToHTMLTest < Test::Unit::TestCase
- if defined?(RedCloth)
+ class StringExtensionsTest < Test::Unit::TestCase
+ def setup
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-stringex.git
More information about the Pkg-ruby-extras-commits
mailing list