-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibmongocrypt-helper.gemspec
35 lines (30 loc) · 1.46 KB
/
libmongocrypt-helper.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'libmongocrypt_helper/version'
Gem::Specification.new do |s|
s.name = 'libmongocrypt-helper'
s.version = LibmongocryptHelper::VERSION
s.authors = ['Oleg Pudeyev']
s.email = ['[email protected]']
s.homepage = 'https://docs.mongodb.com/ruby-driver/current/'
s.summary = 'libmongocrypt convenience package'
s.description = nil
s.license = 'Apache-2.0'
s.metadata = {
'bug_tracker_uri' => 'https://jira.mongodb.org/projects/RUBY',
'changelog_uri' => 'https://github.com/p-mongodb/libmongocrypt-helper-ruby/releases',
'documentation_uri' => 'https://www.mongodb.com/docs/ruby-driver/master/reference/client-side-encryption/',
'homepage_uri' => 'https://docs.mongodb.com/ruby-driver/current/',
'mailing_list_uri' => 'https://groups.google.com/group/mongodb-user',
'source_code_uri' => 'https://github.com/p-mongodb/libmongocrypt-helper-ruby'
}
if File.exists?('gem-private_key.pem')
s.signing_key = 'gem-private_key.pem'
s.cert_chain = ['gem-public_cert.pem']
else
warn "[#{s.name}] Warning: No private key present, creating unsigned gem."
end
#s.files = %w(CONTRIBUTING.md CHANGELOG.md LICENSE NOTICE README.md Rakefile)
s.files += Dir.glob('lib/**/*') + Dir.glob('so/**/*.so')
s.require_path = 'lib'
end