Skip to content

Commit 53f0e48

Browse files
authored
Merge pull request #158 from nimmolo/remove-rails-dependency
Refactor to remove Rails dependency
2 parents 4ae8f48 + acf5766 commit 53f0e48

File tree

2 files changed

+9
-76
lines changed

2 files changed

+9
-76
lines changed

Gemfile.lock

+5-75
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,13 @@ PATH
22
remote: .
33
specs:
44
solid_queue (0.2.2)
5-
rails (~> 7.1)
5+
activejob (>= 7.1)
6+
activerecord (>= 7.1)
7+
railties (>= 7.1)
68

79
GEM
810
remote: https://rubygems.org/
911
specs:
10-
actioncable (7.1.0)
11-
actionpack (= 7.1.0)
12-
activesupport (= 7.1.0)
13-
nio4r (~> 2.0)
14-
websocket-driver (>= 0.6.1)
15-
zeitwerk (~> 2.6)
16-
actionmailbox (7.1.0)
17-
actionpack (= 7.1.0)
18-
activejob (= 7.1.0)
19-
activerecord (= 7.1.0)
20-
activestorage (= 7.1.0)
21-
activesupport (= 7.1.0)
22-
mail (>= 2.7.1)
23-
net-imap
24-
net-pop
25-
net-smtp
26-
actionmailer (7.1.0)
27-
actionpack (= 7.1.0)
28-
actionview (= 7.1.0)
29-
activejob (= 7.1.0)
30-
activesupport (= 7.1.0)
31-
mail (~> 2.5, >= 2.5.4)
32-
net-imap
33-
net-pop
34-
net-smtp
35-
rails-dom-testing (~> 2.2)
3612
actionpack (7.1.0)
3713
actionview (= 7.1.0)
3814
activesupport (= 7.1.0)
@@ -42,13 +18,6 @@ GEM
4218
rack-test (>= 0.6.3)
4319
rails-dom-testing (~> 2.2)
4420
rails-html-sanitizer (~> 1.6)
45-
actiontext (7.1.0)
46-
actionpack (= 7.1.0)
47-
activerecord (= 7.1.0)
48-
activestorage (= 7.1.0)
49-
activesupport (= 7.1.0)
50-
globalid (>= 0.6.0)
51-
nokogiri (>= 1.8.5)
5221
actionview (7.1.0)
5322
activesupport (= 7.1.0)
5423
builder (~> 3.1)
@@ -64,12 +33,6 @@ GEM
6433
activemodel (= 7.1.0)
6534
activesupport (= 7.1.0)
6635
timeout (>= 0.4.0)
67-
activestorage (7.1.0)
68-
actionpack (= 7.1.0)
69-
activejob (= 7.1.0)
70-
activerecord (= 7.1.0)
71-
activesupport (= 7.1.0)
72-
marcel (~> 1.0)
7336
activesupport (7.1.0)
7437
base64
7538
bigdecimal
@@ -86,7 +49,6 @@ GEM
8649
concurrent-ruby (1.2.2)
8750
connection_pool (2.4.1)
8851
crass (1.0.6)
89-
date (3.3.3)
9052
debug (1.7.1)
9153
irb (>= 1.5.0)
9254
reline (>= 0.3.1)
@@ -103,28 +65,12 @@ GEM
10365
loofah (2.21.4)
10466
crass (~> 1.0.2)
10567
nokogiri (>= 1.12.0)
106-
mail (2.8.1)
107-
mini_mime (>= 0.1.1)
108-
net-imap
109-
net-pop
110-
net-smtp
111-
marcel (1.0.2)
112-
mini_mime (1.1.5)
11368
mini_portile2 (2.8.1)
11469
minitest (5.20.0)
11570
mocha (2.1.0)
11671
ruby2_keywords (>= 0.0.5)
11772
mutex_m (0.1.2)
11873
mysql2 (0.5.4)
119-
net-imap (0.4.1)
120-
date
121-
net-protocol
122-
net-pop (0.1.2)
123-
net-protocol
124-
net-protocol (0.2.1)
125-
timeout
126-
net-smtp (0.4.0)
127-
net-protocol
12874
nio4r (2.7.0)
12975
nokogiri (1.16.2-arm64-darwin)
13076
racc (~> 1.4)
@@ -144,20 +90,6 @@ GEM
14490
rackup (2.1.0)
14591
rack (>= 3)
14692
webrick (~> 1.8)
147-
rails (7.1.0)
148-
actioncable (= 7.1.0)
149-
actionmailbox (= 7.1.0)
150-
actionmailer (= 7.1.0)
151-
actionpack (= 7.1.0)
152-
actiontext (= 7.1.0)
153-
actionview (= 7.1.0)
154-
activejob (= 7.1.0)
155-
activemodel (= 7.1.0)
156-
activerecord (= 7.1.0)
157-
activestorage (= 7.1.0)
158-
activesupport (= 7.1.0)
159-
bundler (>= 1.15.0)
160-
railties (= 7.1.0)
16193
rails-dom-testing (2.2.0)
16294
activesupport (>= 5.0.0)
16395
minitest
@@ -180,17 +112,15 @@ GEM
180112
sqlite3 (1.5.4)
181113
mini_portile2 (~> 2.8.0)
182114
thor (1.2.2)
183-
timeout (0.4.0)
115+
timeout (0.4.1)
184116
tzinfo (2.0.6)
185117
concurrent-ruby (~> 1.0)
186118
webrick (1.8.1)
187-
websocket-driver (0.7.6)
188-
websocket-extensions (>= 0.1.0)
189-
websocket-extensions (0.1.5)
190119
zeitwerk (2.6.12)
191120

192121
PLATFORMS
193122
arm64-darwin-22
123+
x86_64-darwin-21
194124
x86_64-darwin-23
195125
x86_64-linux
196126

solid_queue.gemspec

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ Gem::Specification.new do |spec|
1717
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
1818
end
1919

20-
spec.add_dependency "rails", "~> 7.1"
20+
rails_version = ">= 7.1"
21+
spec.add_dependency "activerecord", rails_version
22+
spec.add_dependency "activejob", rails_version
23+
spec.add_dependency "railties", rails_version
2124
spec.add_development_dependency "debug"
2225
spec.add_development_dependency "mocha"
2326
spec.add_development_dependency "puma"

0 commit comments

Comments
 (0)