-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruby_llm-contract.gemspec
More file actions
35 lines (29 loc) · 1.33 KB
/
ruby_llm-contract.gemspec
File metadata and controls
35 lines (29 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# frozen_string_literal: true
require_relative "lib/ruby_llm/contract/version"
Gem::Specification.new do |spec|
spec.name = "ruby_llm-contract"
spec.version = RubyLLM::Contract::VERSION
spec.authors = ["Justyna"]
spec.summary = "Know which LLM model to use, what it costs, and when accuracy drops"
spec.description = "Compare LLM models by accuracy and cost. Regression-test prompts in CI. " \
"Start on nano, auto-escalate to bigger models when quality drops. " \
"Companion gem for ruby_llm."
spec.homepage = "https://github.com/justi/ruby_llm-contract"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata["documentation_uri"] = "#{spec.homepage}#readme"
spec.metadata["rubygems_mfa_required"] = "true"
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) ||
f.start_with?("spec/", "docs/", "doc/", ".ai/", ".claude/", ".git")
end
end
spec.require_paths = ["lib"]
spec.add_dependency "dry-types", "~> 1.7"
spec.add_dependency "ruby_llm", "~> 1.0"
spec.add_dependency "ruby_llm-schema", "~> 0.3"
end