Skip to content

Commit e351857

Browse files
mpraglowskimostlyobvious
authored andcommitted
Test to ensure AR is lazy loaded correctly
1 parent 6046a7b commit e351857

File tree

8 files changed

+432
-13
lines changed

8 files changed

+432
-13
lines changed

ruby_event_store-active_record/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ gem "ruby_event_store", path: ".."
1111
gem "childprocess"
1212
gem "activerecord", "~> 8.0.0"
1313
gem "sqlite3", ">= 2.1"
14+
15+
gem "rails", require: false

ruby_event_store-active_record/Gemfile.activerecord_7_1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ gem "ruby_event_store", path: ".."
1111
gem "childprocess"
1212
gem "activerecord", "~> 7.1.5"
1313
gem "sqlite3", "~> 1.7"
14+
15+
gem "rails", require: false

ruby_event_store-active_record/Gemfile.activerecord_7_1.lock

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,70 @@ PATH
1414
GEM
1515
remote: https://rubygems.org/
1616
specs:
17+
actioncable (7.1.5.1)
18+
actionpack (= 7.1.5.1)
19+
activesupport (= 7.1.5.1)
20+
nio4r (~> 2.0)
21+
websocket-driver (>= 0.6.1)
22+
zeitwerk (~> 2.6)
23+
actionmailbox (7.1.5.1)
24+
actionpack (= 7.1.5.1)
25+
activejob (= 7.1.5.1)
26+
activerecord (= 7.1.5.1)
27+
activestorage (= 7.1.5.1)
28+
activesupport (= 7.1.5.1)
29+
mail (>= 2.7.1)
30+
net-imap
31+
net-pop
32+
net-smtp
33+
actionmailer (7.1.5.1)
34+
actionpack (= 7.1.5.1)
35+
actionview (= 7.1.5.1)
36+
activejob (= 7.1.5.1)
37+
activesupport (= 7.1.5.1)
38+
mail (~> 2.5, >= 2.5.4)
39+
net-imap
40+
net-pop
41+
net-smtp
42+
rails-dom-testing (~> 2.2)
43+
actionpack (7.1.5.1)
44+
actionview (= 7.1.5.1)
45+
activesupport (= 7.1.5.1)
46+
nokogiri (>= 1.8.5)
47+
racc
48+
rack (>= 2.2.4)
49+
rack-session (>= 1.0.1)
50+
rack-test (>= 0.6.3)
51+
rails-dom-testing (~> 2.2)
52+
rails-html-sanitizer (~> 1.6)
53+
actiontext (7.1.5.1)
54+
actionpack (= 7.1.5.1)
55+
activerecord (= 7.1.5.1)
56+
activestorage (= 7.1.5.1)
57+
activesupport (= 7.1.5.1)
58+
globalid (>= 0.6.0)
59+
nokogiri (>= 1.8.5)
60+
actionview (7.1.5.1)
61+
activesupport (= 7.1.5.1)
62+
builder (~> 3.1)
63+
erubi (~> 1.11)
64+
rails-dom-testing (~> 2.2)
65+
rails-html-sanitizer (~> 1.6)
66+
activejob (7.1.5.1)
67+
activesupport (= 7.1.5.1)
68+
globalid (>= 0.3.6)
1769
activemodel (7.1.5.1)
1870
activesupport (= 7.1.5.1)
1971
activerecord (7.1.5.1)
2072
activemodel (= 7.1.5.1)
2173
activesupport (= 7.1.5.1)
2274
timeout (>= 0.4.0)
75+
activestorage (7.1.5.1)
76+
actionpack (= 7.1.5.1)
77+
activejob (= 7.1.5.1)
78+
activerecord (= 7.1.5.1)
79+
activesupport (= 7.1.5.1)
80+
marcel (~> 1.0)
2381
activesupport (7.1.5.1)
2482
base64
2583
benchmark (>= 0.3)
@@ -37,14 +95,19 @@ GEM
3795
base64 (0.3.0)
3896
benchmark (0.4.1)
3997
bigdecimal (3.2.2)
98+
builder (3.3.0)
4099
childprocess (5.1.0)
41100
logger (~> 1.5)
42101
concurrent-ruby (1.3.5)
43102
connection_pool (2.5.3)
103+
crass (1.0.6)
44104
date (3.4.1)
45105
diff-lcs (1.6.2)
46106
drb (2.2.3)
47107
erb (5.0.1)
108+
erubi (1.13.1)
109+
globalid (1.3.0)
110+
activesupport (>= 6.1)
48111
i18n (1.14.7)
49112
concurrent-ruby (~> 1.0)
50113
io-console (0.8.0)
@@ -53,6 +116,16 @@ GEM
53116
rdoc (>= 4.0.0)
54117
reline (>= 0.4.2)
55118
logger (1.7.0)
119+
loofah (2.24.1)
120+
crass (~> 1.0.2)
121+
nokogiri (>= 1.12.0)
122+
mail (2.8.1)
123+
mini_mime (>= 0.1.1)
124+
net-imap
125+
net-pop
126+
net-smtp
127+
marcel (1.1.0)
128+
mini_mime (1.1.5)
56129
mini_portile2 (2.8.9)
57130
minitest (5.25.5)
58131
mutant (0.13.1)
@@ -70,6 +143,18 @@ GEM
70143
rspec-core (>= 3.8.0, < 4.0.0)
71144
mutex_m (0.3.0)
72145
mysql2 (0.5.6)
146+
net-imap (0.5.12)
147+
date
148+
net-protocol
149+
net-pop (0.1.2)
150+
net-protocol
151+
net-protocol (0.2.2)
152+
timeout
153+
net-smtp (0.5.1)
154+
net-protocol
155+
nio4r (2.7.4)
156+
nokogiri (1.18.10-arm64-darwin)
157+
racc (~> 1.4)
73158
parser (3.3.8.0)
74159
ast (~> 2.4.1)
75160
racc
@@ -81,6 +166,43 @@ GEM
81166
date
82167
stringio
83168
racc (1.8.1)
169+
rack (3.2.3)
170+
rack-session (2.1.1)
171+
base64 (>= 0.1.0)
172+
rack (>= 3.0.0)
173+
rack-test (2.2.0)
174+
rack (>= 1.3)
175+
rackup (2.2.1)
176+
rack (>= 3)
177+
rails (7.1.5.1)
178+
actioncable (= 7.1.5.1)
179+
actionmailbox (= 7.1.5.1)
180+
actionmailer (= 7.1.5.1)
181+
actionpack (= 7.1.5.1)
182+
actiontext (= 7.1.5.1)
183+
actionview (= 7.1.5.1)
184+
activejob (= 7.1.5.1)
185+
activemodel (= 7.1.5.1)
186+
activerecord (= 7.1.5.1)
187+
activestorage (= 7.1.5.1)
188+
activesupport (= 7.1.5.1)
189+
bundler (>= 1.15.0)
190+
railties (= 7.1.5.1)
191+
rails-dom-testing (2.3.0)
192+
activesupport (>= 5.0.0)
193+
minitest
194+
nokogiri (>= 1.6)
195+
rails-html-sanitizer (1.6.2)
196+
loofah (~> 2.21)
197+
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)
198+
railties (7.1.5.1)
199+
actionpack (= 7.1.5.1)
200+
activesupport (= 7.1.5.1)
201+
irb
202+
rackup (>= 1.0.0)
203+
rake (>= 12.2)
204+
thor (~> 1.0, >= 1.2.2)
205+
zeitwerk (~> 2.6)
84206
rake (13.3.0)
85207
rdoc (6.14.0)
86208
erb
@@ -106,12 +228,18 @@ GEM
106228
sqlite3 (1.7.3)
107229
mini_portile2 (~> 2.8.0)
108230
stringio (3.1.7)
231+
thor (1.4.0)
109232
timeout (0.4.3)
110233
tzinfo (2.0.6)
111234
concurrent-ruby (~> 1.0)
112235
unparser (0.7.0)
113236
diff-lcs (~> 1.6)
114237
parser (>= 3.3.0)
238+
websocket-driver (0.8.0)
239+
base64
240+
websocket-extensions (>= 0.1.0)
241+
websocket-extensions (0.1.5)
242+
zeitwerk (2.7.3)
115243

116244
PLATFORMS
117245
arm64-darwin
@@ -127,6 +255,7 @@ DEPENDENCIES
127255
mutant-rspec
128256
mysql2 (~> 0.5.6)
129257
pg (~> 1.5.6)
258+
rails
130259
rake (>= 10.0)
131260
rspec
132261
ruby_event_store!

ruby_event_store-active_record/Gemfile.activerecord_7_2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ gem "ruby_event_store", path: ".."
1111
gem "childprocess"
1212
gem "activerecord", "~> 7.2.2.1"
1313
gem "sqlite3", ">= 1.7.3"
14+
15+
gem "rails", require: false

0 commit comments

Comments
 (0)