sul-dlss-deprecated / triannon

Rails engine for working with storage of OpenAnnotations stored in Fedora4
Other
13 stars 1 forks source link

context caching - rest-client 1.8.0 issues #151

Closed ndushay closed 9 years ago

ndushay commented 9 years ago

See https://github.com/sul-dlss/triannon-service/issues/7. When there is a fix, we should update the cache used for testing the gem.

ndushay commented 9 years ago

ruby-rdf/rdf#175 is merged. Wait for new gem release and then use faraday to cache. Modeled here:

ruby-rdf/rdf#176

cbeer commented 9 years ago

And now merged too. You should be able to use the Faraday adapter, and set the FaradayAdapter.conn to a Faraday::Connection with the cache middleware.

dazza-codes commented 9 years ago

See also https://github.com/crohr/rest-client-components/pull/9

ndushay commented 9 years ago

when #151 is addressed, it should mean this can be closed.

ndushay commented 9 years ago

Gregg's fix https://github.com/crohr/rest-client-components/pull/9 was included in v1.4.0 of rest-client-components.

f339c022 addresses this. Exploring memory cache before cutting new gem release

ndushay commented 9 years ago

Punting on in-memory cache #150 at this time. Gem release 0.7.1 addresses this.