forked from net-ssh/net-scp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
net-scp.gemspec
49 lines (41 loc) · 1.79 KB
/
net-scp.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
47
48
49
require_relative 'lib/net/scp/version'
Gem::Specification.new do |spec|
spec.name = "net-scp"
spec.version = Net::SCP::Version::STRING
spec.authors = ["Jamis Buck", "Delano Mandelbaum", "Mikl\u{f3}s Fazekas"]
spec.email = ["[email protected]"]
if ENV['NET_SSH_BUILDGEM_SIGNED']
spec.cert_chain = ["net-scp-public_cert.pem"]
spec.signing_key = "/mnt/gem/net-ssh-private_key.pem"
end
spec.summary = %q{A pure Ruby implementation of the SCP client protocol.}
spec.description = %q{A pure Ruby implementation of the SCP client protocol}
spec.homepage = "https://github.com/net-ssh/net-scp"
spec.license = "MIT"
spec.required_rubygems_version = Gem::Requirement.new(">= 0") if spec.respond_to? :required_rubygems_version=
spec.metadata = {
"changelog_uri" => "https://github.com/net-ssh/net-scp/blob/master/CHANGES.txt"
}
spec.extra_rdoc_files = [
"LICENSE.txt",
"README.rdoc"
]
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.require_paths = ["lib"]
if spec.respond_to? :specification_version then
spec.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
spec.add_runtime_dependency(%q<net-ssh>, [">= 2.6.5", "< 8.0.0"])
spec.add_development_dependency(%q<test-unit>, [">= 0"])
spec.add_development_dependency(%q<mocha>, [">= 0"])
else
spec.add_dependency(%q<net-ssh>, [">= 2.6.5", "< 8.0.0"])
spec.add_dependency(%q<test-unit>, [">= 0"])
spec.add_dependency(%q<mocha>, [">= 0"])
end
else
spec.add_dependency(%q<net-ssh>, [">= 2.6.5", "< 8.0.0"])
spec.add_dependency(%q<test-unit>, [">= 0"])
spec.add_dependency(%q<mocha>, [">= 0"])
end
end