[DRE-commits] [ruby-stringex] 03/04: Drop obsolete patches
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Thu May 29 16:16:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to annotated tag debian/2.5.2-1
in repository ruby-stringex.
commit 6f472464971d93260287902e9dde56c658e7f96d
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Fri May 30 01:14:21 2014 +0900
Drop obsolete patches
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
debian/patches/0001-Drop-RubyGems-depends.patch | 57 -------------------------
debian/patches/0002-add-minitest-autorun.patch | 15 -------
debian/patches/series | 2 -
3 files changed, 74 deletions(-)
diff --git a/debian/patches/0001-Drop-RubyGems-depends.patch b/debian/patches/0001-Drop-RubyGems-depends.patch
deleted file mode 100644
index 0e174bf..0000000
--- a/debian/patches/0001-Drop-RubyGems-depends.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From: Youhei SASAKI <uwabami at gfd-dennou.org>
-Date: Wed, 19 Jun 2013 19:29:31 +0900
-Subject: Drop RubyGems depends
-
-Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
----
- test/acts_as_url/adapter/active_record.rb | 2 --
- test/acts_as_url/adapter/data_mapper.rb | 4 ----
- test/acts_as_url/adapter/mongoid.rb | 2 --
- test/redcloth_to_html_test.rb | 11 +----------
- 4 files changed, 1 insertion(+), 18 deletions(-)
-
---- 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/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'
--gem 'dm-migrations'
--gem 'dm-validations'
- require 'dm-core'
- require 'dm-migrations'
- require 'dm-validations'
---- 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/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
-- gem 'RedCloth'
--rescue LoadError
-- puts
-- puts ">> Could not load RedCloth. String#to_html was not tested."
-- puts ">> Please gem install RedCloth if you'd like to use this functionality."
-- puts
--end
-+require 'redcloth'
-
- class StringExtensionsTest < Test::Unit::TestCase
- def setup
diff --git a/debian/patches/0002-add-minitest-autorun.patch b/debian/patches/0002-add-minitest-autorun.patch
deleted file mode 100644
index 5ec5d6a..0000000
--- a/debian/patches/0002-add-minitest-autorun.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-From: Youhei SASAKI <uwabami at gfd-dennou.org>
-Date: Tue, 11 Feb 2014 00:51:09 +0900
-Subject: add minitest/autorun
-
-Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
----
- test/test_helper.rb | 1 +
- 1 file changed, 1 insertion(+)
-
---- ruby-stringex.orig/test/test_helper.rb
-+++ ruby-stringex/test/test_helper.rb
-@@ -1,2 +1,3 @@
-+require 'minitest/autorun'
- require 'test/unit'
- $: << File.join(File.expand_path(File.dirname(__FILE__)), '../lib')
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index e902fcd..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-0001-Drop-RubyGems-depends.patch
-0002-add-minitest-autorun.patch
--
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