[DRE-commits] [ruby-css-parser] 03/11: Refresh patches
Lucas Kanashiro
kanashiro at moszumanska.debian.org
Sun Aug 27 23:40:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
kanashiro pushed a commit to branch master
in repository ruby-css-parser.
commit 0dbf08e6aa05e25801cd29d4b5ebf4e6e4bd4b15
Author: Lucas Kanashiro <kanashiro at debian.org>
Date: Fri Aug 11 13:09:26 2017 -0300
Refresh patches
---
debian/changelog | 1 +
debian/patches/0001-Sanitize-test-suite.patch | 9 ++-------
debian/patches/0002-Disable-tests-that-hit-the-network.patch | 8 +++-----
3 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7cbee1d..685cd1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ ruby-css-parser (1.5.0.pre2-1) UNRELEASED; urgency=medium
[ Lucas Kanashiro ]
* New upstream version 1.5.0.pre2
+ * Refresh patches
-- Lucas Kanashiro <kanashiro at debian.org> Fri, 11 Aug 2017 12:58:54 -0300
diff --git a/debian/patches/0001-Sanitize-test-suite.patch b/debian/patches/0001-Sanitize-test-suite.patch
index a853705..23b26bf 100644
--- a/debian/patches/0001-Sanitize-test-suite.patch
+++ b/debian/patches/0001-Sanitize-test-suite.patch
@@ -6,15 +6,10 @@ Subject: Sanitize test suite
test/test_helper.rb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
-diff --git a/test/test_helper.rb b/test/test_helper.rb
-index ffe7a2e..e3d0b61 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
-@@ -1,6 +1,5 @@
- require 'rubygems'
+@@ -1,4 +1,3 @@
-require 'bundler/setup'
- require 'test/unit'
+ require 'maxitest/autorun'
require 'net/http'
require 'webrick'
--require File.dirname(__FILE__) + '/../lib/css_parser'
-+require 'css_parser'
diff --git a/debian/patches/0002-Disable-tests-that-hit-the-network.patch b/debian/patches/0002-Disable-tests-that-hit-the-network.patch
index 6bca936..954bb90 100644
--- a/debian/patches/0002-Disable-tests-that-hit-the-network.patch
+++ b/debian/patches/0002-Disable-tests-that-hit-the-network.patch
@@ -6,13 +6,11 @@ Subject: Disable tests that hit the network
test/test_css_parser_loading.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/test/test_css_parser_loading.rb b/test/test_css_parser_loading.rb
-index 20fc87c..c1111df 100644
--- a/test/test_css_parser_loading.rb
+++ b/test/test_css_parser_loading.rb
-@@ -160,4 +160,4 @@ class CssParserLoadingTests < Test::Unit::TestCase
- cp_without_exceptions.load_uri!("#{@uri_base}/no-exist.xyz")
- end
+@@ -207,4 +207,4 @@ class CssParserLoadingTests < Minitest::
+
+ cp_without_exceptions.load_uri!("#{@uri_base}/no-exist.xyz")
end
-end
+end if false # disable this entire test class
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-css-parser.git
More information about the Pkg-ruby-extras-commits
mailing list