mootool 0.2.6 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -1
  3. data/.rubocop.yml +7 -0
  4. data/Gemfile +1 -0
  5. data/Gemfile.lock +71 -67
  6. data/lib/mootool/command.rb +1 -0
  7. data/lib/mootool/controller_base.rb +1 -0
  8. data/lib/mootool/controllers/dwarf.rb +2 -1
  9. data/lib/mootool/controllers/dyld_linker.rb +1 -0
  10. data/lib/mootool/controllers/dyld_shared_cache.rb +1 -0
  11. data/lib/mootool/controllers/fat_binary.rb +1 -0
  12. data/lib/mootool/controllers/kernel_collection.rb +4 -3
  13. data/lib/mootool/controllers/sections.rb +1 -0
  14. data/lib/mootool/core_extensions.rb +3 -3
  15. data/lib/mootool/models/decompressor.rb +5 -2
  16. data/lib/mootool/models/device_tree.rb +5 -3
  17. data/lib/mootool/models/img4.rb +2 -1
  18. data/lib/mootool/models/ipsw.rb +5 -1
  19. data/lib/mootool/version.rb +2 -1
  20. data/lib/mootool.rb +1 -0
  21. data/sorbet/config +1 -1
  22. data/sorbet/rbi/annotations/.gitattributes +1 -0
  23. data/sorbet/rbi/annotations/rainbow.rbi +2 -2
  24. data/sorbet/rbi/gems/.gitattributes +1 -0
  25. data/sorbet/rbi/gems/ast@2.4.2.rbi +48 -82
  26. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +107 -153
  27. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +192 -332
  28. data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
  29. data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
  30. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +166 -276
  31. data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.6.3.rbi} +119 -228
  32. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  33. data/sorbet/rbi/gems/lzfse@0.0.2.rbi +55 -0
  34. data/sorbet/rbi/gems/lzss@0.1.rbi +8 -0
  35. data/sorbet/rbi/gems/netrc@0.11.0.rbi +52 -80
  36. data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.60.0.rbi} +534 -887
  37. data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
  38. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +5451 -0
  39. data/sorbet/rbi/gems/{plist@3.6.0.rbi → plist@3.7.0.rbi} +125 -3
  40. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  41. data/sorbet/rbi/gems/prism@0.17.1.rbi +27700 -0
  42. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  43. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +141 -191
  44. data/sorbet/rbi/gems/rake@13.1.0.rbi +2887 -0
  45. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.4.rbi} +979 -1676
  46. data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
  47. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +811 -1268
  48. data/sorbet/rbi/gems/{rspec-core@3.11.0.rbi → rspec-core@3.12.2.rbi} +2662 -4722
  49. data/sorbet/rbi/gems/{rspec-expectations@3.11.0.rbi → rspec-expectations@3.12.3.rbi} +1557 -2608
  50. data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5306 -0
  51. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
  52. data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
  53. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7090 -0
  54. data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
  55. data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
  56. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +88 -173
  57. data/sorbet/rbi/gems/rubocop-rspec@2.25.0.rbi +7997 -0
  58. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56813 -0
  59. data/sorbet/rbi/gems/ruby-lzma@0.4.3.rbi +19 -0
  60. data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +899 -1237
  61. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  62. data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +808 -1275
  63. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
  64. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
  65. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  66. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  67. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  68. data/sorbet/rbi/gems/tapioca@0.11.12.rbi +3507 -0
  69. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  70. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  71. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +4531 -7160
  72. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +24 -72
  73. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +385 -1697
  74. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +7 -30
  75. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +1 -3
  76. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  77. data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +35 -0
  78. data/sorbet/tapioca/require.rb +13 -1
  79. metadata +47 -36
  80. data/.DS_Store +0 -0
  81. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  82. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  83. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -353
  84. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6198
  85. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  86. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3587
  87. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3927
  88. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -6506
  89. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -2040
  90. data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -120
  91. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7990
  92. data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +0 -7604
  93. data/sorbet/rbi/gems/rubocop@1.35.0.rbi +0 -62260
  94. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1445
  95. data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2829
  96. data/sorbet/rbi/gems/tapioca@0.9.3.rbi +0 -2151
  97. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -4532
  98. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -60
  99. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
  100. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -3075
  101. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -458
  102. data/sorbet/rbi/todo.rbi +0 -7
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Extends any Class to include _json_creatable?_ method.
8
8
  #
