ruby-paseto 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +55 -50
  4. data/lib/paseto/asn1/ecdsa_signature.rb +2 -2
  5. data/lib/paseto/asymmetric_key.rb +7 -4
  6. data/lib/paseto/configuration/decode_configuration.rb +7 -7
  7. data/lib/paseto/interface/key.rb +5 -2
  8. data/lib/paseto/interface/pbkd.rb +4 -20
  9. data/lib/paseto/interface/pie.rb +5 -26
  10. data/lib/paseto/interface/pke.rb +15 -51
  11. data/lib/paseto/interface/version.rb +30 -117
  12. data/lib/paseto/operations/id/i_dv3.rb +1 -1
  13. data/lib/paseto/operations/id/i_dv4.rb +1 -1
  14. data/lib/paseto/operations/pbkd/p_b_k_dv3.rb +4 -5
  15. data/lib/paseto/operations/pbkd/p_b_k_dv4.rb +3 -4
  16. data/lib/paseto/operations/pbkw.rb +6 -6
  17. data/lib/paseto/operations/pke/p_k_ev3.rb +23 -25
  18. data/lib/paseto/operations/pke/p_k_ev4.rb +33 -34
  19. data/lib/paseto/operations/pke.rb +9 -10
  20. data/lib/paseto/operations/wrap.rb +1 -1
  21. data/lib/paseto/paserk.rb +1 -1
  22. data/lib/paseto/paserk_types.rb +2 -2
  23. data/lib/paseto/protocol/version3.rb +17 -16
  24. data/lib/paseto/protocol/version4.rb +17 -16
  25. data/lib/paseto/symmetric_key.rb +16 -10
  26. data/lib/paseto/token.rb +17 -15
  27. data/lib/paseto/token_types.rb +2 -2
  28. data/lib/paseto/util.rb +1 -1
  29. data/lib/paseto/v3/local.rb +1 -1
  30. data/lib/paseto/v3/public.rb +5 -4
  31. data/lib/paseto/v4/local.rb +3 -3
  32. data/lib/paseto/v4/public.rb +3 -6
  33. data/lib/paseto/validator.rb +1 -1
  34. data/lib/paseto/version.rb +1 -1
  35. data/lib/paseto/versions.rb +2 -2
  36. data/lib/paseto/wrappers/pie/pie_v3.rb +18 -21
  37. data/lib/paseto/wrappers/pie/pie_v4.rb +17 -20
  38. data/lib/paseto/wrappers/pie.rb +3 -17
  39. data/lib/paseto.rb +2 -5
  40. data/paseto.gemspec +5 -5
  41. data/sorbet/rbi/annotations/.gitattributes +1 -0
  42. data/sorbet/rbi/annotations/rainbow.rbi +4 -4
  43. data/sorbet/rbi/gems/.gitattributes +1 -0
  44. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1 -1
  45. data/sorbet/rbi/gems/docile@1.4.0.rbi +1 -1
  46. data/sorbet/rbi/gems/{ffi@1.15.5.rbi → ffi@1.16.3.rbi} +260 -117
  47. data/sorbet/rbi/gems/{oj@3.14.2.rbi → oj@3.16.1.rbi} +26 -37
  48. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +75 -69
  49. data/sorbet/rbi/gems/rbnacl@7.1.1.rbi +2 -2
  50. data/sorbet/rbi/gems/{rspec-core@3.12.1.rbi → rspec-core@3.12.2.rbi} +1 -1
  51. data/sorbet/rbi/gems/{rspec-expectations@3.12.2.rbi → rspec-expectations@3.12.3.rbi} +27 -33
  52. data/sorbet/rbi/gems/{rspec-mocks@3.12.4.rbi → rspec-mocks@3.12.6.rbi} +60 -61
  53. data/sorbet/rbi/gems/{rspec-support@3.12.0.rbi → rspec-support@3.12.1.rbi} +35 -43
  54. data/sorbet/rbi/gems/rspec@3.12.0.rbi +22 -28
  55. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +41 -44
  56. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +232 -2
  57. data/sorbet/rbi/gems/{timecop@0.9.6.rbi → timecop@0.9.8.rbi} +13 -16
  58. data/sorbet/rbi/shims/multi_json.rbi +2 -0
  59. data/sorbet/rbi/shims/openssl.rbi +0 -8
  60. data/sorbet/rbi/todo.rbi +5 -1
  61. metadata +19 -42
  62. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  63. data/sorbet/rbi/gems/io-console@0.6.0.rbi +0 -8
  64. data/sorbet/rbi/gems/irb@1.6.3.rbi +0 -342
  65. data/sorbet/rbi/gems/json@2.6.3.rbi +0 -1541
  66. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -267
  67. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  68. data/sorbet/rbi/gems/openssl@3.1.0.rbi +0 -1739
  69. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -277
  70. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -407
  71. data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +0 -3580
  72. data/sorbet/rbi/gems/reline@0.3.2.rbi +0 -8
  73. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -4717
  74. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1317
  75. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -3956
  76. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
  77. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2555
  78. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +0 -441
  79. data/sorbet/rbi/gems/yard@0.9.28.rbi +0 -17816
  80. data/sorbet/rbi/gems/zeitwerk@2.6.7.rbi +0 -8
