sorbet/rbi/gems/rake.rbi in clean-architecture-3.0.0 vs sorbet/rbi/gems/rake.rbi in clean-architecture-3.0.1
- old
+ new
@@ -5,11 +5,12 @@
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rake/all/rake.rbi
#
-# rake-12.3.3
+# rake-13.0.1
+
module Rake
def self.add_rakelib(*files); end
def self.application; end
def self.application=(app); end
def self.each_dir_parent(dir); end
@@ -115,56 +116,56 @@
module Rake::Cloneable
def initialize_copy(source); end
end
module FileUtils
def create_shell_runner(cmd); end
- def ruby(*args, &block); end
- def safe_ln(*args); end
+ def ruby(*args, **options, &block); end
+ def safe_ln(*args, **options); end
def set_verbose_option(options); end
def sh(*cmd, &block); end
def sh_show_command(cmd); end
def split_all(path); end
end
module Rake::FileUtilsExt
- def cd(*args, &block); end
- def chdir(*args, &block); end
- def chmod(*args, &block); end
- def chmod_R(*args, &block); end
- def chown(*args, &block); end
- def chown_R(*args, &block); end
- def copy(*args, &block); end
- def cp(*args, &block); end
- def cp_r(*args, &block); end
- def install(*args, &block); end
- def link(*args, &block); end
- def ln(*args, &block); end
- def ln_s(*args, &block); end
- def ln_sf(*args, &block); end
- def makedirs(*args, &block); end
- def mkdir(*args, &block); end
- def mkdir_p(*args, &block); end
- def mkpath(*args, &block); end
- def move(*args, &block); end
- def mv(*args, &block); end
+ def cd(*args, **options, &block); end
+ def chdir(*args, **options, &block); end
+ def chmod(*args, **options, &block); end
+ def chmod_R(*args, **options, &block); end
+ def chown(*args, **options, &block); end
+ def chown_R(*args, **options, &block); end
+ def copy(*args, **options, &block); end
+ def cp(*args, **options, &block); end
+ def cp_lr(*args, **options, &block); end
+ def cp_r(*args, **options, &block); end
+ def install(*args, **options, &block); end
+ def link(*args, **options, &block); end
+ def ln(*args, **options, &block); end
+ def ln_s(*args, **options, &block); end
+ def ln_sf(*args, **options, &block); end
+ def makedirs(*args, **options, &block); end
+ def mkdir(*args, **options, &block); end
+ def mkdir_p(*args, **options, &block); end
+ def mkpath(*args, **options, &block); end
+ def move(*args, **options, &block); end
+ def mv(*args, **options, &block); end
def nowrite(value = nil); end
def rake_check_options(options, *optdecl); end
- def rake_merge_option(args, defaults); end
def rake_output_message(message); end
- def remove(*args, &block); end
- def rm(*args, &block); end
- def rm_f(*args, &block); end
- def rm_r(*args, &block); end
- def rm_rf(*args, &block); end
- def rmdir(*args, &block); end
- def rmtree(*args, &block); end
- def safe_unlink(*args, &block); end
+ def remove(*args, **options, &block); end
+ def rm(*args, **options, &block); end
+ def rm_f(*args, **options, &block); end
+ def rm_r(*args, **options, &block); end
+ def rm_rf(*args, **options, &block); end
+ def rmdir(*args, **options, &block); end
+ def rmtree(*args, **options, &block); end
+ def safe_unlink(*args, **options, &block); end
def self.nowrite_flag; end
def self.nowrite_flag=(arg0); end
def self.verbose_flag; end
def self.verbose_flag=(arg0); end
- def symlink(*args, &block); end
- def touch(*args, &block); end
+ def symlink(*args, **options, &block); end
+ def touch(*args, **options, &block); end
def verbose(value = nil); end
def when_writing(msg = nil); end
extend Rake::FileUtilsExt
include FileUtils
end
@@ -185,10 +186,11 @@
def append(*args, &block); end
def assoc(*args, &block); end
def at(*args, &block); end
def bsearch(*args, &block); end
def bsearch_index(*args, &block); end
+ def chain(*args, &block); end
def chunk(*args, &block); end
def chunk_while(*args, &block); end
def clear(*args, &block); end
def clear_exclude; end
def collect!(*args, &block); end
@@ -202,10 +204,11 @@
def cycle(*args, &block); end
def delete(*args, &block); end
def delete_at(*args, &block); end
def delete_if(*args, &block); end
def detect(*args, &block); end
+ def difference(*args, &block); end
def dig(*args, &block); end
def drop(*args, &block); end
def drop_while(*args, &block); end
def each(*args, &block); end
def each_cons(*args, &block); end
@@ -220,12 +223,15 @@
def exclude(*patterns, &block); end
def excluded_from_list?(fn); end
def existing!; end
def existing; end
def ext(newext = nil); end
+ def extract_options!(*args, &block); end
def fetch(*args, &block); end
def fill(*args, &block); end
+ def filter!(*args, &block); end
+ def filter(*args, &block); end
def find(*args, &block); end
def find_all(*args, &block); end
def find_index(*args, &block); end
def first(*args, &block); end
def flat_map(*args, &block); end
@@ -314,10 +320,11 @@
def to_ary; end
def to_h(*args, &block); end
def to_s; end
def to_set(*args, &block); end
def transpose(*args, &block); end
+ def union(*args, &block); end
def uniq!(*args, &block); end
def uniq(*args, &block); end
def unshift(*args, &block); end
def values_at(*args, &block); end
def zip(*args, &block); end
@@ -513,29 +520,32 @@
def locations; end
def lookup_prerequisite(prerequisite_name); end
def name; end
def name_with_args; end
def needed?; end
+ def order_only_prerequisites; end
def prereqs; end
def prerequisite_tasks; end
def prerequisites; end
def reenable; end
def scope; end
def self.[](task_name); end
def self.clear; end
def self.create_rule(*args, &block); end
def self.define_task(*args, &block); end
+ def self.format_deps(deps); end
def self.scope_name(scope, task_name); end
def self.task_defined?(task_name); end
def self.tasks; end
def set_arg_names(args); end
def source; end
def sources; end
def sources=(arg0); end
def timestamp; end
def to_s; end
def transform_comments(separator, &block); end
+ def |(deps); end
end
class Rake::EarlyTime
def <=>(other); end
def self.allocate; end
def self.instance; end
@@ -557,56 +567,56 @@
end
class Rake::MultiTask < Rake::Task
def invoke_prerequisites(task_args, invocation_chain); end
end
module Rake::DSL
- def cd(*args, &block); end
- def chdir(*args, &block); end
- def chmod(*args, &block); end
- def chmod_R(*args, &block); end
- def chown(*args, &block); end
- def chown_R(*args, &block); end
- def copy(*args, &block); end
- def cp(*args, &block); end
- def cp_r(*args, &block); end
+ def cd(*args, **options, &block); end
+ def chdir(*args, **options, &block); end
+ def chmod(*args, **options, &block); end
+ def chmod_R(*args, **options, &block); end
+ def chown(*args, **options, &block); end
+ def chown_R(*args, **options, &block); end
+ def copy(*args, **options, &block); end
+ def cp(*args, **options, &block); end
+ def cp_lr(*args, **options, &block); end
+ def cp_r(*args, **options, &block); end
def desc(description); end
def directory(*args, &block); end
def file(*args, &block); end
def file_create(*args, &block); end
def import(*fns); end
- def install(*args, &block); end
- def link(*args, &block); end
- def ln(*args, &block); end
- def ln_s(*args, &block); end
- def ln_sf(*args, &block); end
- def makedirs(*args, &block); end
- def mkdir(*args, &block); end
- def mkdir_p(*args, &block); end
- def mkpath(*args, &block); end
- def move(*args, &block); end
+ def install(*args, **options, &block); end
+ def link(*args, **options, &block); end
+ def ln(*args, **options, &block); end
+ def ln_s(*args, **options, &block); end
+ def ln_sf(*args, **options, &block); end
+ def makedirs(*args, **options, &block); end
+ def mkdir(*args, **options, &block); end
+ def mkdir_p(*args, **options, &block); end
+ def mkpath(*args, **options, &block); end
+ def move(*args, **options, &block); end
def multitask(*args, &block); end
- def mv(*args, &block); end
+ def mv(*args, **options, &block); end
def namespace(name = nil, &block); end
def nowrite(value = nil); end
def rake_check_options(options, *optdecl); end
- def rake_merge_option(args, defaults); end
def rake_output_message(message); end
- def remove(*args, &block); end
- def rm(*args, &block); end
- def rm_f(*args, &block); end
- def rm_r(*args, &block); end
- def rm_rf(*args, &block); end
- def rmdir(*args, &block); end
- def rmtree(*args, &block); end
- def ruby(*args, &block); end
+ def remove(*args, **options, &block); end
+ def rm(*args, **options, &block); end
+ def rm_f(*args, **options, &block); end
+ def rm_r(*args, **options, &block); end
+ def rm_rf(*args, **options, &block); end
+ def rmdir(*args, **options, &block); end
+ def rmtree(*args, **options, &block); end
+ def ruby(*args, **options, &block); end
def rule(*args, &block); end
- def safe_ln(*args); end
- def safe_unlink(*args, &block); end
+ def safe_ln(*args, **options); end
+ def safe_unlink(*args, **options, &block); end
def sh(*cmd, &block); end
def split_all(path); end
- def symlink(*args, &block); end
+ def symlink(*args, **options, &block); end
def task(*args, &block); end
- def touch(*args, &block); end
+ def touch(*args, **options, &block); end
def verbose(value = nil); end
def when_writing(msg = nil); end
include Rake::FileUtilsExt
end
class Rake::DefaultLoader