boxcars 0.10.7 → 0.10.9

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: 700260c078ea4da94359ed7f7a02a83e93aa24f98bdc1a0a3feb25e42aafb44f
4
- data.tar.gz: 6ef83f15dd40ed03909bdc4378dfa5d94b816cf183b7d15b49069fdb3ea3b8d8
3
+ metadata.gz: 64b7e543514bf7d455bbc551248f34adff8c302422f59ebae31f43b314bf64d7
4
+ data.tar.gz: 577e41b5b0361fc07173f2eec4a452f4021d5c826de6d89514c16d50d88bf24e
5
5
  SHA512:
6
- metadata.gz: 9a3bb33c2e9cdc3c6fc2ca784431c1779f8356f2d919828bc269d757ca2d88adf80c946abbdea9076ea54ca8724c11516c9e375e4a5100fbff5042287261bd07
7
- data.tar.gz: d02519ed72fd17356ae8f346b1221d0caad3030f1ded75f713b19192838fcebe0d0f923aebeb12b69b77ff359e068110eb11ea9925949b88594bec774d2448fd
6
+ metadata.gz: e54505c0d6a801c364d671032469795f17ac094e77855becbe8770d909c9771fc52efa7434fcb1ad225282bad519e16d68181c22851a5555c48abb648c10f0b5
7
+ data.tar.gz: 84f62b772954edfd3555da6de18ba0e300e7fbdc76b6862dfae15f1b4e86de80161fc9990fc509c3d9508173b46b36adebebf43562e95c8f1fcab9ce8c5c0039
data/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.10.9] - 2026-04-30
6
+
7
+ ### Fixed
8
+
9
+ - `Boxcars::Engines.json_engine` no longer sends OpenAI-style `response_format` parameters to Anthropic Haiku models.
10
+
11
+ ## [0.10.8] - 2026-04-06
12
+
13
+ ### Fixed
14
+
15
+ - Cleaned up the `Boxcars::MultiBackend` spec helpers to remove duplicate anonymous backend method definitions and clear the remaining `Lint/DuplicateMethods` RuboCop warnings.
16
+
17
+ ### Maintenance
18
+
19
+ - Refreshed `Gemfile.lock` for the `0.10.8` release, including patch and minor dependency updates across the development bundle.
20
+
5
21
  ## [0.10.7] - 2026-03-31
6
22
 
