forked from mongodb/mongo-ruby-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mongo.gemspec
33 lines (27 loc) · 1.13 KB
/
mongo.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mongo/version'
Gem::Specification.new do |s|
s.name = 'mongo'
s.version = Mongo::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Tyler Brock', 'Emily Stolfo', 'Durran Jordan']
s.email = '[email protected]'
s.homepage = 'http://www.mongodb.org'
s.summary = 'Ruby driver for MongoDB'
s.description = 'A Ruby driver for MongoDB'
s.license = 'Apache License Version 2.0'
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 = Dir.glob('{bin,lib,spec}/**/*')
s.files += %w[mongo.gemspec LICENSE README.md CONTRIBUTING.md Rakefile]
s.test_files = Dir.glob('spec/**/*')
s.require_paths = ['lib']
s.has_rdoc = 'yard'
s.bindir = 'bin'
s.add_dependency 'bson', '~> 4.0.0.rc0'
end