-
Notifications
You must be signed in to change notification settings - Fork 5
/
rubyai.gemspec
38 lines (34 loc) · 1.33 KB
/
rubyai.gemspec
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
Gem::Specification.new do |s|
s.name = "rubyai"
s.version = "0.5"
s.summary = "A Ruby gem for the OpenAI (GPT-4) API"
s.description = "RubyAI is a wrapper for the OpenAI API that allows you to interact with GPT-4 within Ruby/Rails applications. It provides simple methods for integrating language model capabilities into your Ruby projects."
s.homepage = "https://github.com/alexshapalov/rubyai"
s.authors = ["Alex Shapalov"]
s.license = "MIT"
s.files = Dir.chdir(File.expand_path(__dir__)) do
Dir[
"{lib,spec}/**/*",
"LICENSE",
"README.md",
"CHANGELOG.md",
"Gemfile",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"pull_request_template.md"
].select { |f| File.file?(f) }
end
# Specify the main file that will be required by default
s.require_paths = ["lib"]
s.required_ruby_version = ">= 2.6"
# Dependencies
s.add_dependency "faraday", "~> 2.0"
s.add_dependency "faraday-net_http_persistent"
s.add_development_dependency "rspec", "~> 3.10"
# Metadata information (optional but useful for gem hosts)
s.metadata = {
"source_code_uri" => "https://github.com/alexshapalov/rubyai",
"changelog_uri" => "https://github.com/alexshapalov/rubyai/CHANGELOG.md",
"documentation_uri" => "https://github.com/alexshapalov/rubyai#readme"
}
end