@@ -4,13 +4,9 @@
4
4
  # This is an autogenerated file for types exported from the `oj` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem oj`.
6
6
 
7
- # source://json/2.6.3/json/common.rb#35
8
- JSON::Parser = JSON::Ext::Parser
9
-
10
- # source://json/2.6.3/json/common.rb#73
11
- JSON::State = JSON::Ext::Generator::State
12
-
13
- # source://oj//lib/oj.rb#2
7
+ # Oj module is defined in oj.c.
8
+ #
9
+ # source://oj//lib/oj.rb#4
14
10
  module Oj
15
11
  private
16
12
 
@@ -58,7 +54,7 @@ module Oj
58
54
  #
59
55
  # @param mimic_paths [Array] additional paths to add to the Ruby loaded features.
60
56
  #
61
- # source://oj//lib/oj/mimic.rb#81
57
+ # source://oj//lib/oj/mimic.rb#84
62
58
  def mimic_loaded(mimic_paths = T.unsafe(nil)); end
63
59
 
64
60
  def object_load(*_arg0); end
@@ -101,7 +97,7 @@ class Oj::Bag
101
97
  # @param other [Object] Object to compare self to
102
98
  # @return [Boolean] true if each variable and value are the same, otherwise false.
103
99
  #
104
- # source://oj//lib/oj/bag.rb#48
100
+ # source://oj//lib/oj/bag.rb#51
105
101
  def ==(other); end
106
102
 
107
103
  # Replaces eql?() with something more reasonable for this Class.
@@ -109,7 +105,7 @@ class Oj::Bag
109
105
  # @param other [Object] Object to compare self to
110
106
  # @return [Boolean] true if each variable and value are the same, otherwise false.
111
107
  #
112
- # source://oj//lib/oj/bag.rb#48
108
+ # source://oj//lib/oj/bag.rb#51
113
109
  def eql?(other); end
114
110
 
115
111
  # Handles requests for variable values. Others cause an Exception to be
@@ -120,7 +116,7 @@ class Oj::Bag
120
116
  # @raise [NoMethodError] if the instance variable is not defined.
121
117
  # @return [Boolean] the value of the specified instance variable.
122
118
  #
123
- # source://oj//lib/oj/bag.rb#38
119
+ # source://oj//lib/oj/bag.rb#39
124
120
  def method_missing(m, *args, &block); end
125
121
 
126
122
  # Replaces the Object.respond_to?() method.
@@ -142,7 +138,7 @@ class Oj::Bag
142
138
  # @raise [NameError] if the classname is invalid.
143
139
  # @return [Object] an instance of the specified Class.
144
140
  #
145
- # source://oj//lib/oj/bag.rb#64
141
+ # source://oj//lib/oj/bag.rb#69
146
142
  def define_class(classname); end
147
143
  end
148
144
  end
@@ -153,14 +149,14 @@ class Oj::CStack; end
153
149
  # differences. These are the options that setup the custom mode to be like
154
150
  # the compat mode.
155
151
  #
156
- # source://oj//lib/oj/mimic.rb#15
152
+ # source://oj//lib/oj/mimic.rb#16
157
153
  Oj::CUSTOM_MIMIC_JSON_OPTIONS = T.let(T.unsafe(nil), Hash)
158
154
 
159
155
  class Oj::Cache; end
160
156
 
161
157
  # An Exception that is raised as a result of a path being too deep.
162
158
  #
163
- # source://oj//lib/oj/error.rb#14
159
+ # source://oj//lib/oj/error.rb#13
164
160
  class Oj::DepthError < ::Oj::Error; end
165
161
 
166
162
  class Oj::Doc
