active_cached_resource 0.0.1.pre → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -1
  3. data/Rakefile +22 -14
  4. data/lib/active_cached_resource/version.rb +3 -3
  5. data/lib/activeresource/examples/performance.rb +1 -1
  6. data/lib/activeresource/lib/active_resource/collection.rb +14 -1
  7. data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
  8. data/lib/activeresource/lib/active_resource.rb +1 -1
  9. data/lib/activeresource/test/abstract_unit.rb +2 -1
  10. data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
  11. data/lib/activeresource/test/cases/collection_test.rb +24 -0
  12. data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
  13. data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
  14. data/sorbet/config +2 -0
  15. data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
  16. data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
  17. data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
  18. data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
  19. data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
  20. data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
  21. data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
  22. data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
  23. data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
  24. data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
  25. data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
  26. data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
  27. data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
  28. data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
  29. data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
  30. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
  31. data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
  32. data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
  33. data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
  34. data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
  35. data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
  36. data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
  37. data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
  38. data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
  39. data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
  40. data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
  41. data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
  42. data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
  43. data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
  44. data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
  45. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  46. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
  47. data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
  48. data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
  49. data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
  50. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  51. data/sorbet/tapioca/require.rb +2 -1
  52. metadata +49 -139
  53. data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
  54. data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
  55. data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
  56. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
  57. /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
  58. /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
  59. /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
  60. /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
  61. /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
  62. /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
  63. /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
  64. /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
  65. /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
  66. /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
  67. /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
  68. /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
  69. /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
@@ -3043,7 +3043,10 @@ end
3043
3043
  module ActiveSupport::ClassAttribute
3044
3044
  class << self
3045
3045
  # source://activesupport//lib/active_support/class_attribute.rb#6
3046
- def redefine(owner, name, value); end
3046
+ def redefine(owner, name, namespaced_name, value); end
3047
+
3048
+ # source://activesupport//lib/active_support/class_attribute.rb#26
3049
+ def redefine_method(owner, name, private: T.unsafe(nil), &block); end
3047
3050
  end
3048
3051
  end
3049
3052
 
@@ -3810,11 +3813,11 @@ class ActiveSupport::CurrentAttributes
3810
3813
  def resolve_defaults; end
3811
3814
 
3812
3815
  class << self
3813
- # source://activesupport//lib/active_support/class_attribute.rb#12
3816
+ # source://activesupport//lib/active_support/callbacks.rb#69
3814
3817
  def __callbacks; end
3815
3818
 
3816
- # source://activesupport//lib/active_support/class_attribute.rb#15
3817
- def __callbacks=(new_value); end
3819
+ # source://activesupport//lib/active_support/callbacks.rb#69
3820
+ def __callbacks=(value); end
3818
3821
 
3819
3822
  # source://activesupport//lib/active_support/callbacks.rb#915
3820
3823
  def _reset_callbacks; end
@@ -3847,11 +3850,11 @@ class ActiveSupport::CurrentAttributes
3847
3850
  # source://activesupport//lib/active_support/current_attributes.rb#160
3848
3851
  def clear_all; end
3849
3852
 
3850
- # source://activesupport//lib/active_support/class_attribute.rb#12
3853
+ # source://activesupport//lib/active_support/current_attributes.rb#195
3851
3854
  def defaults; end
3852
3855
 
3853
- # source://activesupport//lib/active_support/class_attribute.rb#15
3854
- def defaults=(new_value); end
3856
+ # source://activesupport//lib/active_support/current_attributes.rb#195
3857
+ def defaults=(value); end
3855
3858
 
3856
3859
  # source://activesupport//lib/active_support/current_attributes.rb#195
3857
3860
  def defaults?; end
@@ -3877,6 +3880,18 @@ class ActiveSupport::CurrentAttributes
3877
3880
 
3878
3881
  private
3879
3882
 
3883
+ # source://activesupport//lib/active_support/class_attribute.rb#15
3884
+ def __class_attr___callbacks; end
3885
+
3886
+ # source://activesupport//lib/active_support/class_attribute.rb#17
3887
+ def __class_attr___callbacks=(new_value); end
3888
+
3889
+ # source://activesupport//lib/active_support/class_attribute.rb#15
3890
+ def __class_attr_defaults; end
3891
+
3892
+ # source://activesupport//lib/active_support/class_attribute.rb#17
3893
+ def __class_attr_defaults=(new_value); end
3894
+
3880
3895
  # source://activesupport//lib/active_support/current_attributes.rb#170
