Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/mem cache store #18

Merged
merged 6 commits into from
Apr 24, 2019
Merged

Feature/mem cache store #18

merged 6 commits into from
Apr 24, 2019

Conversation

ahukkanen
Copy link
Collaborator

Supersedes #17 - Originally by @armandfardeau

This module is an excellent contribution to the Decidim universe, unfortunately, it was incompatible with mem_cache_store that we use in production. Feel free to do a review if something is not crystal clear, or not good.

  • Add compatibility with mem_cache_store
  • Do not define multiple hooks in the same example group
  • Gem / dependencies should be sorted in an alphabetical order.

armandfardeau and others added 4 commits April 5, 2019 15:34
* Add compatibility with mem_cache_store

*  Do not define multiple hooks in the same example group.

* Gem / dependencies should be sorted in an alphabetical order.
- When the cache implementation does not implement
  `delete_matched` (e.g. memcached), clear all the possibly
  existing cache keys
- Update the specs to test this case properly
- Add the `dalli` gem for testing with the Memcached cache backend
@codecov-io
Copy link

codecov-io commented Apr 24, 2019

Codecov Report

Merging #18 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #18      +/-   ##
=========================================
+ Coverage   96.87%   96.9%   +0.03%     
=========================================
  Files          33      33              
  Lines         703     710       +7     
=========================================
+ Hits          681     688       +7     
  Misses         22      22
Impacted Files Coverage Δ
lib/decidim/term_customizer/loader.rb 100% <100%> (ø) ⬆️
...m/term_customizer/admin/import_translation_keys.rb 95.45% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99720a1...f1c31db. Read the comment docs.

Do not pass the translation_set_id for the translations creation
because they are already created through the translation set.
@ahukkanen ahukkanen merged commit 3bde688 into master Apr 24, 2019
@ahukkanen ahukkanen deleted the OpenSourcePolitics-master branch April 24, 2019 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants