sin_lru_redux 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -32
- data/CHANGELOG.md +6 -0
- data/README.md +4 -0
- data/lib/lru_redux/version.rb +1 -1
- data/lib/sin_lru_redux.rb +3 -0
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a98157264a62bd4929e337957dc19e3d6f26e3d6ecc1c402b1de85865c955ec2
|
4
|
+
data.tar.gz: 49c6811c455147dbc0434ee5aaf46238b11843a68820559ab260384c6589ed78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c6eece0bb96966e50dad496a9fc8961ea8df2770f2bfc3dbb8723ac2b570c703745268a71cbb951e4452758109d578a08afe4804a8726f634c208cf1c75a252
|
7
|
+
data.tar.gz: c1dc7f2a6ca4f2511e0245b1694e8a2f988b1efcf0dba24a629bf8d501240292382ea4f1561dd96d1d5cadc8286e107fa1e1467b6cc42c489adf2d9bd9810ecb
|
data/.rubocop.yml
CHANGED
@@ -22,41 +22,23 @@ Layout/LineLength:
|
|
22
22
|
Max: 150
|
23
23
|
AllowURI: false
|
24
24
|
|
25
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintmissingsuper
|
26
|
-
Lint/MissingSuper:
|
27
|
-
Enabled: true
|
28
|
-
Exclude:
|
29
|
-
- 'app/views/components/**/component.rb'
|
30
|
-
|
31
25
|
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricsabcsize
|
32
26
|
Metrics/AbcSize:
|
33
27
|
Enabled: true
|
34
|
-
Max:
|
28
|
+
Max: 25
|
35
29
|
|
36
30
|
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricsblocklength
|
37
31
|
Metrics/BlockLength:
|
38
32
|
Enabled: true
|
39
33
|
Max: 30
|
40
34
|
Exclude:
|
41
|
-
- '
|
42
|
-
- 'db/seeds.rb'
|
43
|
-
- 'spec/**/*_spec.rb'
|
44
|
-
|
45
|
-
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricsblocknesting
|
46
|
-
Metrics/BlockNesting:
|
47
|
-
Enabled: true
|
48
|
-
Max: 3
|
35
|
+
- 'sin_lru_redux.gemspec'
|
49
36
|
|
50
37
|
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricsclasslength
|
51
38
|
Metrics/ClassLength:
|
52
39
|
Enabled: true
|
53
40
|
CountComments: false
|
54
|
-
Max:
|
55
|
-
|
56
|
-
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricscyclomaticcomplexity
|
57
|
-
Metrics/CyclomaticComplexity:
|
58
|
-
Enabled: true
|
59
|
-
Max: 20
|
41
|
+
Max: 200
|
60
42
|
|
61
43
|
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricsmethodlength
|
62
44
|
Metrics/MethodLength:
|
@@ -75,11 +57,6 @@ Metrics/ParameterLists:
|
|
75
57
|
Max: 5
|
76
58
|
CountKeywordArgs: true
|
77
59
|
|
78
|
-
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricsperceivedcomplexity
|
79
|
-
Metrics/PerceivedComplexity:
|
80
|
-
Enabled: true
|
81
|
-
Max: 20
|
82
|
-
|
83
60
|
# https://docs.rubocop.org/rubocop/cops_naming.html#namingaccessormethodname
|
84
61
|
Naming/AccessorMethodName:
|
85
62
|
Enabled: false
|
@@ -112,12 +89,6 @@ Style/ArgumentsForwarding:
|
|
112
89
|
Style/AsciiComments:
|
113
90
|
Enabled: false
|
114
91
|
|
115
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleblockcomments
|
116
|
-
Style/BlockComments:
|
117
|
-
Enabled: true
|
118
|
-
Exclude:
|
119
|
-
- 'spec/spec_helper.rb'
|
120
|
-
|
121
92
|
# https://docs.rubocop.org/rubocop/cops_style.html#styleclassandmodulechildren
|
122
93
|
Style/ClassAndModuleChildren:
|
123
94
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -174,3 +174,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
174
174
|
## Code of Conduct
|
175
175
|
|
176
176
|
Everyone interacting in the SinLruRedux project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/cadenza-tech/sin_lru_redux/blob/main/CODE_OF_CONDUCT.md).
|
177
|
+
|
178
|
+
## Sponsor
|
179
|
+
|
180
|
+
You can sponsor this project on [Patreon](https://patreon.com/CadenzaTech).
|
data/lib/lru_redux/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sin_lru_redux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
description: |
|
13
13
|
Efficient and thread-safe LRU cache.
|
@@ -33,15 +33,17 @@ files:
|
|
33
33
|
- lib/lru_redux/util.rb
|
34
34
|
- lib/lru_redux/util/safe_sync.rb
|
35
35
|
- lib/lru_redux/version.rb
|
36
|
-
|
36
|
+
- lib/sin_lru_redux.rb
|
37
|
+
homepage: https://github.com/cadenza-tech/sin_lru_redux/tree/v2.4.0
|
37
38
|
licenses:
|
38
39
|
- MIT
|
39
40
|
metadata:
|
40
|
-
homepage_uri: https://github.com/cadenza-tech/sin_lru_redux/tree/v2.
|
41
|
-
source_code_uri: https://github.com/cadenza-tech/sin_lru_redux/tree/v2.
|
42
|
-
changelog_uri: https://github.com/cadenza-tech/sin_lru_redux/blob/v2.
|
41
|
+
homepage_uri: https://github.com/cadenza-tech/sin_lru_redux/tree/v2.4.0
|
42
|
+
source_code_uri: https://github.com/cadenza-tech/sin_lru_redux/tree/v2.4.0
|
43
|
+
changelog_uri: https://github.com/cadenza-tech/sin_lru_redux/blob/v2.4.0/CHANGELOG.md
|
43
44
|
bug_tracker_uri: https://github.com/cadenza-tech/sin_lru_redux/issues
|
44
|
-
documentation_uri: https://rubydoc.info/gems/sin_lru_redux/2.
|
45
|
+
documentation_uri: https://rubydoc.info/gems/sin_lru_redux/2.4.0
|
46
|
+
funding_uri: https://patreon.com/CadenzaTech
|
45
47
|
rubygems_mfa_required: 'true'
|
46
48
|
rdoc_options: []
|
47
49
|
require_paths:
|