Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Refactor feed for stability #4

Merged

Conversation

CloCkWeRX
Copy link
Member

This set of refactoring treats the ATDISPlanningAlertsFeed more like an application than a library - think what Mechanize is to HTTP Client.

I've added basic specs and refactored the order in which things are processed (better application of SRP) but at a cost of being potentially more fragile.

Features added:

  • Rudimentary test coverage
  • Logging is a bit more configurable
  • A feed can be tagged as flakey via the options, so that HTTP 500 errors in the middle of the feed are logged instead of raised.

Bugs worked around or fixed:

@henare henare self-assigned this Mar 22, 2016
@henare henare merged commit 7acbbe2 into planningalerts-scrapers:master Apr 3, 2016
@CloCkWeRX CloCkWeRX deleted the refactor_feed_for_stability branch April 3, 2016 09:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Malformed pagination causes problems
2 participants