@@ -193,16 +189,9 @@ end
193
189
  # key.to_s or key.to_sym. It also supports looking up hash values by methods
194
190
  # that match the keys.
195
191
  #
196
- # source://oj//lib/oj/easy_hash.rb#7
192
+ # source://oj//lib/oj/easy_hash.rb#6
197
193
  class Oj::EasyHash < ::Hash
198
- # Initializes the instance to an empty Hash.
199
- #
200
- # @return [EasyHash] a new instance of EasyHash
201
- #
202
- # source://oj//lib/oj/easy_hash.rb#10
203
- def initialize; end
204
-
205
- # source://oj//lib/oj/easy_hash.rb#25
194
+ # source://oj//lib/oj/easy_hash.rb#21
206
195
  def [](key); end
207
196
 
208
197
  # Handles requests for Hash values. Others cause an Exception to be raised.
@@ -212,7 +201,7 @@ class Oj::EasyHash < ::Hash
212
201
  # @raise [NoMethodError] if the instance variable is not defined.
213
202
  # @return [Boolean] the value of the specified instance variable.
214
203
  #
215
- # source://oj//lib/oj/easy_hash.rb#36
204
+ # source://oj//lib/oj/easy_hash.rb#33
216
205
  def method_missing(m, *args, &block); end
217
206
 
218
207
  # Replaces the Object.respond_to?() method.
@@ -222,43 +211,43 @@ class Oj::EasyHash < ::Hash
222
211
  # @return [Boolean] true for any method that matches an instance
223
212
  # variable reader, otherwise false.
224
213
  #
225
- # source://oj//lib/oj/easy_hash.rb#18
214
+ # source://oj//lib/oj/easy_hash.rb#13
226
215
  def respond_to?(m, include_all = T.unsafe(nil)); end
227
216
  end
228
217
 
229
218
  # Inherit Error class from StandardError.
230
219
  #
231
- # source://oj//lib/oj/error.rb#5
220
+ # source://oj//lib/oj/error.rb#4
232
221
  class Oj::Error < ::StandardError; end
233
222
 
234
223
  # An Exception that is raised if a file fails to load.
235
224
  #
236
- # source://oj//lib/oj/error.rb#17
225
+ # source://oj//lib/oj/error.rb#16
237
226
  class Oj::LoadError < ::Oj::Error; end
238
227
 
239
228
  # A bit hack-ish but does the trick. The JSON.dump_default_options is a Hash
240
229
  # but in mimic we use a C struct to store defaults. This class creates a view
241
230
  # onto that struct.
242
231
  #
243
- # source://oj//lib/oj/mimic.rb#60
232
+ # source://oj//lib/oj/mimic.rb#61
244
233
  class Oj::MimicDumpOption < ::Hash
245
234
  # @return [MimicDumpOption] a new instance of MimicDumpOption
246
235
  #
247
- # source://oj//lib/oj/mimic.rb#61
236
+ # source://oj//lib/oj/mimic.rb#62
248
237
  def initialize; end
249
238
 
250
- # source://oj//lib/oj/mimic.rb#69
239
+ # source://oj//lib/oj/mimic.rb#72
251
240
  def []=(key, value); end
252
241
  end
253
242
 
254
243
  # An Exception that is raised if there is a conflict with mimicking JSON
255
244
  #
256
- # source://oj//lib/oj/error.rb#20
245
+ # source://oj//lib/oj/error.rb#19
257
246
  class Oj::MimicError < ::Oj::Error; end
258
247
 
259
248
  # An Exception that is raised as a result of a parse error while parsing a JSON document.
260
249
  #
261
- # source://oj//lib/oj/error.rb#11
250
+ # source://oj//lib/oj/error.rb#10
262
251
  class Oj::ParseError < ::Oj::Error; end
263
252
 
264
253
  class Oj::Parser
@@ -583,23 +572,23 @@ end
583
572
 
584
573
  # Current version of the module.
585
574
  #
586
- # source://oj//lib/oj/version.rb#4
575
+ # source://oj//lib/oj/version.rb#3
587
576
  Oj::VERSION = T.let(T.unsafe(nil), String)
588
577
 
589
578
  # More monkey patches.
590
579
  #
591
- # source://oj//lib/oj/mimic.rb#282
580
+ # source://oj//lib/oj/mimic.rb#286
592
581
  class String
593
582
  include ::Comparable
594
583
 
595
- # source://oj//lib/oj/mimic.rb#289
584
+ # source://oj//lib/oj/mimic.rb#293
596
585
  def to_json_raw(*_arg0); end
