lib/datadog/tracing/contrib/utils/database.rb in ddtrace-1.12.1 vs lib/datadog/tracing/contrib/utils/database.rb in ddtrace-1.13.0
- old
+ new
@@ -1,13 +1,15 @@
+# frozen_string_literal: true
+
module Datadog
module Tracing
module Contrib
module Utils
# Common database-related utility functions.
module Database
- VENDOR_DEFAULT = 'defaultdb'.freeze
- VENDOR_POSTGRES = 'postgres'.freeze
- VENDOR_SQLITE = 'sqlite'.freeze
+ VENDOR_DEFAULT = 'defaultdb'
+ VENDOR_POSTGRES = 'postgres'
+ VENDOR_SQLITE = 'sqlite'
module_function
def normalize_vendor(vendor)
case vendor