maybe_later 0.0.5 → 0.0.6

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: d23afe372c2d7bc06a6a8cec60b92f3cdaca10285bf28d1532ee4f1dbf4d61b9
4
- data.tar.gz: d104429481d8d29a4b36a4ebf07b34b6ef243fd32801f4158202158ee2d1023d
3
+ metadata.gz: 5a01e2b3f36d9fdfeb74e71860fea2df5ac961aad4dba658aaedf3d0f2e729cb
4
+ data.tar.gz: 6a5b839a9a145a287c67179d8ac8681d8e15ba855ddc634ce0ccc725c47217d0
5
5
  SHA512:
6
- metadata.gz: a9c1fb7b4913520e5222cae0a766ef36133715ede90d83b1cbaf1b85a57e504edbf7fc38dfb7830f4278fd926ad7e39054698a0ee49285ef5f27695545200164
7
- data.tar.gz: 778b5a4b5e4956975e999a4754906e0694046fda0e476a18d4fd2c65a0b26bdd60a6c8c4d0118767fbe7b6b7e14cbf0bb93e6aec733afff93dd75045a4bd9562
6
+ metadata.gz: ddc20a264f6a96f52c8c3f048b85be8fddadd42e18939128158071b14399ab55171cf5a56ae272c007c2c4ef515ec0b583d5157e8c9bef2b7a9d3a061ffbe682
7
+ data.tar.gz: 7e45e87a277da51a275503d2daabf159a4ea602ec2e9d0d9a65078bb0502fbf3e7213e9a0134d30013b3fb12295be386a2810b7f3e1e6f0d95d915f8378429fe
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.0.6] - 2026-09-18
2
+
3
+ - Fix a `NameError` on `Concurrent::FixedThreadPool` caused by a missing
4
+ `concurrent-ruby` require that newer Rails versions no longer load for us
5
+
1
6
  ## [0.0.5] - 2026-09-18
2
7
 
3
8
  - Loosen the `concurrent-ruby` dependency constraint
data/Gemfile.lock CHANGED
@@ -1,103 +1,175 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maybe_later (0.0.5)
4
+ maybe_later (0.0.6)
5
5
  concurrent-ruby (>= 1.1.9, < 2.0)
