-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspior.gemspec
46 lines (35 loc) · 1.33 KB
/
spior.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
44
45
46
# frozen_string_literal: true
require_relative "lib/spior/version"
Gem::Specification.new do |s|
s.name = 'spior'
s.version = Spior::VERSION
s.summary = 'A tool to make TOR your default gateway'
s.description = <<-DESC
A tool to make TOR your default gateway
DESC
s.metadata = {
'changelog_uri' => 'https://github.com/szorfein/spior/blob/master/CHANGELOG.md',
'bug_tracker_uri' => 'https://github.com/szorfein/spior/issues',
'wiki_uri' => 'https://github.com/szorfein/spior'
}
s.author = 'szorfein'
s.platform = Gem::Platform::RUBY
s.licenses = ['MIT']
s.email = '[email protected]'
s.homepage = 'https://github.com/szorfein/spior'
s.files = `git ls-files`.split(' ')
s.files.reject! { |fn| fn.include? 'certs' }
s.files.reject! { |fn| fn.include? 'test' }
s.executables = ['spior']
s.extra_rdoc_files = Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt']
s.test_files = Dir['test/test_*.rb']
#s.cert_chain = ['certs/szorfein.pem']
#s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
s.requirements << 'tor'
s.requirements << 'iptables'
s.required_ruby_version = '>= 2.6'
s.add_runtime_dependency('interfacez', '~> 1.0')
s.add_runtime_dependency('nomansland', '~> 0.0.5')
s.add_runtime_dependency('rainbow', '~> 3.1')
s.add_runtime_dependency('tty-which', '~> 0.5.0')
end