Skip to content

Commit

Permalink
Update GemSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshapalov committed Oct 22, 2024
1 parent e925430 commit bcb1877
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions rubyai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,33 @@ Gem::Specification.new do |s|
s.name = "rubyai"
s.version = "0.4"
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-3 and GPT-4 from within Ruby applications. It provides simple methods for integrating language model capabilities into your Ruby projects."
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["{rubyai,lib}/**/*", "rubyai.rb", "LICENSE", "README.md", "CHANGELOG.md"]
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

s.require_paths = ["."]
s.required_ruby_version = ">= 2.7"
# 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_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",
Expand Down

0 comments on commit bcb1877

Please sign in to comment.