3881
3896
  def current_instances; end
3882
3897
 
@@ -5970,11 +5985,11 @@ class ActiveSupport::ExecutionWrapper
5970
5985
  def hook_state; end
5971
5986
 
5972
5987
  class << self
5973
- # source://activesupport//lib/active_support/class_attribute.rb#12
5988
+ # source://activesupport//lib/active_support/callbacks.rb#69
5974
5989
  def __callbacks; end
5975
5990
 
5976
- # source://activesupport//lib/active_support/class_attribute.rb#15
5977
- def __callbacks=(new_value); end
5991
+ # source://activesupport//lib/active_support/callbacks.rb#69
5992
+ def __callbacks=(value); end
5978
5993
 
5979
5994
  # source://activesupport//lib/active_support/callbacks.rb#915
5980
5995
  def _complete_callbacks; end
@@ -6034,6 +6049,14 @@ class ActiveSupport::ExecutionWrapper
6034
6049
  #
6035
6050
  # source://activesupport//lib/active_support/execution_wrapper.rb#86
6036
6051
  def wrap(source: T.unsafe(nil)); end
6052
+
6053
+ private
6054
+
6055
+ # source://activesupport//lib/active_support/class_attribute.rb#15
6056
+ def __class_attr___callbacks; end
6057
+
6058
+ # source://activesupport//lib/active_support/class_attribute.rb#17
6059
+ def __class_attr___callbacks=(new_value); end
6037
6060
  end
6038
6061
  end
6039
6062
 
@@ -7861,11 +7884,11 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
7861
7884
  # source://activesupport//lib/active_support/log_subscriber.rb#112
7862
7885
  def flush_all!; end
7863
7886
 
7864
- # source://activesupport//lib/active_support/class_attribute.rb#12
7887
+ # source://activesupport//lib/active_support/log_subscriber.rb#84
7865
7888
  def log_levels; end
7866
7889
 
7867
- # source://activesupport//lib/active_support/class_attribute.rb#15
7868
- def log_levels=(new_value); end
7890
+ # source://activesupport//lib/active_support/log_subscriber.rb#84
7891
+ def log_levels=(value); end
7869
7892
 
7870
7893
  # source://activesupport//lib/active_support/log_subscriber.rb#84
7871
7894
  def log_levels?; end
@@ -7885,6 +7908,12 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
7885
7908
 
7886
7909
  private
7887
7910
 
7911
+ # source://activesupport//lib/active_support/class_attribute.rb#15
7912
+ def __class_attr_log_levels; end
7913
+
7914
+ # source://activesupport//lib/active_support/class_attribute.rb#17
7915
+ def __class_attr_log_levels=(new_value); end
7916
+
7888
7917
  # source://activesupport//lib/active_support/log_subscriber.rb#117
7889
7918
  def fetch_public_methods(subscriber, inherit_all); end
7890
7919
 
@@ -7924,6 +7953,112 @@ ActiveSupport::LogSubscriber::MODES = T.let(T.unsafe(nil), Hash)
7924
7953
  # source://activesupport//lib/active_support/log_subscriber.rb#75
7925
7954
  ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String)
7926
7955
 
