checkoff 0.219.0 → 0.221.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.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -4
- data/.overcommit.yml +2 -0
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +2 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +42 -8
- data/Makefile +13 -7
- data/bin/tapioca +1 -1
- data/checkoff.gemspec +1 -0
- data/fix.sh +1 -0
- data/lib/checkoff/tasks.rb +8 -2
- data/lib/checkoff/version.rb +1 -1
- data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.5.rbi} +157 -160
- data/sorbet/rbi/gems/brakeman@6.2.2.rbi +222 -0
- data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.6.rbi} +135 -102
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.2.rbi} +4 -1
- data/sorbet/rbi/gems/{mutex_m@0.2.0.rbi → mutex_m@0.3.0.rbi} +15 -12
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.0.rbi} +1693 -803
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +33 -33
- data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.1.8.rbi} +697 -985
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.9.rbi} +354 -278
- data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +7546 -0
- data/sorbet/rbi/gems/securerandom@0.4.0.rbi +75 -0
- data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +320 -0
- data/sorbet/rbi/gems/{tapioca@0.16.4.rbi → tapioca@0.16.5.rbi} +89 -76
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +429 -270
- metadata +33 -16
- data/sorbet/rbi/gems/ostruct@0.6.1.rbi +0 -354
- /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{gli@2.21.1.rbi → gli@2.22.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{overcommit@0.64.0.rbi → overcommit@0.64.1.rbi} +0 -0
@@ -5,7 +5,7 @@
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem activesupport`.
|
6
6
|
|
7
7
|
|
8
|
-
# :include:
|
8
|
+
# :include: ../README.rdoc
|
9
9
|
#
|
10
10
|
# source://activesupport//lib/active_support/core_ext/object/try.rb#5
|
11
11
|
module ActiveSupport
|
@@ -303,7 +303,7 @@ class ActiveSupport::BacktraceCleaner
|
|
303
303
|
# # Will turn "/my/rails/root/app/models/person.rb" into "/app/models/person.rb"
|
304
304
|
# backtrace_cleaner.add_filter { |line| line.gsub(Rails.root.to_s, '') }
|
305
305
|
#
|
306
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
306
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#81
|
307
307
|
def add_filter(&block); end
|
308
308
|
|
309
309
|
# Adds a silencer from the block provided. If the silencer returns +true+
|
@@ -312,63 +312,66 @@ class ActiveSupport::BacktraceCleaner
|
|
312
312
|
# # Will reject all lines that include the word "puma", like "/gems/puma/server.rb" or "/app/my_puma_server/rb"
|
313
313
|
# backtrace_cleaner.add_silencer { |line| /puma/.match?(line) }
|
314
314
|
#
|
315
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
315
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#90
|
316
316
|
def add_silencer(&block); end
|
317
317
|
|
318
318
|
# Returns the backtrace after all filters and silencers have been run
|
319
319
|
# against it. Filters run first, then silencers.
|
320
320
|
#
|
321
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
321
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#44
|
322
322
|
def clean(backtrace, kind = T.unsafe(nil)); end
|
323
323
|
|
324
324
|
# Returns the frame with all filters applied.
|
325
325
|
# returns +nil+ if the frame was silenced.
|
326
326
|
#
|
327
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
327
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#60
|
328
328
|
def clean_frame(frame, kind = T.unsafe(nil)); end
|
329
329
|
|
330
330
|
# Returns the backtrace after all filters and silencers have been run
|
331
331
|
# against it. Filters run first, then silencers.
|
332
332
|
#
|
333
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
333
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#44
|
334
334
|
def filter(backtrace, kind = T.unsafe(nil)); end
|
335
335
|
|
336
336
|
# Removes all filters, but leaves in the silencers. Useful if you suddenly
|
337
337
|
# need to see entire filepaths in the backtrace that you had already
|
338
338
|
# filtered out.
|
339
339
|
#
|
340
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
340
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#104
|
341
341
|
def remove_filters!; end
|
342
342
|
|
343
343
|
# Removes all silencers, but leaves in the filters. Useful if your
|
344
344
|
# context of debugging suddenly expands as you suspect a bug in one of
|
345
345
|
# the libraries you use.
|
346
346
|
#
|
347
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
347
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#97
|
348
348
|
def remove_silencers!; end
|
349
349
|
|
350
350
|
private
|
351
351
|
|
352
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
352
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#120
|
353
|
+
def add_core_silencer; end
|
354
|
+
|
355
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#111
|
353
356
|
def add_gem_filter; end
|
354
357
|
|
355
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
358
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#124
|
356
359
|
def add_gem_silencer; end
|
357
360
|
|
358
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
361
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#128
|
359
362
|
def add_stdlib_silencer; end
|
360
363
|
|
361
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
364
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#132
|
362
365
|
def filter_backtrace(backtrace); end
|
363
366
|
|
364
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
367
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#148
|
365
368
|
def noise(backtrace); end
|
366
369
|
|
367
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
370
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#140
|
368
371
|
def silence(backtrace); end
|
369
372
|
end
|
370
373
|
|
371
|
-
# source://activesupport//lib/active_support/backtrace_cleaner.rb#
|
374
|
+
# source://activesupport//lib/active_support/backtrace_cleaner.rb#109
|
372
375
|
ActiveSupport::BacktraceCleaner::FORMATTED_GEMS_PATTERN = T.let(T.unsafe(nil), Regexp)
|
373
376
|
|
374
377
|
# = \Benchmarkable
|
@@ -500,7 +503,7 @@ class ActiveSupport::BroadcastLogger
|
|
500
503
|
def <<(message); end
|
501
504
|
|
502
505
|
# source://activesupport//lib/active_support/broadcast_logger.rb#116
|
503
|
-
def add(*
|
506
|
+
def add(*_arg0, **_arg1, &_arg2); end
|
504
507
|
|
505
508
|
# Add logger(s) to the broadcast.
|
506
509
|
#
|
@@ -519,7 +522,7 @@ class ActiveSupport::BroadcastLogger
|
|
519
522
|
def close; end
|
520
523
|
|
521
524
|
# source://activesupport//lib/active_support/broadcast_logger.rb#121
|
522
|
-
def debug(*
|
525
|
+
def debug(*_arg0, **_arg1, &_arg2); end
|
523
526
|
|
524
527
|
# Sets the log level to Logger::DEBUG for the whole broadcast.
|
525
528
|
#
|
@@ -535,7 +538,7 @@ class ActiveSupport::BroadcastLogger
|
|
535
538
|
def debug?; end
|
536
539
|
|
537
540
|
# source://activesupport//lib/active_support/broadcast_logger.rb#133
|
538
|
-
def error(*
|
541
|
+
def error(*_arg0, **_arg1, &_arg2); end
|
539
542
|
|
540
543
|
# Sets the log level to Logger::ERROR for the whole broadcast.
|
541
544
|
#
|
@@ -551,7 +554,7 @@ class ActiveSupport::BroadcastLogger
|
|
551
554
|
def error?; end
|
552
555
|
|
553
556
|
# source://activesupport//lib/active_support/broadcast_logger.rb#137
|
554
|
-
def fatal(*
|
557
|
+
def fatal(*_arg0, **_arg1, &_arg2); end
|
555
558
|
|
556
559
|
# Sets the log level to Logger::FATAL for the whole broadcast.
|
557
560
|
#
|
@@ -575,7 +578,7 @@ class ActiveSupport::BroadcastLogger
|
|
575
578
|
def formatter=(formatter); end
|
576
579
|
|
577
580
|
# source://activesupport//lib/active_support/broadcast_logger.rb#125
|
578
|
-
def info(*
|
581
|
+
def info(*_arg0, **_arg1, &_arg2); end
|
579
582
|
|
580
583
|
# Sets the log level to Logger::INFO for the whole broadcast.
|
581
584
|
#
|
@@ -600,7 +603,7 @@ class ActiveSupport::BroadcastLogger
|
|
600
603
|
def local_level=(level); end
|
601
604
|
|
602
605
|
# source://activesupport//lib/active_support/broadcast_logger.rb#116
|
603
|
-
def log(*
|
606
|
+
def log(*_arg0, **_arg1, &_arg2); end
|
604
607
|
|
605
608
|
# Returns the value of attribute progname.
|
606
609
|
#
|
@@ -635,10 +638,10 @@ class ActiveSupport::BroadcastLogger
|
|
635
638
|
def stop_broadcasting_to(logger); end
|
636
639
|
|
637
640
|
# source://activesupport//lib/active_support/broadcast_logger.rb#141
|
638
|
-
def unknown(*
|
641
|
+
def unknown(*_arg0, **_arg1, &_arg2); end
|
639
642
|
|
640
643
|
# source://activesupport//lib/active_support/broadcast_logger.rb#129
|
641
|
-
def warn(*
|
644
|
+
def warn(*_arg0, **_arg1, &_arg2); end
|
642
645
|
|
643
646
|
# Sets the log level to Logger::WARN for the whole broadcast.
|
644
647
|
#
|
@@ -661,12 +664,12 @@ class ActiveSupport::BroadcastLogger
|
|
661
664
|
# source://activesupport//lib/active_support/broadcast_logger.rb#221
|
662
665
|
def initialize_copy(other); end
|
663
666
|
|
664
|
-
# source://activesupport//lib/active_support/broadcast_logger.rb#
|
667
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#235
|
665
668
|
def method_missing(name, *args, **kwargs, &block); end
|
666
669
|
|
667
670
|
# @return [Boolean]
|
668
671
|
#
|
669
|
-
# source://activesupport//lib/active_support/broadcast_logger.rb#
|
672
|
+
# source://activesupport//lib/active_support/broadcast_logger.rb#247
|
670
673
|
def respond_to_missing?(method, include_all); end
|
671
674
|
|
672
675
|
class << self
|
@@ -1925,7 +1928,7 @@ class ActiveSupport::Cache::Store
|
|
1925
1928
|
# source://activesupport//lib/active_support/cache.rb#997
|
1926
1929
|
def expanded_version(key); end
|
1927
1930
|
|
1928
|
-
# source://activesupport//lib/active_support/cache.rb#
|
1931
|
+
# source://activesupport//lib/active_support/cache.rb#1051
|
1929
1932
|
def get_entry_value(entry, name, options); end
|
1930
1933
|
|
1931
1934
|
# source://activesupport//lib/active_support/cache.rb#1034
|
@@ -1997,7 +2000,7 @@ class ActiveSupport::Cache::Store
|
|
1997
2000
|
# source://activesupport//lib/active_support/cache.rb#829
|
1998
2001
|
def read_multi_entries(names, **options); end
|
1999
2002
|
|
2000
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2003
|
+
# source://activesupport//lib/active_support/cache.rb#1056
|
2001
2004
|
def save_block_result_to_cache(name, options); end
|
2002
2005
|
|
2003
2006
|
# source://activesupport//lib/active_support/cache.rb#812
|
@@ -2186,37 +2189,37 @@ ActiveSupport::Cache::UNIVERSAL_OPTIONS = T.let(T.unsafe(nil), Array)
|
|
2186
2189
|
# ActiveSupport::Cache::Store#fetch, the second argument will be an
|
2187
2190
|
# instance of +WriteOptions+.
|
2188
2191
|
#
|
2189
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2192
|
+
# source://activesupport//lib/active_support/cache.rb#1072
|
2190
2193
|
class ActiveSupport::Cache::WriteOptions
|
2191
2194
|
# @return [WriteOptions] a new instance of WriteOptions
|
2192
2195
|
#
|
2193
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2196
|
+
# source://activesupport//lib/active_support/cache.rb#1073
|
2194
2197
|
def initialize(options); end
|
2195
2198
|
|
2196
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2199
|
+
# source://activesupport//lib/active_support/cache.rb#1097
|
2197
2200
|
def expires_at; end
|
2198
2201
|
|
2199
2202
|
# Sets the Cache entry's +expires_at+ value. If an +expires_in+ option was
|
2200
2203
|
# previously set, this will unset it since +expires_at+ and +expires_in+
|
2201
2204
|
# cannot both be set.
|
2202
2205
|
#
|
2203
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2206
|
+
# source://activesupport//lib/active_support/cache.rb#1104
|
2204
2207
|
def expires_at=(expires_at); end
|
2205
2208
|
|
2206
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2209
|
+
# source://activesupport//lib/active_support/cache.rb#1085
|
2207
2210
|
def expires_in; end
|
2208
2211
|
|
2209
2212
|
# Sets the Cache entry's +expires_in+ value. If an +expires_at+ option was
|
2210
2213
|
# previously set, this will unset it since +expires_in+ and +expires_at+
|
2211
2214
|
# cannot both be set.
|
2212
2215
|
#
|
2213
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2216
|
+
# source://activesupport//lib/active_support/cache.rb#1092
|
2214
2217
|
def expires_in=(expires_in); end
|
2215
2218
|
|
2216
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2219
|
+
# source://activesupport//lib/active_support/cache.rb#1077
|
2217
2220
|
def version; end
|
2218
2221
|
|
2219
|
-
# source://activesupport//lib/active_support/cache.rb#
|
2222
|
+
# source://activesupport//lib/active_support/cache.rb#1081
|
2220
2223
|
def version=(version); end
|
2221
2224
|
end
|
2222
2225
|
|
@@ -2984,17 +2987,17 @@ end
|
|
2984
2987
|
class ActiveSupport::CodeGenerator
|
2985
2988
|
# @return [CodeGenerator] a new instance of CodeGenerator
|
2986
2989
|
#
|
2987
|
-
# source://activesupport//lib/active_support/code_generator.rb#
|
2990
|
+
# source://activesupport//lib/active_support/code_generator.rb#53
|
2988
2991
|
def initialize(owner, path, line); end
|
2989
2992
|
|
2990
|
-
# source://activesupport//lib/active_support/code_generator.rb#
|
2991
|
-
def define_cached_method(
|
2993
|
+
# source://activesupport//lib/active_support/code_generator.rb#60
|
2994
|
+
def define_cached_method(canonical_name, namespace:, as: T.unsafe(nil), &block); end
|
2992
2995
|
|
2993
|
-
# source://activesupport//lib/active_support/code_generator.rb#
|
2996
|
+
# source://activesupport//lib/active_support/code_generator.rb#64
|
2994
2997
|
def execute; end
|
2995
2998
|
|
2996
2999
|
class << self
|
2997
|
-
# source://activesupport//lib/active_support/code_generator.rb#
|
3000
|
+
# source://activesupport//lib/active_support/code_generator.rb#41
|
2998
3001
|
def batch(owner, path, line); end
|
2999
3002
|
end
|
3000
3003
|
end
|
@@ -3006,11 +3009,11 @@ class ActiveSupport::CodeGenerator::MethodSet
|
|
3006
3009
|
# source://activesupport//lib/active_support/code_generator.rb#8
|
3007
3010
|
def initialize(namespace); end
|
3008
3011
|
|
3009
|
-
# source://activesupport//lib/active_support/code_generator.rb#
|
3012
|
+
# source://activesupport//lib/active_support/code_generator.rb#28
|
3010
3013
|
def apply(owner, path, line); end
|
3011
3014
|
|
3012
|
-
# source://activesupport//lib/active_support/code_generator.rb#
|
3013
|
-
def define_cached_method(
|
3015
|
+
# source://activesupport//lib/active_support/code_generator.rb#15
|
3016
|
+
def define_cached_method(canonical_name, as: T.unsafe(nil)); end
|
3014
3017
|
end
|
3015
3018
|
|
3016
3019
|
# source://activesupport//lib/active_support/code_generator.rb#6
|
@@ -7367,52 +7370,52 @@ end
|
|
7367
7370
|
# that all logs are flushed, and it is called in Rails::Rack::Logger after a
|
7368
7371
|
# request finishes.
|
7369
7372
|
#
|
7370
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7373
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#65
|
7371
7374
|
class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
|
7372
7375
|
# @return [LogSubscriber] a new instance of LogSubscriber
|
7373
7376
|
#
|
7374
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7377
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#137
|
7375
7378
|
def initialize; end
|
7376
7379
|
|
7377
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7380
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#150
|
7378
7381
|
def call(event); end
|
7379
7382
|
|
7380
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7383
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#87
|
7381
7384
|
def colorize_logging; end
|
7382
7385
|
|
7383
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7386
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#87
|
7384
7387
|
def colorize_logging=(val); end
|
7385
7388
|
|
7386
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7389
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#167
|
7387
7390
|
def debug(progname = T.unsafe(nil), &block); end
|
7388
7391
|
|
7389
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7392
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#167
|
7390
7393
|
def error(progname = T.unsafe(nil), &block); end
|
7391
7394
|
|
7392
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7395
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#162
|
7393
7396
|
def event_levels=(_arg0); end
|
7394
7397
|
|
7395
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7398
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#167
|
7396
7399
|
def fatal(progname = T.unsafe(nil), &block); end
|
7397
7400
|
|
7398
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7401
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#167
|
7399
7402
|
def info(progname = T.unsafe(nil), &block); end
|
7400
7403
|
|
7401
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7404
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#142
|
7402
7405
|
def logger; end
|
7403
7406
|
|
7404
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7407
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#156
|
7405
7408
|
def publish_event(event); end
|
7406
7409
|
|
7407
7410
|
# @return [Boolean]
|
7408
7411
|
#
|
7409
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7412
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#146
|
7410
7413
|
def silenced?(event); end
|
7411
7414
|
|
7412
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7415
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#167
|
7413
7416
|
def unknown(progname = T.unsafe(nil), &block); end
|
7414
7417
|
|
7415
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7418
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#167
|
7416
7419
|
def warn(progname = T.unsafe(nil), &block); end
|
7417
7420
|
|
7418
7421
|
private
|
@@ -7421,105 +7424,105 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
|
|
7421
7424
|
# by specifying bold, italic, or underline options. Inspired by Highline,
|
7422
7425
|
# this method will automatically clear formatting at the end of the returned String.
|
7423
7426
|
#
|
7424
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7427
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#176
|
7425
7428
|
def color(text, color, mode_options = T.unsafe(nil)); end
|
7426
7429
|
|
7427
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7430
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#198
|
7428
7431
|
def log_exception(name, e); end
|
7429
7432
|
|
7430
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7433
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#184
|
7431
7434
|
def mode_from(options); end
|
7432
7435
|
|
7433
7436
|
class << self
|
7434
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7437
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#103
|
7435
7438
|
def attach_to(*_arg0, **_arg1, &_arg2); end
|
7436
7439
|
|
7437
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7440
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#87
|
7438
7441
|
def colorize_logging; end
|
7439
7442
|
|
7440
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7443
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#87
|
7441
7444
|
def colorize_logging=(val); end
|
7442
7445
|
|
7443
7446
|
# Flush all log_subscribers' logger.
|
7444
7447
|
#
|
7445
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7448
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#116
|
7446
7449
|
def flush_all!; end
|
7447
7450
|
|
7448
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7451
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#88
|
7449
7452
|
def log_levels; end
|
7450
7453
|
|
7451
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7454
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#88
|
7452
7455
|
def log_levels=(value); end
|
7453
7456
|
|
7454
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7457
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#88
|
7455
7458
|
def log_levels?; end
|
7456
7459
|
|
7457
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7460
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#111
|
7458
7461
|
def log_subscribers; end
|
7459
7462
|
|
7460
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7463
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#97
|
7461
7464
|
def logger; end
|
7462
7465
|
|
7463
7466
|
# Sets the attribute logger
|
7464
7467
|
#
|
7465
7468
|
# @param value the value to set the attribute logger to.
|
7466
7469
|
#
|
7467
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7470
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#109
|
7468
7471
|
def logger=(_arg0); end
|
7469
7472
|
|
7470
7473
|
private
|
7471
7474
|
|
7472
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7475
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#121
|
7473
7476
|
def fetch_public_methods(subscriber, inherit_all); end
|
7474
7477
|
|
7475
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7478
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#125
|
7476
7479
|
def set_event_levels; end
|
7477
7480
|
|
7478
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7481
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#131
|
7479
7482
|
def subscribe_log_level(method, level); end
|
7480
7483
|
end
|
7481
7484
|
end
|
7482
7485
|
|
7483
7486
|
# ANSI sequence colors
|
7484
7487
|
#
|
7485
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7488
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#78
|
7486
7489
|
ActiveSupport::LogSubscriber::BLACK = T.let(T.unsafe(nil), String)
|
7487
7490
|
|
7488
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7491
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#82
|
7489
7492
|
ActiveSupport::LogSubscriber::BLUE = T.let(T.unsafe(nil), String)
|
7490
7493
|
|
7491
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7494
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#67
|
7492
7495
|
ActiveSupport::LogSubscriber::BOLD = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy)
|
7493
7496
|
|
7494
7497
|
# Embed in a String to clear all previous ANSI sequences.
|
7495
7498
|
#
|
7496
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7499
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#66
|
7497
7500
|
ActiveSupport::LogSubscriber::CLEAR = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy)
|
7498
7501
|
|
7499
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7502
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#84
|
7500
7503
|
ActiveSupport::LogSubscriber::CYAN = T.let(T.unsafe(nil), String)
|
7501
7504
|
|
7502
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7505
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#80
|
7503
7506
|
ActiveSupport::LogSubscriber::GREEN = T.let(T.unsafe(nil), String)
|
7504
7507
|
|
7505
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7508
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#90
|
7506
7509
|
ActiveSupport::LogSubscriber::LEVEL_CHECKS = T.let(T.unsafe(nil), Hash)
|
7507
7510
|
|
7508
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7511
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#83
|
7509
7512
|
ActiveSupport::LogSubscriber::MAGENTA = T.let(T.unsafe(nil), String)
|
7510
7513
|
|
7511
7514
|
# ANSI sequence modes
|
7512
7515
|
#
|
7513
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7516
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#70
|
7514
7517
|
ActiveSupport::LogSubscriber::MODES = T.let(T.unsafe(nil), Hash)
|
7515
7518
|
|
7516
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7519
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#79
|
7517
7520
|
ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String)
|
7518
7521
|
|
7519
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7522
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#85
|
7520
7523
|
ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String)
|
7521
7524
|
|
7522
|
-
# source://activesupport//lib/active_support/log_subscriber.rb#
|
7525
|
+
# source://activesupport//lib/active_support/log_subscriber.rb#81
|
7523
7526
|
ActiveSupport::LogSubscriber::YELLOW = T.let(T.unsafe(nil), String)
|
7524
7527
|
|
7525
7528
|
# source://activesupport//lib/active_support/logger.rb#8
|
@@ -9110,16 +9113,16 @@ class ActiveSupport::Notifications::Event
|
|
9110
9113
|
# Returns the number of allocations made between the call to #start! and
|
9111
9114
|
# the call to #finish!.
|
9112
9115
|
#
|
9113
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9116
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#172
|
9114
9117
|
def allocations; end
|
9115
9118
|
|
9116
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9119
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#176
|
9117
9120
|
def children; end
|
9118
9121
|
|
9119
9122
|
# Returns the CPU time (in milliseconds) passed between the call to
|
9120
9123
|
# #start! and the call to #finish!.
|
9121
9124
|
#
|
9122
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9125
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#159
|
9123
9126
|
def cpu_time; end
|
9124
9127
|
|
9125
9128
|
# Returns the difference in milliseconds between when the execution of the
|
@@ -9135,23 +9138,21 @@ class ActiveSupport::Notifications::Event
|
|
9135
9138
|
#
|
9136
9139
|
# @event.duration # => 1000.138
|
9137
9140
|
#
|
9138
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9141
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#205
|
9139
9142
|
def duration; end
|
9140
9143
|
|
9141
|
-
#
|
9142
|
-
#
|
9143
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#107
|
9144
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#126
|
9144
9145
|
def end; end
|
9145
9146
|
|
9146
9147
|
# Record information at the time this event finishes
|
9147
9148
|
#
|
9148
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9149
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#151
|
9149
9150
|
def finish!; end
|
9150
9151
|
|
9151
9152
|
# Returns the idle time time (in milliseconds) passed between the call to
|
9152
9153
|
# #start! and the call to #finish!.
|
9153
9154
|
#
|
9154
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9155
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#165
|
9155
9156
|
def idle_time; end
|
9156
9157
|
|
9157
9158
|
# Returns the value of attribute name.
|
@@ -9161,7 +9162,7 @@ class ActiveSupport::Notifications::Event
|
|
9161
9162
|
|
9162
9163
|
# @return [Boolean]
|
9163
9164
|
#
|
9164
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9165
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#184
|
9165
9166
|
def parent_of?(event); end
|
9166
9167
|
|
9167
9168
|
# Returns the value of attribute payload.
|
@@ -9176,17 +9177,15 @@ class ActiveSupport::Notifications::Event
|
|
9176
9177
|
# source://activesupport//lib/active_support/notifications/instrumenter.rb#108
|
9177
9178
|
def payload=(_arg0); end
|
9178
9179
|
|
9179
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9180
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#130
|
9180
9181
|
def record; end
|
9181
9182
|
|
9182
9183
|
# Record information at the time this event starts
|
9183
9184
|
#
|
9184
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9185
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#144
|
9185
9186
|
def start!; end
|
9186
9187
|
|
9187
|
-
#
|
9188
|
-
#
|
9189
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#107
|
9188
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#122
|
9190
9189
|
def time; end
|
9191
9190
|
|
9192
9191
|
# Returns the value of attribute transaction_id.
|
@@ -9196,15 +9195,15 @@ class ActiveSupport::Notifications::Event
|
|
9196
9195
|
|
9197
9196
|
private
|
9198
9197
|
|
9199
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9198
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#210
|
9200
9199
|
def now; end
|
9201
9200
|
|
9202
9201
|
# Likely on JRuby, TruffleRuby
|
9203
9202
|
#
|
9204
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9203
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#227
|
9205
9204
|
def now_allocations; end
|
9206
9205
|
|
9207
|
-
# source://activesupport//lib/active_support/notifications/instrumenter.rb#
|
9206
|
+
# source://activesupport//lib/active_support/notifications/instrumenter.rb#217
|
9208
9207
|
def now_cpu; end
|
9209
9208
|
end
|
9210
9209
|
|
@@ -9249,10 +9248,10 @@ class ActiveSupport::Notifications::Fanout
|
|
9249
9248
|
# source://activesupport//lib/active_support/notifications/fanout.rb#314
|
9250
9249
|
def listening?(name); end
|
9251
9250
|
|
9252
|
-
# source://mutex_m/0.
|
9251
|
+
# source://mutex_m/0.3.0/lib/mutex_m.rb#96
|
9253
9252
|
def lock; end
|
9254
9253
|
|
9255
|
-
# source://mutex_m/0.
|
9254
|
+
# source://mutex_m/0.3.0/lib/mutex_m.rb#86
|
9256
9255
|
def locked?; end
|
9257
9256
|
|
9258
9257
|
# source://activesupport//lib/active_support/notifications/fanout.rb#293
|
@@ -9267,13 +9266,13 @@ class ActiveSupport::Notifications::Fanout
|
|
9267
9266
|
# source://activesupport//lib/active_support/notifications/fanout.rb#68
|
9268
9267
|
def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end
|
9269
9268
|
|
9270
|
-
# source://mutex_m/0.
|
9269
|
+
# source://mutex_m/0.3.0/lib/mutex_m.rb#81
|
9271
9270
|
def synchronize(&block); end
|
9272
9271
|
|
9273
|
-
# source://mutex_m/0.
|
9272
|
+
# source://mutex_m/0.3.0/lib/mutex_m.rb#91
|
9274
9273
|
def try_lock; end
|
9275
9274
|
|
9276
|
-
# source://mutex_m/0.
|
9275
|
+
# source://mutex_m/0.3.0/lib/mutex_m.rb#101
|
9277
9276
|
def unlock; end
|
9278
9277
|
|
9279
9278
|
# source://activesupport//lib/active_support/notifications/fanout.rb#85
|
@@ -11225,19 +11224,19 @@ end
|
|
11225
11224
|
#
|
11226
11225
|
# source://activesupport//lib/active_support/tagged_logging.rb#30
|
11227
11226
|
module ActiveSupport::TaggedLogging
|
11228
|
-
# source://activesupport//lib/active_support/tagged_logging.rb#
|
11227
|
+
# source://activesupport//lib/active_support/tagged_logging.rb#135
|
11229
11228
|
def clear_tags!(*_arg0, **_arg1, &_arg2); end
|
11230
11229
|
|
11231
|
-
# source://activesupport//lib/active_support/tagged_logging.rb#
|
11230
|
+
# source://activesupport//lib/active_support/tagged_logging.rb#148
|
11232
11231
|
def flush; end
|
11233
11232
|
|
11234
|
-
# source://activesupport//lib/active_support/tagged_logging.rb#
|
11233
|
+
# source://activesupport//lib/active_support/tagged_logging.rb#135
|
11235
11234
|
def pop_tags(*_arg0, **_arg1, &_arg2); end
|
11236
11235
|
|
11237
|
-
# source://activesupport//lib/active_support/tagged_logging.rb#
|
11236
|
+
# source://activesupport//lib/active_support/tagged_logging.rb#135
|
11238
11237
|
def push_tags(*_arg0, **_arg1, &_arg2); end
|
11239
11238
|
|
11240
|
-
# source://activesupport//lib/active_support/tagged_logging.rb#
|
11239
|
+
# source://activesupport//lib/active_support/tagged_logging.rb#137
|
11241
11240
|
def tagged(*tags); end
|
11242
11241
|
|
11243
11242
|
class << self
|
@@ -13288,26 +13287,23 @@ ActiveSupport::TimeWithZone::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer)
|
|
13288
13287
|
class ActiveSupport::TimeZone
|
13289
13288
|
include ::Comparable
|
13290
13289
|
|
13291
|
-
#
|
13292
|
-
# offset is the number of seconds that this time zone is offset from UTC
|
13293
|
-
# (GMT). Seconds were chosen as the offset unit because that is the unit
|
13294
|
-
# that Ruby uses to represent time zone offsets (see Time#utc_offset).
|
13290
|
+
# :stopdoc:
|
13295
13291
|
#
|
13296
13292
|
# @return [TimeZone] a new instance of TimeZone
|
13297
13293
|
#
|
13298
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13294
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#311
|
13299
13295
|
def initialize(name, utc_offset = T.unsafe(nil), tzinfo = T.unsafe(nil)); end
|
13300
13296
|
|
13301
13297
|
# Compare this time zone to the parameter. The two are compared first on
|
13302
13298
|
# their offsets, and then by name.
|
13303
13299
|
#
|
13304
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13300
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#335
|
13305
13301
|
def <=>(zone); end
|
13306
13302
|
|
13307
13303
|
# Compare #name and TZInfo identifier to a supplied regexp, returning +true+
|
13308
13304
|
# if a match is found.
|
13309
13305
|
#
|
13310
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13306
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#344
|
13311
13307
|
def =~(re); end
|
13312
13308
|
|
13313
13309
|
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
|
@@ -13322,10 +13318,10 @@ class ActiveSupport::TimeZone
|
|
13322
13318
|
# Time.zone = 'Hawaii' # => "Hawaii"
|
13323
13319
|
# Time.at(946684800, 123456.789).nsec # => 123456789
|
13324
13320
|
#
|
13325
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13321
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#381
|
13326
13322
|
def at(*args); end
|
13327
13323
|
|
13328
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13324
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#577
|
13329
13325
|
def encode_with(coder); end
|
13330
13326
|
|
13331
13327
|
# Returns a formatted string of the offset from UTC, or an alternative
|
@@ -13335,10 +13331,10 @@ class ActiveSupport::TimeZone
|
|
13335
13331
|
# zone.formatted_offset # => "-06:00"
|
13336
13332
|
# zone.formatted_offset(false) # => "-0600"
|
13337
13333
|
#
|
13338
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13334
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#329
|
13339
13335
|
def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
|
13340
13336
|
|
13341
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13337
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#573
|
13342
13338
|
def init_with(coder); end
|
13343
13339
|
|
13344
13340
|
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
|
@@ -13355,7 +13351,7 @@ class ActiveSupport::TimeZone
|
|
13355
13351
|
# If the string is invalid then an +ArgumentError+ will be raised unlike +parse+
|
13356
13352
|
# which usually returns +nil+ when given an invalid date string.
|
13357
13353
|
#
|
13358
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13354
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#398
|
13359
13355
|
def iso8601(str); end
|
13360
13356
|
|
13361
13357
|
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
|
@@ -13364,13 +13360,13 @@ class ActiveSupport::TimeZone
|
|
13364
13360
|
# Time.zone = 'Hawaii' # => "Hawaii"
|
13365
13361
|
# Time.zone.local(2007, 2, 1, 15, 30, 45) # => Thu, 01 Feb 2007 15:30:45 HST -10:00
|
13366
13362
|
#
|
13367
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13363
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#365
|
13368
13364
|
def local(*args); end
|
13369
13365
|
|
13370
13366
|
# Adjust the given time to the simultaneous time in UTC. Returns a
|
13371
13367
|
# Time.utc() instance.
|
13372
13368
|
#
|
13373
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13369
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#553
|
13374
13370
|
def local_to_utc(time, dst = T.unsafe(nil)); end
|
13375
13371
|
|
13376
13372
|
# Compare #name and TZInfo identifier to a supplied regexp, returning +true+
|
@@ -13378,12 +13374,12 @@ class ActiveSupport::TimeZone
|
|
13378
13374
|
#
|
13379
13375
|
# @return [Boolean]
|
13380
13376
|
#
|
13381
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13377
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#350
|
13382
13378
|
def match?(re); end
|
13383
13379
|
|
13384
13380
|
# Returns the value of attribute name.
|
13385
13381
|
#
|
13386
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13382
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#298
|
13387
13383
|
def name; end
|
13388
13384
|
|
13389
13385
|
# Returns an ActiveSupport::TimeWithZone instance representing the current
|
@@ -13392,7 +13388,7 @@ class ActiveSupport::TimeZone
|
|
13392
13388
|
# Time.zone = 'Hawaii' # => "Hawaii"
|
13393
13389
|
# Time.zone.now # => Wed, 23 Jan 2008 20:24:27 HST -10:00
|
13394
13390
|
#
|
13395
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13391
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#518
|
13396
13392
|
def now; end
|
13397
13393
|
|
13398
13394
|
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
|
@@ -13414,22 +13410,22 @@ class ActiveSupport::TimeZone
|
|
13414
13410
|
#
|
13415
13411
|
# If the string is invalid then an +ArgumentError+ could be raised.
|
13416
13412
|
#
|
13417
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13413
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#455
|
13418
13414
|
def parse(str, now = T.unsafe(nil)); end
|
13419
13415
|
|
13420
13416
|
# Available so that TimeZone instances respond like +TZInfo::Timezone+
|
13421
13417
|
# instances.
|
13422
13418
|
#
|
13423
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13419
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#565
|
13424
13420
|
def period_for_local(time, dst = T.unsafe(nil)); end
|
13425
13421
|
|
13426
13422
|
# Available so that TimeZone instances respond like +TZInfo::Timezone+
|
13427
13423
|
# instances.
|
13428
13424
|
#
|
13429
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13425
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#559
|
13430
13426
|
def period_for_utc(time); end
|
13431
13427
|
|
13432
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13428
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#569
|
13433
13429
|
def periods_for_local(time); end
|
13434
13430
|
|
13435
13431
|
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
|
@@ -13447,7 +13443,7 @@ class ActiveSupport::TimeZone
|
|
13447
13443
|
#
|
13448
13444
|
# @raise [ArgumentError]
|
13449
13445
|
#
|
13450
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13446
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#471
|
13451
13447
|
def rfc3339(str); end
|
13452
13448
|
|
13453
13449
|
# Parses +str+ according to +format+ and returns an ActiveSupport::TimeWithZone.
|
@@ -13471,32 +13467,32 @@ class ActiveSupport::TimeZone
|
|
13471
13467
|
#
|
13472
13468
|
# Time.zone.strptime('Mar 2000', '%b %Y') # => Wed, 01 Mar 2000 00:00:00 HST -10:00
|
13473
13469
|
#
|
13474
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13470
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#509
|
13475
13471
|
def strptime(str, format, now = T.unsafe(nil)); end
|
13476
13472
|
|
13477
13473
|
# Returns a textual representation of this time zone.
|
13478
13474
|
#
|
13479
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13475
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#356
|
13480
13476
|
def to_s; end
|
13481
13477
|
|
13482
13478
|
# Returns the current date in this time zone.
|
13483
13479
|
#
|
13484
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13480
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#523
|
13485
13481
|
def today; end
|
13486
13482
|
|
13487
13483
|
# Returns the next date in this time zone.
|
13488
13484
|
#
|
13489
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13485
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#528
|
13490
13486
|
def tomorrow; end
|
13491
13487
|
|
13492
13488
|
# Returns the value of attribute tzinfo.
|
13493
13489
|
#
|
13494
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13490
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#299
|
13495
13491
|
def tzinfo; end
|
13496
13492
|
|
13497
13493
|
# Returns the offset of this time zone from UTC in seconds.
|
13498
13494
|
#
|
13499
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13495
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#319
|
13500
13496
|
def utc_offset; end
|
13501
13497
|
|
13502
13498
|
# Adjust the given time to the simultaneous time in the time zone
|
@@ -13507,22 +13503,22 @@ class ActiveSupport::TimeZone
|
|
13507
13503
|
# As of tzinfo 2, utc_to_local returns a Time with a non-zero utc_offset.
|
13508
13504
|
# See the +utc_to_local_returns_utc_offset_times+ config for more info.
|
13509
13505
|
#
|
13510
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13506
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#544
|
13511
13507
|
def utc_to_local(time); end
|
13512
13508
|
|
13513
13509
|
# Returns the previous date in this time zone.
|
13514
13510
|
#
|
13515
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13511
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#533
|
13516
13512
|
def yesterday; end
|
13517
13513
|
|
13518
13514
|
private
|
13519
13515
|
|
13520
13516
|
# @raise [ArgumentError]
|
13521
13517
|
#
|
13522
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13518
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#583
|
13523
13519
|
def parts_to_time(parts, now); end
|
13524
13520
|
|
13525
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13521
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#608
|
13526
13522
|
def time_now; end
|
13527
13523
|
|
13528
13524
|
class << self
|
@@ -13532,25 +13528,26 @@ class ActiveSupport::TimeZone
|
|
13532
13528
|
# timezone to find. (The first one with that offset will be returned.)
|
13533
13529
|
# Returns +nil+ if no such time zone is known to the system.
|
13534
13530
|
#
|
13535
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13531
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#234
|
13536
13532
|
def [](arg); end
|
13537
13533
|
|
13538
13534
|
# Returns an array of all TimeZone objects. There are multiple
|
13539
13535
|
# TimeZone objects per time zone, in many cases, to make it easier
|
13540
13536
|
# for users to find their own time zone.
|
13541
13537
|
#
|
13542
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13538
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#225
|
13543
13539
|
def all; end
|
13544
13540
|
|
13545
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13541
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#267
|
13546
13542
|
def clear; end
|
13547
13543
|
|
13548
13544
|
# A convenience method for returning a collection of TimeZone objects
|
13549
13545
|
# for time zones in the country specified by its ISO 3166-1 Alpha2 code.
|
13550
13546
|
#
|
13551
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13547
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#262
|
13552
13548
|
def country_zones(country_code); end
|
13553
13549
|
|
13550
|
+
# :stopdoc:
|
13554
13551
|
def create(*_arg0); end
|
13555
13552
|
|
13556
13553
|
# source://activesupport//lib/active_support/values/time_zone.rb#207
|
@@ -13560,7 +13557,7 @@ class ActiveSupport::TimeZone
|
|
13560
13557
|
# such TimeZone instance exists. (This exists to support the use of
|
13561
13558
|
# this class with the +composed_of+ macro.)
|
13562
13559
|
#
|
13563
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13560
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#218
|
13564
13561
|
def new(name); end
|
13565
13562
|
|
13566
13563
|
# Assumes self represents an offset from UTC in seconds (as returned from
|
@@ -13574,15 +13571,15 @@ class ActiveSupport::TimeZone
|
|
13574
13571
|
# A convenience method for returning a collection of TimeZone objects
|
13575
13572
|
# for time zones in the USA.
|
13576
13573
|
#
|
13577
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13574
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#256
|
13578
13575
|
def us_zones; end
|
13579
13576
|
|
13580
13577
|
private
|
13581
13578
|
|
13582
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13579
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#275
|
13583
13580
|
def load_country_zones(code); end
|
13584
13581
|
|
13585
|
-
# source://activesupport//lib/active_support/values/time_zone.rb#
|
13582
|
+
# source://activesupport//lib/active_support/values/time_zone.rb#289
|
13586
13583
|
def zones_map; end
|
13587
13584
|
end
|
13588
13585
|
end
|
@@ -15802,9 +15799,9 @@ end
|
|
15802
15799
|
# source://activesupport//lib/active_support/core_ext/enumerable.rb#21
|
15803
15800
|
class Enumerable::SoleItemExpectedError < ::StandardError; end
|
15804
15801
|
|
15805
|
-
# source://activesupport//lib/active_support/core_ext/object/json.rb#
|
15802
|
+
# source://activesupport//lib/active_support/core_ext/object/json.rb#250
|
15806
15803
|
class Exception
|
15807
|
-
# source://activesupport//lib/active_support/core_ext/object/json.rb#
|
15804
|
+
# source://activesupport//lib/active_support/core_ext/object/json.rb#251
|
15808
15805
|
def as_json(options = T.unsafe(nil)); end
|
15809
15806
|
end
|
15810
15807
|
|
@@ -16413,9 +16410,9 @@ IO::PRIORITY = T.let(T.unsafe(nil), Integer)
|
|
16413
16410
|
IO::READABLE = T.let(T.unsafe(nil), Integer)
|
16414
16411
|
IO::WRITABLE = T.let(T.unsafe(nil), Integer)
|
16415
16412
|
|
16416
|
-
# source://activesupport//lib/active_support/core_ext/object/json.rb#
|
16413
|
+
# source://activesupport//lib/active_support/core_ext/object/json.rb#237
|
16417
16414
|
class IPAddr
|
16418
|
-
# source://activesupport//lib/active_support/core_ext/object/json.rb#
|
16415
|
+
# source://activesupport//lib/active_support/core_ext/object/json.rb#238
|
16419
16416
|
def as_json(options = T.unsafe(nil)); end
|
16420
16417
|
end
|
16421
16418
|
|
@@ -17534,9 +17531,9 @@ module Process
|
|
17534
17531
|
end
|
17535
17532
|
end
|
17536
17533
|
|
17537
|
-
# source://activesupport//lib/active_support/core_ext/object/json.rb#
|
17534
|
+
# source://activesupport//lib/active_support/core_ext/object/json.rb#244
|
17538
17535
|
class Process::Status
|
17539
|
-
# source://activesupport//lib/active_support/core_ext/object/json.rb#
|
17536
|
+
# source://activesupport//lib/active_support/core_ext/object/json.rb#245
|
17540
17537
|
def as_json(options = T.unsafe(nil)); end
|
17541
17538
|
end
|
17542
17539
|
|