9
- # source://json-2.6.2/lib/json/common.rb:695
9
+ # source://json//lib/json/common.rb#695
10
10
  class Class < ::Module
11
11
  # Returns true if this class can be used to create an instance
12
12
  # from a serialised JSON string. The class has to implement a class
@@ -15,7 +15,7 @@ class Class < ::Module
15
15
  #
16
16
  # @return [Boolean]
17
17
  #
18
- # source://json-2.6.2/lib/json/common.rb:700
18
+ # source://json//lib/json/common.rb#700
19
19
  def json_creatable?; end
20
20
  end
21
21
 
@@ -589,7 +589,7 @@ end
589
589
  # Without custom addition: "#<Foo:0x0000000006534e80>" (String)
590
590
  # With custom addition: #<Foo:0x0000000006473bb8 @bar=0, @baz=1> (Foo)
591
591
  #
592
- # source://json-2.6.2/lib/json/version.rb:2
592
+ # source://json//lib/json/version.rb#2
593
593
  module JSON
594
594
  private
595
595
 
@@ -621,10 +621,8 @@ module JSON
621
621
  # Output:
622
622
  # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"}
623
623
  #
624
- # source://json-2.6.2/lib/json/common.rb:631
625
- def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil))
626
- ;
627
- end
624
+ # source://json//lib/json/common.rb#631
625
+ def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil)); end
628
626
 
629
627
  # :call-seq:
630
628
  # JSON.fast_generate(obj, opts) -> new_string
@@ -640,18 +638,14 @@ module JSON
640
638
  # # Raises SystemStackError (stack level too deep):
641
639
  # JSON.fast_generate(a)
642
640
  #
643
- # source://json-2.6.2/lib/json/common.rb:335
644
- def fast_generate(obj, opts = T.unsafe(nil))
645
- ;
646
- end
641
+ # source://json//lib/json/common.rb#335
642
+ def fast_generate(obj, opts = T.unsafe(nil)); end
647
643
 
648
644
  # :stopdoc:
649
645
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
650
646
  #
651
- # source://json-2.6.2/lib/json/common.rb:335
652
- def fast_unparse(obj, opts = T.unsafe(nil))
653
- ;
654
- end
647
+ # source://json//lib/json/common.rb#335
648
+ def fast_unparse(obj, opts = T.unsafe(nil)); end
655
649
 
656
650
  # :call-seq:
657
651
  # JSON.generate(obj, opts = nil) -> new_string
@@ -689,10 +683,8 @@ module JSON
689
683
  # # Raises JSON::NestingError (nesting of 100 is too deep):
690
684
  # JSON.generate(a)
691
685
  #
692
- # source://json-2.6.2/lib/json/common.rb:296
693
- def generate(obj, opts = T.unsafe(nil))
694
- ;
695
- end
686
+ # source://json//lib/json/common.rb#296
687
+ def generate(obj, opts = T.unsafe(nil)); end
696
688
 
697
689
  # :call-seq:
698
690
  # JSON.load(source, proc = nil, options = {}) -> object
@@ -822,10 +814,8 @@ module JSON
822
814
  # #<Admin:0x00000000064c41f8
823
815
  # @attributes={"type"=>"Admin", "password"=>"0wn3d"}>}
824
816
  #
825
- # source://json-2.6.2/lib/json/common.rb:557
826
- def load(source, proc = T.unsafe(nil), options = T.unsafe(nil))
827
- ;
828
- end
817
+ # source://json//lib/json/common.rb#557
818
+ def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
829
819
 
830
820
  # :call-seq:
831
821
  # JSON.load_file(path, opts={}) -> object
@@ -835,10 +825,8 @@ module JSON
835
825
  #
836
826
  # See method #parse.
837
827
  #