597
586
 
598
- # source://oj//lib/oj/mimic.rb#283
587
+ # source://oj//lib/oj/mimic.rb#287
599
588
  def to_json_raw_object; end
600
589
 
601
590
  class << self
602
- # source://oj//lib/oj/mimic.rb#292
591
+ # source://oj//lib/oj/mimic.rb#296
603
592
  def json_create(obj); end
604
593
  end
605
594
  end
@@ -22,13 +22,13 @@ module FileUtils
22
22
  # Example:
23
23
  # ruby %{-pe '$_.upcase!' <README}
24
24
  #
25
- # source://rake//lib/rake/file_utils.rb#100
25
+ # source://rake//lib/rake/file_utils.rb#98
26
26
  def ruby(*args, **options, &block); end
27
27
 
28
28
  # Attempt to do a normal file link, but fall back to a copy if the link
29
29
  # fails.
30
30
  #
31
- # source://rake//lib/rake/file_utils.rb#112
31
+ # source://rake//lib/rake/file_utils.rb#110
32
32
  def safe_ln(*args, **options); end
33
33
 
34
34
  # Run the system command +cmd+. If multiple arguments are given the command
@@ -67,7 +67,7 @@ module FileUtils
67
67
  # Example:
68
68
  # split_all("a/b/c") => ['a', 'b', 'c']
69
69
  #
70
- # source://rake//lib/rake/file_utils.rb#128
70
+ # source://rake//lib/rake/file_utils.rb#126
71
71
  def split_all(path); end
72
72
 
73
73
  private
@@ -75,14 +75,14 @@ module FileUtils
75
75
  # source://rake//lib/rake/file_utils.rb#61
76
76
  def create_shell_runner(cmd); end
77
77
 
78
- # source://rake//lib/rake/file_utils.rb#86
78
+ # source://rake//lib/rake/file_utils.rb#84
79
79
  def set_verbose_option(options); end
80
80
 
81
- # source://rake//lib/rake/file_utils.rb#73
81
+ # source://rake//lib/rake/file_utils.rb#71
82
82
  def sh_show_command(cmd); end
83
83
  end
84
84
 
85
- # source://rake//lib/rake/file_utils.rb#108
85
+ # source://rake//lib/rake/file_utils.rb#106
86
86
  FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
87
87
 
88
88
  # Path to the currently running Ruby program
@@ -195,13 +195,13 @@ class Rake::Application
195
195
 
196
196
  # Add a file to the list of files to be imported.
197
197
  #
198
- # source://rake//lib/rake/application.rb#777
198
+ # source://rake//lib/rake/application.rb#801
199
199
  def add_import(fn); end
200
200
 
201
201
  # Add a loader to handle imported files ending in the extension
202
202
  # +ext+.
203
203
  #
204
- # source://rake//lib/rake/application.rb#139
204
+ # source://rake//lib/rake/application.rb#161
205
205
  def add_loader(ext, loader); end
206
206
 
207
207
  # Collect the list of tasks on the command line. If no tasks are
@@ -213,13 +213,13 @@ class Rake::Application
213
213
  # recognised command-line options, which OptionParser.parse will
214
214
  # have taken care of already.
215
215
  #
216
- # source://rake//lib/rake/application.rb#758
216
+ # source://rake//lib/rake/application.rb#782
217
217
  def collect_command_line_tasks(args); end
218
218
 
219
219
  # Default task name ("default").
220
220
  # (May be overridden by subclasses)
221
221
  #
222
- # source://rake//lib/rake/application.rb#772
222
+ # source://rake//lib/rake/application.rb#796
223
223
  def default_task_name; end
224
224
 
225
225
  # Warn about deprecated usage.
@@ -227,75 +227,75 @@ class Rake::Application
227
227
  # Example:
228
228
  # Rake.application.deprecate("import", "Rake.import", caller.first)
229
229
  #
230
- # source://rake//lib/rake/application.rb#258
230
+ # source://rake//lib/rake/application.rb#282
231
231
  def deprecate(old_usage, new_usage, call_site); end
232
232
 
233
- # source://rake//lib/rake/application.rb#222
233
+ # source://rake//lib/rake/application.rb#244
234
234
  def display_cause_details(ex); end
235
235
 
236
236
  # Display the error message that caused the exception.
237
237
  #
238
- # source://rake//lib/rake/application.rb#206
238
+ # source://rake//lib/rake/application.rb#228
239
239
  def display_error_message(ex); end
240
240
 
241
- # source://rake//lib/rake/application.rb#245
241
+ # source://rake//lib/rake/application.rb#269
242
242
  def display_exception_backtrace(ex); end
243
243
 
244
- # source://rake//lib/rake/application.rb#214
244
+ # source://rake//lib/rake/application.rb#236
245
245
  def display_exception_details(ex); end
246
246
 
247
- # source://rake//lib/rake/application.rb#229
247
+ # source://rake//lib/rake/application.rb#251
248
248
  def display_exception_details_seen; end
249
249
 
250
- # source://rake//lib/rake/application.rb#237
250
+ # source://rake//lib/rake/application.rb#259
251
251
  def display_exception_message_details(ex); end
252
252
 
253
253
  # Display the tasks and prerequisites
254
254
  #
255
- # source://rake//lib/rake/application.rb#381
255
+ # source://rake//lib/rake/application.rb#405
256
256
  def display_prerequisites; end
257
257
 
258
258
  # Display the tasks and comments.
259
259
  #
260
- # source://rake//lib/rake/application.rb#298
260
+ # source://rake//lib/rake/application.rb#322
261
261
  def display_tasks_and_comments; end
262
262
 
263
263
  # Calculate the dynamic width of the
264
264
  #
265
- # source://rake//lib/rake/application.rb#349
265
+ # source://rake//lib/rake/application.rb#373
266
266
  def dynamic_width; end
267
267
 
268
- # source://rake//lib/rake/application.rb#353
268
+ # source://rake//lib/rake/application.rb#377
269
269
  def dynamic_width_stty; end
270
270
 
271
- # source://rake//lib/rake/application.rb#357
271
+ # source://rake//lib/rake/application.rb#381
272
272
  def dynamic_width_tput; end
273
273
 
274
274
  # Exit the program because of an unhandled exception.
275
275
  # (may be overridden by subclasses)
276
276
  #
277
- # source://rake//lib/rake/application.rb#201
277
+ # source://rake//lib/rake/application.rb#223
278
278
  def exit_because_of_exception(ex); end
279
279
 
280
- # source://rake//lib/rake/application.rb#678
280
+ # source://rake//lib/rake/application.rb#702
281
281
  def find_rakefile_location; end
282
282
 
283
283
  # Read and handle the command line options. Returns the command line
284
284
  # arguments that we didn't understand, which should (in theory) be just
285
285
  # task names and env vars.
286
286
  #
287
- # source://rake//lib/rake/application.rb#644
287
+ # source://rake//lib/rake/application.rb#668
288
288
  def handle_options(argv); end
289
289
 
290
290
  # @return [Boolean]
291
291
  #
292
- # source://rake//lib/rake/application.rb#233
292
+ # source://rake//lib/rake/application.rb#255
293
293
  def has_cause?(ex); end
294
294
 
295
295
  # True if one of the files in RAKEFILES is in the current directory.
296
296
  # If a match is found, it is copied into @rakefile.
297
297
  #
298
- # source://rake//lib/rake/application.rb#274
298
+ # source://rake//lib/rake/application.rb#298
299
299
  def have_rakefile; end
300
300
 
301
301
  # Initialize the command line parameters and app name.
@@ -305,17 +305,17 @@ class Rake::Application
305
305
 
306
306
  # Invokes a task with arguments that are extracted from +task_string+
307
307
  #
308
- # source://rake//lib/rake/application.rb#157
308
+ # source://rake//lib/rake/application.rb#179
309
309
  def invoke_task(task_string); end
310
310
 
311
311
  # Load the pending list of imported files.
312
312
  #
313
- # source://rake//lib/rake/application.rb#782
313
+ # source://rake//lib/rake/application.rb#806
314
314
  def load_imports; end
315
315
 
316
316
  # Find the rakefile and then load it and any pending imports.
317
317
  #
318
- # source://rake//lib/rake/application.rb#102
318
+ # source://rake//lib/rake/application.rb#124
319
319
  def load_rakefile; end
320
320
 
321
321
  # The name of the application (typically 'rake')
@@ -325,7 +325,7 @@ class Rake::Application
325
325
 
326
326
  # Application options from the command line
327
327
  #
328
- # source://rake//lib/rake/application.rb#145
328
+ # source://rake//lib/rake/application.rb#167
329
329
  def options; end
330
330
 
331
331
  # The original directory where rake was invoked.
@@ -333,16 +333,16 @@ class Rake::Application
333
333
  # source://rake//lib/rake/application.rb#27
334
334
  def original_dir; end
335
335
 
336
- # source://rake//lib/rake/application.rb#163
336
+ # source://rake//lib/rake/application.rb#185
337
337
  def parse_task_string(string); end
338
338
 
339
- # source://rake//lib/rake/application.rb#690
339
+ # source://rake//lib/rake/application.rb#714
340
340
  def print_rakefile_directory(location); end
341
341
 
342
342
  # Similar to the regular Ruby +require+ command, but will check
343
343
  # for *.rake files in addition to *.rb files.
344
344
  #
345
- # source://rake//lib/rake/application.rb#664
345
+ # source://rake//lib/rake/application.rb#688
346
346
  def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
347
347
 
348
348
  # Name of the actual rakefile used.
@@ -350,10 +350,10 @@ class Rake::Application
350
350
  # source://rake//lib/rake/application.rb#30
351
351
  def rakefile; end
352
352
 
353
- # source://rake//lib/rake/application.rb#798
353
+ # source://rake//lib/rake/application.rb#822
354
354
  def rakefile_location(backtrace = T.unsafe(nil)); end
355
355
 
356
- # source://rake//lib/rake/application.rb#695
356
+ # source://rake//lib/rake/application.rb#719
357
357
  def raw_load_rakefile; end
358
358
 
359
359
  # Run the Rake application. The run method performs the following
@@ -372,26 +372,26 @@ class Rake::Application
372
372
 
373
373
  # Run the given block with the thread startup and shutdown.
374
374
  #
375
- # source://rake//lib/rake/application.rb#122
375
+ # source://rake//lib/rake/application.rb#144
376
376
  def run_with_threads; end
377
377
 
378
- # source://rake//lib/rake/application.rb#807
378
+ # source://rake//lib/rake/application.rb#831
379
379
  def set_default_options; end
380
380
 
381
381
  # Provide standard exception handling for the given block.
382
382
  #
383
- # source://rake//lib/rake/application.rb#185
383
+ # source://rake//lib/rake/application.rb#207
384
384
  def standard_exception_handling; end
385
385
 
386
386
  # A list of all the standard options used in rake, suitable for
387
387
  # passing to OptionParser.
388
388
  #
389
- # source://rake//lib/rake/application.rb#402
389
+ # source://rake//lib/rake/application.rb#426
390
390
  def standard_rake_options; end
391
391
 
392
392
  # The directory path containing the system wide rakefiles.
393
393
  #
394
- # source://rake//lib/rake/application.rb#727
394
+ # source://rake//lib/rake/application.rb#751
395
395
  def system_dir; end
396
396
 
397
397
  # Number of columns on the terminal
@@ -404,17 +404,17 @@ class Rake::Application
404
404
  # source://rake//lib/rake/application.rb#33
405
405
  def terminal_columns=(_arg0); end
406
406
 
407
- # source://rake//lib/rake/application.rb#337
407
+ # source://rake//lib/rake/application.rb#361
408
408
  def terminal_width; end
409
409
 
410
410
  # Return the thread pool used for multithreaded processing.
411
411
  #
412
- # source://rake//lib/rake/application.rb#150
412
+ # source://rake//lib/rake/application.rb#172
413
413
  def thread_pool; end
414
414
 
415
415
  # Run the top level tasks of a Rake application.
416
416
  #
417
- # source://rake//lib/rake/application.rb#109
417
+ # source://rake//lib/rake/application.rb#131
418
418
  def top_level; end
419
419
 
420
420
  # List of the top level task names (task names from the command line).
@@ -422,10 +422,10 @@ class Rake::Application
422
422
  # source://rake//lib/rake/application.rb#36
423
423
  def top_level_tasks; end
424
424
 
425
- # source://rake//lib/rake/application.rb#388
425
+ # source://rake//lib/rake/application.rb#412
426
426
  def trace(*strings); end
427
427
 
428
- # source://rake//lib/rake/application.rb#370
428
+ # source://rake//lib/rake/application.rb#394
429
429
  def truncate(string, width); end
430
430
 
431
431
  # We will truncate output if we are outputting to a TTY or if we've been
@@ -433,7 +433,7 @@ class Rake::Application
433
433
  #
434
434
  # @return [Boolean]
435
435
  #
436
- # source://rake//lib/rake/application.rb#293
436
+ # source://rake//lib/rake/application.rb#317
437
437
  def truncate_output?; end
438
438
 
439
439
  # Override the detected TTY output state (mostly for testing)
@@ -445,41 +445,44 @@ class Rake::Application
445
445
  #
446
446
  # @return [Boolean]
447
447
  #
448
- # source://rake//lib/rake/application.rb#287
448
+ # source://rake//lib/rake/application.rb#311
449
449
  def tty_output?; end
450
450
 
451
451
  # @return [Boolean]
452
452
  #
453
- # source://rake//lib/rake/application.rb#361
453
+ # source://rake//lib/rake/application.rb#385
454
454
  def unix?; end
455
455
 
456
456
  # @return [Boolean]
457
457
  #
458
- # source://rake//lib/rake/application.rb#366
458
+ # source://rake//lib/rake/application.rb#390
459
459
  def windows?; end
460
460
 
461
461
  private
462
462
 
463
- # source://rake//lib/rake/application.rb#721
463
+ # source://rake//lib/rake/application.rb#745
464
464
  def glob(path, &block); end
465
465
 
466
466
  # Does the exception have a task invocation chain?
467
467
  #
468
468
  # @return [Boolean]
469
469
  #
470
- # source://rake//lib/rake/application.rb#267
470
+ # source://rake//lib/rake/application.rb#291
471
471
  def has_chain?(exception); end
472
472
 
473
- # source://rake//lib/rake/application.rb#620
473
+ # source://rake//lib/rake/application.rb#102
474
+ def load_debug_at_stop_feature; end
475
+
476
+ # source://rake//lib/rake/application.rb#644
474
477
  def select_tasks_to_show(options, show_tasks, value); end
475
478
 
476
- # source://rake//lib/rake/application.rb#627
479
+ # source://rake//lib/rake/application.rb#651
477
480
  def select_trace_output(options, trace_option, value); end
478
481
 
479
- # source://rake//lib/rake/application.rb#393
482
+ # source://rake//lib/rake/application.rb#417
480
483
  def sort_options(options); end
481
484
 
482
- # source://rake//lib/rake/application.rb#744
485
+ # source://rake//lib/rake/application.rb#768
483
486
  def standard_system_dir; end
484
487
  end
485
488
 
@@ -591,7 +594,7 @@ module Rake::DSL
591
594
  #
592
595
  # Example:
593
596
  # desc "Run the Unit Tests"
594
- # task test: [:build]
597
+ # task test: [:build] do
595
598
  # # ... run tests
596
599
  # end
597
600
  #
@@ -661,6 +664,9 @@ module Rake::DSL
661
664
  # source://rake//lib/rake/file_utils_ext.rb#34
662
665
  def ln_sf(*args, **options, &block); end
663
666
 
667
+ # source://rake//lib/rake/file_utils_ext.rb#34
668
+ def ln_sr(*args, **options, &block); end
669
+
664
670
  # source://rake//lib/rake/file_utils_ext.rb#34
665
671
  def makedirs(*args, **options, &block); end
666
672
 
@@ -742,7 +748,7 @@ module Rake::DSL
742
748
  # source://rake//lib/rake/file_utils_ext.rb#34
743
749
  def rmtree(*args, **options, &block); end
744
750
 
745
- # source://rake//lib/rake/file_utils.rb#100
751
+ # source://rake//lib/rake/file_utils.rb#98
746
752
  def ruby(*args, **options, &block); end
747
753
 
748
754
  # Declare a rule for auto-tasks.
@@ -755,7 +761,7 @@ module Rake::DSL
755
761
  # source://rake//lib/rake/dsl_definition.rb#151
756
762
  def rule(*args, &block); end
757
763
 
758
- # source://rake//lib/rake/file_utils.rb#112
764
+ # source://rake//lib/rake/file_utils.rb#110
759
765
  def safe_ln(*args, **options); end
760
766
 
761
767
  # source://rake//lib/rake/file_utils_ext.rb#34
@@ -764,7 +770,7 @@ module Rake::DSL
764
770
  # source://rake//lib/rake/file_utils.rb#43
765
771
  def sh(*cmd, &block); end
766
772
 
767
- # source://rake//lib/rake/file_utils.rb#128
773
+ # source://rake//lib/rake/file_utils.rb#126
768
774
  def split_all(path); end
769
775
 
770
776
  # source://rake//lib/rake/file_utils_ext.rb#34
@@ -859,7 +865,7 @@ end
859
865
  # not re-triggered if any of its dependencies are newer, nor does trigger
860
866
  # any rebuilds of tasks that depend on it whenever it is updated.
861
867
  #
862
- # source://rake//lib/rake/file_creation_task.rb#13
868
+ # source://rake//lib/rake/file_creation_task.rb#12
863
869
  class Rake::FileCreationTask < ::Rake::FileTask
864
870
  # Is this file task needed? Yes if it doesn't exist.
865
871
  #
@@ -1577,7 +1583,7 @@ class Rake::FileTask < ::Rake::Task
1577
1583
 
1578
1584
  # Time stamp for file task.
1579
1585
  #
1580
- # source://rake//lib/rake/file_task.rb#21
1586
+ # source://rake//lib/rake/file_task.rb#25
1581
1587
  def timestamp; end
1582
1588
 
1583
1589
  private
@@ -1586,14 +1592,14 @@ class Rake::FileTask < ::Rake::Task
1586
1592
  #
1587
1593
  # @return [Boolean]
1588
1594
  #
1589
- # source://rake//lib/rake/file_task.rb#32
1595
+ # source://rake//lib/rake/file_task.rb#36
1590
1596
  def out_of_date?(stamp); end
1591
1597
 
1592
1598
  class << self
1593
1599
  # Apply the scope to the task name according to the rules for this kind
1594
1600
  # of task. File based tasks ignore the scope when creating the name.
1595
1601
  #
1596
- # source://rake//lib/rake/file_task.rb#49
1602
+ # source://rake//lib/rake/file_task.rb#53
1597
1603
  def scope_name(scope, task_name); end
1598
1604
  end
1599
1605
  end
@@ -1655,6 +1661,9 @@ module Rake::FileUtilsExt
1655
1661
  # source://rake//lib/rake/file_utils_ext.rb#34
1656
1662
  def ln_sf(*args, **options, &block); end
1657
1663
 
1664
+ # source://rake//lib/rake/file_utils_ext.rb#34
1665
+ def ln_sr(*args, **options, &block); end
1666
+
1658
1667
  # source://rake//lib/rake/file_utils_ext.rb#34
1659
1668
  def makedirs(*args, **options, &block); end
1660
1669
 
@@ -2164,9 +2173,6 @@ class Rake::PseudoStatus
2164
2173
  def to_i; end
2165
2174
  end
2166
2175
 
2167
- # source://rdoc/6.4.0/rdoc/task.rb#326
2168
- Rake::RDocTask = RDoc::Task
2169
-
2170
2176
  # Error indicating a recursion overflow error in task selection.
2171
2177
  #
2172
2178
  # source://rake//lib/rake/rule_recursion_overflow_error.rb#5
@@ -2851,14 +2857,14 @@ class Rake::ThreadHistoryDisplay
2851
2857
  def threads; end
2852
2858
  end
2853
2859
 
2854
- # source://rake//lib/rake/thread_pool.rb#7
2860
+ # source://rake//lib/rake/thread_pool.rb#8
2855
2861
  class Rake::ThreadPool
2856
2862
  # Creates a ThreadPool object. The +thread_count+ parameter is the size
2857
2863
  # of the pool.
2858
2864
  #
2859
2865
  # @return [ThreadPool] a new instance of ThreadPool
2860
2866
  #
2861
- # source://rake//lib/rake/thread_pool.rb#11
2867
+ # source://rake//lib/rake/thread_pool.rb#12
2862
2868
  def initialize(thread_count); end
2863
2869
 
2864
2870
  # Creates a future executed by the +ThreadPool+.
@@ -2640,7 +2640,7 @@ class RbNaCl::SimpleBox
2640
2640
  # source://rbnacl//lib/rbnacl/simple_box.rb#80
2641
2641
  def encrypt(message); end
2642
2642
 
2643
- # source://forwardable/1.3.2/forwardable.rb#229
2643
+ # source://forwardable/1.3.3/forwardable.rb#231
2644
2644
  def nonce_bytes(*args, **_arg1, &block); end
2645
2645
 
2646
2646
  # Decrypts the ciphertext with a random nonce
@@ -2655,7 +2655,7 @@ class RbNaCl::SimpleBox
2655
2655
  # source://rbnacl//lib/rbnacl/simple_box.rb#97
2656
2656
  def open(enciphered_message); end
2657
2657
 
2658
- # source://forwardable/1.3.2/forwardable.rb#229
2658
+ # source://forwardable/1.3.3/forwardable.rb#231
2659
2659
  def primitive(*args, **_arg1, &block); end
2660
2660
 
2661
2661
  private