Skip to content
Snippets Groups Projects
Unverified Commit 5246e9f4 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew vendor-gems: commit updates.

parent 6f2102d4
No related branches found
No related tags found
No related merge requests found
Showing
with 5 additions and 5 deletions
......@@ -8,7 +8,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/i18n-1.7.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/minitest-5.13.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/thread_safe-0.3.6/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tzinfo-1.2.5/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/zeitwerk-2.2.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/zeitwerk-2.2.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/activesupport-6.0.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ast-2.4.0/lib"
$:.unshift "#{path}/"
......
......@@ -494,7 +494,7 @@ module Zeitwerk
rescue ::NameError => error
path_type = ruby?(abspath) ? "file" : "directory"
raise NameError, <<~MESSAGE
raise NameError.new(<<~MESSAGE, error.name)
#{error.message} inferred by #{inflector.class} from #{path_type}
#{abspath}
......@@ -558,7 +558,7 @@ module Zeitwerk
end
# @param dir [String] directory that would have autovivified a module
# @param file [String] the file where the namespace is explictly defined
# @param file [String] the file where the namespace is explicitly defined
# @param parent [Module]
# @param cname [Symbol]
# @return [void]
......
......@@ -14,7 +14,7 @@ module Zeitwerk::Loader::Callbacks
if logger && cdef?(*cref)
log("constant #{cpath(*cref)} loaded from file #{file}")
elsif !cdef?(*cref)
raise Zeitwerk::NameError, "expected file #{file} to define constant #{cpath(*cref)}, but didn't"
raise Zeitwerk::NameError.new("expected file #{file} to define constant #{cpath(*cref)}, but didn't", cref.last)
end
end
......
# frozen_string_literal: true
module Zeitwerk
VERSION = "2.2.1"
VERSION = "2.2.2"
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment