vigiles 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/.ruby-version +1 -0
  4. data/lib/generators/vigiles/initializer_generator.rb +1 -1
  5. data/lib/generators/vigiles/install_generator.rb +1 -1
  6. data/lib/generators/vigiles/migration_generator.rb +2 -1
  7. data/lib/vigiles/archive/extras.rb +1 -1
  8. data/lib/vigiles/archive/metadata.rb +1 -1
  9. data/lib/vigiles/archive/response.rb +31 -5
  10. data/lib/vigiles/archive.rb +1 -1
  11. data/lib/vigiles/constants.rb +161 -1
  12. data/lib/vigiles/conversation_recorder.rb +3 -0
  13. data/lib/vigiles/conversation_recorders/application_json.rb +11 -6
  14. data/lib/vigiles/conversation_recorders/unknown.rb +3 -0
  15. data/lib/vigiles/middleware/record_conversation.rb +2 -2
  16. data/lib/vigiles/options.rb +1 -0
  17. data/lib/vigiles/types.rb +6 -0
  18. data/lib/vigiles/utilities/http.rb +60 -0
  19. data/lib/vigiles/utilities/json.rb +3 -2
  20. data/lib/vigiles/version.rb +1 -1
  21. data/lib/vigiles.rb +15 -3
  22. data/sorbet/rbi/gems/concurrent-ruby@1.3.1.rbi +11627 -0
  23. data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +73 -72
  24. data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.23.1.rbi} +841 -159
  25. data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +233 -186
  26. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.29.0.rbi} +19135 -12188
  27. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.0.rbi} +34 -33
  28. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +77 -55
  29. data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.13.rbi} +226 -154
  30. data/sorbet/rbi/gems/{rdoc@6.6.3.1.rbi → rdoc@6.7.0.rbi} +333 -327
  31. data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
  32. data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.8.rbi} +1 -0
  33. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +121 -108
  34. data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +92 -62
  35. data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +35 -0
  36. data/sorbet/rbi/gems/{rubocop-sorbet@0.7.4.rbi → rubocop-sorbet@0.8.3.rbi} +327 -162
  37. data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.64.0.rbi} +1719 -1065
  38. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
  39. data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
  40. data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.2.rbi} +123 -448
  41. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
  42. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +230 -37
  43. data/sorbet/rbi/gems/{zeitwerk@2.6.13.rbi → zeitwerk@2.6.15.rbi} +47 -36
  44. data/vigiles.gemspec +1 -1
  45. metadata +30 -29
  46. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -8
  47. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  48. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
  49. /data/lib/generators/{templates → vigiles/templates}/archive_conversation_migration.rb.erb +0 -0
  50. /data/lib/generators/{templates → vigiles/templates}/initializer.rb +0 -0
@@ -4,9 +4,10 @@
4
4
  # This is an autogenerated file for types exported from the `json` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem json`.
6
6
 
7
+
7
8
  # Extends any Class to include _json_creatable?_ method.
8
9
  #
9
- # source://json//lib/json/common.rb#689
10
+ # source://json//lib/json/common.rb#690
10
11
  class Class < ::Module
11
12
  # Returns true if this class can be used to create an instance
12
13
  # from a serialised JSON string. The class has to implement a class
@@ -15,7 +16,7 @@ class Class < ::Module
15
16
  #
16
17
  # @return [Boolean]
17
18
  #
18
- # source://json//lib/json/common.rb#694
19
+ # source://json//lib/json/common.rb#695
19
20
  def json_creatable?; end
20
21
  end
21
22
 
@@ -630,7 +631,7 @@ module JSON
630
631
  # Output:
631
632
  # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"}
632
633
  #
633
- # source://json//lib/json/common.rb#614
634
+ # source://json//lib/json/common.rb#615
634
635
  def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end
635
636
 
636
637
  # :call-seq:
@@ -647,13 +648,13 @@ module JSON
647
648
  # # Raises SystemStackError (stack level too deep):
648
649
  # JSON.fast_generate(a)
649
650
  #
650
- # source://json//lib/json/common.rb#328
651
+ # source://json//lib/json/common.rb#329
651
652
  def fast_generate(obj, opts = T.unsafe(nil)); end
652
653
 
653
654
  # :stopdoc:
