Skip to content

Commit 8297fd6

Browse files
Fix specs
1 parent 425ff08 commit 8297fd6

File tree

3 files changed

+170
-0
lines changed

3 files changed

+170
-0
lines changed

Gemfile.lock

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,105 @@ PATH
77
GEM
88
remote: https://rubygems.org/
99
specs:
10+
actioncable (7.1.1)
11+
actionpack (= 7.1.1)
12+
activesupport (= 7.1.1)
13+
nio4r (~> 2.0)
14+
websocket-driver (>= 0.6.1)
15+
zeitwerk (~> 2.6)
16+
actionmailbox (7.1.1)
17+
actionpack (= 7.1.1)
18+
activejob (= 7.1.1)
19+
activerecord (= 7.1.1)
20+
activestorage (= 7.1.1)
21+
activesupport (= 7.1.1)
22+
mail (>= 2.7.1)
23+
net-imap
24+
net-pop
25+
net-smtp
26+
actionmailer (7.1.1)
27+
actionpack (= 7.1.1)
28+
actionview (= 7.1.1)
29+
activejob (= 7.1.1)
30+
activesupport (= 7.1.1)
31+
mail (~> 2.5, >= 2.5.4)
32+
net-imap
33+
net-pop
34+
net-smtp
35+
rails-dom-testing (~> 2.2)
36+
actionpack (7.1.1)
37+
actionview (= 7.1.1)
38+
activesupport (= 7.1.1)
39+
nokogiri (>= 1.8.5)
40+
rack (>= 2.2.4)
41+
rack-session (>= 1.0.1)
42+
rack-test (>= 0.6.3)
43+
rails-dom-testing (~> 2.2)
44+
rails-html-sanitizer (~> 1.6)
45+
actiontext (7.1.1)
46+
actionpack (= 7.1.1)
47+
activerecord (= 7.1.1)
48+
activestorage (= 7.1.1)
49+
activesupport (= 7.1.1)
50+
globalid (>= 0.6.0)
51+
nokogiri (>= 1.8.5)
52+
actionview (7.1.1)
53+
activesupport (= 7.1.1)
54+
builder (~> 3.1)
55+
erubi (~> 1.11)
56+
rails-dom-testing (~> 2.2)
57+
rails-html-sanitizer (~> 1.6)
58+
activejob (7.1.1)
59+
activesupport (= 7.1.1)
60+
globalid (>= 0.3.6)
61+
activemodel (7.1.1)
62+
activesupport (= 7.1.1)
63+
activerecord (7.1.1)
64+
activemodel (= 7.1.1)
65+
activesupport (= 7.1.1)
66+
timeout (>= 0.4.0)
67+
activestorage (7.1.1)
68+
actionpack (= 7.1.1)
69+
activejob (= 7.1.1)
70+
activerecord (= 7.1.1)
71+
activesupport (= 7.1.1)
72+
marcel (~> 1.0)
73+
activesupport (7.1.1)
74+
base64
75+
bigdecimal
76+
concurrent-ruby (~> 1.0, >= 1.0.2)
77+
connection_pool (>= 2.2.5)
78+
drb
79+
i18n (>= 1.6, < 2)
80+
minitest (>= 5.1)
81+
mutex_m
82+
tzinfo (~> 2.0)
1083
addressable (2.8.5)
1184
public_suffix (>= 2.0.2, < 6.0)
1285
ast (2.4.2)
1386
baran (0.1.9)
1487
base64 (0.1.1)
88+
bigdecimal (3.1.4)
89+
builder (3.2.4)
1590
byebug (11.1.3)
1691
coderay (1.1.3)
1792
colorize (0.8.1)
93+
concurrent-ruby (1.2.2)
94+
connection_pool (2.4.1)
95+
crass (1.0.6)
96+
date (3.3.3)
1897
diff-lcs (1.5.0)
98+
drb (2.1.1)
99+
ruby2_keywords
100+
erubi (1.12.0)
101+
globalid (1.2.1)
102+
activesupport (>= 6.1)
103+
i18n (1.14.1)
104+
concurrent-ruby (~> 1.0)
105+
io-console (0.6.0)
106+
irb (1.8.3)
107+
rdoc
108+
reline (>= 0.3.8)
19109
json (2.6.3)
20110
json-schema (4.0.0)
21111
addressable (>= 2.8)
@@ -28,7 +118,31 @@ GEM
28118
zeitwerk (~> 2.5)
29119
language_server-protocol (3.17.0.3)
30120
lint_roller (1.1.0)
121+
loofah (2.21.4)
122+
crass (~> 1.0.2)
123+
nokogiri (>= 1.12.0)
124+
mail (2.8.1)
125+
mini_mime (>= 0.1.1)
126+
net-imap
127+
net-pop
128+
net-smtp
129+
marcel (1.0.2)
31130
method_source (1.0.0)
131+
mini_mime (1.1.5)
132+
minitest (5.20.0)
133+
mutex_m (0.1.2)
134+
net-imap (0.4.2)
135+
date
136+
net-protocol
137+
net-pop (0.1.2)
138+
net-protocol
139+
net-protocol (0.2.1)
140+
timeout
141+
net-smtp (0.4.0)
142+
net-protocol
143+
nio4r (2.5.9)
144+
nokogiri (1.15.4-x86_64-darwin)
145+
racc (~> 1.4)
32146
parallel (1.23.0)
33147
parser (3.2.2.4)
34148
ast (~> 2.4.1)
@@ -41,11 +155,54 @@ GEM
41155
pry-byebug (3.10.1)
42156
byebug (~> 11.0)
43157
pry (>= 0.13, < 0.15)
158+
psych (5.1.1.1)
159+
stringio
44160
public_suffix (5.0.3)
45161
racc (1.7.1)
162+
rack (3.0.8)
163+
rack-session (2.0.0)
164+
rack (>= 3.0.0)
165+
rack-test (2.1.0)
166+
rack (>= 1.3)
167+
rackup (2.1.0)
168+
rack (>= 3)
169+
webrick (~> 1.8)
170+
rails (7.1.1)
171+
actioncable (= 7.1.1)
172+
actionmailbox (= 7.1.1)
173+
actionmailer (= 7.1.1)
174+
actionpack (= 7.1.1)
175+
actiontext (= 7.1.1)
176+
actionview (= 7.1.1)
177+
activejob (= 7.1.1)
178+
activemodel (= 7.1.1)
179+
activerecord (= 7.1.1)
180+
activestorage (= 7.1.1)
181+
activesupport (= 7.1.1)
182+
bundler (>= 1.15.0)
183+
railties (= 7.1.1)
184+
rails-dom-testing (2.2.0)
185+
activesupport (>= 5.0.0)
186+
minitest
187+
nokogiri (>= 1.6)
188+
rails-html-sanitizer (1.6.0)
189+
loofah (~> 2.21)
190+
nokogiri (~> 1.14)
191+
railties (7.1.1)
192+
actionpack (= 7.1.1)
193+
activesupport (= 7.1.1)
194+
irb
195+
rackup (>= 1.0.0)
196+
rake (>= 12.2)
197+
thor (~> 1.0, >= 1.2.2)
198+
zeitwerk (~> 2.6)
46199
rainbow (3.1.1)
47200
rake (13.0.6)
201+
rdoc (6.5.0)
202+
psych (>= 4.0.0)
48203
regexp_parser (2.8.2)
204+
reline (0.3.9)
205+
io-console (~> 0.5)
49206
rexml (3.2.6)
50207
rspec (3.12.0)
51208
rspec-core (~> 3.12.0)
@@ -78,6 +235,7 @@ GEM
78235
rubocop (>= 1.7.0, < 2.0)
79236
rubocop-ast (>= 0.4.0)
80237
ruby-progressbar (1.13.0)
238+
ruby2_keywords (0.0.5)
81239
standard (1.31.2)
82240
language_server-protocol (~> 3.17.0.2)
83241
lint_roller (~> 1.0)
@@ -92,9 +250,18 @@ GEM
92250
rubocop-performance (~> 1.19.1)
93251
standardrb (1.0.1)
94252
standard
253+
stringio (3.0.8)
254+
thor (1.3.0)
95255
tiktoken_ruby (0.0.6-x86_64-darwin)
256+
timeout (0.4.0)
257+
tzinfo (2.0.6)
258+
concurrent-ruby (~> 1.0)
96259
unicode (0.4.4.4)
97260
unicode-display_width (2.5.0)
261+
webrick (1.8.1)
262+
websocket-driver (0.7.6)
263+
websocket-extensions (>= 0.1.0)
264+
websocket-extensions (0.1.5)
98265
yard (0.9.34)
99266
zeitwerk (2.6.11)
100267

@@ -105,6 +272,7 @@ DEPENDENCIES
105272
langchainrb
106273
langchainrb_rails!
107274
pry-byebug (~> 3.10.0)
275+
rails (> 6.0.0)
108276
rake (~> 13.0)
109277
rspec (~> 3.0)
110278
standardrb

langchainrb_rails.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
3434

3535
spec.add_development_dependency "pry-byebug", "~> 3.10.0"
3636
spec.add_development_dependency "yard", "~> 0.9.34"
37+
spec.add_development_dependency "rails", "> 6.0.0"
3738
end

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22

3+
require "rails"
34
require "langchainrb_rails"
45

56
RSpec.configure do |config|

0 commit comments

Comments
 (0)