[DRE-commits] [nanoc] 05/09: refresh patches
Cédric Boutillier
boutil at moszumanska.debian.org
Sat Apr 22 22:51:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch experimental
in repository nanoc.
commit 9a9e5ed25d67d74cef3b21ba2f853f259dc4852f
Author: Cédric Boutillier <boutil at debian.org>
Date: Sat Apr 22 00:53:35 2017 +0200
refresh patches
---
debian/patches/no_privacy_breach.patch | 4 ++--
debian/patches/no_simplecov.patch | 12 +++++++++---
debian/patches/no_vcr.patch | 6 +++---
debian/patches/no_w3c_validators.patch | 4 ++--
4 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/debian/patches/no_privacy_breach.patch b/debian/patches/no_privacy_breach.patch
index 6106334..1e9e860 100644
--- a/debian/patches/no_privacy_breach.patch
+++ b/debian/patches/no_privacy_breach.patch
@@ -6,7 +6,7 @@ Description: remove privacy breaches from the documentation
Origin: vendor
Author: Cédric Boutillier <boutil at debian.org>
Forwarded: no
-Last-Update: 2016-12-29
+Last-Update: 2017-04-22
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Last-Update: 2016-12-29
-[](http://rubygems.org/gems/nanoc)
-[](https://travis-ci.org/nanoc/nanoc)
-[](https://codeclimate.com/github/nanoc/nanoc)
--[](https://coveralls.io/r/nanoc/nanoc)
+-[](https://codecov.io/gh/nanoc/nanoc)
-
-
-
diff --git a/debian/patches/no_simplecov.patch b/debian/patches/no_simplecov.patch
index 3b97c69..8cc7373 100644
--- a/debian/patches/no_simplecov.patch
+++ b/debian/patches/no_simplecov.patch
@@ -1,25 +1,31 @@
Description: do not load simplecov in tests
Author: Cédric Boutillier <boutil at debian.org>
Forwarded: not needed
-Last-Update: 2017-01-04
+Last-Update: 2017-04-22
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
-@@ -1,6 +1,3 @@
+@@ -1,9 +1,3 @@
-require 'simplecov'
-SimpleCov.start
-
+-require 'codecov'
+-SimpleCov.formatter = SimpleCov::Formatter::Codecov
+-
require 'nanoc'
require 'nanoc/cli'
require 'nanoc/spec'
--- a/test/helper.rb
+++ b/test/helper.rb
-@@ -1,8 +1,5 @@
+@@ -1,11 +1,5 @@
$VERBOSE = false
-require 'simplecov'
-SimpleCov.start
-
+-require 'codecov'
+-SimpleCov.formatter = SimpleCov::Formatter::Codecov
+-
require 'minitest/autorun'
require 'mocha/setup'
diff --git a/debian/patches/no_vcr.patch b/debian/patches/no_vcr.patch
index 32ccc71..121e491 100644
--- a/debian/patches/no_vcr.patch
+++ b/debian/patches/no_vcr.patch
@@ -4,11 +4,11 @@ Description: ruby-vcr is not yet available in Debian archive
Author: Cédric Boutillier <boutil at debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695195
Forwarded: not-needed
-Last-Update: 2017-01-04
+Last-Update: 2017-04-22
--- a/test/helper.rb
+++ b/test/helper.rb
-@@ -5,17 +5,11 @@
+@@ -8,17 +8,11 @@
require 'minitest/autorun'
require 'mocha/setup'
@@ -57,7 +57,7 @@ Last-Update: 2017-01-04
# Create files
--- a/test/checking/checks/test_html.rb
+++ b/test/checking/checks/test_html.rb
-@@ -25,7 +25,7 @@
+@@ -21,7 +21,7 @@
end
end
diff --git a/debian/patches/no_w3c_validators.patch b/debian/patches/no_w3c_validators.patch
index af55ea7..c849ddd 100644
--- a/debian/patches/no_w3c_validators.patch
+++ b/debian/patches/no_w3c_validators.patch
@@ -1,7 +1,7 @@
Description: disable test requiring w3c_validators
Author: Cédric Boutillier <boutil at debian.org>
Forwarded: no
-Last-Update: 2017-01-04
+Last-Update: 2017-04-22
--- a/test/checking/checks/test_html.rb
+++ b/test/checking/checks/test_html.rb
@@ -13,4 +13,4 @@ Last-Update: 2017-01-04
+ def _test_run_ok
require 'w3c_validators'
- if ::W3CValidators::VERSION =~ /\A1\.3|1\.3\.1\z/
+ VCR.use_cassette('html_run_ok') do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/nanoc.git
More information about the Pkg-ruby-extras-commits
mailing list