Transferring blueprint from apiary.io
Initial commit
- Updating apiary documentation
- Organized gemfile
- Added test for optional fields in a profile
History scraping
- Added history page scraping
- Added tests for history page scraping
Refactor of a couple tests
- Made error checking more generic
- Removed un-needed set of property in profile class
Minor refactoring
- moved loading html into nokogiri only when the page is valid
Minor updates
- Added activesupport for object serialization (may replace as it pretty heavy handed)
- Added initialization of avatar_url in profile
Anime
- started anime scraper
Anime tests
- Added some basic tests for scraping an entire page
- Added tests for scraping html fragments
- Torn between using VCR for these tests as I will require many different pages for the different states of data.  May be better to just use html fragments to test scraping the optional parts of the page
Added missing files
Adding tests for anime scraping
Minor refactorings
Added code coverage
Testing updates
- Added tests for anime model
- Updated user history tests to include nil tests for anime and manga history
- Updated user history tests to include empty history tests for anime and manga history
- Updated anime scraper tests to include tests for scraping anime id, title, rank, and image_url
Refactoring
- Changed methods on scrapers to be class methods
- Refactored tests to reflect class method changes
- Remove == method on anime as it wasn't needed anymore
- Fleshed out user controller profile and history endpoints
- Added tests for profile and history endpoints
Anime changes
- Created wrapper for HTTParty to handle setting default url and headers
- Updated existing tests and controller actions to use wrapper
- Updated controller specs to use rspec response assertions
- Added animelist endpoint (controller action, scraper, and tests)
Fixed bad apiary documentation
Refactored anime model and added manga model
- Updated anime model case statements to return nil if no match is found
- Added manga model and tests
Adding travis ci support
Manga List
- added manga list scraping code and tests
- updated readme to include project goals