cache bundle install at devcontainer build step
This commit is contained in:
5
sorbet/rbi/annotations/activesupport.rbi
vendored
5
sorbet/rbi/annotations/activesupport.rbi
vendored
@@ -461,3 +461,8 @@ class ActiveSupport::ErrorReporter
|
||||
sig { params(error: T.any(Exception, String), severity: T.nilable(Symbol), context: T::Hash[Symbol, T.untyped], source: T.nilable(String)).void }
|
||||
def unexpected(error, severity: T.unsafe(nil), context: T.unsafe(nil), source: T.unsafe(nil)); end
|
||||
end
|
||||
|
||||
module ActiveSupport::Testing::Assertions
|
||||
sig { type_parameters(:Block).params(block: T.proc.returns(T.type_parameter(:Block))).returns(T.type_parameter(:Block)) }
|
||||
def assert_nothing_raised(&block); end
|
||||
end
|
||||
|
||||
377
sorbet/rbi/gems/docile@1.4.1.rbi
generated
Normal file
377
sorbet/rbi/gems/docile@1.4.1.rbi
generated
Normal file
@@ -0,0 +1,377 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `docile` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem docile`.
|
||||
|
||||
|
||||
# Docile keeps your Ruby DSLs tame and well-behaved.
|
||||
#
|
||||
# source://docile//lib/docile/version.rb#3
|
||||
module Docile
|
||||
extend ::Docile::Execution
|
||||
|
||||
private
|
||||
|
||||
# Execute a block in the context of an object whose methods represent the
|
||||
# commands in a DSL.
|
||||
#
|
||||
# Use this method to execute an *imperative* DSL, which means that:
|
||||
#
|
||||
# 1. Each command mutates the state of the DSL context object
|
||||
# 2. The return value of each command is ignored
|
||||
# 3. The final return value is the original context object
|
||||
#
|
||||
# @example Use a String as a DSL
|
||||
# Docile.dsl_eval("Hello, world!") do
|
||||
# reverse!
|
||||
# upcase!
|
||||
# end
|
||||
# #=> "!DLROW ,OLLEH"
|
||||
# @example Use an Array as a DSL
|
||||
# Docile.dsl_eval([]) do
|
||||
# push 1
|
||||
# push 2
|
||||
# pop
|
||||
# push 3
|
||||
# end
|
||||
# #=> [1, 3]
|
||||
# @note Use with an *imperative* DSL (commands modify the context object)
|
||||
# @param dsl [Object] context object whose methods make up the DSL
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed against the
|
||||
# `dsl` context object
|
||||
# @return [Object] the `dsl` context object after executing the block
|
||||
#
|
||||
# source://docile//lib/docile.rb#45
|
||||
def dsl_eval(dsl, *args, **_arg2, &block); end
|
||||
|
||||
# Execute a block in the context of an immutable object whose methods,
|
||||
# and the methods of their return values, represent the commands in a DSL.
|
||||
#
|
||||
# Use this method to execute a *functional* DSL, which means that:
|
||||
#
|
||||
# 1. The original DSL context object is never mutated
|
||||
# 2. Each command returns the next DSL context object
|
||||
# 3. The final return value is the value returned by the last command
|
||||
#
|
||||
# @example Use a frozen String as a DSL
|
||||
# Docile.dsl_eval_immutable("I'm immutable!".freeze) do
|
||||
# reverse
|
||||
# upcase
|
||||
# end
|
||||
# #=> "!ELBATUMMI M'I"
|
||||
# @example Use a Float as a DSL
|
||||
# Docile.dsl_eval_immutable(84.5) do
|
||||
# fdiv(2)
|
||||
# floor
|
||||
# end
|
||||
# #=> 42
|
||||
# @note Use with a *functional* DSL (commands return successor
|
||||
# context objects)
|
||||
# @param dsl [Object] immutable context object whose methods make up the
|
||||
# initial DSL
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed against the
|
||||
# `dsl` context object and successor return values
|
||||
# @return [Object] the return value of the final command in the block
|
||||
#
|
||||
# source://docile//lib/docile.rb#128
|
||||
def dsl_eval_immutable(dsl, *args, **_arg2, &block); end
|
||||
|
||||
# Execute a block in the context of an object whose methods represent the
|
||||
# commands in a DSL, and return *the block's return value*.
|
||||
#
|
||||
# Use this method to execute an *imperative* DSL, which means that:
|
||||
#
|
||||
# 1. Each command mutates the state of the DSL context object
|
||||
# 2. The return value of each command is ignored
|
||||
# 3. The final return value is the original context object
|
||||
#
|
||||
# @example Use a String as a DSL
|
||||
# Docile.dsl_eval_with_block_return("Hello, world!") do
|
||||
# reverse!
|
||||
# upcase!
|
||||
# first
|
||||
# end
|
||||
# #=> "!"
|
||||
# @example Use an Array as a DSL
|
||||
# Docile.dsl_eval_with_block_return([]) do
|
||||
# push "a"
|
||||
# push "b"
|
||||
# pop
|
||||
# push "c"
|
||||
# length
|
||||
# end
|
||||
# #=> 2
|
||||
# @note Use with an *imperative* DSL (commands modify the context object)
|
||||
# @param dsl [Object] context object whose methods make up the DSL
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed against the
|
||||
# `dsl` context object
|
||||
# @return [Object] the return value from executing the block
|
||||
#
|
||||
# source://docile//lib/docile.rb#87
|
||||
def dsl_eval_with_block_return(dsl, *args, **_arg2, &block); end
|
||||
|
||||
class << self
|
||||
# Execute a block in the context of an object whose methods represent the
|
||||
# commands in a DSL.
|
||||
#
|
||||
# Use this method to execute an *imperative* DSL, which means that:
|
||||
#
|
||||
# 1. Each command mutates the state of the DSL context object
|
||||
# 2. The return value of each command is ignored
|
||||
# 3. The final return value is the original context object
|
||||
#
|
||||
# @example Use a String as a DSL
|
||||
# Docile.dsl_eval("Hello, world!") do
|
||||
# reverse!
|
||||
# upcase!
|
||||
# end
|
||||
# #=> "!DLROW ,OLLEH"
|
||||
# @example Use an Array as a DSL
|
||||
# Docile.dsl_eval([]) do
|
||||
# push 1
|
||||
# push 2
|
||||
# pop
|
||||
# push 3
|
||||
# end
|
||||
# #=> [1, 3]
|
||||
# @note Use with an *imperative* DSL (commands modify the context object)
|
||||
# @param dsl [Object] context object whose methods make up the DSL
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed against the
|
||||
# `dsl` context object
|
||||
# @return [Object] the `dsl` context object after executing the block
|
||||
#
|
||||
# source://docile//lib/docile.rb#51
|
||||
def dsl_eval(dsl, *args, **_arg2, &block); end
|
||||
|
||||
# Execute a block in the context of an immutable object whose methods,
|
||||
# and the methods of their return values, represent the commands in a DSL.
|
||||
#
|
||||
# Use this method to execute a *functional* DSL, which means that:
|
||||
#
|
||||
# 1. The original DSL context object is never mutated
|
||||
# 2. Each command returns the next DSL context object
|
||||
# 3. The final return value is the value returned by the last command
|
||||
#
|
||||
# @example Use a frozen String as a DSL
|
||||
# Docile.dsl_eval_immutable("I'm immutable!".freeze) do
|
||||
# reverse
|
||||
# upcase
|
||||
# end
|
||||
# #=> "!ELBATUMMI M'I"
|
||||
# @example Use a Float as a DSL
|
||||
# Docile.dsl_eval_immutable(84.5) do
|
||||
# fdiv(2)
|
||||
# floor
|
||||
# end
|
||||
# #=> 42
|
||||
# @note Use with a *functional* DSL (commands return successor
|
||||
# context objects)
|
||||
# @param dsl [Object] immutable context object whose methods make up the
|
||||
# initial DSL
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed against the
|
||||
# `dsl` context object and successor return values
|
||||
# @return [Object] the return value of the final command in the block
|
||||
#
|
||||
# source://docile//lib/docile.rb#133
|
||||
def dsl_eval_immutable(dsl, *args, **_arg2, &block); end
|
||||
|
||||
# Execute a block in the context of an object whose methods represent the
|
||||
# commands in a DSL, and return *the block's return value*.
|
||||
#
|
||||
# Use this method to execute an *imperative* DSL, which means that:
|
||||
#
|
||||
# 1. Each command mutates the state of the DSL context object
|
||||
# 2. The return value of each command is ignored
|
||||
# 3. The final return value is the original context object
|
||||
#
|
||||
# @example Use a String as a DSL
|
||||
# Docile.dsl_eval_with_block_return("Hello, world!") do
|
||||
# reverse!
|
||||
# upcase!
|
||||
# first
|
||||
# end
|
||||
# #=> "!"
|
||||
# @example Use an Array as a DSL
|
||||
# Docile.dsl_eval_with_block_return([]) do
|
||||
# push "a"
|
||||
# push "b"
|
||||
# pop
|
||||
# push "c"
|
||||
# length
|
||||
# end
|
||||
# #=> 2
|
||||
# @note Use with an *imperative* DSL (commands modify the context object)
|
||||
# @param dsl [Object] context object whose methods make up the DSL
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed against the
|
||||
# `dsl` context object
|
||||
# @return [Object] the return value from executing the block
|
||||
#
|
||||
# source://docile//lib/docile.rb#94
|
||||
def dsl_eval_with_block_return(dsl, *args, **_arg2, &block); end
|
||||
end
|
||||
end
|
||||
|
||||
# This is used to remove entries pointing to Docile's source files
|
||||
# from {Exception#backtrace} and {Exception#backtrace_locations}.
|
||||
#
|
||||
# If {NoMethodError} is caught then the exception object will be extended
|
||||
# by this module to add filter functionalities.
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/backtrace_filter.rb#11
|
||||
module Docile::BacktraceFilter
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/backtrace_filter.rb#14
|
||||
def backtrace; end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/backtrace_filter.rb#19
|
||||
def backtrace_locations; end
|
||||
end
|
||||
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/backtrace_filter.rb#12
|
||||
Docile::BacktraceFilter::FILTER_PATTERN = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
# Operates in the same manner as {FallbackContextProxy}, but replacing
|
||||
# the primary `receiver` object with the result of each proxied method.
|
||||
#
|
||||
# This is useful for implementing DSL evaluation for immutable context
|
||||
# objects.
|
||||
#
|
||||
#
|
||||
# @api private
|
||||
# @see Docile.dsl_eval_immutable
|
||||
#
|
||||
# source://docile//lib/docile/chaining_fallback_context_proxy.rb#17
|
||||
class Docile::ChainingFallbackContextProxy < ::Docile::FallbackContextProxy
|
||||
# Proxy methods as in {FallbackContextProxy#method_missing}, replacing
|
||||
# `receiver` with the returned value.
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/chaining_fallback_context_proxy.rb#20
|
||||
def method_missing(method, *args, **_arg2, &block); end
|
||||
end
|
||||
|
||||
# A namespace for functions relating to the execution of a block against a
|
||||
# proxy object.
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/execution.rb#8
|
||||
module Docile::Execution
|
||||
private
|
||||
|
||||
# Execute a block in the context of an object whose methods represent the
|
||||
# commands in a DSL, using a specific proxy class.
|
||||
#
|
||||
# @api private
|
||||
# @param dsl [Object] context object whose methods make up the
|
||||
# (initial) DSL
|
||||
# @param proxy_type [FallbackContextProxy, ChainingFallbackContextProxy] which class to instantiate as proxy context
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed
|
||||
# @return [Object] the return value of the block
|
||||
#
|
||||
# source://docile//lib/docile/execution.rb#19
|
||||
def exec_in_proxy_context(dsl, proxy_type, *args, **_arg3, &block); end
|
||||
|
||||
class << self
|
||||
# Execute a block in the context of an object whose methods represent the
|
||||
# commands in a DSL, using a specific proxy class.
|
||||
#
|
||||
# @api private
|
||||
# @param dsl [Object] context object whose methods make up the
|
||||
# (initial) DSL
|
||||
# @param proxy_type [FallbackContextProxy, ChainingFallbackContextProxy] which class to instantiate as proxy context
|
||||
# @param args [Array] arguments to be passed to the block
|
||||
# @param block [Proc] the block of DSL commands to be executed
|
||||
# @return [Object] the return value of the block
|
||||
#
|
||||
# source://docile//lib/docile/execution.rb#51
|
||||
def exec_in_proxy_context(dsl, proxy_type, *args, **_arg3, &block); end
|
||||
end
|
||||
end
|
||||
|
||||
# A proxy object with a primary receiver as well as a secondary
|
||||
# fallback receiver.
|
||||
#
|
||||
# Will attempt to forward all method calls first to the primary receiver,
|
||||
# and then to the fallback receiver if the primary does not handle that
|
||||
# method.
|
||||
#
|
||||
# This is useful for implementing DSL evaluation in the context of an object.
|
||||
#
|
||||
#
|
||||
# @api private
|
||||
# @see Docile.dsl_eval
|
||||
#
|
||||
# source://docile//lib/docile/fallback_context_proxy.rb#20
|
||||
class Docile::FallbackContextProxy
|
||||
# @api private
|
||||
# @param receiver [Object] the primary proxy target to which all methods
|
||||
# initially will be forwarded
|
||||
# @param fallback [Object] the fallback proxy target to which any methods
|
||||
# not handled by `receiver` will be forwarded
|
||||
# @return [FallbackContextProxy] a new instance of FallbackContextProxy
|
||||
#
|
||||
# source://docile//lib/docile/fallback_context_proxy.rb#46
|
||||
def initialize(receiver, fallback); end
|
||||
|
||||
# @api private
|
||||
# @return [Array<Symbol>] Instance variable names, excluding
|
||||
# {NON_PROXIED_INSTANCE_VARIABLES}
|
||||
#
|
||||
# source://docile//lib/docile/fallback_context_proxy.rb#85
|
||||
def instance_variables; end
|
||||
|
||||
# Proxy all methods, excluding {NON_PROXIED_METHODS}, first to `receiver`
|
||||
# and then to `fallback` if not found.
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/fallback_context_proxy.rb#91
|
||||
def method_missing(method, *args, **_arg2, &block); end
|
||||
end
|
||||
|
||||
# The set of methods which will **not** fallback from the block's context
|
||||
# to the dsl object.
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/fallback_context_proxy.rb#30
|
||||
Docile::FallbackContextProxy::NON_FALLBACK_METHODS = T.let(T.unsafe(nil), Set)
|
||||
|
||||
# The set of instance variables which are local to this object and hidden.
|
||||
# All other instance variables will be copied in and out of this object
|
||||
# from the scope in which this proxy was created.
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/fallback_context_proxy.rb#35
|
||||
Docile::FallbackContextProxy::NON_PROXIED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Set)
|
||||
|
||||
# The set of methods which will **not** be proxied, but instead answered
|
||||
# by this object directly.
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://docile//lib/docile/fallback_context_proxy.rb#23
|
||||
Docile::FallbackContextProxy::NON_PROXIED_METHODS = T.let(T.unsafe(nil), Set)
|
||||
|
||||
# The current version of this library
|
||||
#
|
||||
# source://docile//lib/docile/version.rb#5
|
||||
Docile::VERSION = T.let(T.unsafe(nil), String)
|
||||
96
sorbet/rbi/gems/simplecov-html@0.13.2.rbi
generated
Normal file
96
sorbet/rbi/gems/simplecov-html@0.13.2.rbi
generated
Normal file
@@ -0,0 +1,96 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `simplecov-html` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
|
||||
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#15
|
||||
module SimpleCov; end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#16
|
||||
module SimpleCov::Formatter; end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#17
|
||||
class SimpleCov::Formatter::HTMLFormatter
|
||||
# @return [HTMLFormatter] a new instance of HTMLFormatter
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#26
|
||||
def initialize; end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#33
|
||||
def format(result); end
|
||||
|
||||
private
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#93
|
||||
def asset_inline(name); end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#79
|
||||
def asset_output_path; end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#87
|
||||
def assets_path(name); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#48
|
||||
def branchable_result?; end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#124
|
||||
def coverage_css_class(covered_percent); end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#120
|
||||
def covered_percent(percent); end
|
||||
|
||||
# Returns a table containing the given source files
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#111
|
||||
def formatted_file_list(title, source_files); end
|
||||
|
||||
# Returns the html for the given source_file
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#104
|
||||
def formatted_source_file(source_file); end
|
||||
|
||||
# Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#145
|
||||
def id(source_file); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#55
|
||||
def line_status?(source_file, line); end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#157
|
||||
def link_to_source_file(source_file); end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#63
|
||||
def output_message(result); end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#75
|
||||
def output_path; end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#153
|
||||
def shortened_filename(source_file); end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#134
|
||||
def strength_css_class(covered_strength); end
|
||||
|
||||
# Returns the an erb instance for the template of given name
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#71
|
||||
def template(name); end
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html.rb#149
|
||||
def timeago(time); end
|
||||
end
|
||||
|
||||
# Only have a few content types, just hardcode them
|
||||
#
|
||||
# source://simplecov-html//lib/simplecov-html.rb#19
|
||||
SimpleCov::Formatter::HTMLFormatter::CONTENT_TYPES = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://simplecov-html//lib/simplecov-html/version.rb#6
|
||||
SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)
|
||||
127
sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi
generated
Normal file
127
sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi
generated
Normal file
@@ -0,0 +1,127 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `simplecov-lcov` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem simplecov-lcov`.
|
||||
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#7
|
||||
module SimpleCov; end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#8
|
||||
module SimpleCov::Formatter; end
|
||||
|
||||
# Custom Formatter to generate lcov style coverage for simplecov
|
||||
#
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#10
|
||||
class SimpleCov::Formatter::LcovFormatter
|
||||
# generate lcov style coverage.
|
||||
# ==== Args
|
||||
# _result_ :: [SimpleCov::Result] abcoverage result instance.
|
||||
#
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#14
|
||||
def format(result); end
|
||||
|
||||
private
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#62
|
||||
def create_output_directory!; end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#121
|
||||
def filtered_branches(file); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#117
|
||||
def filtered_lines(file); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#125
|
||||
def format_branch(branch, branch_idx); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#101
|
||||
def format_branches(file); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#84
|
||||
def format_file(file); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#130
|
||||
def format_line(line); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#111
|
||||
def format_lines(file); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#50
|
||||
def lcov_results_path; end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#46
|
||||
def output_directory; end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#79
|
||||
def output_filename(filename); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#54
|
||||
def report_with_single_file?; end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#58
|
||||
def single_report_path; end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#67
|
||||
def write_lcov!(file); end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#73
|
||||
def write_lcov_to_single_file!(files); end
|
||||
|
||||
class << self
|
||||
# @yield [@config]
|
||||
#
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#27
|
||||
def config; end
|
||||
|
||||
# source://simplecov-lcov//lib/simplecov-lcov.rb#33
|
||||
def report_with_single_file=(value); end
|
||||
end
|
||||
end
|
||||
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#1
|
||||
module SimpleCovLcov; end
|
||||
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#2
|
||||
class SimpleCovLcov::Configuration
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#24
|
||||
def lcov_file_name; end
|
||||
|
||||
# Sets the attribute lcov_file_name
|
||||
#
|
||||
# @param value the value to set the attribute lcov_file_name to.
|
||||
#
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#5
|
||||
def lcov_file_name=(_arg0); end
|
||||
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#11
|
||||
def output_directory; end
|
||||
|
||||
# Sets the attribute output_directory
|
||||
#
|
||||
# @param value the value to set the attribute output_directory to.
|
||||
#
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#4
|
||||
def output_directory=(_arg0); end
|
||||
|
||||
# Sets the attribute report_with_single_file
|
||||
#
|
||||
# @param value the value to set the attribute report_with_single_file to.
|
||||
#
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#3
|
||||
def report_with_single_file=(_arg0); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#7
|
||||
def report_with_single_file?; end
|
||||
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#20
|
||||
def single_report_path; end
|
||||
|
||||
# source://simplecov-lcov//lib/simple_cov_lcov/configuration.rb#15
|
||||
def single_report_path=(new_path); end
|
||||
end
|
||||
2149
sorbet/rbi/gems/simplecov@0.22.0.rbi
generated
Normal file
2149
sorbet/rbi/gems/simplecov@0.22.0.rbi
generated
Normal file
File diff suppressed because it is too large
Load Diff
9
sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi
generated
Normal file
9
sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `simplecov_json_formatter` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem simplecov_json_formatter`.
|
||||
|
||||
|
||||
# THIS IS AN EMPTY RBI FILE.
|
||||
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
||||
24
sorbet/rbi/shims/simplecov.rbi
Normal file
24
sorbet/rbi/shims/simplecov.rbi
Normal file
@@ -0,0 +1,24 @@
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module SimpleCov
|
||||
sig do
|
||||
params(profile: T.untyped, block: T.proc.bind(SimpleCov).void).returns(
|
||||
T.nilable(T.any(Symbol, Integer))
|
||||
)
|
||||
end
|
||||
def self.start(profile = nil, &block)
|
||||
end
|
||||
|
||||
sig { params(filter: T.untyped).void }
|
||||
def add_filter(filter)
|
||||
end
|
||||
|
||||
sig { params(level: T.nilable(T.any(Symbol, Integer))).void }
|
||||
def enable_coverage(level = nil)
|
||||
end
|
||||
|
||||
sig { params(formatter: T.untyped).void }
|
||||
def formatter(formatter)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user