-
Notifications
You must be signed in to change notification settings - Fork 45
/
sshkey.gemspec
30 lines (25 loc) · 1.15 KB
/
sshkey.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "sshkey/version"
Gem::Specification.new do |s|
s.name = "sshkey"
s.version = SSHKey::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["James Miller"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/bensie/sshkey"
s.summary = %q{SSH private/public key generator in Ruby}
s.description = %q{Generate private/public SSH keypairs using pure Ruby}
s.licenses = ["MIT"]
# ECDSA requires OpenSSL::PKey::EC::Point#to_octet_string
# to_octet string was added in Ruby/OpenSSL 2.1.0 https://github.com/ruby/openssl/blob/master/History.md#version-210
# Ruby 2.5 Updated Ruby/OpenSSL from to 2.1.0 https://github.com/ruby/ruby/blob/v2_5_0/NEWS
s.required_ruby_version = '>= 2.5'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency("base64")
s.add_development_dependency("rake")
s.add_development_dependency("test-unit")
end