summaryrefslogtreecommitdiff
path: root/nano-bots.gemspec
blob: 074cf50d737a6a0a7f177e35aaaf436f095e7ae5 (about) (plain)
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
43
44
45
# 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 'gemini-ai', '~> 2.1'
  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