leveled_cache 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/active_support/cache/leveled_cache_store.rb +7 -0
- data/lib/leveled_cache/store.rb +2 -2
- data/lib/leveled_cache/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f597185c59d214c2f6396915db005e211e79f4375a25d058aef938770a722d54
|
4
|
+
data.tar.gz: 61587ee3207b34d56253dd9fae2ef9d57bc086613c6df78c41b845b248fd355d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d0aec381468a1e2e645b5fb7a5511e0a1eaef2aadb5a136b55a713572dceb9c54a4380a754d27320c783ef60f576982a2a3006f5d8ca73b8b38d943db0c2479
|
7
|
+
data.tar.gz: 92dea48382f5b7efd93a4099bec9016c75d2cfce41fa5d8745d6c9e725493d06a7746544b3d058c2a1f269980a1d0488dc40abf4fcfefab6921a3d404f057a54
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -47,7 +47,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
47
47
|
|
48
48
|
## Contributing
|
49
49
|
|
50
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/dpirotte/leveled_cache. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/
|
50
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dpirotte/leveled_cache. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/dpirotte/leveled_cache/blob/main/CODE_OF_CONDUCT.md).
|
51
51
|
|
52
52
|
## License
|
53
53
|
|
@@ -55,4 +55,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
55
55
|
|
56
56
|
## Code of Conduct
|
57
57
|
|
58
|
-
Everyone interacting in the LeveledCache project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
58
|
+
Everyone interacting in the LeveledCache project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dpirotte/leveled_cache/blob/main/CODE_OF_CONDUCT.md).
|
data/lib/leveled_cache/store.rb
CHANGED
@@ -125,13 +125,13 @@ module LeveledCache
|
|
125
125
|
end
|
126
126
|
|
127
127
|
def write_entry(key, entry, **options)
|
128
|
-
@caches.
|
128
|
+
@caches.map do |cache|
|
129
129
|
cache.write(key, entry, options)
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
133
133
|
def delete_entry(key, **options)
|
134
|
-
@caches.
|
134
|
+
@caches.map do |cache|
|
135
135
|
cache.delete(key, options)
|
136
136
|
end
|
137
137
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leveled_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Pirotte
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- gemfiles/activesupport_7.0.gemfile
|
51
51
|
- gemfiles/activesupport_7.1.gemfile
|
52
52
|
- gemfiles/activesupport_main.gemfile
|
53
|
+
- lib/active_support/cache/leveled_cache_store.rb
|
53
54
|
- lib/leveled_cache.rb
|
54
55
|
- lib/leveled_cache/store.rb
|
55
56
|
- lib/leveled_cache/version.rb
|