timed_lru 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -1
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +34 -54
- data/README.md +1 -1
- data/timed_lru.gemspec +3 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8356a5bb499e4071592b34aa27409e1f547e0f7738f6b54c06114f725aba41c
|
4
|
+
data.tar.gz: e7a468c52c087700490049f2fce67f4c27a212022080cdf2e462664f5546e53a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc600e5afa12ac7a73b2a4a8c4efef9b9760711ace6bc2f2411fe4701c08c6582ca6123ff28f269ed4231d96d59405c4a69ef47fe118d5d0f767e17ffeee120
|
7
|
+
data.tar.gz: b642d728caea2b800b0cef3d3f46e2e3e823c8459a8cbc38cb5cf6d5025fb60fe5a832fa729d499e6434bf5cc31f5a0e8a843aa4288af40abb6e88d2975a3c27
|
data/.github/workflows/ruby.yml
CHANGED
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,81 +1,61 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
timed_lru (0.5.
|
4
|
+
timed_lru (0.5.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: http://rubygems.org/
|
8
8
|
specs:
|
9
|
-
activesupport (6.1.3)
|
10
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
11
|
-
i18n (>= 1.6, < 2)
|
12
|
-
minitest (>= 5.1)
|
13
|
-
tzinfo (~> 2.0)
|
14
|
-
zeitwerk (~> 2.3)
|
15
9
|
ast (2.4.2)
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
concurrent-ruby (~> 1.0)
|
20
|
-
minitest (5.14.4)
|
21
|
-
parallel (1.20.1)
|
22
|
-
parser (3.0.0.0)
|
10
|
+
diff-lcs (1.5.0)
|
11
|
+
parallel (1.22.1)
|
12
|
+
parser (3.1.2.0)
|
23
13
|
ast (~> 2.4.1)
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
rspec-
|
31
|
-
rspec-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
rspec-expectations (3.10.1)
|
14
|
+
rainbow (3.1.1)
|
15
|
+
rake (13.0.6)
|
16
|
+
regexp_parser (2.5.0)
|
17
|
+
rexml (3.2.5)
|
18
|
+
rspec (3.11.0)
|
19
|
+
rspec-core (~> 3.11.0)
|
20
|
+
rspec-expectations (~> 3.11.0)
|
21
|
+
rspec-mocks (~> 3.11.0)
|
22
|
+
rspec-core (3.11.0)
|
23
|
+
rspec-support (~> 3.11.0)
|
24
|
+
rspec-expectations (3.11.0)
|
36
25
|
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.
|
38
|
-
rspec-mocks (3.
|
26
|
+
rspec-support (~> 3.11.0)
|
27
|
+
rspec-mocks (3.11.1)
|
39
28
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-support (3.
|
42
|
-
rubocop (1.
|
29
|
+
rspec-support (~> 3.11.0)
|
30
|
+
rspec-support (3.11.0)
|
31
|
+
rubocop (1.30.1)
|
43
32
|
parallel (~> 1.10)
|
44
|
-
parser (>= 3.
|
33
|
+
parser (>= 3.1.0.0)
|
45
34
|
rainbow (>= 2.2.2, < 4.0)
|
46
35
|
regexp_parser (>= 1.8, < 3.0)
|
47
|
-
rexml
|
48
|
-
rubocop-ast (>= 1.
|
36
|
+
rexml (>= 3.2.5, < 4.0)
|
37
|
+
rubocop-ast (>= 1.18.0, < 2.0)
|
49
38
|
ruby-progressbar (~> 1.7)
|
50
39
|
unicode-display_width (>= 1.4.0, < 3.0)
|
51
|
-
rubocop-ast (1.
|
52
|
-
parser (>=
|
53
|
-
rubocop-bsm (0.
|
40
|
+
rubocop-ast (1.18.0)
|
41
|
+
parser (>= 3.1.1.0)
|
42
|
+
rubocop-bsm (0.6.0)
|
54
43
|
rubocop (~> 1.0)
|
55
44
|
rubocop-performance
|
56
|
-
rubocop-rails
|
57
45
|
rubocop-rake
|
58
46
|
rubocop-rspec
|
59
|
-
rubocop-performance (1.
|
60
|
-
rubocop (>=
|
47
|
+
rubocop-performance (1.14.1)
|
48
|
+
rubocop (>= 1.7.0, < 2.0)
|
61
49
|
rubocop-ast (>= 0.4.0)
|
62
|
-
rubocop-
|
63
|
-
activesupport (>= 4.2.0)
|
64
|
-
rack (>= 1.1)
|
65
|
-
rubocop (>= 0.90.0, < 2.0)
|
66
|
-
rubocop-rake (0.5.1)
|
67
|
-
rubocop
|
68
|
-
rubocop-rspec (2.2.0)
|
50
|
+
rubocop-rake (0.6.0)
|
69
51
|
rubocop (~> 1.0)
|
70
|
-
|
52
|
+
rubocop-rspec (2.11.1)
|
53
|
+
rubocop (~> 1.19)
|
71
54
|
ruby-progressbar (1.11.0)
|
72
|
-
|
73
|
-
concurrent-ruby (~> 1.0)
|
74
|
-
unicode-display_width (2.0.0)
|
75
|
-
zeitwerk (2.4.2)
|
55
|
+
unicode-display_width (2.1.0)
|
76
56
|
|
77
57
|
PLATFORMS
|
78
|
-
|
58
|
+
x86_64-linux
|
79
59
|
|
80
60
|
DEPENDENCIES
|
81
61
|
bundler
|
@@ -85,4 +65,4 @@ DEPENDENCIES
|
|
85
65
|
timed_lru!
|
86
66
|
|
87
67
|
BUNDLED WITH
|
88
|
-
2.
|
68
|
+
2.3.9
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Timed LRU
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://github.com/bsm/timed_lru/actions/workflows/ruby.yml/badge.svg)](https://github.com/bsm/timed_lru/actions/workflows/ruby.yml)
|
4
4
|
[![Dependency Status](https://gemnasium.com/bsm/timed_lru.png)](https://gemnasium.com/bsm/timed_lru)
|
5
5
|
|
6
6
|
My implementation of a simple, thread-safe LRU with (optional) TTLs
|
data/timed_lru.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
|
-
s.required_ruby_version = '>= 2.
|
2
|
+
s.required_ruby_version = '>= 2.7'
|
3
3
|
|
4
4
|
s.name = File.basename(__FILE__, '.gemspec')
|
5
5
|
s.summary = 'Timed LRU'
|
6
6
|
s.description = 'Thread-safe LRU implementation with (optional) TTL and constant time operations'
|
7
|
-
s.version = '0.5.
|
7
|
+
s.version = '0.5.1'
|
8
8
|
|
9
9
|
s.authors = ['Black Square Media']
|
10
10
|
s.email = 'info@blacksquaremedia.com'
|
@@ -13,10 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
s.require_path = 'lib'
|
15
15
|
s.files = `git ls-files`.split("\n")
|
16
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
16
|
|
18
17
|
s.add_development_dependency 'bundler'
|
19
18
|
s.add_development_dependency 'rake'
|
20
19
|
s.add_development_dependency 'rspec'
|
21
20
|
s.add_development_dependency 'rubocop-bsm'
|
21
|
+
s.metadata['rubygems_mfa_required'] = 'true'
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timed_lru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -88,7 +88,8 @@ files:
|
|
88
88
|
homepage: https://github.com/bsm/timed_lru
|
89
89
|
licenses:
|
90
90
|
- Apache-2.0
|
91
|
-
metadata:
|
91
|
+
metadata:
|
92
|
+
rubygems_mfa_required: 'true'
|
92
93
|
post_install_message:
|
93
94
|
rdoc_options: []
|
94
95
|
require_paths:
|
@@ -97,14 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
98
|
requirements:
|
98
99
|
- - ">="
|
99
100
|
- !ruby/object:Gem::Version
|
100
|
-
version: 2.
|
101
|
+
version: '2.7'
|
101
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
103
|
requirements:
|
103
104
|
- - ">="
|
104
105
|
- !ruby/object:Gem::Version
|
105
106
|
version: '0'
|
106
107
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
108
|
+
rubygems_version: 3.3.7
|
108
109
|
signing_key:
|
109
110
|
specification_version: 4
|
110
111
|
summary: Timed LRU
|