activerecord-ejection_seat 0.3.1 → 0.3.2
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/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +41 -52
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.2.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.2.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.0.rbi → concurrent-ruby@1.2.2.rbi} +64 -89
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +50 -35
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.1.0.rbi → parser@3.2.2.1.rbi} +164 -164
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.7.0.rbi → regexp_parser@2.8.0.rbi} +617 -449
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.26.0.rbi → rubocop-ast@1.28.1.rbi} +79 -60
- data/sorbet/rbi/gems/{rubocop-minitest@0.27.0.rbi → rubocop-minitest@0.31.0.rbi} +364 -222
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -15
- data/sorbet/rbi/gems/{rubocop@1.45.1.rbi → rubocop@1.51.0.rbi} +2170 -1402
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +27 -33
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.4.0.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@6.0.0.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.2.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -5,8 +5,6 @@
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem json`.
|
6
6
|
|
7
7
|
# Extends any Class to include _json_creatable?_ method.
|
8
|
-
#
|
9
|
-
# source://json//lib/json/common.rb#695
|
10
8
|
class Class < ::Module
|
11
9
|
# Returns true if this class can be used to create an instance
|
12
10
|
# from a serialised JSON string. The class has to implement a class
|
@@ -15,7 +13,7 @@ class Class < ::Module
|
|
15
13
|
#
|
16
14
|
# @return [Boolean]
|
17
15
|
#
|
18
|
-
# source://json//
|
16
|
+
# source://json//json/common.rb#700
|
19
17
|
def json_creatable?; end
|
20
18
|
end
|
21
19
|
|
@@ -588,8 +586,6 @@ end
|
|
588
586
|
# Parsed JSON:
|
589
587
|
# Without custom addition: "#<Foo:0x0000000006534e80>" (String)
|
590
588
|
# With custom addition: #<Foo:0x0000000006473bb8 @bar=0, @baz=1> (Foo)
|
591
|
-
#
|
592
|
-
# source://json//lib/json/version.rb#2
|
593
589
|
module JSON
|
594
590
|
private
|
595
591
|
|
@@ -621,7 +617,7 @@ module JSON
|
|
621
617
|
# Output:
|
622
618
|
# {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"}
|
623
619
|
#
|
624
|
-
# source://json//
|
620
|
+
# source://json//json/common.rb#631
|
625
621
|
def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil)); end
|
626
622
|
|
627
623
|
# :call-seq:
|
@@ -638,13 +634,13 @@ module JSON
|
|
638
634
|
# # Raises SystemStackError (stack level too deep):
|
639
635
|
# JSON.fast_generate(a)
|
640
636
|
#
|
641
|
-
# source://json//
|
637
|
+
# source://json//json/common.rb#335
|
642
638
|
def fast_generate(obj, opts = T.unsafe(nil)); end
|
643
639
|
|
644
640
|
# :stopdoc:
|
645
641
|
# I want to deprecate these later, so I'll first be silent about them, and later delete them.
|
646
642
|
#
|
647
|
-
# source://json//
|
643
|
+
# source://json//json/common.rb#335
|
648
644
|
def fast_unparse(obj, opts = T.unsafe(nil)); end
|
649
645
|
|
650
646
|
# :call-seq:
|
@@ -683,7 +679,7 @@ module JSON
|
|
683
679
|
# # Raises JSON::NestingError (nesting of 100 is too deep):
|
684
680
|
# JSON.generate(a)
|
685
681
|
#
|
686
|
-
# source://json//
|
682
|
+
# source://json//json/common.rb#296
|
687
683
|
def generate(obj, opts = T.unsafe(nil)); end
|
688
684
|
|
689
685
|
# :call-seq:
|
@@ -814,7 +810,7 @@ module JSON
|
|
814
810
|
# #<Admin:0x00000000064c41f8
|
815
811
|
# @attributes={"type"=>"Admin", "password"=>"0wn3d"}>}
|
816
812
|
#
|
817
|
-
# source://json//
|
813
|
+
# source://json//json/common.rb#557
|
818
814
|
def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
|
819
815
|
|
820
816
|
# :call-seq:
|
@@ -825,7 +821,7 @@ module JSON
|
|
825
821
|
#
|
826
822
|
# See method #parse.
|
827
823
|
#
|
828
|
-
# source://json//
|
824
|
+
# source://json//json/common.rb#245
|
829
825
|
def load_file(filespec, opts = T.unsafe(nil)); end
|
830
826
|
|
831
827
|
# :call-seq:
|
@@ -836,7 +832,7 @@ module JSON
|
|
836
832
|
#
|
837
833
|
# See method #parse!
|
838
834
|
#
|
839
|
-
# source://json//
|
835
|
+
# source://json//json/common.rb#256
|
840
836
|
def load_file!(filespec, opts = T.unsafe(nil)); end
|
841
837
|
|
842
838
|
# :call-seq:
|
@@ -887,7 +883,7 @@ module JSON
|
|
887
883
|
# # Raises JSON::ParserError (783: unexpected token at ''):
|
888
884
|
# JSON.parse('')
|
889
885
|
#
|
890
|
-
# source://json//
|
886
|
+
# source://json//json/common.rb#215
|
891
887
|
def parse(source, opts = T.unsafe(nil)); end
|
892
888
|
|
893
889
|
# :call-seq:
|
@@ -902,7 +898,7 @@ module JSON
|
|
902
898
|
# which disables checking for nesting depth.
|
903
899
|
# - Option +allow_nan+, if not provided, defaults to +true+.
|
904
900
|
#
|
905
|
-
# source://json//
|
901
|
+
# source://json//json/common.rb#230
|
906
902
|
def parse!(source, opts = T.unsafe(nil)); end
|
907
903
|
|
908
904
|
# :call-seq:
|
@@ -935,28 +931,28 @@ module JSON
|
|
935
931
|
# }
|
936
932
|
# }
|
937
933
|
#
|
938
|
-
# source://json//
|
934
|
+
# source://json//json/common.rb#390
|
939
935
|
def pretty_generate(obj, opts = T.unsafe(nil)); end
|
940
936
|
|
941
937
|
# :stopdoc:
|
942
938
|
# I want to deprecate these later, so I'll first be silent about them, and later delete them.
|
943
939
|
#
|
944
|
-
# source://json//
|
940
|
+
# source://json//json/common.rb#390
|
945
941
|
def pretty_unparse(obj, opts = T.unsafe(nil)); end
|
946
942
|
|
947
943
|
# Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
|
948
944
|
#
|
949
|
-
# source://json//
|
945
|
+
# source://json//json/common.rb#575
|
950
946
|
def recurse_proc(result, &proc); end
|
951
947
|
|
952
|
-
# source://json//
|
948
|
+
# source://json//json/common.rb#557
|
953
949
|
def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
|
954
950
|
|
955
951
|
# :stopdoc:
|
956
952
|
# I want to deprecate these later, so I'll first be silent about them, and
|
957
953
|
# later delete them.
|
958
954
|
#
|
959
|
-
# source://json//
|
955
|
+
# source://json//json/common.rb#296
|
960
956
|
def unparse(obj, opts = T.unsafe(nil)); end
|
961
957
|
|
962
958
|
class << self
|
@@ -972,26 +968,26 @@ module JSON
|
|
972
968
|
# ruby = [0, 1, nil]
|
973
969
|
# JSON[ruby] # => '[0,1,null]'
|
974
970
|
#
|
975
|
-
# source://json//
|
971
|
+
# source://json//json/common.rb#18
|
976
972
|
def [](object, opts = T.unsafe(nil)); end
|
977
973
|
|
978
|
-
# source://json//
|
974
|
+
# source://json//json/common.rb#81
|
979
975
|
def create_fast_state; end
|
980
976
|
|
981
977
|
# Returns the current create identifier.
|
982
978
|
# See also JSON.create_id=.
|
983
979
|
#
|
984
|
-
# source://json//
|
980
|
+
# source://json//json/common.rb#126
|
985
981
|
def create_id; end
|
986
982
|
|
987
983
|
# Sets create identifier, which is used to decide if the _json_create_
|
988
984
|
# hook of a class should be called; initial value is +json_class+:
|
989
985
|
# JSON.create_id # => 'json_class'
|
990
986
|
#
|
991
|
-
# source://json//
|
987
|
+
# source://json//json/common.rb#120
|
992
988
|
def create_id=(new_value); end
|
993
989
|
|
994
|
-
# source://json//
|
990
|
+
# source://json//json/common.rb#91
|
995
991
|
def create_pretty_state; end
|
996
992
|
|
997
993
|
# Return the constant located at _path_. The format of _path_ has to be
|
@@ -999,7 +995,7 @@ module JSON
|
|
999
995
|
# level (absolute namespace path?). If there doesn't exist a constant at
|
1000
996
|
# the given path, an ArgumentError is raised.
|
1001
997
|
#
|
1002
|
-
# source://json//
|
998
|
+
# source://json//json/common.rb#42
|
1003
999
|
def deep_const_get(path); end
|
1004
1000
|
|
1005
1001
|
# :call-seq:
|
@@ -1030,7 +1026,7 @@ module JSON
|
|
1030
1026
|
# Output:
|
1031
1027
|
# {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"}
|
1032
1028
|
#
|
1033
|
-
# source://json//
|
1029
|
+
# source://json//json/common.rb#631
|
1034
1030
|
def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil)); end
|
1035
1031
|
|
1036
1032
|
# Sets or returns the default options for the JSON.dump method.
|
@@ -1038,7 +1034,7 @@ module JSON
|
|
1038
1034
|
# opts = JSON.dump_default_options
|
1039
1035
|
# opts # => {:max_nesting=>false, :allow_nan=>true, :escape_slash=>false}
|
1040
1036
|
#
|
1041
|
-
# source://json//
|
1037
|
+
# source://json//json/common.rb#596
|
1042
1038
|
def dump_default_options; end
|
1043
1039
|
|
1044
1040
|
# Sets or returns the default options for the JSON.dump method.
|
@@ -1046,7 +1042,7 @@ module JSON
|
|
1046
1042
|
# opts = JSON.dump_default_options
|
1047
1043
|
# opts # => {:max_nesting=>false, :allow_nan=>true, :escape_slash=>false}
|
1048
1044
|
#
|
1049
|
-
# source://json//
|
1045
|
+
# source://json//json/common.rb#596
|
1050
1046
|
def dump_default_options=(_arg0); end
|
1051
1047
|
|
1052
1048
|
# :call-seq:
|
@@ -1063,13 +1059,13 @@ module JSON
|
|
1063
1059
|
# # Raises SystemStackError (stack level too deep):
|
1064
1060
|
# JSON.fast_generate(a)
|
1065
1061
|
#
|
1066
|
-
# source://json//
|
1062
|
+
# source://json//json/common.rb#335
|
1067
1063
|
def fast_generate(obj, opts = T.unsafe(nil)); end
|
1068
1064
|
|
1069
1065
|
# :stopdoc:
|
1070
1066
|
# I want to deprecate these later, so I'll first be silent about them, and later delete them.
|
1071
1067
|
#
|
1072
|
-
# source://json//
|
1068
|
+
# source://json//json/common.rb#335
|
1073
1069
|
def fast_unparse(obj, opts = T.unsafe(nil)); end
|
1074
1070
|
|
1075
1071
|
# :call-seq:
|
@@ -1108,24 +1104,24 @@ module JSON
|
|
1108
1104
|
# # Raises JSON::NestingError (nesting of 100 is too deep):
|
1109
1105
|
# JSON.generate(a)
|
1110
1106
|
#
|
1111
|
-
# source://json//
|
1107
|
+
# source://json//json/common.rb#296
|
1112
1108
|
def generate(obj, opts = T.unsafe(nil)); end
|
1113
1109
|
|
1114
1110
|
# Returns the JSON generator module that is used by JSON. This is
|
1115
1111
|
# either JSON::Ext::Generator or JSON::Pure::Generator:
|
1116
1112
|
# JSON.generator # => JSON::Ext::Generator
|
1117
1113
|
#
|
1118
|
-
# source://json//
|
1114
|
+
# source://json//json/common.rb#103
|
1119
1115
|
def generator; end
|
1120
1116
|
|
1121
1117
|
# Set the module _generator_ to be used by JSON.
|
1122
1118
|
#
|
1123
|
-
# source://json//
|
1119
|
+
# source://json//json/common.rb#58
|
1124
1120
|
def generator=(generator); end
|
1125
1121
|
|
1126
1122
|
# Encodes string using String.encode.
|
1127
1123
|
#
|
1128
|
-
# source://json//
|
1124
|
+
# source://json//json/common.rb#653
|
1129
1125
|
def iconv(to, from, string); end
|
1130
1126
|
|
1131
1127
|
# :call-seq:
|
@@ -1256,7 +1252,7 @@ module JSON
|
|
1256
1252
|
# #<Admin:0x00000000064c41f8
|
1257
1253
|
# @attributes={"type"=>"Admin", "password"=>"0wn3d"}>}
|
1258
1254
|
#
|
1259
|
-
# source://json//
|
1255
|
+
# source://json//json/common.rb#557
|
1260
1256
|
def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
|
1261
1257
|
|
1262
1258
|
# Sets or returns default options for the JSON.load method.
|
@@ -1264,7 +1260,7 @@ module JSON
|
|
1264
1260
|
# opts = JSON.load_default_options
|
1265
1261
|
# opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true}
|
1266
1262
|
#
|
1267
|
-
# source://json//
|
1263
|
+
# source://json//json/common.rb#420
|
1268
1264
|
def load_default_options; end
|
1269
1265
|
|
1270
1266
|
# Sets or returns default options for the JSON.load method.
|
@@ -1272,7 +1268,7 @@ module JSON
|
|
1272
1268
|
# opts = JSON.load_default_options
|
1273
1269
|
# opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true}
|
1274
1270
|
#
|
1275
|
-
# source://json//
|
1271
|
+
# source://json//json/common.rb#420
|
1276
1272
|
def load_default_options=(_arg0); end
|
1277
1273
|
|
1278
1274
|
# :call-seq:
|
@@ -1283,7 +1279,7 @@ module JSON
|
|
1283
1279
|
#
|
1284
1280
|
# See method #parse.
|
1285
1281
|
#
|
1286
|
-
# source://json//
|
1282
|
+
# source://json//json/common.rb#245
|
1287
1283
|
def load_file(filespec, opts = T.unsafe(nil)); end
|
1288
1284
|
|
1289
1285
|
# :call-seq:
|
@@ -1294,7 +1290,7 @@ module JSON
|
|
1294
1290
|
#
|
1295
1291
|
# See method #parse!
|
1296
1292
|
#
|
1297
|
-
# source://json//
|
1293
|
+
# source://json//json/common.rb#256
|
1298
1294
|
def load_file!(filespec, opts = T.unsafe(nil)); end
|
1299
1295
|
|
1300
1296
|
# :call-seq:
|
@@ -1345,7 +1341,7 @@ module JSON
|
|
1345
1341
|
# # Raises JSON::ParserError (783: unexpected token at ''):
|
1346
1342
|
# JSON.parse('')
|
1347
1343
|
#
|
1348
|
-
# source://json//
|
1344
|
+
# source://json//json/common.rb#215
|
1349
1345
|
def parse(source, opts = T.unsafe(nil)); end
|
1350
1346
|
|
1351
1347
|
# :call-seq:
|
@@ -1360,19 +1356,19 @@ module JSON
|
|
1360
1356
|
# which disables checking for nesting depth.
|
1361
1357
|
# - Option +allow_nan+, if not provided, defaults to +true+.
|
1362
1358
|
#
|
1363
|
-
# source://json//
|
1359
|
+
# source://json//json/common.rb#230
|
1364
1360
|
def parse!(source, opts = T.unsafe(nil)); end
|
1365
1361
|
|
1366
1362
|
# Returns the JSON parser class that is used by JSON. This is either
|
1367
1363
|
# JSON::Ext::Parser or JSON::Pure::Parser:
|
1368
1364
|
# JSON.parser # => JSON::Ext::Parser
|
1369
1365
|
#
|
1370
|
-
# source://json//
|
1366
|
+
# source://json//json/common.rb#29
|
1371
1367
|
def parser; end
|
1372
1368
|
|
1373
1369
|
# Set the JSON parser class _parser_ to be used by JSON.
|
1374
1370
|
#
|
1375
|
-
# source://json//
|
1371
|
+
# source://json//json/common.rb#32
|
1376
1372
|
def parser=(parser); end
|
1377
1373
|
|
1378
1374
|
# :call-seq:
|
@@ -1405,115 +1401,111 @@ module JSON
|
|
1405
1401
|
# }
|
1406
1402
|
# }
|
1407
1403
|
#
|
1408
|
-
# source://json//
|
1404
|
+
# source://json//json/common.rb#390
|
1409
1405
|
def pretty_generate(obj, opts = T.unsafe(nil)); end
|
1410
1406
|
|
1411
1407
|
# :stopdoc:
|
1412
1408
|
# I want to deprecate these later, so I'll first be silent about them, and later delete them.
|
1413
1409
|
#
|
1414
|
-
# source://json//
|
1410
|
+
# source://json//json/common.rb#390
|
1415
1411
|
def pretty_unparse(obj, opts = T.unsafe(nil)); end
|
1416
1412
|
|
1417
1413
|
# Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
|
1418
1414
|
#
|
1419
|
-
# source://json//
|
1415
|
+
# source://json//json/common.rb#575
|
1420
1416
|
def recurse_proc(result, &proc); end
|
1421
1417
|
|
1422
|
-
# source://json//
|
1418
|
+
# source://json//json/common.rb#557
|
1423
1419
|
def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
|
1424
1420
|
|
1425
1421
|
# Sets or Returns the JSON generator state class that is used by JSON. This is
|
1426
1422
|
# either JSON::Ext::Generator::State or JSON::Pure::Generator::State:
|
1427
1423
|
# JSON.state # => JSON::Ext::Generator::State
|
1428
1424
|
#
|
1429
|
-
# source://json//
|
1425
|
+
# source://json//json/common.rb#108
|
1430
1426
|
def state; end
|
1431
1427
|
|
1432
1428
|
# Sets or Returns the JSON generator state class that is used by JSON. This is
|
1433
1429
|
# either JSON::Ext::Generator::State or JSON::Pure::Generator::State:
|
1434
1430
|
# JSON.state # => JSON::Ext::Generator::State
|
1435
1431
|
#
|
1436
|
-
# source://json//
|
1432
|
+
# source://json//json/common.rb#108
|
1437
1433
|
def state=(_arg0); end
|
1438
1434
|
|
1439
1435
|
# :stopdoc:
|
1440
1436
|
# I want to deprecate these later, so I'll first be silent about them, and
|
1441
1437
|
# later delete them.
|
1442
1438
|
#
|
1443
|
-
# source://json//
|
1439
|
+
# source://json//json/common.rb#296
|
1444
1440
|
def unparse(obj, opts = T.unsafe(nil)); end
|
1445
1441
|
end
|
1446
1442
|
end
|
1447
1443
|
|
1448
|
-
# source://json//
|
1444
|
+
# source://json//json/common.rb#114
|
1449
1445
|
JSON::CREATE_ID_TLS_KEY = T.let(T.unsafe(nil), String)
|
1450
1446
|
|
1451
|
-
# source://json//
|
1447
|
+
# source://json//json/common.rb#111
|
1452
1448
|
JSON::DEFAULT_CREATE_ID = T.let(T.unsafe(nil), String)
|
1453
1449
|
|
1454
|
-
# source://json//lib/json/generic_object.rb#5
|
1455
1450
|
class JSON::GenericObject < ::OpenStruct
|
1456
|
-
# source://json//
|
1451
|
+
# source://json//json/generic_object.rb#63
|
1457
1452
|
def as_json(*_arg0); end
|
1458
1453
|
|
1459
|
-
# source://json//
|
1454
|
+
# source://json//json/generic_object.rb#47
|
1460
1455
|
def to_hash; end
|
1461
1456
|
|
1462
|
-
# source://json//
|
1457
|
+
# source://json//json/generic_object.rb#67
|
1463
1458
|
def to_json(*a); end
|
1464
1459
|
|
1465
|
-
# source://json//
|
1460
|
+
# source://json//json/generic_object.rb#59
|
1466
1461
|
def |(other); end
|
1467
1462
|
|
1468
1463
|
class << self
|
1469
|
-
# source://json//
|
1464
|
+
# source://json//json/generic_object.rb#41
|
1470
1465
|
def dump(obj, *args); end
|
1471
1466
|
|
1472
|
-
# source://json//
|
1467
|
+
# source://json//json/generic_object.rb#21
|
1473
1468
|
def from_hash(object); end
|
1474
1469
|
|
1475
1470
|
# Sets the attribute json_creatable
|
1476
1471
|
#
|
1477
1472
|
# @param value the value to set the attribute json_creatable to.
|
1478
1473
|
#
|
1479
|
-
# source://json//
|
1474
|
+
# source://json//json/generic_object.rb#13
|
1480
1475
|
def json_creatable=(_arg0); end
|
1481
1476
|
|
1482
1477
|
# @return [Boolean]
|
1483
1478
|
#
|
1484
|
-
# source://json//
|
1479
|
+
# source://json//json/generic_object.rb#9
|
1485
1480
|
def json_creatable?; end
|
1486
1481
|
|
1487
|
-
# source://json//
|
1482
|
+
# source://json//json/generic_object.rb#15
|
1488
1483
|
def json_create(data); end
|
1489
1484
|
|
1490
|
-
# source://json//
|
1485
|
+
# source://json//json/generic_object.rb#36
|
1491
1486
|
def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end
|
1492
1487
|
end
|
1493
1488
|
end
|
1494
1489
|
|
1495
1490
|
# The base exception for JSON errors.
|
1496
|
-
#
|
1497
|
-
# source://json//lib/json/common.rb#137
|
1498
1491
|
class JSON::JSONError < ::StandardError
|
1499
1492
|
class << self
|
1500
|
-
# source://json//
|
1493
|
+
# source://json//json/common.rb#138
|
1501
1494
|
def wrap(exception); end
|
1502
1495
|
end
|
1503
1496
|
end
|
1504
1497
|
|
1505
|
-
# source://json//
|
1498
|
+
# source://json//json/common.rb#35
|
1506
1499
|
JSON::Parser = JSON::Ext::Parser
|
1507
1500
|
|
1508
|
-
# source://json//
|
1501
|
+
# source://json//json/common.rb#73
|
1509
1502
|
JSON::State = JSON::Ext::Generator::State
|
1510
1503
|
|
1511
1504
|
# For backwards compatibility
|
1512
1505
|
#
|
1513
|
-
# source://json//
|
1506
|
+
# source://json//json/common.rb#159
|
1514
1507
|
JSON::UnparserError = JSON::GeneratorError
|
1515
1508
|
|
1516
|
-
# source://json//lib/json/common.rb#658
|
1517
1509
|
module Kernel
|
1518
1510
|
private
|
1519
1511
|
|
@@ -1524,18 +1516,18 @@ module Kernel
|
|
1524
1516
|
# The _opts_ argument is passed through to generate/parse respectively. See
|
1525
1517
|
# generate and parse for their documentation.
|
1526
1518
|
#
|
1527
|
-
# source://json//
|
1519
|
+
# source://json//json/common.rb#685
|
1528
1520
|
def JSON(object, *args); end
|
1529
1521
|
|
1530
1522
|
# Outputs _objs_ to STDOUT as JSON strings in the shortest form, that is in
|
1531
1523
|
# one line.
|
1532
1524
|
#
|
1533
|
-
# source://json//
|
1525
|
+
# source://json//json/common.rb#663
|
1534
1526
|
def j(*objs); end
|
1535
1527
|
|
1536
1528
|
# Outputs _objs_ to STDOUT as JSON strings in a pretty format, with
|
1537
1529
|
# indentation and over many lines.
|
1538
1530
|
#
|
1539
|
-
# source://json//
|
1531
|
+
# source://json//json/common.rb#672
|
1540
1532
|
def jj(*objs); end
|
1541
1533
|
end
|