7956
+ # Provides some helpers to deal with testing log subscribers by setting up
7957
+ # notifications. Take for instance Active Record subscriber tests:
7958
+ #
7959
+ # class SyncLogSubscriberTest < ActiveSupport::TestCase
7960
+ # include ActiveSupport::LogSubscriber::TestHelper
7961
+ #
7962
+ # setup do
7963
+ # ActiveRecord::LogSubscriber.attach_to(:active_record)
7964
+ # end
7965
+ #
7966
+ # def test_basic_query_logging
7967
+ # Developer.all.to_a
7968
+ # wait
7969
+ # assert_equal 1, @logger.logged(:debug).size
7970
+ # assert_match(/Developer Load/, @logger.logged(:debug).last)
7971
+ # assert_match(/SELECT \* FROM "developers"/, @logger.logged(:debug).last)
7972
+ # end
7973
+ # end
7974
+ #
7975
+ # All you need to do is to ensure that your log subscriber is added to
7976
+ # Rails::Subscriber, as in the second line of the code above. The test
7977
+ # helpers are responsible for setting up the queue and subscriptions, and
7978
+ # turning colors in logs off.
7979
+ #
7980
+ # The messages are available in the @logger instance, which is a logger with
7981
+ # limited powers (it actually does not send anything to your output), and
7982
+ # you can collect them doing @logger.logged(level), where level is the level
7983
+ # used in logging, like info, debug, warn, and so on.
7984
+ #
7985
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#37
7986
+ module ActiveSupport::LogSubscriber::TestHelper
7987
+ # Overwrite if you use another logger in your log subscriber.
7988
+ #
7989
+ # def logger
7990
+ # ActiveRecord::Base.logger = @logger
7991
+ # end
7992
+ #
7993
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#101
7994
+ def set_logger(logger); end
7995
+
7996
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#38
7997
+ def setup; end
7998
+
7999
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#49
8000
+ def teardown; end
8001
+
8002
+ # Wait notifications to be published.
8003
+ #
8004
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#92
8005
+ def wait; end
8006
+ end
8007
+
8008
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#54
8009
+ class ActiveSupport::LogSubscriber::TestHelper::MockLogger
8010
+ include ::Logger::Severity
8011
+
8012
+ # @return [MockLogger] a new instance of MockLogger
8013
+ #
8014
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#60
8015
+ def initialize(level = T.unsafe(nil)); end
8016
+
8017
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#84
8018
+ def debug?; end
8019
+
8020
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#84
8021
+ def error?; end
8022
+
8023
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#84
8024
+ def fatal?; end
8025
+
8026
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#78
8027
+ def flush; end
8028
+
8029
+ # Returns the value of attribute flush_count.
8030
+ #
8031
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#57
8032
+ def flush_count; end
8033
+
8034
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#84
8035
+ def info?; end
8036
+
8037
+ # Returns the value of attribute level.
8038
+ #
8039
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#58
8040
+ def level; end
8041
+
8042
+ # Sets the attribute level
8043
+ #
8044
+ # @param value the value to set the attribute level to.
8045
+ #
8046
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#58
8047
+ def level=(_arg0); end
8048
+
8049
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#74
8050
+ def logged(level); end
8051
+
8052
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#66
8053
+ def method_missing(level, message = T.unsafe(nil)); end
8054
+
8055
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#84
8056
+ def unknown?; end
8057
+
8058
+ # source://activesupport//lib/active_support/log_subscriber/test_helper.rb#84
8059
+ def warn?; end
8060
+ end
8061
+
7927
8062
  # source://activesupport//lib/active_support/log_subscriber.rb#81
7928
8063
  ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String)
7929
8064
 
@@ -8702,11 +8837,19 @@ class ActiveSupport::Messages::Codec
8702
8837
  def use_message_serializer_for_metadata?; end
8703
8838
 
8704
8839
  class << self
8705
- # source://activesupport//lib/active_support/class_attribute.rb#12
8840
+ # source://activesupport//lib/active_support/messages/codec.rb#12
8706
8841
  def default_serializer; end
8707
8842
 
8843
+ # source://activesupport//lib/active_support/messages/codec.rb#12
8844
+ def default_serializer=(value); end
8845
+
8846
+ private
8847
+
8708
8848
  # source://activesupport//lib/active_support/class_attribute.rb#15
8709
- def default_serializer=(new_value); end
8849
+ def __class_attr_default_serializer; end
8850
+
8851
+ # source://activesupport//lib/active_support/class_attribute.rb#17
8852
+ def __class_attr_default_serializer=(new_value); end
8710
8853
  end
8711
8854
  end
8712
8855
 
@@ -10548,23 +10691,37 @@ class ActiveSupport::NumberHelper::NumberConverter
10548
10691
  # source://activesupport//lib/active_support/number_helper/number_converter.rb#120
10549
10692
  def convert(number, options); end
10550
10693
 
10551
- # source://activesupport//lib/active_support/class_attribute.rb#12
10694
+ # source://activesupport//lib/active_support/number_helper/number_converter.rb#14
10552
10695
  def namespace; end
10553
10696
 
10554
- # source://activesupport//lib/active_support/class_attribute.rb#15
10555
- def namespace=(new_value); end
10697
+ # source://activesupport//lib/active_support/number_helper/number_converter.rb#14
10698
+ def namespace=(value); end
10556
10699
 
10557
10700
  # source://activesupport//lib/active_support/number_helper/number_converter.rb#14
10558
10701
  def namespace?; end
10559
10702
 
10560
- # source://activesupport//lib/active_support/class_attribute.rb#12
10703
+ # source://activesupport//lib/active_support/number_helper/number_converter.rb#17
10561
10704
  def validate_float; end
10562
10705
 
10563
- # source://activesupport//lib/active_support/class_attribute.rb#15
10564
- def validate_float=(new_value); end
10706
+ # source://activesupport//lib/active_support/number_helper/number_converter.rb#17
10707
+ def validate_float=(value); end
10565
10708
 
10566
10709
  # source://activesupport//lib/active_support/number_helper/number_converter.rb#17
10567
10710
  def validate_float?; end
10711
+
10712
+ private
10713
+
10714
+ # source://activesupport//lib/active_support/class_attribute.rb#15
10715
+ def __class_attr_namespace; end
10716
+
10717
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10718
+ def __class_attr_namespace=(new_value); end
10719
+
10720
+ # source://activesupport//lib/active_support/class_attribute.rb#15
10721
+ def __class_attr_validate_float; end
10722
+
10723
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10724
+ def __class_attr_validate_float=(new_value); end
10568
10725
  end
10569
10726
  end
10570
10727
 
@@ -10585,11 +10742,13 @@ class ActiveSupport::NumberHelper::NumberToCurrencyConverter < ::ActiveSupport::
10585
10742
  def options; end
10586
10743
 
10587
10744
  class << self
10588
- # source://activesupport//lib/active_support/class_attribute.rb#12
10589
- def namespace; end
10745
+ private
10590
10746
 
10591
10747
  # source://activesupport//lib/active_support/class_attribute.rb#15
10592
- def namespace=(new_value); end
10748
+ def __class_attr_namespace; end
10749
+
10750
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10751
+ def __class_attr_namespace=(new_value); end
10593
10752
  end
10594
10753
  end
10595
10754
 
@@ -10607,11 +10766,13 @@ class ActiveSupport::NumberHelper::NumberToDelimitedConverter < ::ActiveSupport:
10607
10766
  def parts; end
10608
10767
 
10609
10768
  class << self
10610
- # source://activesupport//lib/active_support/class_attribute.rb#12
10611
- def validate_float; end
10769
+ private
10612
10770
 
10613
10771
  # source://activesupport//lib/active_support/class_attribute.rb#15
10614
- def validate_float=(new_value); end
10772
+ def __class_attr_validate_float; end
10773
+
10774
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10775
+ def __class_attr_validate_float=(new_value); end
10615
10776
  end
10616
10777
  end
10617
10778
 
@@ -10638,17 +10799,19 @@ class ActiveSupport::NumberHelper::NumberToHumanConverter < ::ActiveSupport::Num
10638
10799
  def unit_exponents(units); end
10639
10800
 
10640
10801
  class << self
10641
- # source://activesupport//lib/active_support/class_attribute.rb#12
10642
- def namespace; end
10802
+ private
10643
10803
 
10644
10804
  # source://activesupport//lib/active_support/class_attribute.rb#15
10645
- def namespace=(new_value); end
10805
+ def __class_attr_namespace; end
10646
10806
 
10647
- # source://activesupport//lib/active_support/class_attribute.rb#12
10648
- def validate_float; end
10807
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10808
+ def __class_attr_namespace=(new_value); end
10649
10809
 
10650
10810
  # source://activesupport//lib/active_support/class_attribute.rb#15
10651
- def validate_float=(new_value); end
10811
+ def __class_attr_validate_float; end
10812
+
10813
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10814
+ def __class_attr_validate_float=(new_value); end
10652
10815
  end
10653
10816
  end
10654
10817
 
@@ -10686,17 +10849,19 @@ class ActiveSupport::NumberHelper::NumberToHumanSizeConverter < ::ActiveSupport:
10686
10849
  def unit; end
10687
10850
 
10688
10851
  class << self
10689
- # source://activesupport//lib/active_support/class_attribute.rb#12
10690
- def namespace; end
10852
+ private
10691
10853
 
10692
10854
  # source://activesupport//lib/active_support/class_attribute.rb#15
10693
- def namespace=(new_value); end
10855
+ def __class_attr_namespace; end
10694
10856
 
10695
- # source://activesupport//lib/active_support/class_attribute.rb#12
10696
- def validate_float; end
10857
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10858
+ def __class_attr_namespace=(new_value); end
10697
10859
 
10698
10860
  # source://activesupport//lib/active_support/class_attribute.rb#15
10699
- def validate_float=(new_value); end
10861
+ def __class_attr_validate_float; end
10862
+
10863
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10864
+ def __class_attr_validate_float=(new_value); end
10700
10865
  end
10701
10866
  end
10702
10867
 
@@ -10709,11 +10874,13 @@ class ActiveSupport::NumberHelper::NumberToPercentageConverter < ::ActiveSupport
10709
10874
  def convert; end
10710
10875
 
10711
10876
  class << self
10712
- # source://activesupport//lib/active_support/class_attribute.rb#12
10713
- def namespace; end
10877
+ private
10714
10878
 
10715
10879
  # source://activesupport//lib/active_support/class_attribute.rb#15
10716
- def namespace=(new_value); end
10880
+ def __class_attr_namespace; end
10881
+
10882
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10883
+ def __class_attr_namespace=(new_value); end
10717
10884
  end
10718
10885
  end
10719
10886
 
@@ -10765,17 +10932,19 @@ class ActiveSupport::NumberHelper::NumberToRoundedConverter < ::ActiveSupport::N
10765
10932
  def strip_insignificant_zeros; end
10766
10933
 
10767
10934
  class << self
10768
- # source://activesupport//lib/active_support/class_attribute.rb#12
10769
- def namespace; end
10935
+ private
10770
10936
 
10771
10937
  # source://activesupport//lib/active_support/class_attribute.rb#15
10772
- def namespace=(new_value); end
10938
+ def __class_attr_namespace; end
10773
10939
 
10774
- # source://activesupport//lib/active_support/class_attribute.rb#12
10775
- def validate_float; end
10940
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10941
+ def __class_attr_namespace=(new_value); end
10776
10942
 
10777
10943
  # source://activesupport//lib/active_support/class_attribute.rb#15
10778
- def validate_float=(new_value); end
10944
+ def __class_attr_validate_float; end
10945
+
10946
+ # source://activesupport//lib/active_support/class_attribute.rb#17
10947
+ def __class_attr_validate_float=(new_value); end
10779
10948
  end
10780
10949
  end
10781
10950
 
@@ -11377,12 +11546,6 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
11377
11546
  def run!; end
11378
11547
 
11379
11548
  class << self
11380
- # source://activesupport//lib/active_support/class_attribute.rb#12
11381
- def __callbacks; end
11382
-
11383
- # source://activesupport//lib/active_support/class_attribute.rb#15
11384
- def __callbacks=(new_value); end
11385
-
11386
11549
  # source://activesupport//lib/active_support/callbacks.rb#915
11387
11550
  def _class_unload_callbacks; end
11388
11551
 
@@ -11405,23 +11568,23 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
11405
11568
  # source://activesupport//lib/active_support/reloader.rb#39
11406
11569
  def before_class_unload(*args, &block); end
11407
11570
 
11408
- # source://activesupport//lib/active_support/class_attribute.rb#12
11571
+ # source://activesupport//lib/active_support/reloader.rb#85
11409
11572
  def check; end
11410
11573
 
11411
11574
  # source://activesupport//lib/active_support/reloader.rb#87
11412
11575
  def check!; end
11413
11576
 
11414
- # source://activesupport//lib/active_support/class_attribute.rb#15
11415
- def check=(new_value); end
11577
+ # source://activesupport//lib/active_support/reloader.rb#85
11578
+ def check=(value); end
11416
11579
 
11417
11580
  # source://activesupport//lib/active_support/reloader.rb#85
11418
11581
  def check?; end
11419
11582
 
11420
- # source://activesupport//lib/active_support/class_attribute.rb#12
11583
+ # source://activesupport//lib/active_support/reloader.rb#84
11421
11584
  def executor; end
11422
11585
 
11423
- # source://activesupport//lib/active_support/class_attribute.rb#15
11424
- def executor=(new_value); end
11586
+ # source://activesupport//lib/active_support/reloader.rb#84
11587
+ def executor=(value); end
11425
11588
 
11426
11589
  # source://activesupport//lib/active_support/reloader.rb#84
11427
11590
  def executor?; end
@@ -11449,6 +11612,26 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
11449
11612
  #
11450
11613
  # source://activesupport//lib/active_support/reloader.rb#71
11451
11614
  def wrap(**kwargs); end
11615
+
11616
+ private
11617
+
11618
+ # source://activesupport//lib/active_support/class_attribute.rb#15
11619
+ def __class_attr___callbacks; end
11620
+
11621
+ # source://activesupport//lib/active_support/class_attribute.rb#17
11622
+ def __class_attr___callbacks=(new_value); end
11623
+
11624
+ # source://activesupport//lib/active_support/class_attribute.rb#15
11625
+ def __class_attr_check; end
11626
+
11627
+ # source://activesupport//lib/active_support/class_attribute.rb#17
11628
+ def __class_attr_check=(new_value); end
11629
+
11630
+ # source://activesupport//lib/active_support/class_attribute.rb#15
11631
+ def __class_attr_executor; end
11632
+
11633
+ # source://activesupport//lib/active_support/class_attribute.rb#17
11634
+ def __class_attr_executor=(new_value); end
11452
11635
  end
11453
11636
  end
11454
11637
 
@@ -12211,43 +12394,43 @@ class ActiveSupport::TestCase < ::Minitest::Test
12211
12394
  # source://activesupport//lib/active_support/callbacks.rb#923
12212
12395
  def _teardown_callbacks; end
12213
12396
 
12214
- # source://minitest/5.25.2/lib/minitest/assertions.rb#731
12397
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#731
12215
12398
  def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end
12216
12399
 
12217
- # source://minitest/5.25.2/lib/minitest/assertions.rb#660
12400
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#660
12218
12401
  def assert_not_empty(obj, msg = T.unsafe(nil)); end
12219
12402
 
12220
- # source://minitest/5.25.2/lib/minitest/assertions.rb#671
12403
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#671
12221
12404
  def assert_not_equal(exp, act, msg = T.unsafe(nil)); end
12222
12405
 
12223
- # source://minitest/5.25.2/lib/minitest/assertions.rb#683
12406
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#683
12224
12407
  def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
12225
12408
 
12226
- # source://minitest/5.25.2/lib/minitest/assertions.rb#695
12409
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#695
12227
12410
  def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
12228
12411
 
12229
- # source://minitest/5.25.2/lib/minitest/assertions.rb#702
12412
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#702
12230
12413
  def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end
12231
12414
 
12232
- # source://minitest/5.25.2/lib/minitest/assertions.rb#713
12415
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#713
12233
12416
  def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end
12234
12417
 
12235
- # source://minitest/5.25.2/lib/minitest/assertions.rb#723
12418
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#723
12236
12419
  def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end
12237
12420
 
12238
- # source://minitest/5.25.2/lib/minitest/assertions.rb#741
12421
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#741
12239
12422
  def assert_not_nil(obj, msg = T.unsafe(nil)); end
12240
12423
 
12241
- # source://minitest/5.25.2/lib/minitest/assertions.rb#776
12424
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#776
12242
12425
  def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
12243
12426
 
12244
- # source://minitest/5.25.2/lib/minitest/assertions.rb#799
12427
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#799
12245
12428
  def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end
12246
12429
 
12247
- # source://minitest/5.25.2/lib/minitest/assertions.rb#808
12430
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#808
12248
12431
  def assert_not_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
12249
12432
 
12250
- # source://minitest/5.25.2/lib/minitest/assertions.rb#817
12433
+ # source://minitest/5.25.4/lib/minitest/assertions.rb#817
12251
12434
  def assert_not_same(exp, act, msg = T.unsafe(nil)); end
12252
12435
 
12253
12436
  # source://activesupport//lib/active_support/testing/file_fixtures.rb#20
@@ -12259,15 +12442,15 @@ class ActiveSupport::TestCase < ::Minitest::Test
12259
12442
  # source://activesupport//lib/active_support/test_case.rb#300
