From 0475db5fab9bf74a3da810da9fbbb8c67237a8e2 Mon Sep 17 00:00:00 2001 From: metaprime Date: Sat, 18 Nov 2017 20:31:50 -0800 Subject: [PATCH 1/3] Add Coveralls code coverage badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 85f08b81..890f52d3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Build Status](https://travis-ci.org/RipMeApp/ripme.svg?branch=master)](https://travis-ci.org/RipMeApp/ripme) [![Join the chat at https://gitter.im/RipMeApp/Lobby](https://badges.gitter.im/RipMeApp/Lobby.svg)](https://gitter.im/RipMeApp/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Coverage Status](https://coveralls.io/repos/github/RipMeApp/ripme/badge.svg?branch=master)](https://coveralls.io/github/RipMeApp/ripme?branch=master) Album ripper for various websites. Runs on your computer. Requires Java 8. From a95cc719d2d2021bed43eb0f9619e2ff9fb451e9 Mon Sep 17 00:00:00 2001 From: metaprime Date: Sat, 18 Nov 2017 20:40:28 -0800 Subject: [PATCH 2/3] pom.xml: Coveralls plugins --- pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pom.xml b/pom.xml index bd16b6af..b661de5a 100644 --- a/pom.xml +++ b/pom.xml @@ -88,6 +88,25 @@ 1.8 + + org.eluder.coveralls + coveralls-maven-plugin + 4.3.0 + + + + org.jacoco + jacoco-maven-plugin + 0.7.6.201602180812 + + + prepare-agent + + prepare-agent + + + + From 1e47413fdbbf7beefb53578d08dd47e54910ba14 Mon Sep 17 00:00:00 2001 From: metaprime Date: Sat, 18 Nov 2017 22:52:42 -0800 Subject: [PATCH 3/3] Issue #226: Temporarily disable ImagefapRipperTest because fap.to is unreachable. --- .../ripme/tst/ripper/rippers/ImagefapRipperTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ImagefapRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ImagefapRipperTest.java index d5a1aca3..bd2f5a49 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ImagefapRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ImagefapRipperTest.java @@ -11,6 +11,10 @@ public class ImagefapRipperTest extends RippersTest { public void testImagefapAlbums() throws IOException { Map testURLs = new HashMap<>(); + + /* + Temporarily disabled test. See issue https://github.com/RipMeApp/ripme/issues/226 + // Album with specific title testURLs.put(new URL("http://www.imagefap.com/pictures/4649440/Frozen-%28Elsa-and-Anna%29?view=2"), "Frozen (Elsa and Anna)"); @@ -18,6 +22,7 @@ public class ImagefapRipperTest extends RippersTest { // New URL format testURLs.put(new URL("http://www.imagefap.com/gallery.php?pgid=fffd68f659befa5535cf78f014e348f1"), "imagefap_fffd68f659befa5535cf78f014e348f1"); + */ for (URL url : testURLs.keySet()) { ImagefapRipper ripper = new ImagefapRipper(url);