thread_local_var_accessors 1.3.1 → 1.4.0
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +38 -33
- data/lib/thread_local_var_accessors/version.rb +1 -0
- data/lib/thread_local_var_accessors.rb +0 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 02fb38d4a5adc85849626d020e688f2686990c14a4784d3a52efd7350a857058
|
|
4
|
+
data.tar.gz: '0729b1cf7becd14c4d054aa0cc94f8418180f618744db6ea0f13d77be0282f30'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f428c335a4ff263984b7c0cc02f82f136f9e6a580d5c17f7bb76dddf8a855db4acb51fd9c5bdccffc27a2a9f84b9b2046feea83607779f7aab87e039f982f988
|
|
7
|
+
data.tar.gz: b936358a0f74fb0e97dfa60b118172d5ea4cc3c4fc0c66e92a771b8f7f4f9f225e89145581f80ec44ffd6e29d68ad3fd8ac839ec01b453ee51b3c540484507f1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
2024-07-24: Version 1.4.0
|
|
2
|
+
- updated concurrent-ruby to 1.3.3 (from 1.2.2)
|
|
3
|
+
- updated development gems to latest versions
|
|
4
|
+
- removed innocuous misplaced value
|
|
5
|
+
- simplified the CI release steps
|
|
6
|
+
|
|
1
7
|
2024-05-09: Version 1.3.1
|
|
2
8
|
- DRYed up the `tlv_default` method
|
|
3
9
|
- Changed CI to support "release" task on the main branch
|
data/Gemfile.lock
CHANGED
|
@@ -1,68 +1,73 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
thread_local_var_accessors (1.
|
|
4
|
+
thread_local_var_accessors (1.4.0)
|
|
5
5
|
concurrent-ruby
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
ast (2.4.2)
|
|
11
|
-
builder (3.
|
|
11
|
+
builder (3.3.0)
|
|
12
12
|
byebug (11.1.3)
|
|
13
13
|
coderay (1.1.3)
|
|
14
|
-
concurrent-ruby (1.
|
|
15
|
-
diff-lcs (1.5.
|
|
14
|
+
concurrent-ruby (1.3.3)
|
|
15
|
+
diff-lcs (1.5.1)
|
|
16
16
|
docile (1.4.0)
|
|
17
17
|
fuubar (2.5.1)
|
|
18
18
|
rspec-core (~> 3.0)
|
|
19
19
|
ruby-progressbar (~> 1.4)
|
|
20
|
-
json (2.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
json (2.7.2)
|
|
21
|
+
language_server-protocol (3.17.0.3)
|
|
22
|
+
method_source (1.1.0)
|
|
23
|
+
parallel (1.25.1)
|
|
24
|
+
parser (3.3.4.0)
|
|
24
25
|
ast (~> 2.4.1)
|
|
26
|
+
racc
|
|
25
27
|
pry (0.14.2)
|
|
26
28
|
coderay (~> 1.1)
|
|
27
29
|
method_source (~> 1.0)
|
|
28
30
|
pry-byebug (3.10.1)
|
|
29
31
|
byebug (~> 11.0)
|
|
30
32
|
pry (>= 0.13, < 0.15)
|
|
33
|
+
racc (1.8.0)
|
|
31
34
|
rainbow (3.1.1)
|
|
32
|
-
rake (13.
|
|
35
|
+
rake (13.2.1)
|
|
33
36
|
redcarpet (3.6.0)
|
|
34
|
-
regexp_parser (2.
|
|
35
|
-
rexml (3.2
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
rspec-
|
|
39
|
-
rspec-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
regexp_parser (2.9.2)
|
|
38
|
+
rexml (3.3.2)
|
|
39
|
+
strscan
|
|
40
|
+
rspec (3.13.0)
|
|
41
|
+
rspec-core (~> 3.13.0)
|
|
42
|
+
rspec-expectations (~> 3.13.0)
|
|
43
|
+
rspec-mocks (~> 3.13.0)
|
|
44
|
+
rspec-core (3.13.0)
|
|
45
|
+
rspec-support (~> 3.13.0)
|
|
46
|
+
rspec-expectations (3.13.1)
|
|
43
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
44
|
-
rspec-support (~> 3.
|
|
45
|
-
rspec-mocks (3.
|
|
48
|
+
rspec-support (~> 3.13.0)
|
|
49
|
+
rspec-mocks (3.13.1)
|
|
46
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
|
-
rspec-support (~> 3.
|
|
48
|
-
rspec-support (3.
|
|
51
|
+
rspec-support (~> 3.13.0)
|
|
52
|
+
rspec-support (3.13.1)
|
|
49
53
|
rspec_junit (4.0.4)
|
|
50
54
|
builder (>= 3.2.2)
|
|
51
55
|
rspec (>= 3.3.0)
|
|
52
56
|
rspec_junit_formatter (0.6.0)
|
|
53
57
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
54
|
-
rubocop (1.
|
|
58
|
+
rubocop (1.65.0)
|
|
55
59
|
json (~> 2.3)
|
|
60
|
+
language_server-protocol (>= 3.17.0)
|
|
56
61
|
parallel (~> 1.10)
|
|
57
|
-
parser (>= 3.
|
|
62
|
+
parser (>= 3.3.0.2)
|
|
58
63
|
rainbow (>= 2.2.2, < 4.0)
|
|
59
|
-
regexp_parser (>=
|
|
64
|
+
regexp_parser (>= 2.4, < 3.0)
|
|
60
65
|
rexml (>= 3.2.5, < 4.0)
|
|
61
|
-
rubocop-ast (>= 1.
|
|
66
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
|
62
67
|
ruby-progressbar (~> 1.7)
|
|
63
68
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
64
|
-
rubocop-ast (1.
|
|
65
|
-
parser (>= 3.
|
|
69
|
+
rubocop-ast (1.31.3)
|
|
70
|
+
parser (>= 3.3.1.0)
|
|
66
71
|
ruby-progressbar (1.13.0)
|
|
67
72
|
simplecov (0.22.0)
|
|
68
73
|
docile (~> 1.1)
|
|
@@ -70,15 +75,15 @@ GEM
|
|
|
70
75
|
simplecov_json_formatter (~> 0.1)
|
|
71
76
|
simplecov-html (0.12.3)
|
|
72
77
|
simplecov_json_formatter (0.1.4)
|
|
73
|
-
spring (4.
|
|
78
|
+
spring (4.2.1)
|
|
79
|
+
strscan (3.1.0)
|
|
74
80
|
terminal-notifier-guard (1.7.0)
|
|
75
|
-
unicode-display_width (2.
|
|
76
|
-
|
|
77
|
-
yard (0.9.28)
|
|
78
|
-
webrick (~> 1.7.0)
|
|
81
|
+
unicode-display_width (2.5.0)
|
|
82
|
+
yard (0.9.36)
|
|
79
83
|
|
|
80
84
|
PLATFORMS
|
|
81
85
|
x86_64-darwin-21
|
|
86
|
+
x86_64-darwin-23
|
|
82
87
|
x86_64-linux
|
|
83
88
|
|
|
84
89
|
DEPENDENCIES
|
|
@@ -311,7 +311,6 @@ module ThreadLocalVarAccessors
|
|
|
311
311
|
# Creates a new TLV if the instance variable is not initialized.
|
|
312
312
|
# @return [Object] the effective default value of the TLV instance variable
|
|
313
313
|
def tlv_set_default(name, default = nil, &block)
|
|
314
|
-
1
|
|
315
314
|
tlv = instance_variable_get(name.to_ivar)
|
|
316
315
|
if tlv
|
|
317
316
|
raise ArgumentError, 'tlv_set_default: can only use a default or a block, not both' if default && block
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thread_local_var_accessors
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alan Stebbens
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
242
242
|
- !ruby/object:Gem::Version
|
|
243
243
|
version: '0'
|
|
244
244
|
requirements: []
|
|
245
|
-
rubygems_version: 3.
|
|
245
|
+
rubygems_version: 3.4.19
|
|
246
246
|
signing_key:
|
|
247
247
|
specification_version: 4
|
|
248
248
|
summary: Ruby gem to make ThreadLocalVars easy to use
|