# frozen_string_literal: true require_relative 'static/gem' Gem::Specification.new do |spec| spec.name = NanoBot::GEM[:name] spec.version = NanoBot::GEM[:version] spec.authors = [NanoBot::GEM[:author]] spec.summary = NanoBot::GEM[:summary] spec.description = NanoBot::GEM[:description] spec.homepage = NanoBot::GEM[:github] spec.license = NanoBot::GEM[:license] spec.required_ruby_version = Gem::Requirement.new(">= #{NanoBot::GEM[:ruby]}") spec.metadata['allowed_push_host'] = NanoBot::GEM[:gem_server] spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = NanoBot::GEM[:github] spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject do |f| f.match(%r{\A(?:test|spec|features)/}) end end spec.require_paths = ['ports/dsl'] spec.executables = ['nb'] spec.add_dependency 'babosa', '~> 2.0' spec.add_dependency 'concurrent-ruby', '~> 1.2', '>= 1.2.2' spec.add_dependency 'dotenv', '~> 2.8', '>= 2.8.1' spec.add_dependency 'faraday', '~> 2.7', '>= 2.7.12' spec.add_dependency 'pry', '~> 0.14.2' spec.add_dependency 'rainbow', '~> 3.1', '>= 3.1.1' spec.add_dependency 'rbnacl', '~> 7.1', '>= 7.1.1' spec.add_dependency 'ruby-openai', '~> 6.3', '>= 6.3.1' spec.add_dependency 'sweet-moon', '~> 0.0.7' spec.metadata['rubygems_mfa_required'] = 'true' end