Permalink
Commits on Aug 21, 2009
  1. Version bump to 0.2.0

    committed Aug 21, 2009
  2. Added NotAvailableError back into the mix

    * Makes sense to group timeout, invalid response, and limit errors
    * Much less refactoring required for existing clients - just continue to rescue NotAvailableError
    committed Aug 21, 2009
Commits on Aug 20, 2009
  1. Create custom APICache::TimeoutError so that all APICache errors can …

    …be easily rescued together
    committed Aug 20, 2009
  2. Any exception raised in the block will now be handled correctly i.e. …

    …rescued by APICache and cached result returned if available.
    
    The exception will then be re-raised if no cached value available so that application code can properly handle different classes of exceptions.
    
    No need to raise custom APICache::Invalid exception in the block.
    committed Aug 20, 2009
  3. Clean up formatting

    committed Aug 20, 2009
Commits on May 5, 2009
  1. Refactoring: Check whether API is queryable internally when calling g…

    …et method
    
    * Reduces coupling
    * Added meaningful message to exception if API queried too recently
    committed May 5, 2009
  2. Store API query times in the cache store rather than in memory

    * Prevents effectively a memory leak
    * Behaves correctly in a multi process setup
    committed May 5, 2009
  3. API CHANGE: Simplification to API - no need to call start before using

    * Made store a simple accessor - if not set it just defaults to memory store
    * Updated the docs
    committed May 5, 2009
  4. Docs and cleanup

    committed May 5, 2009
  5. Support using any moneta store as the cache location

    * Also added some specs for the APICache.start method
    * Removed the MemcacheStore since that is now redundant
    committed May 4, 2009
Commits on May 4, 2009
  1. Fixed formatting

    committed May 4, 2009
  2. INTERFACE CHANGE: Added sane logging

    * replace the crazy custom logger with standard logger / logger of your choice
    committed May 4, 2009
  3. Fixed and improved rdoc documentation

    * Changed the readme file to be rdoc formatted
    * For some reason APICache::Cache makes RDoc think APICache is a module...
    committed May 4, 2009
  4. Massive refactoring to the internals to simplify

    * Move per call configuration out to API/Cache classes thereby reducing knowledge of their internals by APICache class
    * Simpler mocked specs for APICache
    * Proper specs for the API and Cache classes
    committed May 4, 2009
Commits on Mar 30, 2009
  1. Clean up code formatting

    committed Mar 30, 2009
  2. Version bump to 0.1.2

    committed Mar 30, 2009
Commits on Feb 17, 2009
  1. Version bump to 0.1.1

    committed Feb 17, 2009