12260
12443
  def inspect; end
12261
12444
 
12262
- # source://minitest/5.25.2/lib/minitest.rb#376
12445
+ # source://minitest/5.25.4/lib/minitest.rb#376
12263
12446
  def method_name; end
12264
12447
 
12265
12448
  class << self
12266
- # source://activesupport//lib/active_support/class_attribute.rb#12
12449
+ # source://activesupport//lib/active_support/callbacks.rb#69
12267
12450
  def __callbacks; end
12268
12451
 
12269
- # source://activesupport//lib/active_support/class_attribute.rb#15
12270
- def __callbacks=(new_value); end
12452
+ # source://activesupport//lib/active_support/callbacks.rb#69
12453
+ def __callbacks=(value); end
12271
12454
 
12272
12455
  # source://activesupport//lib/active_support/callbacks.rb#915
12273
12456
  def _setup_callbacks; end
@@ -12281,11 +12464,11 @@ class ActiveSupport::TestCase < ::Minitest::Test
12281
12464
  # source://activesupport//lib/active_support/callbacks.rb#919
12282
12465
  def _teardown_callbacks=(value); end
12283
12466
 
12284
- # source://activesupport//lib/active_support/class_attribute.rb#12
12467
+ # source://activesupport//lib/active_support/testing/file_fixtures.rb#20
12285
12468
  def file_fixture_path; end
12286
12469
 
12287
- # source://activesupport//lib/active_support/class_attribute.rb#15
12288
- def file_fixture_path=(new_value); end
12470
+ # source://activesupport//lib/active_support/testing/file_fixtures.rb#20
12471
+ def file_fixture_path=(value); end
12289
12472
 
12290
12473
  # source://activesupport//lib/active_support/testing/file_fixtures.rb#20
12291
12474
  def file_fixture_path?; end
@@ -12383,6 +12566,20 @@ class ActiveSupport::TestCase < ::Minitest::Test
12383
12566
  #
12384
12567
  # source://activesupport//lib/active_support/test_case.rb#34
12385
12568
  def test_order=(new_order); end
12569
+
12570
+ private
12571
+
12572
+ # source://activesupport//lib/active_support/class_attribute.rb#15
12573
+ def __class_attr___callbacks; end
12574
+
12575
+ # source://activesupport//lib/active_support/class_attribute.rb#17
12576
+ def __class_attr___callbacks=(new_value); end
12577
+
12578
+ # source://activesupport//lib/active_support/class_attribute.rb#15
12579
+ def __class_attr_file_fixture_path; end
12580
+
12581
+ # source://activesupport//lib/active_support/class_attribute.rb#17
12582
+ def __class_attr_file_fixture_path=(new_value); end
12386
12583
  end
12387
12584
  end
12388
12585
 
@@ -13804,7 +14001,7 @@ class ActiveSupport::TimeWithZone
13804
14001
 
13805
14002
  # Returns a string of the object's date, time, zone, and offset from UTC.
13806
14003
  #
13807
- # Time.zone.now.inspect # => "Thu, 04 Dec 2014 11:00:25.624541392 EST -05:00"
14004
+ # Time.zone.now.inspect # => "2024-11-13 07:00:10.528054960 UTC +00:00"
13808
14005
  #
13809
14006
  # source://activesupport//lib/active_support/time_with_zone.rb#140
13810
14007
  def inspect; end
@@ -15063,11 +15260,11 @@ class Array
15063
15260
  # ==== Options
15064
15261
  #
15065
15262
  # * <tt>:words_connector</tt> - The sign or word used to join all but the last
15066
- # element in arrays with three or more elements (default: ", ").
15263
+ # element in arrays with three or more elements (default: <tt>", "</tt>).
15067
15264
  # * <tt>:last_word_connector</tt> - The sign or word used to join the last element
15068
- # in arrays with three or more elements (default: ", and ").
15265
+ # in arrays with three or more elements (default: <tt>", and "</tt>).
15069
15266
  # * <tt>:two_words_connector</tt> - The sign or word used to join the elements
15070
- # in arrays with two elements (default: " and ").
15267
+ # in arrays with two elements (default: <tt>" and "</tt>).
15071
15268
  # * <tt>:locale</tt> - If +i18n+ is available, you can set a locale and use