654
655
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
655
656
  #
656
- # source://json//lib/json/common.rb#328
657
+ # source://json//lib/json/common.rb#329
657
658
  def fast_unparse(obj, opts = T.unsafe(nil)); end
658
659
 
659
660
  # :call-seq:
@@ -692,7 +693,7 @@ module JSON
692
693
  # # Raises JSON::NestingError (nesting of 100 is too deep):
693
694
  # JSON.generate(a)
694
695
  #
695
- # source://json//lib/json/common.rb#299
696
+ # source://json//lib/json/common.rb#300
696
697
  def generate(obj, opts = T.unsafe(nil)); end
697
698
 
698
699
  # :call-seq:
@@ -823,7 +824,7 @@ module JSON
823
824
  # #<Admin:0x00000000064c41f8
824
825
  # @attributes={"type"=>"Admin", "password"=>"0wn3d"}>}
825
826
  #
826
- # source://json//lib/json/common.rb#540
827
+ # source://json//lib/json/common.rb#541
827
828
  def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
828
829
 
829
830
  # :call-seq:
@@ -834,7 +835,7 @@ module JSON
834
835
  #
835
836
  # See method #parse.
836
837
  #
837
- # source://json//lib/json/common.rb#248
838
+ # source://json//lib/json/common.rb#249
838
839
  def load_file(filespec, opts = T.unsafe(nil)); end
839
840
 
840
841
  # :call-seq:
@@ -845,10 +846,10 @@ module JSON
845
846
  #
846
847
  # See method #parse!
847
848
  #
848
- # source://json//lib/json/common.rb#259
849
+ # source://json//lib/json/common.rb#260
849
850
  def load_file!(filespec, opts = T.unsafe(nil)); end
850
851
 
851
- # source://json//lib/json/common.rb#642
852
+ # source://json//lib/json/common.rb#643
852
853
  def merge_dump_options(opts, strict: T.unsafe(nil)); end
853
854
 
854
855
  # :call-seq:
@@ -899,7 +900,7 @@ module JSON
899
900
  # # Raises JSON::ParserError (783: unexpected token at ''):
900
901
  # JSON.parse('')
901
902
  #
902
- # source://json//lib/json/common.rb#218
903
+ # source://json//lib/json/common.rb#219
903
904
  def parse(source, opts = T.unsafe(nil)); end
904
905
 
905
906
  # :call-seq:
@@ -914,7 +915,7 @@ module JSON
914
915
  # which disables checking for nesting depth.
915
916
  # - Option +allow_nan+, if not provided, defaults to +true+.
916
917
  #
917
- # source://json//lib/json/common.rb#233
918
+ # source://json//lib/json/common.rb#234
918
919
  def parse!(source, opts = T.unsafe(nil)); end
919
920
 
920
921
  # :call-seq:
@@ -947,28 +948,28 @@ module JSON
947
948
  # }
948
949
  # }
949
950
  #
950
- # source://json//lib/json/common.rb#373
951
+ # source://json//lib/json/common.rb#374
951
952
  def pretty_generate(obj, opts = T.unsafe(nil)); end
952
953
 
953
954
  # :stopdoc:
954
955
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
955
956
  #
956
- # source://json//lib/json/common.rb#373
957
+ # source://json//lib/json/common.rb#374
957
958
  def pretty_unparse(obj, opts = T.unsafe(nil)); end
958
959
 
959
960
  # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
960
961
  #
961
- # source://json//lib/json/common.rb#558
962
+ # source://json//lib/json/common.rb#559
962
963
  def recurse_proc(result, &proc); end
963
964
 
964
- # source://json//lib/json/common.rb#540
965
+ # source://json//lib/json/common.rb#541
965
966
  def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
966
967
 
967
968
  # :stopdoc:
968
969
  # I want to deprecate these later, so I'll first be silent about them, and
969
970
  # later delete them.
970
971
  #
971
- # source://json//lib/json/common.rb#299
972
+ # source://json//lib/json/common.rb#300
972
973
  def unparse(obj, opts = T.unsafe(nil)); end
973
974
 
974
975
  class << self
@@ -984,26 +985,26 @@ module JSON
984
985
  # ruby = [0, 1, nil]
985
986
  # JSON[ruby] # => '[0,1,null]'
