diff --git a/Gemfile.lock b/Gemfile.lock index 3a7a706fa..6a32f3326 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -109,7 +109,7 @@ GEM byebug (11.1.3) coderay (1.1.3) concurrent-ruby (1.2.2) - config (4.2.1) + config (5.1.0) deep_merge (~> 1.2, >= 1.2.1) dry-validation (~> 1.0, >= 1.0.0) connection_pool (2.4.1) @@ -121,10 +121,10 @@ GEM irb (~> 1.10) reline (>= 0.3.8) deep_merge (1.2.2) - dry-configurable (1.0.1) + dry-configurable (1.1.0) dry-core (~> 1.0, < 2) zeitwerk (~> 2.6) - dry-core (1.0.0) + dry-core (1.0.1) concurrent-ruby (~> 1.0) zeitwerk (~> 2.6) dry-inflector (1.0.0) @@ -133,7 +133,7 @@ GEM concurrent-ruby (~> 1.0) dry-core (~> 1.0, < 2) zeitwerk (~> 2.6) - dry-schema (1.13.2) + dry-schema (1.13.3) concurrent-ruby (~> 1.0) dry-configurable (~> 1.0, >= 1.0.1) dry-core (~> 1.0, < 2) @@ -389,7 +389,7 @@ GEM yard-sorbet (0.8.1) sorbet-runtime (>= 0.5) yard (>= 0.9) - zeitwerk (2.6.11) + zeitwerk (2.6.12) PLATFORMS arm64-darwin diff --git a/sorbet/rbi/gems/config@4.2.1.rbi b/sorbet/rbi/gems/config@5.1.0.rbi similarity index 87% rename from sorbet/rbi/gems/config@4.2.1.rbi rename to sorbet/rbi/gems/config@5.1.0.rbi index 36696f754..b893273c9 100644 --- a/sorbet/rbi/gems/config@4.2.1.rbi +++ b/sorbet/rbi/gems/config@5.1.0.rbi @@ -79,10 +79,10 @@ class Config::Options < ::OpenStruct # An alternative mechanism for property access. # This let's you do foo['bar'] along with foo.bar. # - # source://config//lib/config/options.rb#119 + # source://config//lib/config/options.rb#122 def [](param); end - # source://config//lib/config/options.rb#124 + # source://config//lib/config/options.rb#128 def []=(param, value); end # source://config//lib/config/options.rb#17 @@ -91,10 +91,10 @@ class Config::Options < ::OpenStruct # source://config//lib/config/options.rb#95 def as_json(options = T.unsafe(nil)); end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def collect; end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def count; end # source://config//lib/config/options.rb#86 @@ -105,17 +105,17 @@ class Config::Options < ::OpenStruct # source://config//lib/config/options.rb#13 def empty?; end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def exit!; end # @return [Boolean] # - # source://config//lib/config/options.rb#138 + # source://config//lib/config/options.rb#148 def has_key?(key); end # @return [Boolean] # - # source://config//lib/config/options.rb#134 + # source://config//lib/config/options.rb#144 def key?(key); end # source://config//lib/config/options.rb#9 @@ -126,18 +126,24 @@ class Config::Options < ::OpenStruct # source://config//lib/config/options.rb#35 def load!; end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def max; end + # source://config//lib/config/options.rb#139 + def maximum; end + # source://config//lib/config/options.rb#99 def merge!(hash); end - # source://config//lib/config/options.rb#142 + # source://config//lib/config/options.rb#152 def method_missing(method_name, *args); end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def min; end + # source://config//lib/config/options.rb#139 + def minimum; end + # source://config//lib/config/options.rb#26 def prepend_source!(source); end @@ -149,13 +155,13 @@ class Config::Options < ::OpenStruct # source://config//lib/config/options.rb#65 def reload_from_files(*files); end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def select; end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def table; end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def test; end # source://config//lib/config/options.rb#70 @@ -167,27 +173,32 @@ class Config::Options < ::OpenStruct # source://config//lib/config/options.rb#90 def to_json(*args); end - # source://config//lib/config/options.rb#129 + # source://config//lib/config/options.rb#133 def zip; end protected # Recursively converts Hashes to Options (including Hashes inside Arrays) # - # source://config//lib/config/options.rb#168 + # source://config//lib/config/options.rb#178 def __convert(h); end - # source://config//lib/config/options.rb#155 + # source://config//lib/config/options.rb#165 def descend_array(array); end private # @return [Boolean] # - # source://config//lib/config/options.rb#149 + # source://config//lib/config/options.rb#159 def respond_to_missing?(*args); end end +# Some keywords that don't play nicely with Rails 7.* +# +# source://config//lib/config/options.rb#118 +Config::Options::RAILS_RESERVED_NAMES = T.let(T.unsafe(nil), Array) + # Some keywords that don't play nicely with OpenStruct # # source://config//lib/config/options.rb#115 diff --git a/sorbet/rbi/gems/dry-configurable@1.0.1.rbi b/sorbet/rbi/gems/dry-configurable@1.1.0.rbi similarity index 100% rename from sorbet/rbi/gems/dry-configurable@1.0.1.rbi rename to sorbet/rbi/gems/dry-configurable@1.1.0.rbi diff --git a/sorbet/rbi/gems/dry-core@1.0.0.rbi b/sorbet/rbi/gems/dry-core@1.0.1.rbi similarity index 100% rename from sorbet/rbi/gems/dry-core@1.0.0.rbi rename to sorbet/rbi/gems/dry-core@1.0.1.rbi diff --git a/sorbet/rbi/gems/dry-schema@1.13.2.rbi b/sorbet/rbi/gems/dry-schema@1.13.3.rbi similarity index 100% rename from sorbet/rbi/gems/dry-schema@1.13.2.rbi rename to sorbet/rbi/gems/dry-schema@1.13.3.rbi diff --git a/sorbet/rbi/gems/zeitwerk@2.6.11.rbi b/sorbet/rbi/gems/zeitwerk@2.6.12.rbi similarity index 98% rename from sorbet/rbi/gems/zeitwerk@2.6.11.rbi rename to sorbet/rbi/gems/zeitwerk@2.6.12.rbi index e86e4a803..172677608 100644 --- a/sorbet/rbi/gems/zeitwerk@2.6.11.rbi +++ b/sorbet/rbi/gems/zeitwerk@2.6.12.rbi @@ -293,6 +293,12 @@ class Zeitwerk::Loader # source://zeitwerk//lib/zeitwerk/loader.rb#33 def autoloads; end + # source://zeitwerk//lib/zeitwerk/loader.rb#493 + def define_autoload(parent, cname, abspath); end + + # source://zeitwerk//lib/zeitwerk/loader.rb#410 + def define_autoloads_for_dir(dir, parent); end + # Returns the value of attribute dirs_autoload_monitor. # # source://zeitwerk//lib/zeitwerk/loader.rb#96 @@ -335,12 +341,6 @@ class Zeitwerk::Loader # source://zeitwerk//lib/zeitwerk/loader.rb#552 def run_on_unload_callbacks(cpath, value, abspath); end - # source://zeitwerk//lib/zeitwerk/loader.rb#493 - def set_autoload(parent, cname, abspath); end - - # source://zeitwerk//lib/zeitwerk/loader.rb#410 - def set_autoloads_in_dir(dir, parent); end - # source://zeitwerk//lib/zeitwerk/loader.rb#310 def shadowed_file?(file); end @@ -447,21 +447,13 @@ end # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#3 module Zeitwerk::Loader::Callbacks include ::Zeitwerk::RealModName + extend ::Zeitwerk::Internal - # Invoked from our decorated Kernel#require when a managed directory is - # autoloaded. - # - # @private - # - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#34 - def on_dir_autoloaded(dir); end + # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#41 + def __on_dir_autoloaded(dir); end - # Invoked from our decorated Kernel#require when a managed file is autoloaded. - # - # @private - # # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#10 - def on_file_autoloaded(file); end + def __on_file_autoloaded(file); end # Invoked when a class or module is created or reopened, either from the # tracer or from module autovivification. If the namespace has matching @@ -469,12 +461,18 @@ module Zeitwerk::Loader::Callbacks # # @private # - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#74 + # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#81 def on_namespace_loaded(namespace); end private - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#85 + # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#41 + def on_dir_autoloaded(dir); end + + # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#10 + def on_file_autoloaded(file); end + + # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#92 def run_on_load_callbacks(cpath, value, abspath); end end