-
Notifications
You must be signed in to change notification settings - Fork 1
/
mongoid.gemspec
41 lines (33 loc) · 1.56 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
36
37
38
39
40
41
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mongoid/version'
Gem::Specification.new do |s|
s.name = Mongoid::GEM_NAME
s.version = Mongoid::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['TableCheck Inc.', 'Durran Jordan', 'The MongoDB Ruby Team']
s.email = '[email protected]'
s.homepage = 'https://mongoid.org'
s.summary = 'Mongoid: Ultra Edition'
s.description = 'Ruby ODM (Object Document Mapper) Framework for MongoDB. Maintained by the community, for the community.'
s.license = 'MIT'
s.metadata = {
'rubygems_mfa_required' => 'true',
'bug_tracker_uri' => 'https://github.com/tablecheck/mongoid/issues',
'changelog_uri' => 'https://github.com/tablecheck/mongoid/releases',
'documentation_uri' => 'https://www.mongodb.com/docs/mongoid/',
'homepage_uri' => 'https://github.com/tablecheck/mongoid',
'source_code_uri' => 'https://github.com/tablecheck/mongoid'
}
s.required_ruby_version = '>= 2.7'
s.required_rubygems_version = '>= 1.3.6'
# activemodel 7.0.0 cannot be used due to Class#descendants issue
# See: https://github.com/rails/rails/pull/43951
s.add_dependency('activemodel', ['>=5.1', '<7.2', '!= 7.0.0'])
s.add_dependency('mongo', ['>=2.18.0', '<3.0.0'])
s.add_dependency('concurrent-ruby', ['>= 1.0.5', '< 2.0'])
s.add_development_dependency('bson', ['>= 4.14.0', '< 6.0.0'])
s.files = Dir.glob('lib/**/*') + %w[LICENSE README.md Rakefile]
s.require_path = 'lib'
end