alchemrest 3.1.0 → 3.2.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.
@@ -90,7 +90,7 @@ module I18n
90
90
  end
91
91
  end
92
92
 
93
- # source://i18n//lib/i18n/exceptions.rb#16
93
+ # source://i18n//lib/i18n/exceptions.rb#14
94
94
  class I18n::ArgumentError < ::ArgumentError; end
95
95
 
96
96
  # source://i18n//lib/i18n/backend.rb#4
@@ -370,15 +370,15 @@ end
370
370
 
371
371
  # source://i18n//lib/i18n/backend/interpolation_compiler.rb#20
372
372
  module I18n::Backend::InterpolationCompiler
373
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#97
373
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#98
374
374
  def interpolate(locale, string, values); end
375
375
 
376
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#107
376
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#108
377
377
  def store_translations(locale, data, options = T.unsafe(nil)); end
378
378
 
379
379
  protected
380
380
 
381
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#113
381
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#114
382
382
  def compile_all_strings_in(data); end
383
383
  end
384
384
 
@@ -389,45 +389,45 @@ module I18n::Backend::InterpolationCompiler::Compiler
389
389
  # source://i18n//lib/i18n/backend/interpolation_compiler.rb#26
390
390
  def compile_if_an_interpolation(string); end
391
391
 
392
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#38
392
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#39
393
393
  def interpolated_str?(str); end
394
394
 
395
395
  protected
396
396
 
397
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#58
397
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#59
398
398
  def compile_interpolation_token(key); end
399
399
 
400
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#48
400
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#49
401
401
  def compiled_interpolation_body(str); end
402
402
 
403
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#71
403
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#72
404
404
  def direct_key(key); end
405
405
 
406
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#91
406
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#92
407
407
  def escape_key_sym(key); end
408
408
 
409
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#87
409
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#88
410
410
  def escape_plain_str(str); end
411
411
 
412
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#54
412
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#55
413
413
  def handle_interpolation_token(token); end
414
414
 
415
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#67
415
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#68
416
416
  def interpolate_key(key); end
417
417
 
418
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#62
418
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#63
419
419
  def interpolate_or_raise_missing(key); end
420
420
 
421
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#79
421
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#80
422
422
  def missing_key(key); end
423
423
 
424
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#75
424
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#76
425
425
  def nil_key(key); end
426
426
 
427
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#83
427
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#84
428
428
  def reserved_key(key); end
429
429
 
430
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#44
430
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#45
431
431
  def tokenize(str); end
432
432
  end
433
433
 
@@ -725,120 +725,120 @@ end
725
725
 
726
726
  # source://i18n//lib/i18n.rb#55
727
727
  module I18n::Base
728
- # source://i18n//lib/i18n.rb#70
728
+ # source://i18n//lib/i18n.rb#71
729
729
  def available_locales; end
730
730
 
731
- # source://i18n//lib/i18n.rb#74
731
+ # source://i18n//lib/i18n.rb#75
732
732
  def available_locales=(value); end
733
733
 
734
- # source://i18n//lib/i18n.rb#386
734
+ # source://i18n//lib/i18n.rb#387
735
735
  def available_locales_initialized?; end
736
736
 
737
- # source://i18n//lib/i18n.rb#70
737
+ # source://i18n//lib/i18n.rb#71
738
738
  def backend; end
739
739
 
740
- # source://i18n//lib/i18n.rb#74
740
+ # source://i18n//lib/i18n.rb#75
741
741
  def backend=(value); end
742
742
 
743
743
  # source://i18n//lib/i18n.rb#57
744
744
  def config; end
745
745
 
746
- # source://i18n//lib/i18n.rb#62
746
+ # source://i18n//lib/i18n.rb#63
747
747
  def config=(value); end
748
748
 
749
- # source://i18n//lib/i18n.rb#70
749
+ # source://i18n//lib/i18n.rb#71
750
750
  def default_locale; end
751
751
 
752
- # source://i18n//lib/i18n.rb#74
752
+ # source://i18n//lib/i18n.rb#75
753
753
  def default_locale=(value); end
754
754
 
755
- # source://i18n//lib/i18n.rb#70
755
+ # source://i18n//lib/i18n.rb#71
756
756
  def default_separator; end
757
757
 