6
6
  railties (>= 6.0.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (7.0.1)
12
- actionview (= 7.0.1)
13
- activesupport (= 7.0.1)
14
- rack (~> 2.0, >= 2.2.0)
11
+ actionpack (7.2.3.2)
12
+ actionview (= 7.2.3.2)
13
+ activesupport (= 7.2.3.2)
14
+ cgi
15
+ nokogiri (>= 1.8.5)
16
+ racc
17
+ rack (>= 2.2.4, < 3.3)
18
+ rack-session (>= 1.0.1)
15
19
  rack-test (>= 0.6.3)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (7.0.1)
19
- activesupport (= 7.0.1)
20
+ rails-dom-testing (~> 2.2)
21
+ rails-html-sanitizer (~> 1.6)
22
+ useragent (~> 0.16)
23
+ actionview (7.2.3.2)
24
+ activesupport (= 7.2.3.2)
20
25
  builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activesupport (7.0.1)
25
- concurrent-ruby (~> 1.0, >= 1.0.2)
26
+ cgi
27
+ erubi (~> 1.11)
28
+ rails-dom-testing (~> 2.2)
29
+ rails-html-sanitizer (~> 1.6)
30
+ activesupport (7.2.3.2)
31
+ base64
32
+ benchmark (>= 0.3)
33
+ bigdecimal
34
+ concurrent-ruby (~> 1.0, >= 1.3.1)
35
+ connection_pool (>= 2.2.5)
36
+ drb
26
37
  i18n (>= 1.6, < 2)
27
- minitest (>= 5.1)
28
- tzinfo (~> 2.0)
29
- ast (2.4.2)
30
- builder (3.2.4)
38
+ logger (>= 1.4.2)
39
+ minitest (>= 5.1, < 6)
40
+ securerandom (>= 0.3)
41
+ tzinfo (~> 2.0, >= 2.0.5)
42
+ ast (2.4.3)
43
+ base64 (0.3.0)
44
+ benchmark (0.5.0)
45
+ bigdecimal (4.1.3)
46
+ builder (3.3.0)
47
+ cgi (0.5.2)
31
48
  coderay (1.1.3)
32
49
  concurrent-ruby (1.3.8)
33
- crass (1.0.6)
34
- erubi (1.10.0)
35
- i18n (1.8.11)
50
+ connection_pool (2.5.5)
51
+ crass (1.0.7)
52
+ date (3.5.1)
53
+ drb (2.2.3)
54
+ erb (4.0.4.1)
55
+ cgi (>= 0.3.3)
56
+ erubi (1.13.1)
57
+ i18n (1.15.2)
36
58
  concurrent-ruby (~> 1.0)
59
+ io-console (0.9.4)
60
+ irb (1.18.0)
61
+ pp (>= 0.6.0)
62
+ prism (>= 1.3.0)
63
+ rdoc (>= 4.0.0)
64
+ reline (>= 0.4.2)
65
+ json (2.21.2)
66
+ language_server-protocol (3.17.0.6)
67
+ lint_roller (1.1.0)
37
68
  logger (1.7.0)
38
- loofah (2.13.0)
69
+ loofah (2.25.2)
39
70
  crass (~> 1.0.2)
40
- nokogiri (>= 1.5.9)
41
- method_source (1.0.0)
42
- minitest (5.15.0)
43
- nokogiri (1.18.10-arm64-darwin)
71
+ nokogiri (>= 1.12.0)
72
+ method_source (1.1.0)
73
+ mini_portile2 (2.8.9)
74
+ minitest (5.27.0)
75
+ nokogiri (1.18.10)
76
+ mini_portile2 (~> 2.8.2)
44
77
  racc (~> 1.4)
45
- nokogiri (1.18.10-x86_64-linux-gnu)
46
- racc (~> 1.4)
47
- parallel (1.21.0)
48
- parser (3.1.0.0)
78
+ parallel (1.28.0)
79
+ parser (3.3.12.0)
49
80
  ast (~> 2.4.1)
50
- pry (0.14.1)
81
+ racc
82
+ pp (0.6.4)
83
+ prettyprint
84
+ prettyprint (0.2.0)
85
+ prism (1.9.0)
86
+ pry (0.16.0)
51
87
  coderay (~> 1.1)
52
88
  method_source (~> 1.0)
89
+ reline (>= 0.6.0)
90
+ psych (5.5.0)
91
+ date
92
+ stringio
53
93
  racc (1.8.1)
54
- rack (2.2.3)
55
- rack-test (1.1.0)
56
- rack (>= 1.0, < 3)
57
- rails-dom-testing (2.0.3)
58
- activesupport (>= 4.2.0)
94
+ rack (3.2.7)
95
+ rack-session (2.1.2)
96
+ base64 (>= 0.1.0)
97
+ rack (>= 3.0.0)
98
+ rack-test (2.2.0)
99
+ rack (>= 1.3)
100
+ rackup (2.3.1)
101
+ rack (>= 3)
102
+ rails-dom-testing (2.3.0)
103
+ activesupport (>= 5.0.0)
104
+ minitest
59
105
  nokogiri (>= 1.6)
60
- rails-html-sanitizer (1.4.2)
61
- loofah (~> 2.3)
62
- railties (7.0.1)
63
- actionpack (= 7.0.1)
64
- activesupport (= 7.0.1)
65
- method_source
106
+ rails-html-sanitizer (1.7.1)
107
+ loofah (~> 2.25, >= 2.25.2)
108
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
109
+ railties (7.2.3.2)
110
+ actionpack (= 7.2.3.2)
111
+ activesupport (= 7.2.3.2)
112
+ cgi
113
+ irb (~> 1.13)
114
+ rackup (>= 1.0.0)
66
115
  rake (>= 12.2)
67
- thor (~> 1.0)
68
- zeitwerk (~> 2.5)
116
+ thor (~> 1.0, >= 1.2.2)
117
+ tsort (>= 0.2)
118
+ zeitwerk (~> 2.6)
69
119
  rainbow (3.1.1)
70
- rake (13.0.6)
71
- regexp_parser (2.2.0)
72
- rexml (3.2.5)
73
- rubocop (1.25.0)
74
- parallel (~> 1.10)
75
- parser (>= 3.1.0.0)
120
+ rake (13.4.2)
121
+ rdoc (7.2.0)
122
+ erb
123
+ psych (>= 4.0.0)
124
+ tsort
125
+ regexp_parser (2.12.0)
126
+ reline (0.7.0)
127
+ io-console (~> 0.5)
128
+ rubocop (1.88.2)
129
+ json (~> 2.3)
130
+ language_server-protocol (~> 3.17.0.2)
131
+ lint_roller (~> 1.1.0)
132
+ parallel (>= 1.10)
133
+ parser (>= 3.3.0.2)
76
134
  rainbow (>= 2.2.2, < 4.0)
77
- regexp_parser (>= 1.8, < 3.0)
78
- rexml
79
- rubocop-ast (>= 1.15.1, < 2.0)
135
+ regexp_parser (>= 2.9.3, < 3.0)
136
+ rubocop-ast (>= 1.49.0, < 2.0)
80
137
  ruby-progressbar (~> 1.7)
81
- unicode-display_width (>= 1.4.0, < 3.0)
82
- rubocop-ast (1.15.1)
83
- parser (>= 3.0.1.1)
84
- rubocop-performance (1.13.2)
85
- rubocop (>= 1.7.0, < 2.0)
86
- rubocop-ast (>= 0.4.0)
87
- ruby-progressbar (1.11.0)
88
- standard (1.7.0)
89
- rubocop (= 1.25.0)
90
- rubocop-performance (= 1.13.2)
91
- thor (1.2.1)
92
- tzinfo (2.0.4)
138
+ unicode-display_width (>= 2.4.0, < 4.0)
139
+ rubocop-ast (1.50.0)
140
+ parser (>= 3.3.7.2)
141
+ prism (~> 1.7)
142
+ rubocop-performance (1.26.1)
143
+ lint_roller (~> 1.1)
144
+ rubocop (>= 1.75.0, < 2.0)
145
+ rubocop-ast (>= 1.47.1, < 2.0)
146
+ ruby-progressbar (1.13.0)
147
+ securerandom (0.4.1)
148
+ standard (1.56.0)
149
+ language_server-protocol (~> 3.17.0.2)
150
+ lint_roller (~> 1.0)
151
+ rubocop (~> 1.88.0)
152
+ standard-custom (~> 1.0.0)
153
+ standard-performance (~> 1.8)
154
+ standard-custom (1.0.2)
155
+ lint_roller (~> 1.0)
156
+ rubocop (~> 1.50)
157
+ standard-performance (1.9.0)
158
+ lint_roller (~> 1.1)
159
+ rubocop-performance (~> 1.26.0)
160
+ stringio (3.2.0)
161
+ thor (1.5.0)
162
+ tsort (0.2.0)
163
+ tzinfo (2.0.6)
93
164
  concurrent-ruby (~> 1.0)
94
- unicode-display_width (2.1.0)
95
- zeitwerk (2.5.3)
165
+ unicode-display_width (3.2.0)
166
+ unicode-emoji (~> 4.1)
167
+ unicode-emoji (4.2.0)
168
+ useragent (0.16.11)
169
+ zeitwerk (2.6.18)
96
170
 
97
171
  PLATFORMS
98
- arm64-darwin-21
99
- arm64-darwin-24
100
- x86_64-linux
172
+ ruby
101
173
 
102
174
  DEPENDENCIES
103
175
  logger
@@ -1,5 +1,8 @@
1
1
  module MaybeLater
2
- Callback = Struct.new(:inline, :callable, keyword_init: true)
2
+ # keyword_init is only redundant on Ruby 3.2+; without it, Ruby 3.1 silently
3
+ # misassigns keyword args (the whole hash lands in the first member) instead
4
+ # of raising, so we keep it and disable the cop rather than drop support.
5
+ Callback = Struct.new(:inline, :callable, keyword_init: true) # standard:disable Style/RedundantStructKeywordInit
3
6
 
4
7
  class QueuesCallback
5
8
  def call(callable:, inline:)
@@ -1,3 +1,5 @@
1
+ require "concurrent"
2
+
1
3
  module MaybeLater
2
4
  class ThreadPool
3
5
  def self.instance
@@ -1,3 +1,3 @@
1
1
  module MaybeLater
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maybe_later
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls