diff --git a/lib/mongoid/version.rb b/lib/mongoid/version.rb index e2da271d1..6e2f7f309 100644 --- a/lib/mongoid/version.rb +++ b/lib/mongoid/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Mongoid - VERSION = "9.0.0.alpha" + VERSION = "9.0.0.0.alpha" end diff --git a/mongoid.gemspec b/mongoid.gemspec index 3e7add3c7..2f8091e03 100644 --- a/mongoid.gemspec +++ b/mongoid.gemspec @@ -6,31 +6,24 @@ $:.unshift lib unless $:.include?(lib) require "mongoid/version" Gem::Specification.new do |s| - s.name = "mongoid" + s.name = "mongoid-ultra" s.version = Mongoid::VERSION s.platform = Gem::Platform::RUBY - s.authors = ["The MongoDB Ruby Team"] - s.email = "dbx-ruby@mongodb.com" + s.authors = ['TableCheck Inc.', 'Durran Jordan', 'The MongoDB Ruby Team'] + s.email = "dev@tablecheck.com" s.homepage = "https://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.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 = { - 'bug_tracker_uri' => 'https://jira.mongodb.org/projects/MONGOID', - 'changelog_uri' => 'https://github.com/mongodb/mongoid/releases', + '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://mongoid.org/', - 'source_code_uri' => 'https://github.com/mongodb/mongoid', + 'homepage_uri' => 'https://github.com/tablecheck/mongoid', + 'source_code_uri' => 'https://github.com/tablecheck/mongoid', } - 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.6" s.required_rubygems_version = ">= 1.3.6" @@ -41,17 +34,8 @@ Gem::Specification.new do |s| s.add_dependency("mongo", ['>=2.18.0', '<3.0.0']) s.add_dependency("concurrent-ruby", ['>= 1.0.5', '< 2.0']) - # The ruby2_keywords gem is recommended for handling argument delegation issues, - # especially if support for 2.6 or prior is required. - # See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/#delegation - # - # We have a bunch of complex delegation logic, including various method_missings. - # If we try to fix them "right", it will add too much logic. We will have to - # handle different Ruby versions (including minor ones, Ruby 2.6 and 2.7 - # behave differently), hash key types (strings vs symbols), ways of passing - # arguments (with curly braces vs without ones). - # - # Therefore, usage of this gem looks like a reasonable solution at the moment. + # The ruby2_keywords gem is used to handling argument delegation issues. + # It can be removed after support for Ruby 2.7 is dropped. s.add_dependency("ruby2_keywords", "~> 0.0.5") s.add_development_dependency("bson", ['>=4.14.0', '<5.0.0'])