forked from mongodb/mongo-ruby-driver
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mongo.gemspec
31 lines (26 loc) · 1.25 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
Gem::Specification.new do |s|
s.name = 'mongo'
s.version = File.read(File.join(File.dirname(__FILE__), 'VERSION'))
s.platform = Gem::Platform::RUBY
s.authors = ['Emily Stolfo', 'Durran Jordan', 'Gary Murakami', 'Tyler Brock', 'Brandon Black']
s.email = '[email protected]'
s.homepage = 'http://www.mongodb.org'
s.summary = 'Ruby driver for MongoDB'
s.description = 'A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.'
s.rubyforge_project = 'mongo'
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 'Warning: No private key present, creating unsigned gem.'
end
s.files = ['mongo.gemspec', 'LICENSE', 'VERSION']
s.files += ['README.md', 'Rakefile', 'bin/mongo_console']
s.files += ['lib/mongo.rb'] + Dir['lib/mongo/**/*.rb']
s.test_files = Dir['test/**/*.rb'] - Dir['test/bson/*']
s.executables = ['mongo_console']
s.require_paths = ['lib']
s.has_rdoc = 'yard'
s.add_dependency('bson', "#{s.version}")
end