brew vendor-gems: commit updates.
This commit is contained in:
parent
59ee8149fc
commit
2c18ea2885
@ -4,11 +4,11 @@ ruby_engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
|
|||||||
ruby_version = RbConfig::CONFIG["ruby_version"]
|
ruby_version = RbConfig::CONFIG["ruby_version"]
|
||||||
path = File.expand_path('..', __FILE__)
|
path = File.expand_path('..', __FILE__)
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/i18n-1.8.5/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/i18n-1.8.7/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/minitest-5.14.2/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/minitest-5.14.3/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tzinfo-2.0.3/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tzinfo-2.0.4/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/zeitwerk-2.4.2/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/zeitwerk-2.4.2/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/activesupport-6.1.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/activesupport-6.1.1/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ast-2.4.1/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ast-2.4.1/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/bindata-2.4.8/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/bindata-2.4.8/lib"
|
||||||
$:.unshift "#{path}/"
|
$:.unshift "#{path}/"
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
Dir.glob(File.expand_path("core_ext/*.rb", __dir__)).each do |path|
|
|
||||||
require path
|
|
||||||
end
|
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
Dir.glob(File.expand_path("core_ext/*.rb", __dir__)).sort.each do |path|
|
||||||
|
require path
|
||||||
|
end
|
||||||
@ -3,6 +3,7 @@
|
|||||||
# Hack to load json gem first so we can overwrite its to_json.
|
# Hack to load json gem first so we can overwrite its to_json.
|
||||||
require "json"
|
require "json"
|
||||||
require "bigdecimal"
|
require "bigdecimal"
|
||||||
|
require "ipaddr"
|
||||||
require "uri/generic"
|
require "uri/generic"
|
||||||
require "pathname"
|
require "pathname"
|
||||||
require "active_support/core_ext/big_decimal/conversions" # for #to_s
|
require "active_support/core_ext/big_decimal/conversions" # for #to_s
|
||||||
@ -219,6 +220,12 @@ class Pathname #:nodoc:
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class IPAddr # :nodoc:
|
||||||
|
def as_json(options = nil)
|
||||||
|
to_s
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Process::Status #:nodoc:
|
class Process::Status #:nodoc:
|
||||||
def as_json(options = nil)
|
def as_json(options = nil)
|
||||||
{ exitstatus: exitstatus, pid: pid }
|
{ exitstatus: exitstatus, pid: pid }
|
||||||
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