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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32262a349b2bcc96380ae8cb5684ba4276ff2dd867b2d54b1f5fc92f537d0a1c
4
- data.tar.gz: 0536c7d764505d25c48e7b0041051499f32166ac0ae259f30770d2d2dc58dbd5
3
+ metadata.gz: d8356a5bb499e4071592b34aa27409e1f547e0f7738f6b54c06114f725aba41c
4
+ data.tar.gz: e7a468c52c087700490049f2fce67f4c27a212022080cdf2e462664f5546e53a
5
5
  SHA512:
6
- metadata.gz: e61acf070a81d2b389131302435d49b9f7c0b663dc9840948cd63686bbea01e145a6b2f0df48ab4a72b52855b888c98a502f533b665423aa17d2f00d00d9f780
7
- data.tar.gz: fda206b6600397bc0b486cfabb5a07b56bbdb67424da829ae14938e4025553f4c000ff2cbb3b3706d62d30b34c7cec78abeb5dfaf8bc7ee5949bd717d3d045c8
6
+ metadata.gz: ecc600e5afa12ac7a73b2a4a8c4efef9b9760711ace6bc2f2411fe4701c08c6582ca6123ff28f269ed4231d96d59405c4a69ef47fe118d5d0f767e17ffeee120
7
+ data.tar.gz: b642d728caea2b800b0cef3d3f46e2e3e823c8459a8cbc38cb5cf6d5025fb60fe5a832fa729d499e6434bf5cc31f5a0e8a843aa4288af40abb6e88d2975a3c27
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ["2.6", "2.7", "3.0"]
14
+ ruby-version: ["2.7", "3.0", "3.1"]
15
15
  steps:
16
16
  - uses: actions/checkout@v2
17
17
  - uses: ruby/setup-ruby@v1
data/.rubocop.yml CHANGED
@@ -5,6 +5,6 @@ inherit_mode:
5
5
  merge:
6
6
  - Exclude
7
7
  AllCops:
8
- TargetRubyVersion: "2.6"
8
+ TargetRubyVersion: "2.7"
9
9
  Naming/MemoizedInstanceVariableName:
10
10
  Enabled: false
data/Gemfile.lock CHANGED
@@ -1,81 +1,61 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- timed_lru (0.5.0)
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
- concurrent-ruby (1.1.8)
17
- diff-lcs (1.4.4)
18
- i18n (1.8.9)
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
- rack (2.2.3)
25
- rainbow (3.0.0)
26
- rake (13.0.3)
27
- regexp_parser (2.1.1)
28
- rexml (3.2.4)
29
- rspec (3.10.0)
30
- rspec-core (~> 3.10.0)
31
- rspec-expectations (~> 3.10.0)
32
- rspec-mocks (~> 3.10.0)
33
- rspec-core (3.10.1)
34
- rspec-support (~> 3.10.0)
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.10.0)
38
- rspec-mocks (3.10.2)
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.10.0)
41
- rspec-support (3.10.2)
42
- rubocop (1.11.0)
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.0.0.0)
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.2.0, < 2.0)
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.4.1)
52
- parser (>= 2.7.1.5)
53
- rubocop-bsm (0.5.4)
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.10.1)
60
- rubocop (>= 0.90.0, < 2.0)
47
+ rubocop-performance (1.14.1)
48
+ rubocop (>= 1.7.0, < 2.0)
61
49
  rubocop-ast (>= 0.4.0)
62
- rubocop-rails (2.9.1)
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
- rubocop-ast (>= 1.1.0)
52
+ rubocop-rspec (2.11.1)
53
+ rubocop (~> 1.19)
71
54
  ruby-progressbar (1.11.0)
72
- tzinfo (2.0.4)
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
- ruby
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.1.4
68
+ 2.3.9
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Timed LRU
2
2
 
3
- [![Build Status](https://travis-ci.org/bsm/timed_lru.png)](https://travis-ci.org/bsm/timed_lru)
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.6.0'
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.0'
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.0
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: 2021-03-16 00:00:00.000000000 Z
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.6.0
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.1.4
108
+ rubygems_version: 3.3.7
108
109
  signing_key:
109
110
  specification_version: 4
110
111
  summary: Timed LRU