forked from jruby/jruby-openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jruby-openssl.gemspec
34 lines (26 loc) · 1.24 KB
/
jruby-openssl.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
#-*- mode: ruby -*-
require "#{File.dirname(__FILE__)}/lib/jopenssl/version.rb"
Gem::Specification.new do |s|
s.name = 'jruby-openssl'
s.version = Jopenssl::Version::VERSION
s.platform = 'java'
s.authors = ['Ola Bini', 'JRuby contributors']
s.email = "[email protected]"
s.summary = "JRuby OpenSSL"
s.homepage = 'https://github.com/jruby/jruby-openssl'
s.description = 'JRuby-OpenSSL is an add-on gem for JRuby that emulates the' <<
' Ruby OpenSSL native library.'
s.licenses = [ 'EPL-1.0', 'GPL-2.0', 'LGPL-2.1' ]
s.require_paths = ['lib']
s.files = `git ls-files`.split("\n").
select { |f| f =~ /^(lib)/ || f =~ /^History|LICENSE|README|Rakefile/i } +
Dir.glob('lib/**/*.jar') # 'lib/jopenssl.jar' and potentially BC jars
s.requirements << "jar org.bouncycastle:bcpkix-jdk15on, #{Jopenssl::Version::BOUNCY_CASTLE_VERSION}"
s.requirements << "jar org.bouncycastle:bcprov-jdk15on, #{Jopenssl::Version::BOUNCY_CASTLE_VERSION}"
s.add_development_dependency 'jar-dependencies', '0.0.9'
s.add_development_dependency 'mocha', '~> 1.1.0'
s.add_development_dependency 'ruby-maven'
# NOTE: runit-maven-plugin will use it's own :
#s.add_development_dependency 'test-unit', '2.5.5'
end
# vim: syntax=Ruby