758
- # source://i18n//lib/i18n.rb#74
758
+ # source://i18n//lib/i18n.rb#75
759
759
  def default_separator=(value); end
760
760
 
761
- # source://i18n//lib/i18n.rb#91
761
+ # source://i18n//lib/i18n.rb#92
762
762
  def eager_load!; end
763
763
 
764
- # source://i18n//lib/i18n.rb#70
764
+ # source://i18n//lib/i18n.rb#71
765
765
  def enforce_available_locales; end
766
766
 
767
- # source://i18n//lib/i18n.rb#380
767
+ # source://i18n//lib/i18n.rb#381
768
768
  def enforce_available_locales!(locale); end
769
769
 
770
- # source://i18n//lib/i18n.rb#74
770
+ # source://i18n//lib/i18n.rb#75
771
771
  def enforce_available_locales=(value); end
772
772
 
773
- # source://i18n//lib/i18n.rb#70
773
+ # source://i18n//lib/i18n.rb#71
774
774
  def exception_handler; end
775
775
 
776
- # source://i18n//lib/i18n.rb#74
776
+ # source://i18n//lib/i18n.rb#75
777
777
  def exception_handler=(value); end
778
778
 
779
- # source://i18n//lib/i18n.rb#265
779
+ # source://i18n//lib/i18n.rb#266
780
780
  def exists?(key, _locale = T.unsafe(nil), locale: T.unsafe(nil), **options); end
781
781
 
782
- # source://i18n//lib/i18n.rb#254
782
+ # source://i18n//lib/i18n.rb#255
783
783
  def interpolation_keys(key, **options); end
784
784
 
785
- # source://i18n//lib/i18n.rb#335
785
+ # source://i18n//lib/i18n.rb#336
786
786
  def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
787
787
 
788
- # source://i18n//lib/i18n.rb#70
788
+ # source://i18n//lib/i18n.rb#71
789
789
  def load_path; end
790
790
 
791
- # source://i18n//lib/i18n.rb#74
791
+ # source://i18n//lib/i18n.rb#75
792
792
  def load_path=(value); end
793
793
 
794
- # source://i18n//lib/i18n.rb#70
794
+ # source://i18n//lib/i18n.rb#71
795
795
  def locale; end
796
796
 
797
- # source://i18n//lib/i18n.rb#74
797
+ # source://i18n//lib/i18n.rb#75
798
798
  def locale=(value); end
799
799
 
800
- # source://i18n//lib/i18n.rb#375
800
+ # source://i18n//lib/i18n.rb#376
801
801
  def locale_available?(locale); end
802
802
 