838
- # source://json-2.6.2/lib/json/common.rb:245
839
- def load_file(filespec, opts = T.unsafe(nil))
840
- ;
841
- end
828
+ # source://json//lib/json/common.rb#245
829
+ def load_file(filespec, opts = T.unsafe(nil)); end
842
830
 
843
831
  # :call-seq:
844
832
  # JSON.load_file!(path, opts = {})
@@ -848,10 +836,8 @@ module JSON
848
836
  #
849
837
  # See method #parse!
850
838
  #
851
- # source://json-2.6.2/lib/json/common.rb:256
852
- def load_file!(filespec, opts = T.unsafe(nil))
853
- ;
854
- end
839
+ # source://json//lib/json/common.rb#256
840
+ def load_file!(filespec, opts = T.unsafe(nil)); end
855
841
 
856
842
  # :call-seq:
857
843
  # JSON.parse(source, opts) -> object
@@ -901,10 +887,8 @@ module JSON
901
887
  # # Raises JSON::ParserError (783: unexpected token at ''):
902
888
  # JSON.parse('')
903
889
  #
904
- # source://json-2.6.2/lib/json/common.rb:215
905
- def parse(source, opts = T.unsafe(nil))
906
- ;
907
- end
890
+ # source://json//lib/json/common.rb#215
891
+ def parse(source, opts = T.unsafe(nil)); end
908
892
 
909
893
  # :call-seq:
910
894
  # JSON.parse!(source, opts) -> object
@@ -918,10 +902,8 @@ module JSON
918
902
  # which disables checking for nesting depth.
919
903
  # - Option +allow_nan+, if not provided, defaults to +true+.
920
904
  #
921
- # source://json-2.6.2/lib/json/common.rb:230
922
- def parse!(source, opts = T.unsafe(nil))
923
- ;
924
- end
905
+ # source://json//lib/json/common.rb#230
906
+ def parse!(source, opts = T.unsafe(nil)); end
925
907
 
926
908
  # :call-seq:
927
909
  # JSON.pretty_generate(obj, opts = nil) -> new_string
@@ -953,39 +935,29 @@ module JSON
953
935
  # }
954
936
  # }
955
937
  #
956
- # source://json-2.6.2/lib/json/common.rb:390
957
- def pretty_generate(obj, opts = T.unsafe(nil))
958
- ;
959
- end
938
+ # source://json//lib/json/common.rb#390
939
+ def pretty_generate(obj, opts = T.unsafe(nil)); end
960
940
 
961
941
  # :stopdoc:
962
942
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
963
943
  #
964
- # source://json-2.6.2/lib/json/common.rb:390
965
- def pretty_unparse(obj, opts = T.unsafe(nil))
966
- ;
967
- end
944
+ # source://json//lib/json/common.rb#390
945
+ def pretty_unparse(obj, opts = T.unsafe(nil)); end
968
946
 
969
947
  # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
970
948
  #
971
- # source://json-2.6.2/lib/json/common.rb:575
972
- def recurse_proc(result, &proc)
973
- ;
974
- end
949
+ # source://json//lib/json/common.rb#575
950
+ def recurse_proc(result, &proc); end
975
951
 
976
- # source://json-2.6.2/lib/json/common.rb:557
977
- def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil))
978
- ;
979
- end
952
+ # source://json//lib/json/common.rb#557
953
+ def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
980
954
 
981
955
  # :stopdoc:
982
956
  # I want to deprecate these later, so I'll first be silent about them, and
983
957
  # later delete them.
984
958
  #
985
- # source://json-2.6.2/lib/json/common.rb:296
986
- def unparse(obj, opts = T.unsafe(nil))
987
- ;
988
- end
959
+ # source://json//lib/json/common.rb#296
960
+ def unparse(obj, opts = T.unsafe(nil)); end
989
961
 
990
962
  class << self
991
963
  # :call-seq:
@@ -1000,30 +972,26 @@ module JSON
1000
972
  # ruby = [0, 1, nil]
1001
973
  # JSON[ruby] # => '[0,1,null]'
1002
974
  #
1003
- # source://json-2.6.2/lib/json/common.rb:18
1004
- def [](object, opts = T.unsafe(nil))
1005
- ;
1006
- end
975
+ # source://json//lib/json/common.rb#18
976
+ def [](object, opts = T.unsafe(nil)); end
1007
977
 
1008
- # source://json-2.6.2/lib/json/common.rb:81
978
+ # source://json//lib/json/common.rb#81
1009
979
  def create_fast_state; end
1010
980
 
1011
981
  # Returns the current create identifier.
1012
982
  # See also JSON.create_id=.
1013
983
  #
1014
- # source://json-2.6.2/lib/json/common.rb:126
984
+ # source://json//lib/json/common.rb#126
1015
985
  def create_id; end
1016
986
 
1017
987
  # Sets create identifier, which is used to decide if the _json_create_
1018
988
  # hook of a class should be called; initial value is +json_class+:
1019
989
  # JSON.create_id # => 'json_class'
1020
990
  #
1021
- # source://json-2.6.2/lib/json/common.rb:120
1022
- def create_id=(new_value)
1023
- ;
1024
- end
991
+ # source://json//lib/json/common.rb#120
992
+ def create_id=(new_value); end
1025
993
 
1026
- # source://json-2.6.2/lib/json/common.rb:91
994
+ # source://json//lib/json/common.rb#91
1027
995
  def create_pretty_state; end
1028
996
 
1029
997
  # Return the constant located at _path_. The format of _path_ has to be
@@ -1031,10 +999,8 @@ module JSON
1031
999
  # level (absolute namespace path?). If there doesn't exist a constant at
1032
1000
  # the given path, an ArgumentError is raised.
1033
1001
  #
1034
- # source://json-2.6.2/lib/json/common.rb:42
1035
- def deep_const_get(path)
1036
- ;
1037
- end
1002
+ # source://json//lib/json/common.rb#42
1003
+ def deep_const_get(path); end
1038
1004
 
1039
1005
  # :call-seq:
1040
1006
  # JSON.dump(obj, io = nil, limit = nil)
@@ -1064,17 +1030,15 @@ module JSON
1064
1030
  # Output:
1065
1031
  # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"}
1066
1032
  #
1067
- # source://json-2.6.2/lib/json/common.rb:631
1068
- def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil))
1069
- ;
1070
- end
1033
+ # source://json//lib/json/common.rb#631
1034
+ def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil)); end
1071
1035
 
1072
1036
  # Sets or returns the default options for the JSON.dump method.
1073
1037
  # Initially:
1074
1038
  # opts = JSON.dump_default_options
1075
1039
  # opts # => {:max_nesting=>false, :allow_nan=>true, :escape_slash=>false}
1076
1040
  #
1077
- # source://json-2.6.2/lib/json/common.rb:596
1041
+ # source://json//lib/json/common.rb#596
1078
1042
  def dump_default_options; end
1079
1043
 
1080
1044
  # Sets or returns the default options for the JSON.dump method.
@@ -1082,10 +1046,8 @@ module JSON
1082
1046
  # opts = JSON.dump_default_options
1083
1047
  # opts # => {:max_nesting=>false, :allow_nan=>true, :escape_slash=>false}
1084
1048
  #
1085
- # source://json-2.6.2/lib/json/common.rb:596
1086
- def dump_default_options=(_arg0)
1087
- ;
1088
- end
1049
+ # source://json//lib/json/common.rb#596
1050
+ def dump_default_options=(_arg0); end
1089
1051
 
1090
1052
  # :call-seq:
1091
1053
  # JSON.fast_generate(obj, opts) -> new_string
@@ -1101,18 +1063,14 @@ module JSON
1101
1063
  # # Raises SystemStackError (stack level too deep):
1102
1064
  # JSON.fast_generate(a)
1103
1065
  #
1104
- # source://json-2.6.2/lib/json/common.rb:335
1105
- def fast_generate(obj, opts = T.unsafe(nil))
1106
- ;
1107
- end
1066
+ # source://json//lib/json/common.rb#335
1067
+ def fast_generate(obj, opts = T.unsafe(nil)); end
1108
1068
 
1109
1069
  # :stopdoc:
1110
1070
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
1111
1071
  #
1112
- # source://json-2.6.2/lib/json/common.rb:335
1113
- def fast_unparse(obj, opts = T.unsafe(nil))
1114
- ;
1115
- end
1072
+ # source://json//lib/json/common.rb#335
1073
+ def fast_unparse(obj, opts = T.unsafe(nil)); end
1116
1074
 
1117
1075
  # :call-seq:
1118
1076
  # JSON.generate(obj, opts = nil) -> new_string
@@ -1150,31 +1108,25 @@ module JSON
1150
1108
  # # Raises JSON::NestingError (nesting of 100 is too deep):
1151
1109
  # JSON.generate(a)
1152
1110
  #
1153
- # source://json-2.6.2/lib/json/common.rb:296
1154
- def generate(obj, opts = T.unsafe(nil))
1155
- ;
1156
- end
1111
+ # source://json//lib/json/common.rb#296
1112
+ def generate(obj, opts = T.unsafe(nil)); end
1157
1113
 
1158
1114
  # Returns the JSON generator module that is used by JSON. This is
1159
1115
  # either JSON::Ext::Generator or JSON::Pure::Generator:
1160
1116
  # JSON.generator # => JSON::Ext::Generator
1161
1117
  #
1162
- # source://json-2.6.2/lib/json/common.rb:103
1118
+ # source://json//lib/json/common.rb#103
1163
1119
  def generator; end
1164
1120
 
1165
1121
  # Set the module _generator_ to be used by JSON.
1166
1122
  #
1167
- # source://json-2.6.2/lib/json/common.rb:58
1168
- def generator=(generator)
1169
- ;
1170
- end
1123
+ # source://json//lib/json/common.rb#58
1124
+ def generator=(generator); end
1171
1125
 
1172
1126
  # Encodes string using String.encode.
1173
1127
  #
1174
- # source://json-2.6.2/lib/json/common.rb:653
1175
- def iconv(to, from, string)
1176
- ;
1177
- end
1128
+ # source://json//lib/json/common.rb#653
1129
+ def iconv(to, from, string); end
1178
1130
 
1179
1131
  # :call-seq:
1180
1132
  # JSON.load(source, proc = nil, options = {}) -> object
@@ -1304,17 +1256,15 @@ module JSON
1304
1256
  # #<Admin:0x00000000064c41f8
1305
1257
  # @attributes={"type"=>"Admin", "password"=>"0wn3d"}>}
1306
1258
  #
1307
- # source://json-2.6.2/lib/json/common.rb:557
1308
- def load(source, proc = T.unsafe(nil), options = T.unsafe(nil))
1309
- ;
1310
- end
1259
+ # source://json//lib/json/common.rb#557
1260
+ def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
1311
1261
 
1312
1262
  # Sets or returns default options for the JSON.load method.
1313
1263
  # Initially:
1314
1264
  # opts = JSON.load_default_options
1315
1265
  # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true}
1316
1266
  #
1317
- # source://json-2.6.2/lib/json/common.rb:420
1267
+ # source://json//lib/json/common.rb#420
1318
1268
  def load_default_options; end
1319
1269
 
1320
1270
  # Sets or returns default options for the JSON.load method.
@@ -1322,10 +1272,8 @@ module JSON
1322
1272
  # opts = JSON.load_default_options
1323
1273
  # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true}
1324
1274
  #
1325
- # source://json-2.6.2/lib/json/common.rb:420
1326
- def load_default_options=(_arg0)
1327
- ;
1328
- end
1275
+ # source://json//lib/json/common.rb#420
1276
+ def load_default_options=(_arg0); end
1329
1277
 
1330
1278
  # :call-seq:
1331
1279
  # JSON.load_file(path, opts={}) -> object
@@ -1335,10 +1283,8 @@ module JSON
1335
1283
  #
1336
1284
  # See method #parse.
1337
1285
  #
1338
- # source://json-2.6.2/lib/json/common.rb:245
1339
- def load_file(filespec, opts = T.unsafe(nil))
1340
- ;
1341
- end
1286
+ # source://json//lib/json/common.rb#245
1287
+ def load_file(filespec, opts = T.unsafe(nil)); end
1342
1288
 
