- Fixed bug not allowing reloading collection cache
- Change debug to info for cache hits
- Fixed issue with
#clear_cache
method with Redis
- Improved
clear_cache
method foractive_support_cache
strategy to no longer usedelete_matched
. - Introduced
.delete_from_cache
method to delete single cached resources.
- Renamed
ActiveResource::Collection#refresh
to#reload
to match Rails ORM naming convention. - Added a
ActiveResource::Collection.none
class method similar to RailsActiveRecord::QueryMethods.none
- Enhanced
ActiveResource::Collection#where
so that it returnsActiveResource::Collection.none
ifresource_class
is missing.- This is useful for when
where
clauses are chained on an emptyActiveResource::Collection
- This is useful for when
- Added callbacks to cache:
- Create/POST, refresh cache after successful POST request
- Update/PUT, refresh cache after successful PUT request
- Destroy/DELETE, invalidate cache after successful DELETE request
- Fixed issue with generator for SQLCache strategy tables
- CI Improvements
- Added annotations
- Runs tests from ActiveResource
- Separated Collection caching logic into ActiveCachedResource::Collection as opposed to monkey patching ActiveResource::Collection
- Changed name of SQL adapter from
active_record
toactive_record_sql
- Changed method name of ActiveCachedResource::Model from
clear
toclear_cache
- Minor patch on ActiveResource. Removed deprecator log.
- Minor patch on ActiveResource::Collection initializing attributes.
- Added ruby yard documentation
- Added LICENSE
- Improved gemspec
- Changed name of ActiveSupport::Cache adapter from
active_support
toactive_support_cache
- Initial release