lib/mongo/session/server_session.rb in mongo-2.19.3 vs lib/mongo/session/server_session.rb in mongo-2.20.0
- old
+ new
@@ -13,19 +13,22 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+require 'mongo/session/server_session/dirtyable'
+
module Mongo
class Session
# An object representing the server-side session.
#
# @api private
#
# @since 2.5.0
class ServerSession
+ include Dirtyable
# Regex for removing dashes from the UUID string.
#
# @since 2.5.0
DASH_REGEX = /\-/.freeze