Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.2.0
Commits on Aug 21, 2009
  1. Version bump to 0.2.0

    authored
  2. Added NotAvailableError back into the mix

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

    authored
    …be easily rescued together
  2. Any exception raised in the block will now be handled correctly i.e. …

    authored
    …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.
  3. Clean up formatting

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

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

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

    authored
    * Made store a simple accessor - if not set it just defaults to memory store
    * Updated the docs
  4. Docs and cleanup

    authored
  5. Support using any moneta store as the cache location

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

    authored
  2. INTERFACE CHANGE: Added sane logging

    authored
    * replace the crazy custom logger with standard logger / logger of your choice
  3. Fixed and improved rdoc documentation

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

    authored
    * 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
Commits on Mar 30, 2009
  1. Clean up code formatting

    authored
  2. Version bump to 0.1.2

    authored
Commits on Feb 17, 2009
  1. Version bump to 0.1.1

    authored
Something went wrong with that request. Please try again.