7
23
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- boxcars (0.10.7)
4
+ boxcars (0.10.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- activemodel (8.1.2)
10
- activesupport (= 8.1.2)
11
- activerecord (8.1.2)
12
- activemodel (= 8.1.2)
13
- activesupport (= 8.1.2)
9
+ activemodel (8.1.3)
10
+ activesupport (= 8.1.3)
11
+ activerecord (8.1.3)
12
+ activemodel (= 8.1.3)
13
+ activesupport (= 8.1.3)
14
14
  timeout (>= 0.4.0)
15
- activesupport (8.1.2)
15
+ activesupport (8.1.3)
16
16
  base64
17
17
  bigdecimal
18
18
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -25,11 +25,11 @@ GEM
25
25
  securerandom (>= 0.3)
26
26
  tzinfo (~> 2.0, >= 2.0.5)
27
27
  uri (>= 0.13.1)
28
- addressable (2.8.9)
28
+ addressable (2.9.0)
29
29
  public_suffix (>= 2.0.2, < 8.0)
30
30
  ast (2.4.3)
31
31
  base64 (0.3.0)
32
- bigdecimal (4.0.1)
32
+ bigdecimal (4.1.2)
33
33
  cgi (0.5.1)
34
34
  concurrent-ruby (1.3.6)
35
35
  connection_pool (3.0.2)
@@ -43,7 +43,7 @@ GEM
43
43
  diff-lcs (1.6.2)
44
44
  dotenv (3.2.0)
45
45
  drb (2.2.3)
46
- erb (6.0.2)
46
+ erb (6.0.4)
47
47
  event_stream_parser (1.0.0)
48
48
  faraday (2.14.1)
49
49
  faraday-net_http (>= 2.0, < 3.5)
@@ -59,48 +59,43 @@ GEM
59
59
  i18n (1.14.8)
60
60
  concurrent-ruby (~> 1.0)
61
61
  io-console (0.8.2)
62
- irb (1.17.0)
62
+ irb (1.18.0)
63
63
  pp (>= 0.6.0)
64
64
  prism (>= 1.3.0)
65
65
  rdoc (>= 4.0.0)
66
66
  reline (>= 0.4.2)
67
- json (2.19.1)
68
- json-schema (6.2.0)
69
- addressable (~> 2.8)
70
- bigdecimal (>= 3.1, < 5)
67
+ json (2.19.4)
71
68
  language_server-protocol (3.17.0.5)
72
69
  lint_roller (1.1.0)
73
70
  logger (1.7.0)
74
- mcp (0.8.0)
75
- json-schema (>= 4.1)
76
- minitest (6.0.2)
71
+ minitest (6.0.3)
77
72
  drb (~> 2.0)
78
73
  prism (~> 1.5)
79
74
  multipart-post (2.4.1)
80
75
  net-http (0.9.1)
81
76
  uri (>= 0.11.1)
82
- nokogiri (1.19.1-aarch64-linux-gnu)
77
+ nokogiri (1.19.3-aarch64-linux-gnu)
83
78
  racc (~> 1.4)
84
- nokogiri (1.19.1-aarch64-linux-musl)
79
+ nokogiri (1.19.3-aarch64-linux-musl)
85
80
  racc (~> 1.4)
86
- nokogiri (1.19.1-arm-linux-gnu)
81
+ nokogiri (1.19.3-arm-linux-gnu)
87
82
  racc (~> 1.4)
88
- nokogiri (1.19.1-arm-linux-musl)
83
+ nokogiri (1.19.3-arm-linux-musl)
89
84
  racc (~> 1.4)
90
- nokogiri (1.19.1-arm64-darwin)
85
+ nokogiri (1.19.3-arm64-darwin)
91
86
  racc (~> 1.4)
92
- nokogiri (1.19.1-x86_64-darwin)
87
+ nokogiri (1.19.3-x86_64-darwin)
93
88
  racc (~> 1.4)
94
- nokogiri (1.19.1-x86_64-linux-gnu)
89
+ nokogiri (1.19.3-x86_64-linux-gnu)
95
90
  racc (~> 1.4)
96
- nokogiri (1.19.1-x86_64-linux-musl)
91
+ nokogiri (1.19.3-x86_64-linux-musl)
97
92
  racc (~> 1.4)
98
- openai (0.53.0)
93
+ openai (0.60.0)
99
94
  base64
100
95
  cgi
101
96
  connection_pool
102
- parallel (1.27.0)
103
- parser (3.3.10.2)
97
+ parallel (2.1.0)
98
+ parser (3.3.11.1)
104
99
  ast (~> 2.4.1)
105
100
  racc
106
101
  pg (1.6.3)
@@ -110,8 +105,8 @@ GEM
110
105
  pg (1.6.3-x86_64-darwin)
111
106
  pg (1.6.3-x86_64-linux)
112
107
  pg (1.6.3-x86_64-linux-musl)
113
- pgvector (0.3.2)
114
- posthog-ruby (3.5.5)
108
+ pgvector (0.3.3)
109
+ posthog-ruby (3.6.5)
115
110
  concurrent-ruby (~> 1)
116
111
  pp (0.6.3)
117
112
  prettyprint
@@ -123,12 +118,12 @@ GEM
123
118
  public_suffix (7.0.5)
124
119
  racc (1.8.1)
125
120
  rainbow (3.1.1)
126
- rake (13.3.1)
121
+ rake (13.4.2)
127
122
  rdoc (7.2.0)
128
123
  erb
129
124
  psych (>= 4.0.0)
130
125
  tsort
131
- regexp_parser (2.11.3)
126
+ regexp_parser (2.12.0)
132
127
  reline (0.6.3)
133
128
  io-console (~> 0.5)
134
129
  rexml (3.4.4)
@@ -145,12 +140,11 @@ GEM
145
140
  diff-lcs (>= 1.2.0, < 2.0)
146
141
  rspec-support (~> 3.13.0)
147
142
  rspec-support (3.13.7)
148
- rubocop (1.85.1)
143
+ rubocop (1.86.1)
149
144
  json (~> 2.3)
150
145
  language_server-protocol (~> 3.17.0.2)
151
146
  lint_roller (~> 1.1.0)
152
- mcp (~> 0.6)
153
- parallel (~> 1.10)
147
+ parallel (>= 1.10)
154
148
  parser (>= 3.3.0.2)
155
149
  rainbow (>= 2.2.2, < 4.0)
156
150
  regexp_parser (>= 2.9.3, < 3.0)
@@ -172,16 +166,16 @@ GEM
172
166
  faraday-multipart (>= 1)
173
167
  ruby-progressbar (1.13.0)
174
168
  securerandom (0.4.1)
175
- sequel (5.102.0)
169
+ sequel (5.103.0)
176
170
  bigdecimal
177
- sqlite3 (2.9.1-aarch64-linux-gnu)
178
- sqlite3 (2.9.1-aarch64-linux-musl)
179
- sqlite3 (2.9.1-arm-linux-gnu)
180
- sqlite3 (2.9.1-arm-linux-musl)
181
- sqlite3 (2.9.1-arm64-darwin)
182
- sqlite3 (2.9.1-x86_64-darwin)
183
- sqlite3 (2.9.1-x86_64-linux-gnu)
184
- sqlite3 (2.9.1-x86_64-linux-musl)
171
+ sqlite3 (2.9.3-aarch64-linux-gnu)
172
+ sqlite3 (2.9.3-aarch64-linux-musl)
173
+ sqlite3 (2.9.3-arm-linux-gnu)
174
+ sqlite3 (2.9.3-arm-linux-musl)
175
+ sqlite3 (2.9.3-arm64-darwin)
176
+ sqlite3 (2.9.3-x86_64-darwin)
177
+ sqlite3 (2.9.3-x86_64-linux-gnu)
178
+ sqlite3 (2.9.3-x86_64-linux-musl)
185
179
  stringio (3.2.0)
186
180
  timeout (0.6.1)
187
181
  tsort (0.2.0)
@@ -192,7 +186,7 @@ GEM
192
186
  unicode-emoji (4.2.0)
193
187
  uri (1.1.1)
194
188
  vcr (6.4.0)
195
- webmock (3.26.1)
189
+ webmock (3.26.2)
196
190
  addressable (>= 2.8.0)
197
191
  crack (>= 0.3.2)
198
192
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -0,0 +1 @@
1
+ 810a55235af6e4f140796611268d74976db66fea234652b4f63e3e6fdf3ff39d3acbca6adbf0e0ed3060f75e92ef06a4a47bdca8036a59fe1e43e6f972c51731
@@ -100,7 +100,7 @@ module Boxcars
100
100
  default_options = { temperature: 0.1 }
101
101
  effective_model = model || Boxcars.configuration.default_model || DEFAULT_MODEL
102
102
  name = effective_model.to_s
103
- blocked = name.start_with?("gpt-5", "llama") || name.match?(/sonnet|opus|sonar/)
103
+ blocked = name.start_with?("gpt-5", "llama") || name.match?(/sonnet|opus|haiku|sonar/)
104
104
  default_options[:response_format] = { type: "json_object" } unless blocked
105
105
  options = default_options.merge(kw_args)
106
106
  engine(model:, **options)
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Boxcars
4
4
  # The current version of the gem.
5
- VERSION = "0.10.7"
5
+ VERSION = "0.10.9"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxcars
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.7
4
+ version: 0.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Sullivan
@@ -38,6 +38,7 @@ files:
38
38
  - bin/setup
39
39
  - boxcars-0.10.3.gem
40
40
  - boxcars.gemspec
41
+ - checksums/boxcars-0.10.9.gem.sha512
41
42
  - docs/agents_guide.md
42
43
  - docs/boxcars_guide.md
43
44
  - lib/boxcars.rb