Skip to content

Commit 4afc5d1

Browse files
committed
Require Rails 7.2
Otherwise the behaviour for deferring jobs until after committing a transaction will change depending on the Rails version.
1 parent e0497c6 commit 4afc5d1

File tree

2 files changed

+39
-29
lines changed

2 files changed

+39
-29
lines changed

Diff for: Gemfile.lock

+38-28
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,52 @@ PATH
22
remote: .
33
specs:
44
solid_queue (0.6.0)
5-
activejob (>= 7.1)
6-
activerecord (>= 7.1)
5+
activejob (>= 7.2)
6+
activerecord (>= 7.2)
77
concurrent-ruby (>= 1.3.1)
88
fugit (~> 1.11.0)
9-
railties (>= 7.1)
9+
railties (>= 7.2)
1010

1111
GEM
1212
remote: https://rubygems.org/
1313
specs:
14-
actionpack (7.1.3.4)
15-
actionview (= 7.1.3.4)
16-
activesupport (= 7.1.3.4)
14+
actionpack (7.2.1)
15+
actionview (= 7.2.1)
16+
activesupport (= 7.2.1)
1717
nokogiri (>= 1.8.5)
1818
racc
19-
rack (>= 2.2.4)
19+
rack (>= 2.2.4, < 3.2)
2020
rack-session (>= 1.0.1)
2121
rack-test (>= 0.6.3)
2222
rails-dom-testing (~> 2.2)
2323
rails-html-sanitizer (~> 1.6)
24-
actionview (7.1.3.4)
25-
activesupport (= 7.1.3.4)
24+
useragent (~> 0.16)
25+
actionview (7.2.1)
26+
activesupport (= 7.2.1)
2627
builder (~> 3.1)
2728
erubi (~> 1.11)
2829
rails-dom-testing (~> 2.2)
2930
rails-html-sanitizer (~> 1.6)
30-
activejob (7.1.3.4)
31-
activesupport (= 7.1.3.4)
31+
activejob (7.2.1)
32+
activesupport (= 7.2.1)
3233
globalid (>= 0.3.6)
33-
activemodel (7.1.3.4)
34-
activesupport (= 7.1.3.4)
35-
activerecord (7.1.3.4)
36-
activemodel (= 7.1.3.4)
37-
activesupport (= 7.1.3.4)
34+
activemodel (7.2.1)
35+
activesupport (= 7.2.1)
36+
activerecord (7.2.1)
37+
activemodel (= 7.2.1)
38+
activesupport (= 7.2.1)
3839
timeout (>= 0.4.0)
39-
activesupport (7.1.3.4)
40+
activesupport (7.2.1)
4041
base64
4142
bigdecimal
42-
concurrent-ruby (~> 1.0, >= 1.0.2)
43+
concurrent-ruby (~> 1.0, >= 1.3.1)
4344
connection_pool (>= 2.2.5)
4445
drb
4546
i18n (>= 1.6, < 2)
47+
logger (>= 1.4.2)
4648
minitest (>= 5.1)
47-
mutex_m
48-
tzinfo (~> 2.0)
49+
securerandom (>= 0.3)
50+
tzinfo (~> 2.0, >= 2.0.5)
4951
ast (2.4.2)
5052
base64 (0.2.0)
5153
bigdecimal (3.1.8)
@@ -68,18 +70,19 @@ GEM
6870
i18n (1.14.5)
6971
concurrent-ruby (~> 1.0)
7072
io-console (0.6.0)
71-
irb (1.6.2)
72-
reline (>= 0.3.0)
73+
irb (1.14.0)
74+
rdoc (>= 4.0.0)
75+
reline (>= 0.4.2)
7376
json (2.7.1)
7477
language_server-protocol (3.17.0.3)
78+
logger (1.6.0)
7579
loofah (2.22.0)
7680
crass (~> 1.0.2)
7781
nokogiri (>= 1.12.0)
7882
mini_portile2 (2.8.1)
7983
minitest (5.24.0)
8084
mocha (2.1.0)
8185
ruby2_keywords (>= 0.0.5)
82-
mutex_m (0.2.0)
8386
mysql2 (0.5.4)
8487
nio4r (2.7.0)
8588
nokogiri (1.16.6-arm64-darwin)
@@ -93,6 +96,8 @@ GEM
9396
ast (~> 2.4.1)
9497
racc
9598
pg (1.5.4)
99+
psych (5.1.2)
100+
stringio
96101
puma (6.4.2)
97102
nio4r (~> 2.0)
98103
raabro (1.4.0)
@@ -112,18 +117,20 @@ GEM
112117
rails-html-sanitizer (1.6.0)
113118
loofah (~> 2.21)
114119
nokogiri (~> 1.14)
115-
railties (7.1.3.4)
116-
actionpack (= 7.1.3.4)
117-
activesupport (= 7.1.3.4)
118-
irb
120+
railties (7.2.1)
121+
actionpack (= 7.2.1)
122+
activesupport (= 7.2.1)
123+
irb (~> 1.13)
119124
rackup (>= 1.0.0)
120125
rake (>= 12.2)
121126
thor (~> 1.0, >= 1.2.2)
122127
zeitwerk (~> 2.6)
123128
rainbow (3.1.1)
124129
rake (13.0.6)
130+
rdoc (6.7.0)
131+
psych (>= 4.0.0)
125132
regexp_parser (2.9.0)
126-
reline (0.3.2)
133+
reline (0.5.9)
127134
io-console (~> 0.5)
128135
rexml (3.3.3)
129136
strscan
@@ -158,14 +165,17 @@ GEM
158165
rubocop-rails
159166
ruby-progressbar (1.13.0)
160167
ruby2_keywords (0.0.5)
168+
securerandom (0.3.1)
161169
sqlite3 (1.5.4)
162170
mini_portile2 (~> 2.8.0)
171+
stringio (3.1.1)
163172
strscan (3.1.0)
164173
thor (1.2.2)
165174
timeout (0.4.1)
166175
tzinfo (2.0.6)
167176
concurrent-ruby (~> 1.0)
168177
unicode-display_width (2.5.0)
178+
useragent (0.16.10)
169179
webrick (1.8.1)
170180
zeitwerk (2.6.12)
171181

Diff for: solid_queue.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
2222
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
2323
end
2424

25-
rails_version = ">= 7.1"
25+
rails_version = ">= 7.2"
2626
spec.add_dependency "activerecord", rails_version
2727
spec.add_dependency "activejob", rails_version
2828
spec.add_dependency "railties", rails_version

0 commit comments

Comments
 (0)