forked from mongodb/mongoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mongoid.gemspec
35 lines (29 loc) · 1.16 KB
/
mongoid.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
# encoding: utf-8
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require "mongoid/version"
Gem::Specification.new do |s|
s.name = "mongoid"
s.version = Mongoid::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Durran Jordan"]
s.email = ["[email protected]"]
s.homepage = "http://mongoid.org"
s.summary = "Elegant Persistence in Ruby for MongoDB."
s.description = "Mongoid is an ODM (Object Document Mapper) Framework for MongoDB, written in Ruby."
s.license = "MIT"
if File.exist?('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.required_ruby_version = ">= 2.2"
s.required_rubygems_version = ">= 1.3.6"
s.rubyforge_project = "mongoid"
s.add_dependency("activemodel", [">= 5.1", "<6.0.0"])
s.add_dependency("mongo", ['>=2.5.1', '<3.0.0'])
s.files = Dir.glob("lib/**/*") + %w(CHANGELOG.md LICENSE README.md Rakefile)
s.test_files = Dir.glob("spec/**/*")
s.require_path = 'lib'
end