-
Notifications
You must be signed in to change notification settings - Fork 22
/
gemini-ai.gemspec
43 lines (29 loc) · 1.19 KB
/
gemini-ai.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
39
40
41
42
43
# frozen_string_literal: true
require_relative 'static/gem'
Gem::Specification.new do |spec|
spec.name = Gemini::GEM[:name]
spec.version = Gemini::GEM[:version]
spec.authors = [Gemini::GEM[:author]]
spec.summary = Gemini::GEM[:summary]
spec.description = Gemini::GEM[:description]
spec.homepage = Gemini::GEM[:github]
spec.license = Gemini::GEM[:license]
spec.required_ruby_version = Gem::Requirement.new(">= #{Gemini::GEM[:ruby]}")
spec.metadata['allowed_push_host'] = Gemini::GEM[:gem_server]
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = Gemini::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.add_dependency 'event_stream_parser', '~> 1.0'
spec.add_dependency 'faraday', '~> 2.10'
spec.add_dependency 'faraday-typhoeus', '~> 1.1'
# Before upgrading, check this:
# https://github.com/gbaptista/gemini-ai/pull/10
spec.add_dependency 'googleauth', '~> 1.8'
spec.add_dependency 'typhoeus', '~> 1.4', '>= 1.4.1'
spec.metadata['rubygems_mfa_required'] = 'true'
end