986
987
  #
987
- # source://json//lib/json/common.rb#21
988
+ # source://json//lib/json/common.rb#22
988
989
  def [](object, opts = T.unsafe(nil)); end
989
990
 
990
- # source://json//lib/json/common.rb#84
991
+ # source://json//lib/json/common.rb#85
991
992
  def create_fast_state; end
992
993
 
993
994
  # Returns the current create identifier.
994
995
  # See also JSON.create_id=.
995
996
  #
996
- # source://json//lib/json/common.rb#129
997
+ # source://json//lib/json/common.rb#130
997
998
  def create_id; end
998
999
 
999
1000
  # Sets create identifier, which is used to decide if the _json_create_
1000
1001
  # hook of a class should be called; initial value is +json_class+:
1001
1002
  # JSON.create_id # => 'json_class'
1002
1003
  #
1003
- # source://json//lib/json/common.rb#123
1004
+ # source://json//lib/json/common.rb#124
1004
1005
  def create_id=(new_value); end
1005
1006
 
1006
- # source://json//lib/json/common.rb#94
1007
+ # source://json//lib/json/common.rb#95
1007
1008
  def create_pretty_state; end
1008
1009
 
1009
1010
  # Return the constant located at _path_. The format of _path_ has to be
@@ -1011,7 +1012,7 @@ module JSON
1011
1012
  # level (absolute namespace path?). If there doesn't exist a constant at
1012
1013
  # the given path, an ArgumentError is raised.
1013
1014
  #
1014
- # source://json//lib/json/common.rb#45
1015
+ # source://json//lib/json/common.rb#46
1015
1016
  def deep_const_get(path); end
1016
1017
 
1017
1018
  # :call-seq:
@@ -1042,7 +1043,7 @@ module JSON
1042
1043
  # Output:
1043
1044
  # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"}
1044
1045
  #
1045
- # source://json//lib/json/common.rb#614
1046
+ # source://json//lib/json/common.rb#615
1046
1047
  def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end
1047
1048
 
1048
1049
  # Sets or returns the default options for the JSON.dump method.
@@ -1050,7 +1051,7 @@ module JSON
1050
1051
  # opts = JSON.dump_default_options
1051
1052
  # opts # => {:max_nesting=>false, :allow_nan=>true, :script_safe=>false}
1052
1053
  #
1053
- # source://json//lib/json/common.rb#579
1054
+ # source://json//lib/json/common.rb#580
1054
1055
  def dump_default_options; end
1055
1056
 
1056
1057
  # Sets or returns the default options for the JSON.dump method.
@@ -1058,7 +1059,7 @@ module JSON
1058
1059
  # opts = JSON.dump_default_options
1059
1060
  # opts # => {:max_nesting=>false, :allow_nan=>true, :script_safe=>false}
1060
1061
  #
1061
- # source://json//lib/json/common.rb#579
1062
+ # source://json//lib/json/common.rb#580
1062
1063
  def dump_default_options=(_arg0); end
1063
1064
 
1064
1065
  # :call-seq:
@@ -1075,13 +1076,13 @@ module JSON
1075
1076
  # # Raises SystemStackError (stack level too deep):
1076
1077
  # JSON.fast_generate(a)
1077
1078
  #
1078
- # source://json//lib/json/common.rb#328
1079
+ # source://json//lib/json/common.rb#329
1079
1080
  def fast_generate(obj, opts = T.unsafe(nil)); end
1080
1081
 
1081
1082
  # :stopdoc:
1082
1083
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
1083
1084
  #
1084
- # source://json//lib/json/common.rb#328
1085
+ # source://json//lib/json/common.rb#329
1085
1086
  def fast_unparse(obj, opts = T.unsafe(nil)); end
1086
1087
 
1087
1088
  # :call-seq:
@@ -1120,24 +1121,24 @@ module JSON
1120
1121
  # # Raises JSON::NestingError (nesting of 100 is too deep):
1121
1122
  # JSON.generate(a)
1122
1123
  #
1123
- # source://json//lib/json/common.rb#299
1124
+ # source://json//lib/json/common.rb#300
1124
1125
  def generate(obj, opts = T.unsafe(nil)); end
1125
1126
 
1126
1127
  # Returns the JSON generator module that is used by JSON. This is
