{"push_id":953091494,"size":12,"distinct_size":12,"ref":"refs/heads/master","head":"37c43a7fda16e047cbc1b1d7b17cbd0b4fe8775f","before":"d16e44ddd726cc2f6f53e4e8493ccd1ab2fe7d08","commits":[{"sha":"6c58ea7e0bbfeaf2b5c0922a2461cb4199949ee4","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"Alfredo Amatriain"},"message":"Added a new backend for Entity Store. It is called \"Dummy\".\n\nThis new dummy backend does not actually persist request bodies. It just implements the API but does not cache anything. It is useful for use cases in which the body of responses coming from the cache is not interesting.\n\nThe main adventage is that this keeps the disk from filling up periodically with persisted response bodies.\n\nThis new Dummy backend can be used by setting the entity store option either to nil or to the \"dummy:\" URL.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/6c58ea7e0bbfeaf2b5c0922a2461cb4199949ee4"},{"sha":"0b837e83d42e381f02e7ec390858549cf353717b","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"Alfredo Amatriain"},"message":"Better comment to explain the use of the new Dummy backend for the entity store.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/0b837e83d42e381f02e7ec390858549cf353717b"},{"sha":"0953e7f4f4ffed294dc1ec0f5aa6bc9c8bdcc50d","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"Alfredo Amatriain"},"message":"Avoid the use of magic strings when instancing a dummy backend for the entity store.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/0953e7f4f4ffed294dc1ec0f5aa6bc9c8bdcc50d"},{"sha":"54e2996c774b08a76cf1e6d2a20e5befb352cd60","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"amatriain"},"message":"Minor change: inspect nil instead of the uri passed by the client when instancing a Dummy backend.\n\nThis is functionally the same, but it avoids inspecting a client-supplied string, which is generally a bad idea security-wise.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/54e2996c774b08a76cf1e6d2a20e5befb352cd60"},{"sha":"330ed62dd1735677904dea51bb4b43eee03c4a03","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"amatriain"},"message":"Change backend class name from Dummy to Noop.\n\nIt should be more self-explanatory.\n\nAlso the url scheme that uses this backend is 'dummy:' (it can also be used by passing a nil value to the entitystore option).","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/330ed62dd1735677904dea51bb4b43eee03c4a03"},{"sha":"1bb329029d4576b2149debc2465cbc1b95270b48","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"amatriain"},"message":"Changed Noop#write so that it returns the actual hash of the content and its size, same as other entitystore backends.\n\nThis is not very useful because the entity is not actually being persisted, but client code could use it to check this response for failures. In general it's a good idea to keep the behavior of the other backends.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/1bb329029d4576b2149debc2465cbc1b95270b48"},{"sha":"790de1d821a3e3a15750de74a1a414b839a9a3f5","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"amatriain"},"message":"Added tests for the Noop entitystore backend.\n\nThe module RackCacheEntityStoreImplementation cannot be included directly, unlike tests for other backends, because some of the tests there break when #open and #read always return nil. It's been necessary to duplicate some of the methods in the module, tweaking them for the particular case of the Noop backend.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/790de1d821a3e3a15750de74a1a414b839a9a3f5"},{"sha":"2eacdca12520bf3b67f7312485dae4b117ac462a","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"amatriain"},"message":"Noop backend now returns saner values from #open and #read.\n\nNoop#open returns an empty array. Noop#read returns an empty string.\n\nThis brings Noop in line with other backends, that always return rack-compatible bodies from #open (the empty array returned by Noop#open is suitable to be used as a Rack body, because it responds to #each).\n\nRemoved some conditionals that were necessary because Noop#read and #open returned nil.\n\nAdded a conditional so that MetaStore#store does not try to read the response body from the cache if the entitystore backend is a Noop. It would be a mistake because this backend always returns an empty body; this would mean that the response body would be replaced with an empty body every time a response was stored, and client code would never receive the response body, not even for requests that miss the cache.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/2eacdca12520bf3b67f7312485dae4b117ac462a"},{"sha":"a68a0e9c5df3e17100bca1af9f49e3b83ab72418","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"amatriain"},"message":"Updated README with information about Noop backend.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/a68a0e9c5df3e17100bca1af9f49e3b83ab72418"},{"sha":"f1e6f31c8e044ba7f099355b86c7db4fe941b590","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"amatriain"},"message":"Fixed tests (monkeypatching sha_like? is not working in CI for some reason).","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/f1e6f31c8e044ba7f099355b86c7db4fe941b590"},{"sha":"8e9cdb546a55b0d2efa6f40c84dc13b43d347119","author":{"email":"acea06ab3d237e846232d4929c3ae98fee2dabd6@gmail.com","name":"Alfredo Amatriain"},"message":"When restoring a response from the cache, default body value is [] instead of nil.\n\nNil is not a valid Rack response body (it doesn't respond to #each). It makes no sense that\nthe default body is nil if the body argument is not passed. It makes much more sense\nto use a default value of [], which is a valid empty body for a Rack response.","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/8e9cdb546a55b0d2efa6f40c84dc13b43d347119"},{"sha":"37c43a7fda16e047cbc1b1d7b17cbd0b4fe8775f","author":{"email":"17b9e1c64588c7fa6419b4d29dc1f4426279ba01@grosser.it","name":"Michael Grosser"},"message":"Merge pull request #130 from amatriain/nil-entity-store\n\nAdded a new Dummy backend for Entity Store","distinct":true,"url":"https://api.github.com/repos/rtomayko/rack-cache/commits/37c43a7fda16e047cbc1b1d7b17cbd0b4fe8775f"}]}