From bcb1877a66ff39e684bc4aa3eba51c4692821cad Mon Sep 17 00:00:00 2001 From: Alex Shapalov Date: Tue, 22 Oct 2024 13:57:00 -0700 Subject: [PATCH] Update GemSpec --- rubyai.gemspec | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/rubyai.gemspec b/rubyai.gemspec index 87bd232..02c4879 100644 --- a/rubyai.gemspec +++ b/rubyai.gemspec @@ -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",