1127
1128
  # either JSON::Ext::Generator or JSON::Pure::Generator:
1128
1129
  # JSON.generator # => JSON::Ext::Generator
1129
1130
  #
1130
- # source://json//lib/json/common.rb#106
1131
+ # source://json//lib/json/common.rb#107
1131
1132
  def generator; end
1132
1133
 
1133
1134
  # Set the module _generator_ to be used by JSON.
1134
1135
  #
1135
- # source://json//lib/json/common.rb#61
1136
+ # source://json//lib/json/common.rb#62
1136
1137
  def generator=(generator); end
1137
1138
 
1138
1139
  # Encodes string using String.encode.
1139
1140
  #
1140
- # source://json//lib/json/common.rb#638
1141
+ # source://json//lib/json/common.rb#639
1141
1142
  def iconv(to, from, string); end
1142
1143
 
1143
1144
  # :call-seq:
@@ -1268,7 +1269,7 @@ module JSON
1268
1269
  # #<Admin:0x00000000064c41f8
1269
1270
  # @attributes={"type"=>"Admin", "password"=>"0wn3d"}>}
1270
1271
  #
1271
- # source://json//lib/json/common.rb#540
1272
+ # source://json//lib/json/common.rb#541
1272
1273
  def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
1273
1274
 
1274
1275
  # Sets or returns default options for the JSON.load method.
@@ -1276,7 +1277,7 @@ module JSON
1276
1277
  # opts = JSON.load_default_options
1277
1278
  # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true}
1278
1279
  #
1279
- # source://json//lib/json/common.rb#403
1280
+ # source://json//lib/json/common.rb#404
1280
1281
  def load_default_options; end
1281
1282
 
1282
1283
  # Sets or returns default options for the JSON.load method.
@@ -1284,7 +1285,7 @@ module JSON
1284
1285
  # opts = JSON.load_default_options
1285
1286
  # opts # => {:max_nesting=>false, :allow_nan=>true, :allow_blank=>true, :create_additions=>true}
1286
1287
  #
1287
- # source://json//lib/json/common.rb#403
1288
+ # source://json//lib/json/common.rb#404
1288
1289
  def load_default_options=(_arg0); end
1289
1290
 
1290
1291
  # :call-seq:
@@ -1295,7 +1296,7 @@ module JSON
1295
1296
  #
1296
1297
  # See method #parse.
1297
1298
  #
1298
- # source://json//lib/json/common.rb#248
1299
+ # source://json//lib/json/common.rb#249
1299
1300
  def load_file(filespec, opts = T.unsafe(nil)); end
1300
1301
 
1301
1302
  # :call-seq:
@@ -1306,7 +1307,7 @@ module JSON
1306
1307
  #
1307
1308
  # See method #parse!
1308
1309
  #
1309
- # source://json//lib/json/common.rb#259
1310
+ # source://json//lib/json/common.rb#260
1310
1311
  def load_file!(filespec, opts = T.unsafe(nil)); end
1311
1312
 
1312
1313
  # :call-seq:
@@ -1357,7 +1358,7 @@ module JSON
1357
1358
  # # Raises JSON::ParserError (783: unexpected token at ''):
1358
1359
  # JSON.parse('')
1359
1360
  #
1360
- # source://json//lib/json/common.rb#218
1361
+ # source://json//lib/json/common.rb#219
1361
1362
  def parse(source, opts = T.unsafe(nil)); end
1362
1363
 
1363
1364
  # :call-seq:
@@ -1372,19 +1373,19 @@ module JSON
1372
1373
  # which disables checking for nesting depth.
1373
1374
  # - Option +allow_nan+, if not provided, defaults to +true+.
1374
1375
  #
1375
- # source://json//lib/json/common.rb#233
1376
+ # source://json//lib/json/common.rb#234
1376
1377
  def parse!(source, opts = T.unsafe(nil)); end
1377
1378
 
1378
1379
  # Returns the JSON parser class that is used by JSON. This is either
1379
1380
  # JSON::Ext::Parser or JSON::Pure::Parser:
1380
1381
  # JSON.parser # => JSON::Ext::Parser
1381
1382
  #
1382
- # source://json//lib/json/common.rb#32
1383
+ # source://json//lib/json/common.rb#33
1383
1384
  def parser; end
