-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathed25519.gemspec
32 lines (28 loc) · 1.11 KB
/
ed25519.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
# frozen_string_literal: true
require File.expand_path("lib/ed25519/version", __dir__)
Gem::Specification.new do |spec|
spec.name = "ed25519"
spec.version = Ed25519::VERSION
spec.authors = ["Tony Arcieri"]
spec.email = ["tony.arcieri@gmail.com"]
spec.summary = "An efficient digital signature library providing the Ed25519 algorithm"
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
A Ruby binding to the Ed25519 elliptic curve public-key signature system
described in RFC 8032.
DESCRIPTION
spec.homepage = "https://github.com/RubyCrypto/ed25519"
spec.license = "MIT"
spec.files = Dir["{ext,lib}/**/*", "CHANGES.md", "LICENSE"]
spec.bindir = "exe"
spec.require_paths = ["lib"]
spec.extra_rdoc_files = ["README.md", "ed25519.png"]
if defined? JRUBY_VERSION
spec.platform = "java"
spec.files << "lib/ed25519_jruby.jar"
else
spec.platform = Gem::Platform::RUBY
spec.extensions = ["ext/ed25519_ref10/extconf.rb"]
end
spec.required_ruby_version = ">= 2.4.0"
spec.add_development_dependency "bundler"
end