[DRE-commits] [ruby-slim] 05/08: Remove obsolete patches

Jérémy Bobbio lunar at moszumanska.debian.org
Wed Sep 9 15:56:10 UTC 2015


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

lunar pushed a commit to branch master
in repository ruby-slim.

commit 040f44e001b753a335df49dd14706788c4dbf9a7
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Wed Sep 9 16:43:23 2015 +0200

    Remove obsolete patches
---
 ...01-Drop-tests-using-Sinatra-from-Rakefile.patch | 41 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 42 deletions(-)

diff --git a/debian/patches/0001-Drop-tests-using-Sinatra-from-Rakefile.patch b/debian/patches/0001-Drop-tests-using-Sinatra-from-Rakefile.patch
deleted file mode 100644
index 10c9ee5..0000000
--- a/debian/patches/0001-Drop-tests-using-Sinatra-from-Rakefile.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar at debian.org>
-Date: Fri, 11 Apr 2014 10:01:12 +0200
-Subject: Drop tests using Sinatra from Rakefile
-
-They need files shipped with Sinatra source to work.
----
- Rakefile |   21 ---------------------
- 1 file changed, 21 deletions(-)
-
-diff --git a/Rakefile b/Rakefile
-index 9c1da5f..6727820 100644
---- a/Rakefile
-+++ b/Rakefile
-@@ -46,27 +46,6 @@ namespace 'test' do
-     t.test_files = FileList['test/rails/test/test_*.rb']
-     t.verbose = true
-   end
--
--  begin
--    require 'rubygems'
--    require 'sinatra'
--    spec = Gem::Specification.find_by_name('sinatra')
--    Rake::TestTask.new('sinatra') do |t|
--      # FIXME: Rename deprecated attribute
--      file = "#{spec.gem_dir}/test/slim_test.rb"
--      code = File.read(file)
--      code.gsub!('attr_wrapper', 'attr_quote')
--      File.open(file, 'w') {|out| out.write(code) }
--
--      # Run Slim integration test in Sinatra
--      t.test_files = FileList[file]
--      t.verbose = true
--    end
--  rescue LoadError
--    task :sinatra do
--      abort 'Sinatra is not available'
--    end
--  end
- end
- 
- begin
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index b245259..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Drop-tests-using-Sinatra-from-Rakefile.patch

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



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