15072
15269
  # the connector options defined on the 'support.array' namespace in the
15073
15270
  # corresponding dictionary file.
@@ -16876,7 +17073,7 @@ ERB::Util::TAG_NAME_REPLACEMENT_CHAR = T.let(T.unsafe(nil), String)
16876
17073
  # source://activesupport//lib/active_support/core_ext/erb/util.rb#44
16877
17074
  ERB::Util::TAG_NAME_START_CODEPOINTS = T.let(T.unsafe(nil), String)
16878
17075
 
16879
- # source://activesupport//lib/active_support/core_ext/enumerable.rb#18
17076
+ # source://activesupport//lib/active_support/core_ext/object/json.rb#145
16880
17077
  module Enumerable
16881
17078
  include ::ActiveSupport::ToJsonWithActiveSupportEncoder
16882
17079
  extend ::ActiveSupport::EnumerableCoreExt::Constants
@@ -19783,6 +19980,7 @@ class Pathname
19783
19980
  end
19784
19981
 
19785
19982
  module Process
19983
+ extend ::SQLite3::ForkSafety::CoreExt
19786
19984
  extend ::ActiveSupport::ForkTracker::CoreExt
19787
19985
 
19788
19986
  class << self
@@ -19797,7 +19995,7 @@ class Process::Status
19797
19995
  def as_json(options = T.unsafe(nil)); end
19798
19996
  end
19799
19997
 
19800
- # source://activesupport//lib/active_support/core_ext/enumerable.rb#238
19998
+ # source://activesupport//lib/active_support/core_ext/object/json.rb#157
19801
19999
  class Range
19802
20000
  include ::ActiveSupport::RangeWithFormat
19803
20001
  include ::ActiveSupport::CompareWithRange
@@ -19867,33 +20065,10 @@ end
19867
20065
  # source://activesupport//lib/active_support/core_ext/securerandom.rb#5
19868
20066
  module SecureRandom
19869
20067
  class << self
19870
- # SecureRandom.base36 generates a random base36 string in lowercase.
19871
- #
19872
- # The argument _n_ specifies the length of the random string to be generated.
19873
- #
19874
- # If _n_ is not specified or is +nil+, 16 is assumed. It may be larger in the future.
19875
- # This method can be used over +base58+ if a deterministic case key is necessary.
19876
- #
19877
- # The result will contain alphanumeric characters in lowercase.
19878
- #
19879
- # p SecureRandom.base36 # => "4kugl2pdqmscqtje"
19880
- # p SecureRandom.base36(24) # => "77tmhrhjfvfdwodq8w7ev2m7"
19881
- #
19882
- # source://activesupport//lib/active_support/core_ext/securerandom.rb#34
20068
+ # source://activesupport//lib/active_support/core_ext/securerandom.rb#45
19883
20069
  def base36(n = T.unsafe(nil)); end
19884
20070
 
19885
- # SecureRandom.base58 generates a random base58 string.
19886
- #
19887
- # The argument _n_ specifies the length of the random string to be generated.
19888
- #
19889
- # If _n_ is not specified or is +nil+, 16 is assumed. It may be larger in the future.
19890
- #
19891
- # The result may contain alphanumeric characters except 0, O, I, and l.
19892
- #
19893
- # p SecureRandom.base58 # => "4kUgL2pdQMSCQtjE"
19894
- # p SecureRandom.base58(24) # => "77TMHrHJFvFDwodq8w7Ev2m7"
19895
- #
19896
- # source://activesupport//lib/active_support/core_ext/securerandom.rb#19
20071
+ # source://activesupport//lib/active_support/core_ext/securerandom.rb#20
19897
20072
  def base58(n = T.unsafe(nil)); end
19898
20073
  end
19899
20074
  end
@@ -19923,7 +20098,7 @@ end
19923
20098
  #
19924
20099
  # 'ScaleScore'.tableize # => "scale_scores"
19925
20100
  #
19926
- # source://activesupport//lib/active_support/core_ext/object/blank.rb#135
20101
+ # source://activesupport//lib/active_support/core_ext/string/multibyte.rb#5
19927
20102
  class String
19928
20103
  include ::Comparable
19929
20104