cloudspace/rss.cloudspace.com — pull request #21 by josh-lauer (2014-04-07 21:16:25+00:00)
Title: major refactor of the metadata parser

changed the Cheffile and Vagrantfile to use postgres 9.3
added hashie gem for untility
added posix-spawn gem to stop memory leaks in cocaine and paperclip
minor refactoring of Parseable module
added JSON field to Feeds to hold parser options for feed items in the feed
added utility methods to Feed model to facilitate getting/setting options
added Feed#image_url= method to allow setting images on Feeds by setting the url
WorkerErrors now save the exception class
the services folder is now required via a single file rather than blindly requiring the directory glog
factored Delegator and Attributable mixins out of the parser base class
refactored Service::Parser::Feed class
refactored Service::Parser::FeedItem class
refactored Service::Parser::Metadata class to use embedded Strategy classes
added Service::Parser::Image class to analyze images and normalize image urls
refactored Worker and Supervisor classes
created generic Options class (subclassed off hash) to hold settings in parsers
created Strategy classes to parse documents for images in various ways
added tests for Service::Parser::Image class, some tests remain to be written