1384
1385
 
1385
1386
  # Set the JSON parser class _parser_ to be used by JSON.
1386
1387
  #
1387
- # source://json//lib/json/common.rb#35
1388
+ # source://json//lib/json/common.rb#36
1388
1389
  def parser=(parser); end
1389
1390
 
1390
1391
  # :call-seq:
@@ -1417,123 +1418,123 @@ module JSON
1417
1418
  # }
1418
1419
  # }
1419
1420
  #
1420
- # source://json//lib/json/common.rb#373
1421
+ # source://json//lib/json/common.rb#374
1421
1422
  def pretty_generate(obj, opts = T.unsafe(nil)); end
1422
1423
 
1423
1424
  # :stopdoc:
1424
1425
  # I want to deprecate these later, so I'll first be silent about them, and later delete them.
1425
1426
  #
1426
- # source://json//lib/json/common.rb#373
1427
+ # source://json//lib/json/common.rb#374
1427
1428
  def pretty_unparse(obj, opts = T.unsafe(nil)); end
1428
1429
 
1429
1430
  # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
1430
1431
  #
1431
- # source://json//lib/json/common.rb#558
1432
+ # source://json//lib/json/common.rb#559
1432
1433
  def recurse_proc(result, &proc); end
1433
1434
 
1434
- # source://json//lib/json/common.rb#540
1435
+ # source://json//lib/json/common.rb#541
1435
1436
  def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
1436
1437
 
1437
1438
  # Sets or Returns the JSON generator state class that is used by JSON. This is
1438
1439
  # either JSON::Ext::Generator::State or JSON::Pure::Generator::State:
1439
1440
  # JSON.state # => JSON::Ext::Generator::State
1440
1441
  #
1441
- # source://json//lib/json/common.rb#111
1442
+ # source://json//lib/json/common.rb#112
1442
1443
  def state; end
1443
1444
 
1444
1445
  # Sets or Returns the JSON generator state class that is used by JSON. This is
1445
1446
  # either JSON::Ext::Generator::State or JSON::Pure::Generator::State:
1446
1447
  # JSON.state # => JSON::Ext::Generator::State
1447
1448
  #
1448
- # source://json//lib/json/common.rb#111
1449
+ # source://json//lib/json/common.rb#112
1449
1450
  def state=(_arg0); end
1450
1451
 
1451
1452
  # :stopdoc:
1452
1453
  # I want to deprecate these later, so I'll first be silent about them, and
1453
1454
  # later delete them.
1454
1455
  #
1455
- # source://json//lib/json/common.rb#299
1456
+ # source://json//lib/json/common.rb#300
1456
1457
  def unparse(obj, opts = T.unsafe(nil)); end
1457
1458
 
1458
1459
  private
1459
1460
 
1460
- # source://json//lib/json/common.rb#642
1461
+ # source://json//lib/json/common.rb#643
1461
1462
  def merge_dump_options(opts, strict: T.unsafe(nil)); end
1462
1463
  end
1463
1464
  end
1464
1465
 
1465
- # source://json//lib/json/common.rb#117
1466
+ # source://json//lib/json/common.rb#118
1466
1467
  JSON::CREATE_ID_TLS_KEY = T.let(T.unsafe(nil), String)
1467
1468
 
1468
- # source://json//lib/json/common.rb#114
1469
+ # source://json//lib/json/common.rb#115
1469
1470
  JSON::DEFAULT_CREATE_ID = T.let(T.unsafe(nil), String)
1470
1471
 
1471
- # source://json//lib/json/generic_object.rb#5
1472
+ # source://json//lib/json/generic_object.rb#9
1472
1473
  class JSON::GenericObject < ::OpenStruct
1473
- # source://json//lib/json/generic_object.rb#63
1474
+ # source://json//lib/json/generic_object.rb#67
1474
1475
  def as_json(*_arg0); end
1475
1476
 
1476
- # source://json//lib/json/generic_object.rb#47
1477
+ # source://json//lib/json/generic_object.rb#51
1477
1478
  def to_hash; end
1478
1479
 
1479
- # source://json//lib/json/generic_object.rb#67
1480
+ # source://json//lib/json/generic_object.rb#71
1480
1481
  def to_json(*a); end
