introduces the new ErrorLog class, to store exceptions and warn about them if needed
Scraper class now sends the exception to an ErrorLog, which stores them and warns if required
introduces the new Request class, who will be in charge of requesting the document to the server
Scraper class now delegates the request and content_type to the Request class
fix Request spec: we are testing Request, not Scraper here
this reader is not needed
be lax on spec about the message on socket error exception
stores full exceptions instead of just the message
renames ErrorLog as ExceptionLog
Extracts the #exceptions and #ok methods to a module
moves deprecated methods out of the way
adds magic encoding line where missing
introduces the MetaInspector::URL class, which is in charge of adding a default schema, normalize, and responding to #scheme, #host, and #root_url
Scraper delegates some of its methods to URL and Request
classes that include Exceptionable simply delegate #exceptions and #ok? to the ExceptionLog
Scraper now passes the full URL instance, not just the string, to the Request, so it will be able to manipulate it later if needed after redirections
URLs can now be updated. This allows to change them after following a redirection, to reflect the final URL
URL and URL components are now changed after a redirect
Added specs for new functionality
Cosmetic change to remove return
Changed test to check for url instead of root_url
fix specs that were not testing anything