1343
1289
  # :call-seq:
1344
1290
  # JSON.load_file!(path, opts = {})
@@ -1348,10 +1294,8 @@ module JSON
1348
1294
  #
1349
1295
  # See method #parse!
1350
1296
  #
1351
- # source://json-2.6.2/lib/json/common.rb:256
1352
- def load_file!(filespec, opts = T.unsafe(nil))
1353
- ;
1354
- end
1297
+ # source://json//lib/json/common.rb#256
1298
+ def load_file!(filespec, opts = T.unsafe(nil)); end
1355
1299
 
1356
1300
  # :call-seq:
1357
1301
  # JSON.parse(source, opts) -> object
@@ -1401,10 +1345,8 @@ module JSON
1401
1345
  # # Raises JSON::ParserError (783: unexpected token at ''):
1402
1346
  # JSON.parse('')
1403
1347
  #
1404
- # source://json-2.6.2/lib/json/common.rb:215
1405
- def parse(source, opts = T.unsafe(nil))
1406
- ;
1407
- end
1348
+ # source://json//lib/json/common.rb#215
1349
+ def parse(source, opts = T.unsafe(nil)); end
1408
1350
 
1409
1351
  # :call-seq:
1410
1352
  # JSON.parse!(source, opts) -> object
@@ -1418,24 +1360,20 @@ module JSON
1418
1360
  # which disables checking for nesting depth.
1419
1361
  # - Option +allow_nan+, if not provided, defaults to +true+.
1420
1362
  #
1421
- # source://json-2.6.2/lib/json/common.rb:230
1422
- def parse!(source, opts = T.unsafe(nil))
1423
- ;
1424
- end
1363
+ # source://json//lib/json/common.rb#230
1364
+ def parse!(source, opts = T.unsafe(nil)); end
1425
1365
 
1426
1366
  # Returns the JSON parser class that is used by JSON. This is either
1427
1367
  # JSON::Ext::Parser or JSON::Pure::Parser:
1428
1368
  # JSON.parser # => JSON::Ext::Parser
1429
1369
  #
1430
- # source://json-2.6.2/lib/json/common.rb:29
1370
+ # source://json//lib/json/common.rb#29
1431
1371
  def parser; end
1432
1372
 
1433
1373
  # Set the JSON parser class _parser_ to be used by JSON.
1434
1374
  #
1435
- # source://json-2.6.2/lib/json/common.rb:32
1436
- def parser=(parser)
1437
- ;
1438
- end
1375
+ # source://json//lib/json/common.rb#32
1376
+ def parser=(parser); end
1439
1377
 
1440
1378
  # :call-seq:
1441
1379
  # JSON.pretty_generate(obj, opts = nil) -> new_string
@@ -1467,145 +1405,115 @@ module JSON
1467
1405
  # }
1468
1406
  # }
1469
1407
  #
1470
- # source://json-2.6.2/lib/json/common.rb:390
1471
- def pretty_generate(obj, opts = T.unsafe(nil))
1472
- ;
1473
- end
1408
+ # source://json//lib/json/common.rb#390
1409
+ def pretty_generate(obj, opts = T.unsafe(nil)); end
1474
1410
 
1475
1411
  # :stopdoc:
1476
1412
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
1477
1413
  #
1478
- # source://json-2.6.2/lib/json/common.rb:390
1479
- def pretty_unparse(obj, opts = T.unsafe(nil))
1480
- ;
1481
- end
1414
+ # source://json//lib/json/common.rb#390
1415
+ def pretty_unparse(obj, opts = T.unsafe(nil)); end
1482
1416
 
1483
1417
  # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
1484
1418
  #
1485
- # source://json-2.6.2/lib/json/common.rb:575
1486
- def recurse_proc(result, &proc)
1487
- ;
1488
- end
1419
+ # source://json//lib/json/common.rb#575
1420
+ def recurse_proc(result, &proc); end
1489
1421
 
1490
- # source://json-2.6.2/lib/json/common.rb:557
1491
- def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil))
1492
- ;
1493
- end
1422
+ # source://json//lib/json/common.rb#557
1423
+ def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
1494
1424
 
