lru_redux_store 0.1.0.alpha → 0.1.1.alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bcc0e3bda88de5344be1eed33c06f985ad9ec76e252cfd4732830c24afe5760
4
- data.tar.gz: 53478ad2d249f38690225ca43606f5e290cf6ab16de659f3d067459cf08ae9b8
3
+ metadata.gz: a78c1687db95df1efcfa881e61471cf0235306e94a779fb2c80bef963d25ed24
4
+ data.tar.gz: 460f8f17bd2afa4df2f989cd6bb236ef3b716d0371f14848ba1c3b0f3692ab0b
5
5
  SHA512:
6
- metadata.gz: c148200eb44a574e137cf57b4c9340055ed261db1c68cd54e0c8d02dbcfac1140893ec58576675cb2adbafdce584db4f6d14e56e55936a99380daea0e445ea3a
7
- data.tar.gz: 1104df0afb5b9112424b5c0366cd98d2e38d59fe10df7420d68ef9649656b6ae8401986169662091993244399a6c1bc090574a918dc87b2d14480e3ba001cd99
6
+ metadata.gz: e85300dba5b6a5d3509b0401051fb983eb6d11cf073c1c3252fed84a086cb2fe23ecf396cbc9b0ec088b4697919a63c11da0b2be80221432b8eac15562693165
7
+ data.tar.gz: f36df86a8c371fd0178c4c057dc89ecc3ff862d18cdda3b9c00951a01fdf77d0357522abb218ea42c41f31923c8e549568b0e55fb841438fb322d6a764d86178
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  Gemfile.lock
10
+ **/.DS_Store
data/.rubocop.yml CHANGED
@@ -33,3 +33,5 @@ Rails/TimeZone:
33
33
  Style/RedundantFetchBlock:
34
34
  Exclude:
35
35
  - spec/**/*_spec.rb
36
+ Layout/LineLength:
37
+ Enabled: false
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # LruReduxStore
1
+ # LruReduxStore [![Gem Version](https://badge.fury.io/rb/lru_redux_store.svg)](https://badge.fury.io/rb/lru_redux_store)
2
2
 
3
3
  This gem provides an [`ActiveSupport::Cache::Store`](https://api.rubyonrails.org/classes/ActiveSupport/Cache/Store.html) implementation backed by [`sin_lru_redux`](https://github.com/cadenza-tech/sin_lru_redux), an "efficient and thread-safe LRU cache". It's a drop-in alternative to `ActiveSupport::Cache::MemoryStore` that's bounded by entry count instead of estimated byte size.
4
4
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LruReduxStore
4
4
  # Current release version.
5
- VERSION = '0.1.0.alpha'
5
+ VERSION = '0.1.1.alpha'
6
6
  end
@@ -11,10 +11,8 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ['modosc@users.noreply.github.com']
12
12
 
13
13
  spec.summary = 'An ActiveSupport::Cache::Store backed by sin_lru_redux.'
14
- spec.description = 'A bounded, thread-safe, in-memory cache store for Rails. ' \
15
- 'Backed by sin_lru_redux for O(1) LRU eviction with optional TTL, ' \
16
- 'it stores raw values with no serialization and emits the same ' \
17
- 'interface as ActiveSupport::Cache::Store.'
14
+ spec.description = "This gem provides an ActiveSupport::Cache::Store implementation backed by sin_lru_redux, an \"efficient and thread-safe LRU cache\". It's a drop-in alternative to ActiveSupport::Cache::MemoryStore that's bounded by entry count instead of estimated byte size."
15
+
18
16
  spec.homepage = 'https://github.com/modosc/lru_redux_store'
19
17
  spec.required_ruby_version = '>= 3.3.0'
20
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lru_redux_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha
4
+ version: 0.1.1.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - jonathan schatz
@@ -205,9 +205,10 @@ dependencies:
205
205
  - - ">="
206
206
  - !ruby/object:Gem::Version
207
207
  version: 2.5.0
208
- description: A bounded, thread-safe, in-memory cache store for Rails. Backed by sin_lru_redux
209
- for O(1) LRU eviction with optional TTL, it stores raw values with no serialization
210
- and emits the same interface as ActiveSupport::Cache::Store.
208
+ description: This gem provides an ActiveSupport::Cache::Store implementation backed
209
+ by sin_lru_redux, an "efficient and thread-safe LRU cache". It's a drop-in alternative
210
+ to ActiveSupport::Cache::MemoryStore that's bounded by entry count instead of estimated
211
+ byte size.
211
212
  email:
212
213
  - modosc@users.noreply.github.com
213
214
  executables: []
@@ -260,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
261
  - !ruby/object:Gem::Version
261
262
  version: '0'
262
263
  requirements: []
263
- rubygems_version: 4.0.12
264
+ rubygems_version: 4.0.10
264
265
  specification_version: 4
265
266
  summary: An ActiveSupport::Cache::Store backed by sin_lru_redux.
266
267
  test_files: []