Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 35 lines (28 sloc) 1.186 kb
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
1 lib = File.expand_path('../lib', __FILE__)
2 $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3 require 'mongo/version'
4
595bb0e add gemspec
Jim Menard authored
5 Gem::Specification.new do |s|
fad1ab1 Brandon Black fixing issues in gemspecs, adding active support to gemfile
brandonblack authored
6 s.name = 'mongo'
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
7 s.rubyforge_project = 'mongo'
1fc62d9 Tyler Brock Initial mongo-ruby-driver v2.0 commit
TylerBrock authored
8 s.version = Mongo::VERSION
fad1ab1 Brandon Black fixing issues in gemspecs, adding active support to gemfile
brandonblack authored
9 s.platform = Gem::Platform::RUBY
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
10
4d69ff4 Durran Jordan RUBY-791 Introduce krypt for common behaviour between MRI and JRuby
durran authored
11 s.authors = ['Tyler Brock', 'Emily Stolfo', 'Durran Jordan']
fad1ab1 Brandon Black fixing issues in gemspecs, adding active support to gemfile
brandonblack authored
12 s.email = 'mongodb-dev@googlegroups.com'
13 s.homepage = 'http://www.mongodb.org'
14 s.summary = 'Ruby driver for MongoDB'
1fc62d9 Tyler Brock Initial mongo-ruby-driver v2.0 commit
TylerBrock authored
15 s.description = 'A Ruby driver for MongoDB'
366a931 Brandon Black minor: adding license to gemspecs to get rid of warning
brandonblack authored
16 s.license = 'Apache License Version 2.0'
fad1ab1 Brandon Black fixing issues in gemspecs, adding active support to gemfile
brandonblack authored
17
4746ddf Brandon Black minor: adding file check to gem signing
brandonblack authored
18 if File.exists?('gem-private_key.pem')
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
19 s.signing_key = 'gem-private_key.pem'
20 s.cert_chain = ['gem-public_cert.pem']
4746ddf Brandon Black minor: adding file check to gem signing
brandonblack authored
21 else
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
22 warn "[#{s.name}] Warning: No private key present, creating unsigned gem."
4746ddf Brandon Black minor: adding file check to gem signing
brandonblack authored
23 end
de3b59a Brandon Black RUBY-538 adding gem signature and new contributor to gemspecs
brandonblack authored
24
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
25 s.files = Dir.glob('{bin,lib,spec}/**/*')
d7fddfd Emily minor: use consistent style with %w for arrays of strings
estolfo authored
26 s.files += %w[mongo.gemspec LICENSE README.md CONTRIBUTING.md Rakefile]
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
27 s.test_files = Dir.glob('spec/**/*')
28
fad1ab1 Brandon Black fixing issues in gemspecs, adding active support to gemfile
brandonblack authored
29 s.require_paths = ['lib']
138a3ef Brandon Black minor: use yard for rdoc
brandonblack authored
30 s.has_rdoc = 'yard'
9a267ac Brandon Black RUBY-585 setting up tailor, rspec and simplecov for 2.0 branch
brandonblack authored
31 s.bindir = 'bin'
32
91a263e Durran Jordan Bump BSON to 3.0.0
durran authored
33 s.add_dependency 'bson', '~> 3.0'
72cb12c Tyler Brock remove HISTORY.md from mongo.gemspec
TylerBrock authored
34 end
Something went wrong with that request. Please try again.