Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add website_url arguement to Govspeak::Document#extracted_links #122

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

SebAshton
Copy link
Contributor

This PR adds the ability to set an optional argument on Govspeak::Document#extracted_links which will mean all returned URLs are fully qualified.

@SebAshton SebAshton force-pushed the add-website-root-to-link-extractor branch 2 times, most recently from ac0062c to 3e7dbfb Compare January 11, 2018 17:11
@@ -0,0 +1,28 @@
require "test_helper"

class GovspeakLinkExtractorWithWebsiteRootTest < Minitest::Test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be tempted to just merge this in with the other tests for the link extractor.

@SebAshton SebAshton force-pushed the add-website-root-to-link-extractor branch from 3e7dbfb to 33e5f26 Compare January 12, 2018 09:04
@SebAshton SebAshton merged commit 8a5227c into master Jan 12, 2018
@SebAshton SebAshton mentioned this pull request Jan 12, 2018
@issyl0 issyl0 deleted the add-website-root-to-link-extractor branch October 22, 2019 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants