lunchmoney 1.1.2 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.github/workflows/build_and_publish_yard_docs.yml +1 -1
- data/.github/workflows/check_pipeline.yml +2 -2
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/{dependabot-rbi-updater.yml → rbi-updater.yml} +2 -3
- data/.mdlrc +1 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +43 -47
- data/README.md +2 -0
- data/lib/lunchmoney/objects/crypto.rb +6 -1
- data/lib/lunchmoney/objects/user.rb +4 -1
- data/lib/lunchmoney/version.rb +1 -1
- data/sorbet/rbi/annotations/activesupport.rbi +11 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +1 -0
- data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.3.2.rbi} +23 -23
- data/sorbet/rbi/gems/dotenv@3.1.2.rbi +303 -0
- data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.4.rbi} +48 -43
- data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +72 -72
- data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.22.3.rbi} +19 -18
- data/sorbet/rbi/gems/{mocha@2.1.0.rbi → mocha@2.2.0.rbi} +149 -113
- data/sorbet/rbi/gems/prism@0.29.0.rbi +37987 -0
- data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.0.10.rbi} +83 -83
- data/sorbet/rbi/gems/{rbi@0.1.6.rbi → rbi@0.1.13.rbi} +310 -154
- data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.1.rbi} +1 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +71 -62
- data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +34 -0
- data/sorbet/rbi/gems/{rubocop-rails@2.23.1.rbi → rubocop-rails@2.24.1.rbi} +159 -147
- data/sorbet/rbi/gems/{rubocop-sorbet@0.7.7.rbi → rubocop-sorbet@0.8.3.rbi} +166 -116
- data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.63.5.rbi} +1499 -1097
- data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
- data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.1.rbi} +148 -113
- data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +89 -50
- data/sorbet/rbi/gems/{webmock@3.20.0.rbi → webmock@3.23.0.rbi} +25 -25
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +194 -58
- data/sorbet/tapioca/require.rb +1 -0
- metadata +29 -30
- data/sorbet/rbi/gems/dotenv@2.8.1.rbi +0 -234
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/prism@0.19.0.rbi +0 -29883
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
- /data/sorbet/rbi/gems/{bigdecimal@3.1.6.rbi → bigdecimal@3.1.7.rbi} +0 -0
- /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-shopify@2.14.0.rbi → rubocop-shopify@2.15.1.rbi} +0 -0
@@ -662,7 +662,7 @@ module Thor::Actions
|
|
662
662
|
# 'config.gem "rspec"'
|
663
663
|
# end
|
664
664
|
#
|
665
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
665
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#192
|
666
666
|
def append_file(path, *args, &block); end
|
667
667
|
|
668
668
|
# Append text to a file. Since it depends on insert_into_file, it's reversible.
|
@@ -680,7 +680,7 @@ module Thor::Actions
|
|
680
680
|
# 'config.gem "rspec"'
|
681
681
|
# end
|
682
682
|
#
|
683
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
683
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#192
|
684
684
|
def append_to_file(path, *args, &block); end
|
685
685
|
|
686
686
|
# Loads an external file and execute it in the instance binding.
|
@@ -721,7 +721,7 @@ module Thor::Actions
|
|
721
721
|
#
|
722
722
|
# chmod "script/server", 0755
|
723
723
|
#
|
724
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
724
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#145
|
725
725
|
def chmod(path, mode, config = T.unsafe(nil)); end
|
726
726
|
|
727
727
|
# Comment all lines matching a given regex. It will leave the space
|
@@ -737,16 +737,25 @@ module Thor::Actions
|
|
737
737
|
#
|
738
738
|
# comment_lines 'config/initializers/session_store.rb', /cookie_store/
|
739
739
|
#
|
740
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
740
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#308
|
741
741
|
def comment_lines(path, flag, *args); end
|
742
742
|
|
743
|
+
# Copies the file from the relative source to the relative destination. If
|
744
|
+
# the destination is not given it's assumed to be equal to the source.
|
745
|
+
#
|
746
|
+
# ==== Parameters
|
747
|
+
# source<String>:: the relative path to the source root.
|
748
|
+
# destination<String>:: the relative path to the destination root.
|
749
|
+
# config<Hash>:: give :verbose => false to not log the status, and
|
750
|
+
# :mode => :preserve, to preserve the file mode from the source.
|
751
|
+
#
|
743
752
|
# ==== Examples
|
744
753
|
#
|
745
754
|
# copy_file "README", "doc/README"
|
746
755
|
#
|
747
756
|
# copy_file "doc/README"
|
748
757
|
#
|
749
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
758
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#20
|
750
759
|
def copy_file(source, *args, &block); end
|
751
760
|
|
752
761
|
# Create a new file relative to the destination root with the given data,
|
@@ -885,7 +894,7 @@ module Thor::Actions
|
|
885
894
|
# content.split("\n").first
|
886
895
|
# end
|
887
896
|
#
|
888
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
897
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#81
|
889
898
|
def get(source, *args, &block); end
|
890
899
|
|
891
900
|
# Run a regular expression replacement on a file.
|
@@ -905,7 +914,7 @@ module Thor::Actions
|
|
905
914
|
# match << " no more. Use thor!"
|
906
915
|
# end
|
907
916
|
#
|
908
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
917
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#262
|
909
918
|
def gsub_file(path, flag, *args, &block); end
|
910
919
|
|
911
920
|
# Goes to the root and execute the given block.
|
@@ -930,7 +939,7 @@ module Thor::Actions
|
|
930
939
|
# " filter_parameter :password\n"
|
931
940
|
# end
|
932
941
|
#
|
933
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
942
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#216
|
934
943
|
def inject_into_class(path, klass, *args, &block); end
|
935
944
|
|
936
945
|
# source://thor//lib/thor/actions/inject_into_file.rb#26
|
@@ -953,7 +962,7 @@ module Thor::Actions
|
|
953
962
|
# " def help; 'help'; end\n"
|
954
963
|
# end
|
955
964
|
#
|
956
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
965
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#239
|
957
966
|
def inject_into_module(path, module_name, *args, &block); end
|
958
967
|
|
959
968
|
# source://thor//lib/thor/actions/inject_into_file.rb#26
|
@@ -987,7 +996,7 @@ module Thor::Actions
|
|
987
996
|
#
|
988
997
|
# link_file "doc/README"
|
989
998
|
#
|
990
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
999
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#50
|
991
1000
|
def link_file(source, *args); end
|
992
1001
|
|
993
1002
|
# Prepend text to a file. Since it depends on insert_into_file, it's reversible.
|
@@ -1005,7 +1014,7 @@ module Thor::Actions
|
|
1005
1014
|
# 'config.gem "rspec"'
|
1006
1015
|
# end
|
1007
1016
|
#
|
1008
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1017
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#170
|
1009
1018
|
def prepend_file(path, *args, &block); end
|
1010
1019
|
|
1011
1020
|
# Prepend text to a file. Since it depends on insert_into_file, it's reversible.
|
@@ -1023,7 +1032,7 @@ module Thor::Actions
|
|
1023
1032
|
# 'config.gem "rspec"'
|
1024
1033
|
# end
|
1025
1034
|
#
|
1026
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1035
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#170
|
1027
1036
|
def prepend_to_file(path, *args, &block); end
|
1028
1037
|
|
1029
1038
|
# Returns the given path relative to the absolute root (ie, root where
|
@@ -1043,7 +1052,7 @@ module Thor::Actions
|
|
1043
1052
|
# remove_file 'README'
|
1044
1053
|
# remove_file 'app/controllers/application_controller.rb'
|
1045
1054
|
#
|
1046
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1055
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#325
|
1047
1056
|
def remove_dir(path, config = T.unsafe(nil)); end
|
1048
1057
|
|
1049
1058
|
# Removes a file at the given location.
|
@@ -1057,7 +1066,7 @@ module Thor::Actions
|
|
1057
1066
|
# remove_file 'README'
|
1058
1067
|
# remove_file 'app/controllers/application_controller.rb'
|
1059
1068
|
#
|
1060
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1069
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#325
|
1061
1070
|
def remove_file(path, config = T.unsafe(nil)); end
|
1062
1071
|
|
1063
1072
|
# Executes a command returning the contents of the command.
|
@@ -1105,7 +1114,7 @@ module Thor::Actions
|
|
1105
1114
|
#
|
1106
1115
|
# template "doc/README"
|
1107
1116
|
#
|
1108
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1117
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#117
|
1109
1118
|
def template(source, *args, &block); end
|
1110
1119
|
|
1111
1120
|
# Run a thor command. A hash of options can be given and it's converted to
|
@@ -1129,9 +1138,8 @@ module Thor::Actions
|
|
1129
1138
|
# source://thor//lib/thor/actions.rb#308
|
1130
1139
|
def thor(command, *args); end
|
1131
1140
|
|
1132
|
-
# Uncomment all lines matching a given regex.
|
1133
|
-
#
|
1134
|
-
# between the comment hash and the beginning of the line.
|
1141
|
+
# Uncomment all lines matching a given regex. Preserves indentation before
|
1142
|
+
# the comment hash and removes the hash and any immediate following space.
|
1135
1143
|
#
|
1136
1144
|
# ==== Parameters
|
1137
1145
|
# path<String>:: path of the file to be changed
|
@@ -1142,7 +1150,7 @@ module Thor::Actions
|
|
1142
1150
|
#
|
1143
1151
|
# uncomment_lines 'config/initializers/session_store.rb', /active_record/
|
1144
1152
|
#
|
1145
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1153
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#289
|
1146
1154
|
def uncomment_lines(path, flag, *args); end
|
1147
1155
|
|
1148
1156
|
protected
|
@@ -1157,25 +1165,25 @@ module Thor::Actions
|
|
1157
1165
|
|
1158
1166
|
private
|
1159
1167
|
|
1160
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1168
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#346
|
1161
1169
|
def capture(*args); end
|
1162
1170
|
|
1163
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1171
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#342
|
1164
1172
|
def concat(string); end
|
1165
1173
|
|
1166
1174
|
# Returns the value of attribute output_buffer.
|
1167
1175
|
#
|
1168
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1176
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#337
|
1169
1177
|
def output_buffer; end
|
1170
1178
|
|
1171
1179
|
# Sets the attribute output_buffer
|
1172
1180
|
#
|
1173
1181
|
# @param value the value to set the attribute output_buffer to.
|
1174
1182
|
#
|
1175
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1183
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#337
|
1176
1184
|
def output_buffer=(_arg0); end
|
1177
1185
|
|
1178
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1186
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#350
|
1179
1187
|
def with_output_buffer(buf = T.unsafe(nil)); end
|
1180
1188
|
|
1181
1189
|
class << self
|
@@ -1187,9 +1195,9 @@ end
|
|
1187
1195
|
# Thor::Actions#capture depends on what kind of buffer is used in ERB.
|
1188
1196
|
# Thus CapturableERB fixes ERB to use String buffer.
|
1189
1197
|
#
|
1190
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1198
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#362
|
1191
1199
|
class Thor::Actions::CapturableERB < ::ERB
|
1192
|
-
# source://thor//lib/thor/actions/file_manipulation.rb#
|
1200
|
+
# source://thor//lib/thor/actions/file_manipulation.rb#363
|
1193
1201
|
def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end
|
1194
1202
|
end
|
1195
1203
|
|
@@ -1541,7 +1549,7 @@ class Thor::Argument
|
|
1541
1549
|
# source://thor//lib/thor/parser/argument.rb#5
|
1542
1550
|
def enum; end
|
1543
1551
|
|
1544
|
-
# source://thor//lib/thor/parser/argument.rb#
|
1552
|
+
# source://thor//lib/thor/parser/argument.rb#52
|
1545
1553
|
def enum_to_s; end
|
1546
1554
|
|
1547
1555
|
# Returns the value of attribute name.
|
@@ -1564,12 +1572,12 @@ class Thor::Argument
|
|
1564
1572
|
|
1565
1573
|
# @return [Boolean]
|
1566
1574
|
#
|
1567
|
-
# source://thor//lib/thor/parser/argument.rb#
|
1575
|
+
# source://thor//lib/thor/parser/argument.rb#39
|
1568
1576
|
def required?; end
|
1569
1577
|
|
1570
1578
|
# @return [Boolean]
|
1571
1579
|
#
|
1572
|
-
# source://thor//lib/thor/parser/argument.rb#
|
1580
|
+
# source://thor//lib/thor/parser/argument.rb#43
|
1573
1581
|
def show_default?; end
|
1574
1582
|
|
1575
1583
|
# Returns the value of attribute type.
|
@@ -1577,22 +1585,22 @@ class Thor::Argument
|
|
1577
1585
|
# source://thor//lib/thor/parser/argument.rb#5
|
1578
1586
|
def type; end
|
1579
1587
|
|
1580
|
-
# source://thor//lib/thor/parser/argument.rb#
|
1588
|
+
# source://thor//lib/thor/parser/argument.rb#35
|
1581
1589
|
def usage; end
|
1582
1590
|
|
1583
1591
|
protected
|
1584
1592
|
|
1585
|
-
# source://thor//lib/thor/parser/argument.rb#
|
1593
|
+
# source://thor//lib/thor/parser/argument.rb#71
|
1586
1594
|
def default_banner; end
|
1587
1595
|
|
1588
1596
|
# @return [Boolean]
|
1589
1597
|
#
|
1590
|
-
# source://thor//lib/thor/parser/argument.rb#
|
1598
|
+
# source://thor//lib/thor/parser/argument.rb#67
|
1591
1599
|
def valid_type?(type); end
|
1592
1600
|
|
1593
1601
|
# @raise [ArgumentError]
|
1594
1602
|
#
|
1595
|
-
# source://thor//lib/thor/parser/argument.rb#
|
1603
|
+
# source://thor//lib/thor/parser/argument.rb#62
|
1596
1604
|
def validate!; end
|
1597
1605
|
end
|
1598
1606
|
|
@@ -3277,14 +3285,15 @@ class Thor::Options < ::Thor::Arguments
|
|
3277
3285
|
# source://thor//lib/thor/parser/options.rb#244
|
3278
3286
|
def normalize_switch(arg); end
|
3279
3287
|
|
3280
|
-
# Parse boolean values which can be given as --foo=true
|
3288
|
+
# Parse boolean values which can be given as --foo=true or --foo for true values, or
|
3289
|
+
# --foo=false, --no-foo or --skip-foo for false values.
|
3281
3290
|
#
|
3282
|
-
# source://thor//lib/thor/parser/options.rb#
|
3291
|
+
# source://thor//lib/thor/parser/options.rb#256
|
3283
3292
|
def parse_boolean(switch); end
|
3284
3293
|
|
3285
3294
|
# Parse the value at the peek analyzing if it requires an input or not.
|
3286
3295
|
#
|
3287
|
-
# source://thor//lib/thor/parser/options.rb#
|
3296
|
+
# source://thor//lib/thor/parser/options.rb#274
|
3288
3297
|
def parse_peek(switch, option); end
|
3289
3298
|
|
3290
3299
|
# @return [Boolean]
|
@@ -3328,6 +3337,39 @@ Thor::Options::SHORT_RE = T.let(T.unsafe(nil), Regexp)
|
|
3328
3337
|
# source://thor//lib/thor/parser/options.rb#6
|
3329
3338
|
Thor::Options::SHORT_SQ_RE = T.let(T.unsafe(nil), Regexp)
|
3330
3339
|
|
3340
|
+
# Adds a compatibility layer to your Thor classes which allows you to use
|
3341
|
+
# rake package tasks. For example, to use rspec rake tasks, one can do:
|
3342
|
+
#
|
3343
|
+
# require 'thor/rake_compat'
|
3344
|
+
# require 'rspec/core/rake_task'
|
3345
|
+
#
|
3346
|
+
# class Default < Thor
|
3347
|
+
# include Thor::RakeCompat
|
3348
|
+
#
|
3349
|
+
# RSpec::Core::RakeTask.new(:spec) do |t|
|
3350
|
+
# t.spec_opts = ['--options', './.rspec']
|
3351
|
+
# t.spec_files = FileList['spec/**/*_spec.rb']
|
3352
|
+
# end
|
3353
|
+
# end
|
3354
|
+
#
|
3355
|
+
# source://thor//lib/thor/rake_compat.rb#20
|
3356
|
+
module Thor::RakeCompat
|
3357
|
+
include ::FileUtils::StreamUtils_
|
3358
|
+
include ::FileUtils
|
3359
|
+
include ::Rake::FileUtilsExt
|
3360
|
+
include ::Rake::DSL
|
3361
|
+
|
3362
|
+
class << self
|
3363
|
+
# @private
|
3364
|
+
#
|
3365
|
+
# source://thor//lib/thor/rake_compat.rb#27
|
3366
|
+
def included(base); end
|
3367
|
+
|
3368
|
+
# source://thor//lib/thor/rake_compat.rb#23
|
3369
|
+
def rake_classes; end
|
3370
|
+
end
|
3371
|
+
end
|
3372
|
+
|
3331
3373
|
# source://thor//lib/thor/error.rb#95
|
3332
3374
|
class Thor::RequiredArgumentMissingError < ::Thor::InvocationError; end
|
3333
3375
|
|
@@ -3446,15 +3488,15 @@ class Thor::Shell::Basic
|
|
3446
3488
|
# Readline.
|
3447
3489
|
#
|
3448
3490
|
# ==== Example
|
3449
|
-
#
|
3491
|
+
# ask("What is your name?")
|
3450
3492
|
#
|
3451
|
-
#
|
3493
|
+
# ask("What is the planet furthest from the sun?", :default => "Neptune")
|
3452
3494
|
#
|
3453
|
-
#
|
3495
|
+
# ask("What is your favorite Neopolitan flavor?", :limited_to => ["strawberry", "chocolate", "vanilla"])
|
3454
3496
|
#
|
3455
|
-
#
|
3497
|
+
# ask("What is your password?", :echo => false)
|
3456
3498
|
#
|
3457
|
-
#
|
3499
|
+
# ask("Where should the file be saved?", :path => true)
|
3458
3500
|
#
|
3459
3501
|
# source://thor//lib/thor/shell/basic.rb#80
|
3460
3502
|
def ask(statement, *args); end
|
@@ -3507,7 +3549,7 @@ class Thor::Shell::Basic
|
|
3507
3549
|
# source://thor//lib/thor/shell/basic.rb#31
|
3508
3550
|
def mute?; end
|
3509
3551
|
|
3510
|
-
#
|
3552
|
+
# Asks the user a question and returns true if the user replies "n" or
|
3511
3553
|
# "no".
|
3512
3554
|
#
|
3513
3555
|
# @return [Boolean]
|
@@ -3563,7 +3605,7 @@ class Thor::Shell::Basic
|
|
3563
3605
|
# are passed straight to puts (behavior got from Highline).
|
3564
3606
|
#
|
3565
3607
|
# ==== Example
|
3566
|
-
#
|
3608
|
+
# say("I know you knew that.")
|
3567
3609
|
#
|
3568
3610
|
# source://thor//lib/thor/shell/basic.rb#98
|
3569
3611
|
def say(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end
|
@@ -3573,7 +3615,7 @@ class Thor::Shell::Basic
|
|
3573
3615
|
# are passed straight to puts (behavior got from Highline).
|
3574
3616
|
#
|
3575
3617
|
# ==== Example
|
3576
|
-
#
|
3618
|
+
# say_error("error: something went wrong")
|
3577
3619
|
#
|
3578
3620
|
# source://thor//lib/thor/shell/basic.rb#115
|
3579
3621
|
def say_error(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end
|
@@ -3592,7 +3634,7 @@ class Thor::Shell::Basic
|
|
3592
3634
|
# source://thor//lib/thor/shell/basic.rb#258
|
3593
3635
|
def set_color(string, *_arg1); end
|
3594
3636
|
|
3595
|
-
#
|
3637
|
+
# Asks the user a question and returns true if the user replies "y" or
|
3596
3638
|
# "yes".
|
3597
3639
|
#
|
3598
3640
|
# @return [Boolean]
|
@@ -3840,7 +3882,7 @@ class Thor::Shell::HTML < ::Thor::Shell::Basic
|
|
3840
3882
|
# Ask something to the user and receives a response.
|
3841
3883
|
#
|
3842
3884
|
# ==== Example
|
3843
|
-
#
|
3885
|
+
# ask("What is your name?")
|
3844
3886
|
#
|
3845
3887
|
# TODO: Implement #ask for Thor::Shell::HTML
|
3846
3888
|
#
|
@@ -3965,13 +4007,10 @@ class Thor::Shell::TablePrinter < ::Thor::Shell::ColumnPrinter
|
|
3965
4007
|
|
3966
4008
|
private
|
3967
4009
|
|
3968
|
-
# source://thor//lib/thor/shell/table_printer.rb#120
|
3969
|
-
def as_unicode; end
|
3970
|
-
|
3971
4010
|
# source://thor//lib/thor/shell/table_printer.rb#72
|
3972
4011
|
def format_cell(column, row_size, index); end
|
3973
4012
|
|
3974
|
-
# source://thor//lib/thor/shell/table_printer.rb#
|
4013
|
+
# source://thor//lib/thor/shell/table_printer.rb#113
|
3975
4014
|
def indentation; end
|
3976
4015
|
|
3977
4016
|
# source://thor//lib/thor/shell/table_printer.rb#47
|
@@ -10,79 +10,79 @@ module Net::WebMockHTTPResponse
|
|
10
10
|
def read_body(dest = T.unsafe(nil), &block); end
|
11
11
|
end
|
12
12
|
|
13
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
13
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
|
14
14
|
class StubSocket
|
15
15
|
# @return [StubSocket] a new instance of StubSocket
|
16
16
|
#
|
17
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
17
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#214
|
18
18
|
def initialize(*args); end
|
19
19
|
|
20
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
20
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#222
|
21
21
|
def close; end
|
22
22
|
|
23
23
|
# @return [Boolean]
|
24
24
|
#
|
25
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
25
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#218
|
26
26
|
def closed?; end
|
27
27
|
|
28
28
|
# Returns the value of attribute continue_timeout.
|
29
29
|
#
|
30
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
30
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
|
31
31
|
def continue_timeout; end
|
32
32
|
|
33
33
|
# Sets the attribute continue_timeout
|
34
34
|
#
|
35
35
|
# @param value the value to set the attribute continue_timeout to.
|
36
36
|
#
|
37
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
37
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
|
38
38
|
def continue_timeout=(_arg0); end
|
39
39
|
|
40
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
40
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#230
|
41
41
|
def io; end
|
42
42
|
|
43
43
|
# Returns the value of attribute read_timeout.
|
44
44
|
#
|
45
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
45
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
|
46
46
|
def read_timeout; end
|
47
47
|
|
48
48
|
# Sets the attribute read_timeout
|
49
49
|
#
|
50
50
|
# @param value the value to set the attribute read_timeout to.
|
51
51
|
#
|
52
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
52
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
|
53
53
|
def read_timeout=(_arg0); end
|
54
54
|
|
55
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
55
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#227
|
56
56
|
def readuntil(*args); end
|
57
57
|
|
58
58
|
# Returns the value of attribute write_timeout.
|
59
59
|
#
|
60
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
60
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
|
61
61
|
def write_timeout; end
|
62
62
|
|
63
63
|
# Sets the attribute write_timeout
|
64
64
|
#
|
65
65
|
# @param value the value to set the attribute write_timeout to.
|
66
66
|
#
|
67
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
67
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
|
68
68
|
def write_timeout=(_arg0); end
|
69
69
|
end
|
70
70
|
|
71
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
71
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#234
|
72
72
|
class StubSocket::StubIO
|
73
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
73
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#239
|
74
74
|
def cipher; end
|
75
75
|
|
76
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
76
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#236
|
77
77
|
def peer_cert; end
|
78
78
|
|
79
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
79
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#237
|
80
80
|
def peeraddr; end
|
81
81
|
|
82
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
82
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#235
|
83
83
|
def setsockopt(*args); end
|
84
84
|
|
85
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
85
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#238
|
86
86
|
def ssl_version; end
|
87
87
|
end
|
88
88
|
|
@@ -701,19 +701,19 @@ class WebMock::NetConnectNotAllowedError < ::Exception
|
|
701
701
|
def initialize(request_signature); end
|
702
702
|
end
|
703
703
|
|
704
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
704
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#244
|
705
705
|
module WebMock::NetHTTPUtility
|
706
706
|
class << self
|
707
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
707
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#283
|
708
708
|
def check_right_http_connection; end
|
709
709
|
|
710
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
710
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#274
|
711
711
|
def get_uri(net_http, path = T.unsafe(nil)); end
|
712
712
|
|
713
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
713
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#287
|
714
714
|
def puts_warning_for_right_http_if_needed; end
|
715
715
|
|
716
|
-
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#
|
716
|
+
# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#246
|
717
717
|
def request_signature_from_request(net_http, request, body = T.unsafe(nil)); end
|
718
718
|
end
|
719
719
|
end
|
@@ -747,10 +747,10 @@ class WebMock::RackResponse < ::WebMock::Response
|
|
747
747
|
# source://webmock//lib/webmock/rack_response.rb#9
|
748
748
|
def evaluate(request); end
|
749
749
|
|
750
|
-
# source://webmock//lib/webmock/rack_response.rb#
|
750
|
+
# source://webmock//lib/webmock/rack_response.rb#65
|
751
751
|
def session; end
|
752
752
|
|
753
|
-
# source://webmock//lib/webmock/rack_response.rb#
|
753
|
+
# source://webmock//lib/webmock/rack_response.rb#69
|
754
754
|
def session_options; end
|
755
755
|
end
|
756
756
|
|