ruby_llm-contract 1.4.1 → 1.5.0
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 +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/lib/ruby_llm/contract/version.rb +1 -1
- data/ruby_llm-contract.gemspec +4 -1
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef312277fa8246fb8718ffdcded7c746c65b8c7d65284d12afaf7a8bde311628
|
|
4
|
+
data.tar.gz: 5d1b7275c946f2f57822b1ba433bbbf476d5b2aec0174d3a46e2858ee17f7dc1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29cd311f757a75eeadfe7195c6e7c625eeb34873bc0aa8a7ecab1fe198e4d41d45298295c8c58f0f960bf98d6e8cb26fff4c0febbab3899fac2edb87662ed2c5
|
|
7
|
+
data.tar.gz: 31ece11d0b6669a090f19a1695dac6e0c31180fd8e97e4de44fde6caa7ed1b9bf15ae0e29176112c1ec00792f7610356fc8869380ec326ffa87348f463b89fb8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.0 (2026-10-13)
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **Requires `ruby_llm` 2.1.1 or later in 2.x (was `~> 2.0`).** faraday-net_http
|
|
8
|
+
3.5.0 (2026-10-11) declares no Faraday dependency, so a fresh install of ruby_llm
|
|
9
|
+
2.0.0 to 2.1.0 resolves Faraday 2.0.0, which loads no default adapter, and every
|
|
10
|
+
call fails with `:net_http is not registered on Faraday::Adapter`. ruby_llm 2.1.1
|
|
11
|
+
excludes Faraday 2.0.0. An app whose lockfile already has a working Faraday ran
|
|
12
|
+
fine on the older releases, but CI now tests 2.1.1 and the latest 2.x, so the
|
|
13
|
+
gemspec allows what is tested. Run `bundle update ruby_llm` if you are on an
|
|
14
|
+
older 2.x. No code changes are needed.
|
|
15
|
+
|
|
3
16
|
## 1.4.1 (2026-10-11)
|
|
4
17
|
|
|
5
18
|
### Fixed
|
data/README.md
CHANGED
|
@@ -24,7 +24,7 @@ RubyLLM::Contract.configure do |c|
|
|
|
24
24
|
end
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Works with any `ruby_llm` provider (OpenAI, Anthropic, Gemini, etc). Requires `ruby_llm
|
|
27
|
+
Works with any `ruby_llm` provider (OpenAI, Anthropic, Gemini, etc). Requires `ruby_llm` 2.1.1 or later in 2.x and Ruby ≥ 3.2.
|
|
28
28
|
|
|
29
29
|
## Example
|
|
30
30
|
|
data/ruby_llm-contract.gemspec
CHANGED
|
@@ -35,7 +35,10 @@ Gem::Specification.new do |spec|
|
|
|
35
35
|
spec.require_paths = ["lib"]
|
|
36
36
|
|
|
37
37
|
spec.add_dependency "dry-types", "~> 1.7"
|
|
38
|
-
|
|
38
|
+
# 2.1.1 is the first ruby_llm whose fresh install resolves a working Faraday
|
|
39
|
+
# (2.0.0 to 2.1.0 pair faraday-net_http 3.5.0 with faraday 2.0.0, which loads
|
|
40
|
+
# no adapter), and the oldest release CI runs against.
|
|
41
|
+
spec.add_dependency "ruby_llm", ">= 2.1.1", "< 3"
|
|
39
42
|
# schematist is what ruby_llm-schema became; ruby_llm 2.x depends on it too.
|
|
40
43
|
spec.add_dependency "schematist", "~> 1.1"
|
|
41
44
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_llm-contract
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justyna
|
|
@@ -27,16 +27,22 @@ dependencies:
|
|
|
27
27
|
name: ruby_llm
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
|
-
- - "
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 2.1.1
|
|
33
|
+
- - "<"
|
|
31
34
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
35
|
+
version: '3'
|
|
33
36
|
type: :runtime
|
|
34
37
|
prerelease: false
|
|
35
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
39
|
requirements:
|
|
37
|
-
- - "
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 2.1.1
|
|
43
|
+
- - "<"
|
|
38
44
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
45
|
+
version: '3'
|
|
40
46
|
- !ruby/object:Gem::Dependency
|
|
41
47
|
name: schematist
|
|
42
48
|
requirement: !ruby/object:Gem::Requirement
|