803
- # source://i18n//lib/i18n.rb#335
803
+ # source://i18n//lib/i18n.rb#336
804
804
  def localize(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
805
805
 
806
- # source://i18n//lib/i18n.rb#363
806
+ # source://i18n//lib/i18n.rb#364
807
807
  def normalize_keys(locale, key, scope, separator = T.unsafe(nil)); end
808
808
 
809
- # source://i18n//lib/i18n.rb#83
809
+ # source://i18n//lib/i18n.rb#84
810
810
  def reload!; end
811
811
 
812
- # source://i18n//lib/i18n.rb#211
812
+ # source://i18n//lib/i18n.rb#212
813
813
  def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
814
814
 
815
- # source://i18n//lib/i18n.rb#230
815
+ # source://i18n//lib/i18n.rb#231
816
816
  def t!(key, **options); end
817
817
 
818
- # source://i18n//lib/i18n.rb#211
818
+ # source://i18n//lib/i18n.rb#212
819
819
  def translate(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
820
820
 
821
- # source://i18n//lib/i18n.rb#230
821
+ # source://i18n//lib/i18n.rb#231
822
822
  def translate!(key, **options); end
823
823
 
824
- # source://i18n//lib/i18n.rb#324
824
+ # source://i18n//lib/i18n.rb#325
825
825
  def transliterate(key, throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), replacement: T.unsafe(nil), **options); end
826
826
 
827
- # source://i18n//lib/i18n.rb#346
827
+ # source://i18n//lib/i18n.rb#347
828
828
  def with_locale(tmp_locale = T.unsafe(nil)); end
829
829
 
830
830
  private
831
831
 
832
- # source://i18n//lib/i18n.rb#422
832
+ # source://i18n//lib/i18n.rb#423
833
833
  def handle_exception(handling, exception, locale, key, options); end
834
834
 
835
- # source://i18n//lib/i18n.rb#464
835
+ # source://i18n//lib/i18n.rb#465
836
836
  def interpolation_keys_from_translation(translation); end
837
837
 
838
- # source://i18n//lib/i18n.rb#440
838
+ # source://i18n//lib/i18n.rb#441
839
839
  def normalize_key(key, separator); end
840
840
 
841
- # source://i18n//lib/i18n.rb#392
841
+ # source://i18n//lib/i18n.rb#393
842
842
  def translate_key(key, throw, raise, locale, backend, options); end
843
843
  end
844
844
 
@@ -917,18 +917,18 @@ end
917
917
  # source://i18n//lib/i18n/interpolate/ruby.rb#7
918
918
  I18n::DEFAULT_INTERPOLATION_PATTERNS = T.let(T.unsafe(nil), Array)
919
919
 
920
- # source://i18n//lib/i18n/exceptions.rb#18
920
+ # source://i18n//lib/i18n/exceptions.rb#16
921
921
  class I18n::Disabled < ::I18n::ArgumentError
922
- # source://i18n//lib/i18n/exceptions.rb#19
922
+ # source://i18n//lib/i18n/exceptions.rb#17
923
923
  def initialize(method); end
924
924
  end
925
925
 
926
926
  # source://i18n//lib/i18n.rb#36
927
927
  I18n::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
928
928
 
929
- # source://i18n//lib/i18n/exceptions.rb#6
929
+ # source://i18n//lib/i18n/exceptions.rb#4
930
930
  class I18n::ExceptionHandler
931
- # source://i18n//lib/i18n/exceptions.rb#7
931
+ # source://i18n//lib/i18n/exceptions.rb#5
932
932
  def call(exception, _locale, _key, _options); end
933
933
  end
934
934
 
@@ -997,45 +997,45 @@ I18n::INTERPOLATION_PATTERN = T.let(T.unsafe(nil), Regexp)
997
997
  # source://i18n//lib/i18n/interpolate/ruby.rb#15
998
998
  I18n::INTERPOLATION_PATTERNS_CACHE = T.let(T.unsafe(nil), Hash)
999
999
 
1000
- # source://i18n//lib/i18n/exceptions.rb#134
1000
+ # source://i18n//lib/i18n/exceptions.rb#132
1001
1001
  class I18n::InvalidFilenames < ::I18n::ArgumentError
1002
- # source://i18n//lib/i18n/exceptions.rb#136
1002
+ # source://i18n//lib/i18n/exceptions.rb#134
1003
1003
  def initialize(file_errors); end
1004
1004
  end
1005
1005
 
1006
- # source://i18n//lib/i18n/exceptions.rb#135
1006
+ # source://i18n//lib/i18n/exceptions.rb#133
1007
1007
  I18n::InvalidFilenames::NUMBER_OF_ERRORS_SHOWN = T.let(T.unsafe(nil), Integer)
1008
1008
 
1009
- # source://i18n//lib/i18n/exceptions.rb#32
1009
+ # source://i18n//lib/i18n/exceptions.rb#30
1010
1010
  class I18n::InvalidLocale < ::I18n::ArgumentError
1011
- # source://i18n//lib/i18n/exceptions.rb#34
1011
+ # source://i18n//lib/i18n/exceptions.rb#32
1012
1012
  def initialize(locale); end
1013
1013
 
1014
- # source://i18n//lib/i18n/exceptions.rb#33
1014
+ # source://i18n//lib/i18n/exceptions.rb#31
1015
1015
  def locale; end
1016
1016
  end
1017
1017
 
1018
- # source://i18n//lib/i18n/exceptions.rb#40
1018
+ # source://i18n//lib/i18n/exceptions.rb#38
1019
1019
  class I18n::InvalidLocaleData < ::I18n::ArgumentError
1020
- # source://i18n//lib/i18n/exceptions.rb#42
1020
+ # source://i18n//lib/i18n/exceptions.rb#40
1021
1021
  def initialize(filename, exception_message); end
1022
1022
 
1023
- # source://i18n//lib/i18n/exceptions.rb#41
1023
+ # source://i18n//lib/i18n/exceptions.rb#39
1024
1024
  def filename; end
1025
1025
  end
1026
1026
 
1027
- # source://i18n//lib/i18n/exceptions.rb#92
1027
+ # source://i18n//lib/i18n/exceptions.rb#90
1028
1028
  class I18n::InvalidPluralizationData < ::I18n::ArgumentError
1029
- # source://i18n//lib/i18n/exceptions.rb#94
1029
+ # source://i18n//lib/i18n/exceptions.rb#92
1030
1030
  def initialize(entry, count, key); end
1031
1031
 
1032
- # source://i18n//lib/i18n/exceptions.rb#93
1032
+ # source://i18n//lib/i18n/exceptions.rb#91
1033
1033
  def count; end
1034
1034
 
1035
- # source://i18n//lib/i18n/exceptions.rb#93
1035
+ # source://i18n//lib/i18n/exceptions.rb#91
1036
1036
  def entry; end
1037
1037
 
1038
- # source://i18n//lib/i18n/exceptions.rb#93
1038
+ # source://i18n//lib/i18n/exceptions.rb#91
1039
1039
  def key; end
1040
1040
  end
1041
1041
 
@@ -1191,60 +1191,60 @@ class I18n::Middleware
1191
1191
  def call(env); end
1192
1192
  end
1193
1193
 
1194
- # source://i18n//lib/i18n/exceptions.rb#100
1194
+ # source://i18n//lib/i18n/exceptions.rb#98
1195
1195
  class I18n::MissingInterpolationArgument < ::I18n::ArgumentError
1196
- # source://i18n//lib/i18n/exceptions.rb#102
1196
+ # source://i18n//lib/i18n/exceptions.rb#100
1197
1197
  def initialize(key, values, string); end
1198
1198
 
1199
- # source://i18n//lib/i18n/exceptions.rb#101
1199
+ # source://i18n//lib/i18n/exceptions.rb#99
1200
1200
  def key; end
1201
1201
 
1202
- # source://i18n//lib/i18n/exceptions.rb#101
1202
+ # source://i18n//lib/i18n/exceptions.rb#99
1203
1203
  def string; end
1204
1204
 
1205
- # source://i18n//lib/i18n/exceptions.rb#101
1205
+ # source://i18n//lib/i18n/exceptions.rb#99
1206
1206
  def values; end
1207
1207
  end
1208
1208
 
1209
- # source://i18n//lib/i18n/exceptions.rb#48
1209
+ # source://i18n//lib/i18n/exceptions.rb#46
1210
1210
  class I18n::MissingTranslation < ::I18n::ArgumentError
1211
1211
  include ::I18n::MissingTranslation::Base
1212
1212
  end
1213
1213
 
1214
- # source://i18n//lib/i18n/exceptions.rb#49
1214
+ # source://i18n//lib/i18n/exceptions.rb#47
1215
1215
  module I18n::MissingTranslation::Base
1216
- # source://i18n//lib/i18n/exceptions.rb#54
1216
+ # source://i18n//lib/i18n/exceptions.rb#52
1217
1217
  def initialize(locale, key, options = T.unsafe(nil)); end
1218
1218
 
1219
- # source://i18n//lib/i18n/exceptions.rb#52
1219
+ # source://i18n//lib/i18n/exceptions.rb#50
1220
1220
  def key; end
1221
1221
 
1222
- # source://i18n//lib/i18n/exceptions.rb#59
1222
+ # source://i18n//lib/i18n/exceptions.rb#57
1223
1223
  def keys; end
1224
1224
 
1225
- # source://i18n//lib/i18n/exceptions.rb#52
1225
+ # source://i18n//lib/i18n/exceptions.rb#50
1226
1226
  def locale; end
1227
1227
 
1228
- # source://i18n//lib/i18n/exceptions.rb#65
1228
+ # source://i18n//lib/i18n/exceptions.rb#63
1229
1229
  def message; end
1230
1230
 
1231
- # source://i18n//lib/i18n/exceptions.rb#74
1231
+ # source://i18n//lib/i18n/exceptions.rb#72
1232
1232
  def normalized_option(key); end
1233
1233
 
1234
- # source://i18n//lib/i18n/exceptions.rb#52
1234
+ # source://i18n//lib/i18n/exceptions.rb#50
1235
1235
  def options; end
1236
1236
 
1237
- # source://i18n//lib/i18n/exceptions.rb#80
1237
+ # source://i18n//lib/i18n/exceptions.rb#78
1238
1238
  def to_exception; end
1239
1239
 
1240
- # source://i18n//lib/i18n/exceptions.rb#65
1240
+ # source://i18n//lib/i18n/exceptions.rb#63
1241
1241
  def to_s; end
1242
1242
  end
1243
1243
 
1244
- # source://i18n//lib/i18n/exceptions.rb#50
1244
+ # source://i18n//lib/i18n/exceptions.rb#48
1245
1245
  I18n::MissingTranslation::Base::PERMITTED_KEYS = T.let(T.unsafe(nil), Array)
1246
1246
 
1247
- # source://i18n//lib/i18n/exceptions.rb#88
1247
+ # source://i18n//lib/i18n/exceptions.rb#86
1248
1248
  class I18n::MissingTranslationData < ::I18n::ArgumentError
1249
1249
  include ::I18n::MissingTranslation::Base
1250
1250
  end
@@ -1252,15 +1252,15 @@ end
1252
1252
  # source://i18n//lib/i18n.rb#19
1253
1253
  I18n::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
1254
1254
 
1255
- # source://i18n//lib/i18n/exceptions.rb#108
1255
+ # source://i18n//lib/i18n/exceptions.rb#106
1256
1256
  class I18n::ReservedInterpolationKey < ::I18n::ArgumentError
1257
- # source://i18n//lib/i18n/exceptions.rb#110
1257
+ # source://i18n//lib/i18n/exceptions.rb#108
1258
1258
  def initialize(key, string); end
1259
1259
 
1260
- # source://i18n//lib/i18n/exceptions.rb#109
1260
+ # source://i18n//lib/i18n/exceptions.rb#107
1261
1261
  def key; end
1262
1262
 
1263
- # source://i18n//lib/i18n/exceptions.rb#109
1263
+ # source://i18n//lib/i18n/exceptions.rb#107
1264
1264
  def string; end
1265
1265
  end
1266
1266
 
@@ -1275,30 +1275,30 @@ module I18n::Tests::Localization
1275
1275
  end
1276
1276
  end
1277
1277
 
1278
- # source://i18n//lib/i18n/exceptions.rb#116
1278
+ # source://i18n//lib/i18n/exceptions.rb#114
1279
1279
  class I18n::UnknownFileType < ::I18n::ArgumentError
1280
- # source://i18n//lib/i18n/exceptions.rb#118
1280
+ # source://i18n//lib/i18n/exceptions.rb#116
1281
1281
  def initialize(type, filename); end
1282
1282
 
1283
- # source://i18n//lib/i18n/exceptions.rb#117
1283
+ # source://i18n//lib/i18n/exceptions.rb#115
1284
1284
  def filename; end
1285
1285
 
1286
- # source://i18n//lib/i18n/exceptions.rb#117
1286
+ # source://i18n//lib/i18n/exceptions.rb#115
1287
1287
  def type; end
1288
1288
  end
1289
1289
 
1290
- # source://i18n//lib/i18n/exceptions.rb#124
1290
+ # source://i18n//lib/i18n/exceptions.rb#122
1291
1291
  class I18n::UnsupportedMethod < ::I18n::ArgumentError
1292
- # source://i18n//lib/i18n/exceptions.rb#126
1292
+ # source://i18n//lib/i18n/exceptions.rb#124
1293
1293
  def initialize(method, backend_klass, msg); end
1294
1294
 
1295
- # source://i18n//lib/i18n/exceptions.rb#125
1295
+ # source://i18n//lib/i18n/exceptions.rb#123
1296
1296
  def backend_klass; end
1297
1297
 
1298
- # source://i18n//lib/i18n/exceptions.rb#125
1298
+ # source://i18n//lib/i18n/exceptions.rb#123
1299
1299
  def method; end
1300
1300
 
1301
- # source://i18n//lib/i18n/exceptions.rb#125
1301
+ # source://i18n//lib/i18n/exceptions.rb#123
1302
1302
  def msg; end
1303
1303
  end
1304
1304