forked from mongodb/mongo-ruby-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbson.gemspec
29 lines (24 loc) · 1.17 KB
/
bson.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
Gem::Specification.new do |s|
s.name = 'bson'
s.version = File.read(File.join(File.dirname(__FILE__), 'VERSION'))
s.authors = ['Tyler Brock', 'Gary Murakami', 'Emily Stolfo', 'Brandon Black']
s.email = '[email protected]'
s.homepage = 'http://www.mongodb.org'
s.summary = 'Ruby implementation of BSON'
s.description = 'A Ruby BSON implementation for MongoDB. For more information about Mongo, see http://www.mongodb.org. For more information on BSON, see http://www.bsonspec.org.'
s.rubyforge_project = 'bson'
s.files = ['bson.gemspec', 'LICENSE', 'VERSION']
s.files += ['bin/b2json', 'bin/j2bson', 'lib/bson.rb']
s.files += Dir['lib/bson/**/*.rb']
if RUBY_PLATFORM =~ /java/
s.files += ['ext/java/jar/jbson.jar', 'ext/java/jar/mongo-2.6.5.jar']
s.platform = Gem::Platform::JAVA
else
s.platform = Gem::Platform::RUBY
end
s.test_files = Dir['test/bson/*.rb']
s.executables = ['b2json', 'j2bson']
s.require_paths = ['lib']
s.has_rdoc = 'yard'
s.add_dependency('activesupport')
end