Commit graph

7 commits

Author SHA1 Message Date
Douglas Barbosa Alexandre
cad8bb187d
Parse the cached value when the it is false 2019-06-25 19:30:05 -03:00
Douglas Barbosa Alexandre
94d9e33586
Include the GitLab version in the cache key for Gitlab::JsonCache 2019-06-21 12:42:45 -03:00
Ash McKenzie
03220c00d9
Gitlab::JsonCache#parse_value ensure string 2019-06-20 18:00:44 +10:00
Douglas Barbosa Alexandre
69dc893da3
Fix spec for Gitlab::JsonCache 2019-03-20 16:51:46 -03:00
Douglas Barbosa Alexandre
7028b3761e
Gracefully handles excluded fields from attributes during serialization 2019-03-20 13:21:29 -03:00
Douglas Barbosa Alexandre
e96f2f248a
Mark cached value as persisted when is an instance of ActiveRecord::Base 2019-02-28 14:11:04 -03:00
Douglas Barbosa Alexandre
156788bae9
Port Gitlab::JsonCache to CE 2018-12-19 15:15:05 -02:00