Merge pull request #7513 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.0.3
build(deps): bump activesupport from 6.0.2.2 to 6.0.3 in /Library/Homebrew
This commit is contained in:
commit
80ce0c7adc
@ -1,12 +1,12 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (6.0.2.2)
|
||||
activesupport (6.0.3)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 0.7, < 2)
|
||||
minitest (~> 5.1)
|
||||
tzinfo (~> 1.1)
|
||||
zeitwerk (~> 2.2)
|
||||
zeitwerk (~> 2.2, >= 2.2.2)
|
||||
ast (2.4.0)
|
||||
concurrent-ruby (1.1.6)
|
||||
connection_pool (2.2.2)
|
||||
|
||||
@ -9,7 +9,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/minitest-5.14.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.7/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/zeitwerk-2.3.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/activesupport-6.0.2.2/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/activesupport-6.0.3/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ast-2.4.0/lib"
|
||||
$:.unshift "#{path}/"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/connection_pool-2.2.2/lib"
|
||||
@ -53,8 +53,8 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/extensions/x86_64-darwin-1
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rdiscount-2.2.0.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rexml-3.2.4/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ronn-0.7.3/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-support-3.9.2/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-core-3.9.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-support-3.9.3/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-core-3.9.2/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-expectations-3.9.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-mocks-3.9.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec-3.9.0/lib"
|
||||
|
||||
@ -1,27 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "active_support/core_ext/hash/deep_merge"
|
||||
|
||||
module ActiveSupport
|
||||
class OptionMerger #:nodoc:
|
||||
instance_methods.each do |method|
|
||||
undef_method(method) if method !~ /^(__|instance_eval|class|object_id)/
|
||||
end
|
||||
|
||||
def initialize(context, options)
|
||||
@context, @options = context, options
|
||||
end
|
||||
|
||||
private
|
||||
def method_missing(method, *arguments, &block)
|
||||
if arguments.first.is_a?(Proc)
|
||||
proc = arguments.pop
|
||||
arguments << lambda { |*args| @options.deep_merge(proc.call(*args)) }
|
||||
else
|
||||
arguments << (arguments.last.respond_to?(:to_hash) ? @options.deep_merge(arguments.pop) : @options.dup)
|
||||
end
|
||||
|
||||
@context.__send__(method, *arguments, &block)
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -85,7 +85,6 @@ module ActiveSupport
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
FORMATTED_GEMS_PATTERN = /\A[^\/]+ \([\w.]+\) /
|
||||
|
||||
def add_gem_filter
|
||||
@ -142,7 +142,6 @@ module ActiveSupport
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# A hook invoked every time a before callback is halted.
|
||||
# This can be overridden in ActiveSupport::Callbacks implementors in order
|
||||
# to provide better debugging/logging.
|
||||
@ -582,7 +581,6 @@ module ActiveSupport
|
||||
attr_reader :chain
|
||||
|
||||
private
|
||||
|
||||
def append_one(callback)
|
||||
@callbacks = nil
|
||||
remove_duplicates(callback)
|
||||
@ -843,7 +841,6 @@ module ActiveSupport
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def get_callbacks(name) # :nodoc:
|
||||
__callbacks[name.to_sym]
|
||||
end
|
||||
@ -74,13 +74,13 @@ class Array
|
||||
|
||||
case length
|
||||
when 0
|
||||
""
|
||||
+""
|
||||
when 1
|
||||
"#{self[0]}"
|
||||
+"#{self[0]}"
|
||||
when 2
|
||||
"#{self[0]}#{options[:two_words_connector]}#{self[1]}"
|
||||
+"#{self[0]}#{options[:two_words_connector]}#{self[1]}"
|
||||
else
|
||||
"#{self[0...-1].join(options[:words_connector])}#{options[:last_word_connector]}#{self[-1]}"
|
||||
+"#{self[0...-1].join(options[:words_connector])}#{options[:last_word_connector]}#{self[-1]}"
|
||||
end
|
||||
end
|
||||
|
||||
@ -181,7 +181,7 @@ class Array
|
||||
# </messages>
|
||||
#
|
||||
def to_xml(options = {})
|
||||
require "active_support/builder" unless defined?(Builder)
|
||||
require "active_support/builder" unless defined?(Builder::XmlMarkup)
|
||||
|
||||
options = options.dup
|
||||
options[:indent] ||= 2
|
||||
@ -29,7 +29,6 @@ module DateAndTime
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def time_with_zone(time, zone)
|
||||
if time
|
||||
ActiveSupport::TimeWithZone.new(time.utc? ? time : time.getutc, zone)
|
||||
@ -96,7 +96,6 @@ class DateTime
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def offset_in_seconds
|
||||
(offset * 86400).to_i
|
||||
end
|
||||
@ -73,7 +73,7 @@ class Hash
|
||||
# configure your own builder with the <tt>:builder</tt> option. The method also accepts
|
||||
# options like <tt>:dasherize</tt> and friends, they are forwarded to the builder.
|
||||
def to_xml(options = {})
|
||||
require "active_support/builder" unless defined?(Builder)
|
||||
require "active_support/builder" unless defined?(Builder::XmlMarkup)
|
||||
|
||||
options = options.dup
|
||||
options[:indent] ||= 2
|
||||
@ -193,7 +193,13 @@ class Module
|
||||
method_names = methods.map do |method|
|
||||
# Attribute writer methods only accept one argument. Makes sure []=
|
||||
# methods still accept two arguments.
|
||||
definition = /[^\]]=$/.match?(method) ? "arg" : "*args, &block"
|
||||
definition = if /[^\]]=$/.match?(method)
|
||||
"arg"
|
||||
elsif RUBY_VERSION >= "2.7"
|
||||
"..."
|
||||
else
|
||||
"*args, &block"
|
||||
end
|
||||
|
||||
# The following generated method calls the target exactly once, storing
|
||||
# the returned value in a dummy variable.
|
||||
@ -308,6 +314,7 @@ class Module
|
||||
end
|
||||
end
|
||||
end
|
||||
ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true)
|
||||
RUBY
|
||||
end
|
||||
end
|
||||
@ -1,5 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "active_support/core_ext/string/filters"
|
||||
require "active_support/inflector"
|
||||
|
||||
class Module
|
||||
@ -15,6 +15,7 @@ module ActiveSupport
|
||||
public_send(method_name, *args, &b)
|
||||
end
|
||||
end
|
||||
ruby2_keywords(:try) if respond_to?(:ruby2_keywords, true)
|
||||
|
||||
def try!(method_name = nil, *args, &b)
|
||||
if method_name.nil? && block_given?
|
||||
@ -27,6 +28,7 @@ module ActiveSupport
|
||||
public_send(method_name, *args, &b)
|
||||
end
|
||||
end
|
||||
ruby2_keywords(:try!) if respond_to?(:ruby2_keywords, true)
|
||||
end
|
||||
end
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user