-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnoise.gemspec
More file actions
46 lines (38 loc) · 1.97 KB
/
Copy pathnoise.gemspec
File metadata and controls
46 lines (38 loc) · 1.97 KB
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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'noise/version'
Gem::Specification.new do |spec|
spec.name = 'noise-ruby'
spec.required_ruby_version = '>= 3.2'
spec.version = Noise::VERSION
spec.authors = ['Hajime Yamaguchi']
spec.email = ['[email protected]']
spec.summary = 'A Ruby implementation of the Noise Protocol framework'
spec.description = 'A Ruby implementation of the Noise Protocol framework(http://noiseprotocol.org/).'
spec.homepage = 'https://github.com/Yamaguchi/noise'
# interop/ holds the Rust harness the interoperability suite runs against, which is test
# material like spec/ and has no business in the packaged gem.
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features|interop)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_development_dependency 'rake', '>= 12.3.3'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'simplecov-json'
# Optional backend. BLAKE3 is needed only when it appears in a protocol name, so it is not a
# runtime dependency. Add it to your own Gemfile if you need it; see the README.
spec.add_development_dependency 'blake3-rb'
spec.add_runtime_dependency 'ecdsa'
# The 25519 and 448 DH functions need the raw key API (OpenSSL::PKey.new_raw_private_key and
# friends), which arrived in openssl 3.0. Every supported interpreter bundles a newer default
# gem, but the floor is stated so an older openssl pinned in an application's Gemfile fails to
# resolve rather than failing at runtime.
spec.add_runtime_dependency 'openssl', '>= 3.0'
spec.add_runtime_dependency 'ruby-hmac'
end