1495
1425
  # Sets or Returns the JSON generator state class that is used by JSON. This is
1496
1426
  # either JSON::Ext::Generator::State or JSON::Pure::Generator::State:
1497
1427
  # JSON.state # => JSON::Ext::Generator::State
1498
1428
  #
1499
- # source://json-2.6.2/lib/json/common.rb:108
1429
+ # source://json//lib/json/common.rb#108
1500
1430
  def state; end
1501
1431
 
1502
1432
  # Sets or Returns the JSON generator state class that is used by JSON. This is
1503
1433
  # either JSON::Ext::Generator::State or JSON::Pure::Generator::State:
1504
1434
  # JSON.state # => JSON::Ext::Generator::State
1505
1435
  #
1506
- # source://json-2.6.2/lib/json/common.rb:108
1507
- def state=(_arg0)
1508
- ;
1509
- end
1436
+ # source://json//lib/json/common.rb#108
1437
+ def state=(_arg0); end
1510
1438
 
1511
1439
  # :stopdoc:
1512
1440
  # I want to deprecate these later, so I'll first be silent about them, and
1513
1441
  # later delete them.
1514
1442
  #
1515
- # source://json-2.6.2/lib/json/common.rb:296
1516
- def unparse(obj, opts = T.unsafe(nil))
1517
- ;
1518
- end
1443
+ # source://json//lib/json/common.rb#296
1444
+ def unparse(obj, opts = T.unsafe(nil)); end
1519
1445
  end
1520
1446
  end
1521
1447
 
1522
- # source://json-2.6.2/lib/json/common.rb:114
1448
+ # source://json//lib/json/common.rb#114
1523
1449
  JSON::CREATE_ID_TLS_KEY = T.let(T.unsafe(nil), String)
1524
1450
 
1525
- # source://json-2.6.2/lib/json/common.rb:111
1451
+ # source://json//lib/json/common.rb#111
1526
1452
  JSON::DEFAULT_CREATE_ID = T.let(T.unsafe(nil), String)
1527
1453
 
1528
- # source://json-2.6.2/lib/json/generic_object.rb:5
1454
+ # source://json//lib/json/generic_object.rb#5
1529
1455
  class JSON::GenericObject < ::OpenStruct
1530
- # source://json-2.6.2/lib/json/generic_object.rb:63
1531
- def as_json(*_arg0)
1532
- ;
1533
- end
1456
+ # source://json//lib/json/generic_object.rb#63
1457
+ def as_json(*_arg0); end
1534
1458
 
1535
- # source://json-2.6.2/lib/json/generic_object.rb:47
1459
+ # source://json//lib/json/generic_object.rb#47
1536
1460
  def to_hash; end
1537
1461
 
1538
- # source://json-2.6.2/lib/json/generic_object.rb:67
1539
- def to_json(*a)
1540
- ;
1541
- end
1462
+ # source://json//lib/json/generic_object.rb#67
1463
+ def to_json(*a); end
1542
1464
 
1543
- # source://json-2.6.2/lib/json/generic_object.rb:59
1544
- def |(other)
1545
- ;
1546
- end
1465
+ # source://json//lib/json/generic_object.rb#59
1466
+ def |(other); end
1547
1467
 
1548
1468
  class << self
1549
- # source://json-2.6.2/lib/json/generic_object.rb:41
1550
- def dump(obj, *args)
1551
- ;
1552
- end
1469
+ # source://json//lib/json/generic_object.rb#41
1470
+ def dump(obj, *args); end
1553
1471
 
1554
- # source://json-2.6.2/lib/json/generic_object.rb:21
1555
- def from_hash(object)
1556
- ;
1557
- end
1472
+ # source://json//lib/json/generic_object.rb#21
1473
+ def from_hash(object); end
1558
1474
 
1559
1475
  # Sets the attribute json_creatable
1560
1476
  #
1561
1477
  # @param value the value to set the attribute json_creatable to.
1562
1478
  #
