lib/mongoid.rb in mongoid-6.0.3 vs lib/mongoid.rb in mongoid-6.1.0.rc0
- old
+ new
@@ -34,9 +34,14 @@
module Mongoid
extend Loggable
extend self
+ # A string added to the platform details of Ruby driver client handshake documents.
+ #
+ # @since 6.1.0
+ PLATFORM_DETAILS = "mongoid-#{VERSION}".freeze
+
# The minimum MongoDB version supported.
MONGODB_VERSION = "2.4.0"
# Sets the Mongoid configuration options. Best used by passing a block.
#