lib/ddtrace/contrib/sucker_punch/patcher.rb in ddtrace-0.51.1 vs lib/ddtrace/contrib/sucker_punch/patcher.rb in ddtrace-0.52.0
- old
+ new
@@ -1,13 +1,15 @@
+# typed: true
require 'ddtrace/contrib/patcher'
require 'ddtrace/ext/app_types'
require 'ddtrace/contrib/sucker_punch/ext'
module Datadog
module Contrib
module SuckerPunch
# Patcher enables patching of 'sucker_punch' module.
module Patcher
+ include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
include Contrib::Patcher
module_function
def target_version