-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbraintrust.gemspec
More file actions
42 lines (35 loc) · 1.52 KB
/
braintrust.gemspec
File metadata and controls
42 lines (35 loc) · 1.52 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
36
37
38
39
40
41
42
# frozen_string_literal: true
require_relative "lib/braintrust/version"
Gem::Specification.new do |spec|
spec.name = "braintrust"
spec.version = Braintrust::VERSION
spec.authors = ["Braintrust"]
spec.email = ["info@braintrust.dev"]
spec.summary = "Ruby SDK for Braintrust"
spec.description = "Braintrust Ruby SDK for evals, tracing and more. "
spec.homepage = "https://github.com/braintrustdata/braintrust-sdk-ruby"
spec.license = "Apache-2.0"
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}/releases"
# Specify which files should be added to the gem when it is released.
spec.files = Dir.glob(%w[
exe/*
lib/**/*.rb
README.md
LICENSE
])
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# Runtime dependencies
spec.add_runtime_dependency "logger", ">= 1.0"
spec.add_runtime_dependency "opentelemetry-sdk", "~> 1.3"
spec.add_runtime_dependency "opentelemetry-exporter-otlp", "~> 0.28"
# OpenSSL 3.3.1+ fixes macOS CRL (Certificate Revocation List) verification issues
# that occur with OpenSSL 3.6 + Ruby (certificate verify failed: unable to get certificate CRL).
# See: https://github.com/ruby/openssl/issues/949
# This dependency may be removable in future Ruby versions once the fix is widely available.
spec.add_runtime_dependency "openssl", ">= 3.3.1", "< 5.0"
end