activerecord-ejection_seat 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +41 -52
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.2.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.2.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.0.rbi → concurrent-ruby@1.2.2.rbi} +64 -89
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +50 -35
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.1.0.rbi → parser@3.2.2.1.rbi} +164 -164
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.7.0.rbi → regexp_parser@2.8.0.rbi} +617 -449
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.26.0.rbi → rubocop-ast@1.28.1.rbi} +79 -60
- data/sorbet/rbi/gems/{rubocop-minitest@0.27.0.rbi → rubocop-minitest@0.31.0.rbi} +364 -222
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -15
- data/sorbet/rbi/gems/{rubocop@1.45.1.rbi → rubocop@1.51.0.rbi} +2170 -1402
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +27 -33
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.4.0.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@6.0.0.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.2.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -693,7 +693,7 @@ module Thor::Actions
|
|
693
693
|
# flag<Regexp|String>:: the regexp or string to be replaced
|
694
694
|
# replacement<String>:: the replacement, can be also given as a block
|
695
695
|
# config<Hash>:: give :verbose => false to not log the status, and
|
696
|
-
# :force => true, to force the replacement
|
696
|
+
# :force => true, to force the replacement regardless of runner behavior.
|
697
697
|
#
|
698
698
|
# ==== Example
|
699
699
|
#
|
@@ -871,7 +871,7 @@ module Thor::Actions
|
|
871
871
|
# run('ln -s ~/edge rails')
|
872
872
|
# end
|
873
873
|
#
|
874
|
-
# source://thor//lib/thor/actions.rb#
|
874
|
+
# source://thor//lib/thor/actions.rb#249
|
875
875
|
def run(command, config = T.unsafe(nil)); end
|
876
876
|
|
877
877
|
# Executes a ruby script (taking into account WIN32 platform quirks).
|
@@ -880,7 +880,7 @@ module Thor::Actions
|
|
880
880
|
# command<String>:: the command to be executed.
|
881
881
|
# config<Hash>:: give :verbose => false to not log the status.
|
882
882
|
#
|
883
|
-
# source://thor//lib/thor/actions.rb#
|
883
|
+
# source://thor//lib/thor/actions.rb#286
|
884
884
|
def run_ruby_script(command, config = T.unsafe(nil)); end
|
885
885
|
|
886
886
|
# Holds source paths in instance so they can be manipulated.
|
@@ -924,7 +924,7 @@ module Thor::Actions
|
|
924
924
|
# thor :list, :all => true, :substring => 'rails'
|
925
925
|
# #=> thor list --all --substring=rails
|
926
926
|
#
|
927
|
-
# source://thor//lib/thor/actions.rb#
|
927
|
+
# source://thor//lib/thor/actions.rb#309
|
928
928
|
def thor(command, *args); end
|
929
929
|
|
930
930
|
# Uncomment all lines matching a given regex. It will leave the space
|
@@ -945,12 +945,12 @@ module Thor::Actions
|
|
945
945
|
|
946
946
|
protected
|
947
947
|
|
948
|
-
# source://thor//lib/thor/actions.rb#
|
948
|
+
# source://thor//lib/thor/actions.rb#330
|
949
949
|
def _cleanup_options_and_set(options, key); end
|
950
950
|
|
951
951
|
# Allow current root to be shared between invocations.
|
952
952
|
#
|
953
|
-
# source://thor//lib/thor/actions.rb#
|
953
|
+
# source://thor//lib/thor/actions.rb#326
|
954
954
|
def _shared_configuration; end
|
955
955
|
|
956
956
|
private
|
@@ -1297,10 +1297,10 @@ end
|
|
1297
1297
|
# source://thor//lib/thor/actions/inject_into_file.rb#24
|
1298
1298
|
Thor::Actions::WARNINGS = T.let(T.unsafe(nil), Hash)
|
1299
1299
|
|
1300
|
-
# source://thor//lib/thor/error.rb#
|
1300
|
+
# source://thor//lib/thor/error.rb#68
|
1301
1301
|
class Thor::AmbiguousCommandError < ::Thor::Error; end
|
1302
1302
|
|
1303
|
-
# source://thor//lib/thor/error.rb#
|
1303
|
+
# source://thor//lib/thor/error.rb#70
|
1304
1304
|
Thor::AmbiguousTaskError = Thor::AmbiguousCommandError
|
1305
1305
|
|
1306
1306
|
# source://thor//lib/thor/parser/argument.rb#2
|
@@ -1982,12 +1982,12 @@ module Thor::Base::ClassMethods
|
|
1982
1982
|
# SIGNATURE: Sets the baseclass. This is where the superclass lookup
|
1983
1983
|
# finishes.
|
1984
1984
|
#
|
1985
|
-
# source://thor//lib/thor/base.rb#
|
1985
|
+
# source://thor//lib/thor/base.rb#678
|
1986
1986
|
def baseclass; end
|
1987
1987
|
|
1988
1988
|
# The basename of the program invoking the thor class.
|
1989
1989
|
#
|
1990
|
-
# source://thor//lib/thor/base.rb#
|
1990
|
+
# source://thor//lib/thor/base.rb#672
|
1991
1991
|
def basename; end
|
1992
1992
|
|
1993
1993
|
# Build an option and adds it to the given scope.
|
@@ -1997,7 +1997,7 @@ module Thor::Base::ClassMethods
|
|
1997
1997
|
# options<Hash>:: Described in both class_option and method_option.
|
1998
1998
|
# scope<Hash>:: Options hash that is being built up
|
1999
1999
|
#
|
2000
|
-
# source://thor//lib/thor/base.rb#
|
2000
|
+
# source://thor//lib/thor/base.rb#589
|
2001
2001
|
def build_option(name, options, scope); end
|
2002
2002
|
|
2003
2003
|
# Receives a hash of options, parse them and add to the scope. This is a
|
@@ -2008,7 +2008,7 @@ module Thor::Base::ClassMethods
|
|
2008
2008
|
# ==== Parameters
|
2009
2009
|
# Hash[Symbol => Object]
|
2010
2010
|
#
|
2011
|
-
# source://thor//lib/thor/base.rb#
|
2011
|
+
# source://thor//lib/thor/base.rb#600
|
2012
2012
|
def build_options(options, scope); end
|
2013
2013
|
|
2014
2014
|
# Prints the class options per group. If an option does not belong to
|
@@ -2020,65 +2020,65 @@ module Thor::Base::ClassMethods
|
|
2020
2020
|
# SIGNATURE: Creates a new command if valid_command? is true. This method is
|
2021
2021
|
# called when a new method is added to the class.
|
2022
2022
|
#
|
2023
|
-
# source://thor//lib/thor/base.rb#
|
2023
|
+
# source://thor//lib/thor/base.rb#683
|
2024
2024
|
def create_command(meth); end
|
2025
2025
|
|
2026
2026
|
# SIGNATURE: Creates a new command if valid_command? is true. This method is
|
2027
2027
|
# called when a new method is added to the class.
|
2028
2028
|
#
|
2029
|
-
# source://thor//lib/thor/base.rb#
|
2029
|
+
# source://thor//lib/thor/base.rb#683
|
2030
2030
|
def create_task(meth); end
|
2031
2031
|
|
2032
2032
|
# SIGNATURE: The hook invoked by start.
|
2033
2033
|
#
|
2034
2034
|
# @raise [NotImplementedError]
|
2035
2035
|
#
|
2036
|
-
# source://thor//lib/thor/base.rb#
|
2036
|
+
# source://thor//lib/thor/base.rb#693
|
2037
2037
|
def dispatch(command, given_args, given_opts, config); end
|
2038
2038
|
|
2039
2039
|
# Finds a command with the given name. If the command belongs to the current
|
2040
2040
|
# class, just return it, otherwise dup it and add the fresh copy to the
|
2041
2041
|
# current command hash.
|
2042
2042
|
#
|
2043
|
-
# source://thor//lib/thor/base.rb#
|
2043
|
+
# source://thor//lib/thor/base.rb#609
|
2044
2044
|
def find_and_refresh_command(name); end
|
2045
2045
|
|
2046
2046
|
# Finds a command with the given name. If the command belongs to the current
|
2047
2047
|
# class, just return it, otherwise dup it and add the fresh copy to the
|
2048
2048
|
# current command hash.
|
2049
2049
|
#
|
2050
|
-
# source://thor//lib/thor/base.rb#
|
2050
|
+
# source://thor//lib/thor/base.rb#609
|
2051
2051
|
def find_and_refresh_task(name); end
|
2052
2052
|
|
2053
2053
|
# Retrieves a value from superclass. If it reaches the baseclass,
|
2054
2054
|
# returns default.
|
2055
2055
|
#
|
2056
|
-
# source://thor//lib/thor/base.rb#
|
2056
|
+
# source://thor//lib/thor/base.rb#650
|
2057
2057
|
def from_superclass(method, default = T.unsafe(nil)); end
|
2058
2058
|
|
2059
|
-
#
|
2059
|
+
# Every time someone inherits from a Thor class, register the klass
|
2060
2060
|
# and file into baseclass.
|
2061
2061
|
#
|
2062
|
-
# source://thor//lib/thor/base.rb#
|
2062
|
+
# source://thor//lib/thor/base.rb#622
|
2063
2063
|
def inherited(klass); end
|
2064
2064
|
|
2065
2065
|
# SIGNATURE: Defines behavior when the initialize method is added to the
|
2066
2066
|
# class.
|
2067
2067
|
#
|
2068
|
-
# source://thor//lib/thor/base.rb#
|
2068
|
+
# source://thor//lib/thor/base.rb#689
|
2069
2069
|
def initialize_added; end
|
2070
2070
|
|
2071
2071
|
# Raises an error if the word given is a Thor reserved word.
|
2072
2072
|
#
|
2073
2073
|
# @return [Boolean]
|
2074
2074
|
#
|
2075
|
-
# source://thor//lib/thor/base.rb#
|
2075
|
+
# source://thor//lib/thor/base.rb#578
|
2076
2076
|
def is_thor_reserved_word?(word, type); end
|
2077
2077
|
|
2078
2078
|
# Fire this callback whenever a method is added. Added methods are
|
2079
2079
|
# tracked as commands by invoking the create_command method.
|
2080
2080
|
#
|
2081
|
-
# source://thor//lib/thor/base.rb#
|
2081
|
+
# source://thor//lib/thor/base.rb#630
|
2082
2082
|
def method_added(meth); end
|
2083
2083
|
|
2084
2084
|
# Receives a set of options and print them.
|
@@ -2241,8 +2241,14 @@ class Thor::CoreExt::HashWithIndifferentAccess < ::Hash
|
|
2241
2241
|
def method_missing(method, *args); end
|
2242
2242
|
end
|
2243
2243
|
|
2244
|
-
# source://thor//lib/thor/error.rb#
|
2245
|
-
Thor::Correctable
|
2244
|
+
# source://thor//lib/thor/error.rb#14
|
2245
|
+
module Thor::Correctable
|
2246
|
+
# source://thor//lib/thor/error.rb#19
|
2247
|
+
def corrections; end
|
2248
|
+
|
2249
|
+
# source://thor//lib/thor/error.rb#15
|
2250
|
+
def to_s; end
|
2251
|
+
end
|
2246
2252
|
|
2247
2253
|
# A dynamic command that handles method missing scenarios.
|
2248
2254
|
#
|
@@ -2267,13 +2273,15 @@ Thor::DynamicTask = Thor::DynamicCommand
|
|
2267
2273
|
# overwrites a thor keyword, SHOULD NOT raise a Thor::Error. This way, we
|
2268
2274
|
# ensure that developer errors are shown with full backtrace.
|
2269
2275
|
#
|
2270
|
-
# source://thor//lib/thor/error.rb#
|
2276
|
+
# source://thor//lib/thor/error.rb#31
|
2271
2277
|
class Thor::Error < ::StandardError; end
|
2272
2278
|
|
2273
2279
|
# Thor has a special class called Thor::Group. The main difference to Thor class
|
2274
2280
|
# is that it invokes all commands at once. It also include some methods that allows
|
2275
2281
|
# invocations to be done at the class method, which are not available to Thor
|
2276
2282
|
# commands.
|
2283
|
+
#
|
2284
|
+
# source://thor//lib/thor/group.rb#7
|
2277
2285
|
class Thor::Group
|
2278
2286
|
include ::Thor::Base
|
2279
2287
|
include ::Thor::Invocation
|
@@ -2603,7 +2611,7 @@ end
|
|
2603
2611
|
|
2604
2612
|
# Raised when a command was found, but not invoked properly.
|
2605
2613
|
#
|
2606
|
-
# source://thor//lib/thor/error.rb#
|
2614
|
+
# source://thor//lib/thor/error.rb#73
|
2607
2615
|
class Thor::InvocationError < ::Thor::Error; end
|
2608
2616
|
|
2609
2617
|
# source://thor//lib/thor/line_editor/basic.rb#2
|
@@ -2716,7 +2724,7 @@ class Thor::LineEditor::Readline::PathCompletion
|
|
2716
2724
|
def text; end
|
2717
2725
|
end
|
2718
2726
|
|
2719
|
-
# source://thor//lib/thor/error.rb#
|
2727
|
+
# source://thor//lib/thor/error.rb#109
|
2720
2728
|
class Thor::MalformattedArgumentError < ::Thor::InvocationError; end
|
2721
2729
|
|
2722
2730
|
# source://thor//lib/thor/nested_context.rb#2
|
@@ -2761,10 +2769,13 @@ class Thor::Option < ::Thor::Argument
|
|
2761
2769
|
# source://thor//lib/thor/parser/option.rb#3
|
2762
2770
|
def aliases; end
|
2763
2771
|
|
2764
|
-
# source://thor//lib/thor/parser/option.rb#
|
2772
|
+
# source://thor//lib/thor/parser/option.rb#99
|
2773
|
+
def aliases_for_usage; end
|
2774
|
+
|
2775
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2765
2776
|
def array?; end
|
2766
2777
|
|
2767
|
-
# source://thor//lib/thor/parser/option.rb#
|
2778
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2768
2779
|
def boolean?; end
|
2769
2780
|
|
2770
2781
|
# Returns the value of attribute group.
|
@@ -2772,7 +2783,7 @@ class Thor::Option < ::Thor::Argument
|
|
2772
2783
|
# source://thor//lib/thor/parser/option.rb#3
|
2773
2784
|
def group; end
|
2774
2785
|
|
2775
|
-
# source://thor//lib/thor/parser/option.rb#
|
2786
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2776
2787
|
def hash?; end
|
2777
2788
|
|
2778
2789
|
# Returns the value of attribute hide.
|
@@ -2788,7 +2799,7 @@ class Thor::Option < ::Thor::Argument
|
|
2788
2799
|
# source://thor//lib/thor/parser/option.rb#3
|
2789
2800
|
def lazy_default; end
|
2790
2801
|
|
2791
|
-
# source://thor//lib/thor/parser/option.rb#
|
2802
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2792
2803
|
def numeric?; end
|
2793
2804
|
|
2794
2805
|
# Returns the value of attribute repeatable.
|
@@ -2796,7 +2807,7 @@ class Thor::Option < ::Thor::Argument
|
|
2796
2807
|
# source://thor//lib/thor/parser/option.rb#3
|
2797
2808
|
def repeatable; end
|
2798
2809
|
|
2799
|
-
# source://thor//lib/thor/parser/option.rb#
|
2810
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2800
2811
|
def string?; end
|
2801
2812
|
|
2802
2813
|
# source://thor//lib/thor/parser/option.rb#75
|
@@ -2807,23 +2818,23 @@ class Thor::Option < ::Thor::Argument
|
|
2807
2818
|
|
2808
2819
|
protected
|
2809
2820
|
|
2810
|
-
# source://thor//lib/thor/parser/option.rb#
|
2821
|
+
# source://thor//lib/thor/parser/option.rb#159
|
2811
2822
|
def dasherize(str); end
|
2812
2823
|
|
2813
2824
|
# @return [Boolean]
|
2814
2825
|
#
|
2815
|
-
# source://thor//lib/thor/parser/option.rb#
|
2826
|
+
# source://thor//lib/thor/parser/option.rb#151
|
2816
2827
|
def dasherized?; end
|
2817
2828
|
|
2818
|
-
# source://thor//lib/thor/parser/option.rb#
|
2829
|
+
# source://thor//lib/thor/parser/option.rb#155
|
2819
2830
|
def undasherize(str); end
|
2820
2831
|
|
2821
2832
|
# @raise [ArgumentError]
|
2822
2833
|
#
|
2823
|
-
# source://thor//lib/thor/parser/option.rb#
|
2834
|
+
# source://thor//lib/thor/parser/option.rb#117
|
2824
2835
|
def validate!; end
|
2825
2836
|
|
2826
|
-
# source://thor//lib/thor/parser/option.rb#
|
2837
|
+
# source://thor//lib/thor/parser/option.rb#122
|
2827
2838
|
def validate_default_type!; end
|
2828
2839
|
|
2829
2840
|
class << self
|
@@ -2989,6 +3000,8 @@ Thor::Options::SHORT_SQ_RE = T.let(T.unsafe(nil), Regexp)
|
|
2989
3000
|
# t.spec_files = FileList['spec/**/*_spec.rb']
|
2990
3001
|
# end
|
2991
3002
|
# end
|
3003
|
+
#
|
3004
|
+
# source://thor//lib/thor/rake_compat.rb#20
|
2992
3005
|
module Thor::RakeCompat
|
2993
3006
|
include ::FileUtils::StreamUtils_
|
2994
3007
|
include ::FileUtils
|
@@ -3006,7 +3019,7 @@ module Thor::RakeCompat
|
|
3006
3019
|
end
|
3007
3020
|
end
|
3008
3021
|
|
3009
|
-
# source://thor//lib/thor/error.rb#
|
3022
|
+
# source://thor//lib/thor/error.rb#106
|
3010
3023
|
class Thor::RequiredArgumentMissingError < ::Thor::InvocationError; end
|
3011
3024
|
|
3012
3025
|
# source://thor//lib/thor/util.rb#4
|
@@ -3362,7 +3375,7 @@ Thor::Shell::Basic::DEFAULT_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer)
|
|
3362
3375
|
# Inherit from Thor::Shell::Basic and add set_color behavior. Check
|
3363
3376
|
# Thor::Shell::Basic to see all available methods.
|
3364
3377
|
#
|
3365
|
-
# source://thor//lib/thor/shell/color.rb#
|
3378
|
+
# source://thor//lib/thor/shell/color.rb#8
|
3366
3379
|
class Thor::Shell::Color < ::Thor::Shell::Basic
|
3367
3380
|
# Set color by using a string or one of the defined constants. If a third
|
3368
3381
|
# option is set to true, it also adds bold to the string. This is based
|
@@ -3526,6 +3539,8 @@ Thor::Shell::Color::YELLOW = T.let(T.unsafe(nil), String)
|
|
3526
3539
|
|
3527
3540
|
# Inherit from Thor::Shell::Basic and add set_color behavior. Check
|
3528
3541
|
# Thor::Shell::Basic to see all available methods.
|
3542
|
+
#
|
3543
|
+
# source://thor//lib/thor/shell/html.rb#8
|
3529
3544
|
class Thor::Shell::HTML < ::Thor::Shell::Basic
|
3530
3545
|
# Ask something to the user and receives a response.
|
3531
3546
|
#
|
@@ -3673,84 +3688,84 @@ Thor::Task = Thor::Command
|
|
3673
3688
|
|
3674
3689
|
# Raised when a command was not found.
|
3675
3690
|
#
|
3676
|
-
# source://thor//lib/thor/error.rb#
|
3691
|
+
# source://thor//lib/thor/error.rb#35
|
3677
3692
|
class Thor::UndefinedCommandError < ::Thor::Error
|
3678
|
-
include ::
|
3693
|
+
include ::Thor::Correctable
|
3679
3694
|
|
3680
3695
|
# @return [UndefinedCommandError] a new instance of UndefinedCommandError
|
3681
3696
|
#
|
3682
|
-
# source://thor//lib/thor/error.rb#
|
3697
|
+
# source://thor//lib/thor/error.rb#54
|
3683
3698
|
def initialize(command, all_commands, namespace); end
|
3684
3699
|
|
3685
3700
|
# Returns the value of attribute all_commands.
|
3686
3701
|
#
|
3687
|
-
# source://thor//lib/thor/error.rb#
|
3702
|
+
# source://thor//lib/thor/error.rb#52
|
3688
3703
|
def all_commands; end
|
3689
3704
|
|
3690
3705
|
# Returns the value of attribute command.
|
3691
3706
|
#
|
3692
|
-
# source://thor//lib/thor/error.rb#
|
3707
|
+
# source://thor//lib/thor/error.rb#52
|
3693
3708
|
def command; end
|
3694
3709
|
end
|
3695
3710
|
|
3696
|
-
# source://thor//lib/thor/error.rb#
|
3711
|
+
# source://thor//lib/thor/error.rb#36
|
3697
3712
|
class Thor::UndefinedCommandError::SpellChecker
|
3698
3713
|
# @return [SpellChecker] a new instance of SpellChecker
|
3699
3714
|
#
|
3700
|
-
# source://thor//lib/thor/error.rb#
|
3715
|
+
# source://thor//lib/thor/error.rb#39
|
3701
3716
|
def initialize(error); end
|
3702
3717
|
|
3703
|
-
# source://thor//lib/thor/error.rb#
|
3718
|
+
# source://thor//lib/thor/error.rb#43
|
3704
3719
|
def corrections; end
|
3705
3720
|
|
3706
3721
|
# Returns the value of attribute error.
|
3707
3722
|
#
|
3708
|
-
# source://thor//lib/thor/error.rb#
|
3723
|
+
# source://thor//lib/thor/error.rb#37
|
3709
3724
|
def error; end
|
3710
3725
|
|
3711
|
-
# source://thor//lib/thor/error.rb#
|
3726
|
+
# source://thor//lib/thor/error.rb#47
|
3712
3727
|
def spell_checker; end
|
3713
3728
|
end
|
3714
3729
|
|
3715
|
-
# source://thor//lib/thor/error.rb#
|
3730
|
+
# source://thor//lib/thor/error.rb#66
|
3716
3731
|
Thor::UndefinedTaskError = Thor::UndefinedCommandError
|
3717
3732
|
|
3718
|
-
# source://thor//lib/thor/error.rb#
|
3733
|
+
# source://thor//lib/thor/error.rb#76
|
3719
3734
|
class Thor::UnknownArgumentError < ::Thor::Error
|
3720
|
-
include ::
|
3735
|
+
include ::Thor::Correctable
|
3721
3736
|
|
3722
3737
|
# @return [UnknownArgumentError] a new instance of UnknownArgumentError
|
3723
3738
|
#
|
3724
|
-
# source://thor//lib/thor/error.rb#
|
3739
|
+
# source://thor//lib/thor/error.rb#96
|
3725
3740
|
def initialize(switches, unknown); end
|
3726
3741
|
|
3727
3742
|
# Returns the value of attribute switches.
|
3728
3743
|
#
|
3729
|
-
# source://thor//lib/thor/error.rb#
|
3744
|
+
# source://thor//lib/thor/error.rb#94
|
3730
3745
|
def switches; end
|
3731
3746
|
|
3732
3747
|
# Returns the value of attribute unknown.
|
3733
3748
|
#
|
3734
|
-
# source://thor//lib/thor/error.rb#
|
3749
|
+
# source://thor//lib/thor/error.rb#94
|
3735
3750
|
def unknown; end
|
3736
3751
|
end
|
3737
3752
|
|
3738
|
-
# source://thor//lib/thor/error.rb#
|
3753
|
+
# source://thor//lib/thor/error.rb#77
|
3739
3754
|
class Thor::UnknownArgumentError::SpellChecker
|
3740
3755
|
# @return [SpellChecker] a new instance of SpellChecker
|
3741
3756
|
#
|
3742
|
-
# source://thor//lib/thor/error.rb#
|
3757
|
+
# source://thor//lib/thor/error.rb#80
|
3743
3758
|
def initialize(error); end
|
3744
3759
|
|
3745
|
-
# source://thor//lib/thor/error.rb#
|
3760
|
+
# source://thor//lib/thor/error.rb#84
|
3746
3761
|
def corrections; end
|
3747
3762
|
|
3748
3763
|
# Returns the value of attribute error.
|
3749
3764
|
#
|
3750
|
-
# source://thor//lib/thor/error.rb#
|
3765
|
+
# source://thor//lib/thor/error.rb#78
|
3751
3766
|
def error; end
|
3752
3767
|
|
3753
|
-
# source://thor//lib/thor/error.rb#
|
3768
|
+
# source://thor//lib/thor/error.rb#89
|
3754
3769
|
def spell_checker; end
|
3755
3770
|
end
|
3756
3771
|
|
@@ -231,7 +231,7 @@ class YARDSorbet::Handlers::StructPropHandler < ::YARD::Handlers::Ruby::Base
|
|
231
231
|
def make_prop(name); end
|
232
232
|
|
233
233
|
# source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#60
|
234
|
-
sig { returns(T::Array[
|
234
|
+
sig { returns(T::Array[::YARD::Parser::Ruby::AstNode]) }
|
235
235
|
def params; end
|
236
236
|
|
237
237
|
# Register the field explicitly as an attribute.
|
@@ -322,67 +322,54 @@ module YARDSorbet::SigToYARD
|
|
322
322
|
class << self
|
323
323
|
# @see https://yardoc.org/types.html
|
324
324
|
#
|
325
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
325
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#23
|
326
326
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
327
327
|
def convert(node); end
|
328
328
|
|
329
329
|
private
|
330
330
|
|
331
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
331
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#61
|
332
332
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::String) }
|
333
333
|
def build_generic_type(node); end
|
334
334
|
|
335
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
335
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#70
|
336
336
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
337
337
|
def convert_aref(node); end
|
338
338
|
|
339
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
339
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#82
|
340
340
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
341
341
|
def convert_array(node); end
|
342
342
|
|
343
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
344
|
-
sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
|
345
|
-
def convert_call(node); end
|
346
|
-
|
347
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#89
|
343
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#90
|
348
344
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
349
345
|
def convert_collection(node); end
|
350
346
|
|
351
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
347
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#97
|
352
348
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
353
349
|
def convert_hash(node); end
|
354
350
|
|
355
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
351
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#105
|
356
352
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
357
353
|
def convert_list(node); end
|
358
354
|
|
359
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
355
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#31
|
360
356
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
361
357
|
def convert_node(node); end
|
362
358
|
|
363
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
359
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#43
|
364
360
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
365
361
|
def convert_node_type(node); end
|
366
362
|
|
367
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
368
|
-
sig { params(node_source: ::String).returns([::String]) }
|
369
|
-
def convert_ref(node_source); end
|
370
|
-
|
371
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#114
|
363
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#110
|
372
364
|
sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
|
373
365
|
def convert_t_method(node); end
|
374
366
|
|
375
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#
|
367
|
+
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#121
|
376
368
|
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
377
369
|
def convert_unknown(node); end
|
378
370
|
end
|
379
371
|
end
|
380
372
|
|
381
|
-
# Map of common types to YARD conventions (in order to reduce allocations)
|
382
|
-
#
|
383
|
-
# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#10
|
384
|
-
YARDSorbet::SigToYARD::REF_TYPES = T.let(T.unsafe(nil), Hash)
|
385
|
-
|
386
373
|
# Used to store the details of a `T::Struct` `prop` definition
|
387
374
|
#
|
388
375
|
# source://yard-sorbet//lib/yard-sorbet/t_struct_prop.rb#6
|
@@ -394,7 +381,7 @@ class YARDSorbet::TStructProp < ::T::Struct
|
|
394
381
|
const :types, T::Array[::String]
|
395
382
|
|
396
383
|
class << self
|
397
|
-
# source://sorbet-runtime/0.5.
|
384
|
+
# source://sorbet-runtime/0.5.10827/lib/types/struct.rb#13
|
398
385
|
def inherited(s); end
|
399
386
|
end
|
400
387
|
end
|