1563
- # source://json-2.6.2/lib/json/generic_object.rb:13
1564
- def json_creatable=(_arg0)
1565
- ;
1566
- end
1479
+ # source://json//lib/json/generic_object.rb#13
1480
+ def json_creatable=(_arg0); end
1567
1481
 
1568
1482
  # @return [Boolean]
1569
1483
  #
1570
- # source://json-2.6.2/lib/json/generic_object.rb:9
1484
+ # source://json//lib/json/generic_object.rb#9
1571
1485
  def json_creatable?; end
1572
1486
 
1573
- # source://json-2.6.2/lib/json/generic_object.rb:15
1574
- def json_create(data)
1575
- ;
1576
- end
1487
+ # source://json//lib/json/generic_object.rb#15
1488
+ def json_create(data); end
1577
1489
 
1578
- # source://json-2.6.2/lib/json/generic_object.rb:36
1579
- def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil))
1580
- ;
1581
- end
1490
+ # source://json//lib/json/generic_object.rb#36
1491
+ def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end
1582
1492
  end
1583
1493
  end
1584
1494
 
1585
1495
  # The base exception for JSON errors.
1586
1496
  #
1587
- # source://json-2.6.2/lib/json/common.rb:137
1497
+ # source://json//lib/json/common.rb#137
1588
1498
  class JSON::JSONError < ::StandardError
1589
1499
  class << self
1590
- # source://json-2.6.2/lib/json/common.rb:138
1591
- def wrap(exception)
1592
- ;
1593
- end
1500
+ # source://json//lib/json/common.rb#138
1501
+ def wrap(exception); end
1594
1502
  end
1595
1503
  end
1596
1504
 
1597
- # source://json-2.6.2/lib/json/common.rb:35
1505
+ # source://json//lib/json/common.rb#35
1598
1506
  JSON::Parser = JSON::Ext::Parser
1599
1507
 
1600
- # source://json-2.6.2/lib/json/common.rb:73
1508
+ # source://json//lib/json/common.rb#73
1601
1509
  JSON::State = JSON::Ext::Generator::State
1602
1510
 
1603
1511
  # For backwards compatibility
1604
1512
  #
1605
- # source://json-2.6.2/lib/json/common.rb:159
1513
+ # source://json//lib/json/common.rb#159
1606
1514
  JSON::UnparserError = JSON::GeneratorError
1607
1515
 
1608
- # source://json-2.6.2/lib/json/common.rb:658
1516
+ # source://json//lib/json/common.rb#658
1609
1517
  module Kernel
1610
1518
  private
1611
1519
 
@@ -1616,35 +1524,18 @@ module Kernel
1616
1524
  # The _opts_ argument is passed through to generate/parse respectively. See
1617
1525
  # generate and parse for their documentation.
1618
1526
  #
1619
- # source://json-2.6.2/lib/json/common.rb:685
1620
- def JSON(object, *args)
1621
- ;
1622
- end
1527
+ # source://json//lib/json/common.rb#685
1528
+ def JSON(object, *args); end
1623
1529
 
1624
1530
  # Outputs _objs_ to STDOUT as JSON strings in the shortest form, that is in
1625
1531
  # one line.
1626
1532
  #
1627
- # source://json-2.6.2/lib/json/common.rb:663
1628
- def j(*objs)
1629
- ;
1630
- end
1533
+ # source://json//lib/json/common.rb#663
1534
+ def j(*objs); end
1631
1535
 
1632
1536
  # Outputs _objs_ to STDOUT as JSON strings in a pretty format, with
1633
1537
  # indentation and over many lines.
1634
1538
  #
1635
- # source://json-2.6.2/lib/json/common.rb:672
1636
- def jj(*objs)
1637
- ;
1638
- end
1639
- end
1640
-
1641
- class Set
1642
- include ::Enumerable
1643
- end
1644
-
1645
- # source://RUBY_ROOT/set.rb:815
1646
- Set::InspectKey = T.let(T.unsafe(nil), Symbol)
1647
-
1648
- class Symbol
1649
- include ::Comparable
1539
+ # source://json//lib/json/common.rb#672
1540
+ def jj(*objs); end
1650
1541
  end