lib/bootsnap/load_path_cache.rb in bootsnap-1.10.1 vs lib/bootsnap/load_path_cache.rb in bootsnap-1.10.2

- old
+ new

@@ -1,19 +1,13 @@ # frozen_string_literal: true module Bootsnap module LoadPathCache - ReturnFalse = Class.new(StandardError) - FallbackScan = Class.new(StandardError) + FALLBACK_SCAN = BasicObject.new DOT_RB = ".rb" DOT_SO = ".so" SLASH = "/" - - # If a NameError happens several levels deep, don't re-handle it - # all the way up the chain: mark it once and bubble it up without - # more retries. - ERROR_TAG_IVAR = :@__bootsnap_rescued DL_EXTENSIONS = ::RbConfig::CONFIG .values_at("DLEXT", "DLEXT2") .reject { |ext| !ext || ext.empty? } .map { |ext| ".#{ext}" }