mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #17495 from Homebrew/dependabot/bundler/Library/Homebrew/erubi-1.13.0
This commit is contained in:
commit
9aeba61fad
@ -15,7 +15,7 @@ GEM
|
|||||||
docile (1.4.0)
|
docile (1.4.0)
|
||||||
elftools (1.3.1)
|
elftools (1.3.1)
|
||||||
bindata (~> 2)
|
bindata (~> 2)
|
||||||
erubi (1.12.0)
|
erubi (1.13.0)
|
||||||
hana (1.3.7)
|
hana (1.3.7)
|
||||||
highline (3.0.1)
|
highline (3.0.1)
|
||||||
json (2.7.2)
|
json (2.7.2)
|
||||||
|
@ -4,15 +4,19 @@
|
|||||||
# This is an autogenerated file for types exported from the `erubi` gem.
|
# This is an autogenerated file for types exported from the `erubi` gem.
|
||||||
# Please instead update this file by running `bin/tapioca gem erubi`.
|
# Please instead update this file by running `bin/tapioca gem erubi`.
|
||||||
|
|
||||||
|
|
||||||
# source://erubi//lib/erubi.rb#3
|
# source://erubi//lib/erubi.rb#3
|
||||||
module Erubi
|
module Erubi
|
||||||
|
private
|
||||||
|
|
||||||
|
def h(_arg0); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://erubi//lib/erubi.rb#35
|
def h(_arg0); end
|
||||||
def h(value); end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://erubi//lib/erubi.rb#54
|
# source://erubi//lib/erubi.rb#51
|
||||||
class Erubi::Engine
|
class Erubi::Engine
|
||||||
# Initialize a new Erubi::Engine. Options:
|
# Initialize a new Erubi::Engine. Options:
|
||||||
# +:bufval+ :: The value to use for the buffer variable, as a string (default <tt>'::String.new'</tt>).
|
# +:bufval+ :: The value to use for the buffer variable, as a string (default <tt>'::String.new'</tt>).
|
||||||
@ -43,64 +47,64 @@ class Erubi::Engine
|
|||||||
#
|
#
|
||||||
# @return [Engine] a new instance of Engine
|
# @return [Engine] a new instance of Engine
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#94
|
# source://erubi//lib/erubi.rb#91
|
||||||
def initialize(input, properties = T.unsafe(nil)); end
|
def initialize(input, properties = T.unsafe(nil)); end
|
||||||
|
|
||||||
# The variable name used for the buffer variable.
|
# The variable name used for the buffer variable.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#65
|
# source://erubi//lib/erubi.rb#62
|
||||||
def bufvar; end
|
def bufvar; end
|
||||||
|
|
||||||
# The filename of the template, if one was given.
|
# The filename of the template, if one was given.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#62
|
# source://erubi//lib/erubi.rb#59
|
||||||
def filename; end
|
def filename; end
|
||||||
|
|
||||||
# The frozen ruby source code generated from the template, which can be evaled.
|
# The frozen ruby source code generated from the template, which can be evaled.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#59
|
# source://erubi//lib/erubi.rb#56
|
||||||
def src; end
|
def src; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# Add ruby code to the template
|
# Add ruby code to the template
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#226
|
# source://erubi//lib/erubi.rb#223
|
||||||
def add_code(code); end
|
def add_code(code); end
|
||||||
|
|
||||||
# Add the given ruby expression result to the template,
|
# Add the given ruby expression result to the template,
|
||||||
# escaping it based on the indicator given and escape flag.
|
# escaping it based on the indicator given and escape flag.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#235
|
# source://erubi//lib/erubi.rb#232
|
||||||
def add_expression(indicator, code); end
|
def add_expression(indicator, code); end
|
||||||
|
|
||||||
# Add the result of Ruby expression to the template
|
# Add the result of Ruby expression to the template
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#244
|
# source://erubi//lib/erubi.rb#241
|
||||||
def add_expression_result(code); end
|
def add_expression_result(code); end
|
||||||
|
|
||||||
# Add the escaped result of Ruby expression to the template
|
# Add the escaped result of Ruby expression to the template
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#249
|
# source://erubi//lib/erubi.rb#246
|
||||||
def add_expression_result_escaped(code); end
|
def add_expression_result_escaped(code); end
|
||||||
|
|
||||||
# Add the given postamble to the src. Can be overridden in subclasses
|
# Add the given postamble to the src. Can be overridden in subclasses
|
||||||
# to make additional changes to src that depend on the current state.
|
# to make additional changes to src that depend on the current state.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#255
|
# source://erubi//lib/erubi.rb#252
|
||||||
def add_postamble(postamble); end
|
def add_postamble(postamble); end
|
||||||
|
|
||||||
# Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
|
# Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
|
||||||
# Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
|
# Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#213
|
# source://erubi//lib/erubi.rb#210
|
||||||
def add_text(text); end
|
def add_text(text); end
|
||||||
|
|
||||||
# Raise an exception, as the base engine class does not support handling other indicators.
|
# Raise an exception, as the base engine class does not support handling other indicators.
|
||||||
#
|
#
|
||||||
# @raise [ArgumentError]
|
# @raise [ArgumentError]
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#261
|
# source://erubi//lib/erubi.rb#258
|
||||||
def handle(indicator, code, tailch, rspace, lspace); end
|
def handle(indicator, code, tailch, rspace, lspace); end
|
||||||
|
|
||||||
# Make sure that any current expression has been terminated.
|
# Make sure that any current expression has been terminated.
|
||||||
@ -108,7 +112,7 @@ class Erubi::Engine
|
|||||||
# the chain_appends option is used, expressions may not be
|
# the chain_appends option is used, expressions may not be
|
||||||
# terminated.
|
# terminated.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#289
|
# source://erubi//lib/erubi.rb#286
|
||||||
def terminate_expression; end
|
def terminate_expression; end
|
||||||
|
|
||||||
# Make sure the buffer variable is the target of the next append
|
# Make sure the buffer variable is the target of the next append
|
||||||
@ -118,13 +122,13 @@ class Erubi::Engine
|
|||||||
# This method should only be called if the block will result in
|
# This method should only be called if the block will result in
|
||||||
# code where << will append to the bufvar.
|
# code where << will append to the bufvar.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#271
|
# source://erubi//lib/erubi.rb#268
|
||||||
def with_buffer; end
|
def with_buffer; end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The default regular expression used for scanning.
|
# The default regular expression used for scanning.
|
||||||
#
|
#
|
||||||
# source://erubi//lib/erubi.rb#56
|
# source://erubi//lib/erubi.rb#53
|
||||||
Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
|
Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# source://erubi//lib/erubi.rb#17
|
# source://erubi//lib/erubi.rb#17
|
@ -50,7 +50,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
|||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.12.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.7.2")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.7.2")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.7.2/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.7.2/lib")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user