lib/mongoid.rb in mongoid-5.1.6 vs lib/mongoid.rb in mongoid-5.2.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.
#