1481
1482
 
1482
- # source://json//lib/json/generic_object.rb#59
1483
+ # source://json//lib/json/generic_object.rb#63
1483
1484
  def |(other); end
1484
1485
 
1485
1486
  class << self
1486
- # source://json//lib/json/generic_object.rb#41
1487
+ # source://json//lib/json/generic_object.rb#45
1487
1488
  def dump(obj, *args); end
1488
1489
 
1489
- # source://json//lib/json/generic_object.rb#21
1490
+ # source://json//lib/json/generic_object.rb#25
1490
1491
  def from_hash(object); end
1491
1492
 
1492
1493
  # Sets the attribute json_creatable
1493
1494
  #
1494
1495
  # @param value the value to set the attribute json_creatable to.
1495
1496
  #
1496
- # source://json//lib/json/generic_object.rb#13
1497
+ # source://json//lib/json/generic_object.rb#17
1497
1498
  def json_creatable=(_arg0); end
1498
1499
 
1499
1500
  # @return [Boolean]
1500
1501
  #
1501
- # source://json//lib/json/generic_object.rb#9
1502
+ # source://json//lib/json/generic_object.rb#13
1502
1503
  def json_creatable?; end
1503
1504
 
1504
- # source://json//lib/json/generic_object.rb#15
1505
+ # source://json//lib/json/generic_object.rb#19
1505
1506
  def json_create(data); end
1506
1507
 
1507
- # source://json//lib/json/generic_object.rb#36
1508
+ # source://json//lib/json/generic_object.rb#40
1508
1509
  def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end
1509
1510
  end
1510
1511
  end
1511
1512
 
1512
1513
  # The base exception for JSON errors.
1513
1514
  #
1514
- # source://json//lib/json/common.rb#140
1515
+ # source://json//lib/json/common.rb#141
1515
1516
  class JSON::JSONError < ::StandardError
1516
1517
  class << self
1517
- # source://json//lib/json/common.rb#141
1518
+ # source://json//lib/json/common.rb#142
1518
1519
  def wrap(exception); end
1519
1520
  end
1520
1521
  end
1521
1522
 
1522
- # source://json//lib/json/common.rb#6
1523
+ # source://json//lib/json/common.rb#7
1523
1524
  JSON::NOT_SET = T.let(T.unsafe(nil), Object)
1524
1525
 
1525
- # source://json//lib/json/common.rb#38
1526
+ # source://json//lib/json/common.rb#39
1526
1527
  JSON::Parser = JSON::Ext::Parser
1527
1528
 
1528
- # source://json//lib/json/common.rb#76
1529
+ # source://json//lib/json/common.rb#77
1529
1530
  JSON::State = JSON::Ext::Generator::State
1530
1531
 
1531
1532
  # For backwards compatibility
1532
1533
  #
1533
- # source://json//lib/json/common.rb#162
1534
+ # source://json//lib/json/common.rb#163
1534
1535
  JSON::UnparserError = JSON::GeneratorError
1535
1536
 
1536
- # source://json//lib/json/common.rb#652
1537
+ # source://json//lib/json/common.rb#653
1537
1538
  module Kernel
1538
1539
  private
1539
1540
 
@@ -1544,18 +1545,18 @@ module Kernel
1544
1545
  # The _opts_ argument is passed through to generate/parse respectively. See
1545
1546
  # generate and parse for their documentation.
1546
1547
  #
1547
- # source://json//lib/json/common.rb#679
1548
+ # source://json//lib/json/common.rb#680
1548
1549
  def JSON(object, *args); end
1549
1550
 
1550
1551
  # Outputs _objs_ to STDOUT as JSON strings in the shortest form, that is in
1551
1552
  # one line.
1552
1553
  #
1553
- # source://json//lib/json/common.rb#657
1554
+ # source://json//lib/json/common.rb#658
1554
1555
  def j(*objs); end
1555
1556
 
1556
1557
  # Outputs _objs_ to STDOUT as JSON strings in a pretty format, with
1557
1558
  # indentation and over many lines.
1558
1559
  #
1559
- # source://json//lib/json/common.rb#666
1560
+ # source://json//lib/json/common.rb#667
1560
1561
  def jj(*objs); end
1561
1562
  end