lunchmoney 1.1.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +1 -0
  3. data/.github/workflows/build_and_publish_yard_docs.yml +1 -1
  4. data/.github/workflows/check_pipeline.yml +2 -2
  5. data/.github/workflows/ci.yml +1 -1
  6. data/.github/workflows/{dependabot-rbi-updater.yml → rbi-updater.yml} +2 -3
  7. data/.mdlrc +1 -0
  8. data/Gemfile +1 -1
  9. data/Gemfile.lock +43 -47
  10. data/README.md +2 -0
  11. data/lib/lunchmoney/objects/crypto.rb +6 -1
  12. data/lib/lunchmoney/objects/user.rb +4 -1
  13. data/lib/lunchmoney/version.rb +1 -1
  14. data/sorbet/rbi/annotations/activesupport.rbi +11 -0
  15. data/sorbet/rbi/dsl/active_support/callbacks.rbi +1 -0
  16. data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.3.2.rbi} +23 -23
  17. data/sorbet/rbi/gems/dotenv@3.1.2.rbi +303 -0
  18. data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.4.rbi} +48 -43
  19. data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +72 -72
  20. data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.22.3.rbi} +19 -18
  21. data/sorbet/rbi/gems/{mocha@2.1.0.rbi → mocha@2.2.0.rbi} +149 -113
  22. data/sorbet/rbi/gems/prism@0.29.0.rbi +37987 -0
  23. data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.0.10.rbi} +83 -83
  24. data/sorbet/rbi/gems/{rbi@0.1.6.rbi → rbi@0.1.13.rbi} +310 -154
  25. data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.1.rbi} +1 -0
  26. data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +71 -62
  27. data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +34 -0
  28. data/sorbet/rbi/gems/{rubocop-rails@2.23.1.rbi → rubocop-rails@2.24.1.rbi} +159 -147
  29. data/sorbet/rbi/gems/{rubocop-sorbet@0.7.7.rbi → rubocop-sorbet@0.8.3.rbi} +166 -116
  30. data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.63.5.rbi} +1499 -1097
  31. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
  32. data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.1.rbi} +148 -113
  33. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +89 -50
  34. data/sorbet/rbi/gems/{webmock@3.20.0.rbi → webmock@3.23.0.rbi} +25 -25
  35. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +194 -58
  36. data/sorbet/tapioca/require.rb +1 -0
  37. metadata +29 -30
  38. data/sorbet/rbi/gems/dotenv@2.8.1.rbi +0 -234
  39. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  40. data/sorbet/rbi/gems/prism@0.19.0.rbi +0 -29883
  41. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
  42. /data/sorbet/rbi/gems/{bigdecimal@3.1.6.rbi → bigdecimal@3.1.7.rbi} +0 -0
  43. /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
  44. /data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +0 -0
  45. /data/sorbet/rbi/gems/{rubocop-shopify@2.14.0.rbi → rubocop-shopify@2.15.1.rbi} +0 -0
@@ -0,0 +1,303 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `dotenv` gem.
5
+ # Please instead update this file by running `bin/tapioca gem dotenv`.
6
+
7
+ # Shim to load environment variables from `.env files into `ENV`.
8
+ #
9
+ # source://dotenv//lib/dotenv/version.rb#1
10
+ module Dotenv
11
+ extend ::Dotenv
12
+
13
+ # Returns the value of attribute instrumenter.
14
+ #
15
+ # source://dotenv//lib/dotenv.rb#15
16
+ def instrumenter; end
17
+
18
+ # Sets the attribute instrumenter
19
+ #
20
+ # @param value the value to set the attribute instrumenter to.
21
+ #
22
+ # source://dotenv//lib/dotenv.rb#15
23
+ def instrumenter=(_arg0); end
24
+
25
+ # Loads environment variables from one or more `.env` files. See `#parse` for more details.
26
+ #
27
+ # source://dotenv//lib/dotenv.rb#18
28
+ def load(*filenames, overwrite: T.unsafe(nil), ignore: T.unsafe(nil)); end
29
+
30
+ # Same as `#load`, but raises Errno::ENOENT if any files don't exist
31
+ #
32
+ # source://dotenv//lib/dotenv.rb#27
33
+ def load!(*filenames); end
34
+
35
+ # Modify `ENV` for the block and restore it to its previous state afterwards.
36
+ #
37
+ # Note that the block is synchronized to prevent concurrent modifications to `ENV`,
38
+ # so multiple threads will be executed serially.
39
+ #
40
+ # @param env [Hash] Hash of keys and values to set in `ENV`
41
+ #
42
+ # source://dotenv//lib/dotenv.rb#116
43
+ def modify(env = T.unsafe(nil), &block); end
44
+
45
+ # same as `#load`, but will overwrite existing values in `ENV`
46
+ #
47
+ # source://dotenv//lib/dotenv.rb#32
48
+ def overload(*filenames); end
49
+
50
+ # same as `#overwrite`, but raises Errno::ENOENT if any files don't exist
51
+ #
52
+ # source://dotenv//lib/dotenv.rb#38
53
+ def overload!(*filenames); end
54
+
55
+ # same as `#load`, but will overwrite existing values in `ENV`
56
+ #
57
+ # source://dotenv//lib/dotenv.rb#32
58
+ def overwrite(*filenames); end
59
+
60
+ # same as `#overwrite`, but raises Errno::ENOENT if any files don't exist
61
+ #
62
+ # source://dotenv//lib/dotenv.rb#38
63
+ def overwrite!(*filenames); end
64
+
65
+ # Parses the given files, yielding for each file if a block is given.
66
+ #
67
+ # @param filenames [String, Array<String>] Files to parse
68
+ # @param overwrite [Boolean] Overwrite existing `ENV` values
69
+ # @param ignore [Boolean] Ignore non-existent files
70
+ # @param block [Proc] Block to yield for each parsed `Dotenv::Environment`
71
+ # @return [Hash] parsed key/value pairs
72
+ #
73
+ # source://dotenv//lib/dotenv.rb#50
74
+ def parse(*filenames, overwrite: T.unsafe(nil), ignore: T.unsafe(nil), &block); end
75
+
76
+ # @raise [MissingKeys]
77
+ #
78
+ # source://dotenv//lib/dotenv.rb#126
79
+ def require_keys(*keys); end
80
+
81
+ # Restore `ENV` to a given state
82
+ #
83
+ # @param env [Hash] Hash of keys and values to restore, defaults to the last saved state
84
+ # @param safe [Boolean] Is it safe to modify `ENV`? Defaults to `true` in the main thread, otherwise raises an error.
85
+ #
86
+ # source://dotenv//lib/dotenv.rb#77
87
+ def restore(env = T.unsafe(nil), safe: T.unsafe(nil)); end
88
+
89
+ # Save the current `ENV` to be restored later
90
+ #
91
+ # source://dotenv//lib/dotenv.rb#67
92
+ def save; end
93
+
94
+ # Update `ENV` with the given hash of keys and values
95
+ #
96
+ # @param env [Hash] Hash of keys and values to set in `ENV`
97
+ # @param overwrite [Boolean] Overwrite existing `ENV` values
98
+ #
99
+ # source://dotenv//lib/dotenv.rb#98
100
+ def update(env = T.unsafe(nil), overwrite: T.unsafe(nil)); end
101
+
102
+ private
103
+
104
+ # source://dotenv//lib/dotenv.rb#134
105
+ def instrument(name, payload = T.unsafe(nil), &block); end
106
+ end
107
+
108
+ # A diff between multiple states of ENV.
109
+ #
110
+ # source://dotenv//lib/dotenv/diff.rb#3
111
+ class Dotenv::Diff
112
+ # Create a new diff. If given a block, the state of ENV after the block will be preserved as
113
+ # the final state for comparison. Otherwise, the current ENV will be the final state.
114
+ #
115
+ # @param a [Hash] the initial state, defaults to a snapshot of current ENV
116
+ # @param b [Hash] the final state, defaults to the current ENV
117
+ # @return [Diff] a new instance of Diff
118
+ # @yield [diff] a block to execute before recording the final state
119
+ #
120
+ # source://dotenv//lib/dotenv/diff.rb#16
121
+ def initialize(a: T.unsafe(nil), b: T.unsafe(nil), &block); end
122
+
123
+ # The initial state
124
+ #
125
+ # source://dotenv//lib/dotenv/diff.rb#5
126
+ def a; end
127
+
128
+ # Return a Hash of keys added with their new values
129
+ #
130
+ # source://dotenv//lib/dotenv/diff.rb#24
131
+ def added; end
132
+
133
+ # Returns true if any keys were added, removed, or changed
134
+ #
135
+ # @return [Boolean]
136
+ #
137
+ # source://dotenv//lib/dotenv/diff.rb#46
138
+ def any?; end
139
+
140
+ # The final or current state
141
+ #
142
+ # source://dotenv//lib/dotenv/diff.rb#8
143
+ def b; end
144
+
145
+ # Returns of Hash of keys changed with an array of their previous and new values
146
+ #
147
+ # source://dotenv//lib/dotenv/diff.rb#34
148
+ def changed; end
149
+
150
+ # Returns a Hash of all added, changed, and removed keys and their new values
151
+ #
152
+ # source://dotenv//lib/dotenv/diff.rb#41
153
+ def env; end
154
+
155
+ # Returns a Hash of keys removed with their previous values
156
+ #
157
+ # source://dotenv//lib/dotenv/diff.rb#29
158
+ def removed; end
159
+
160
+ private
161
+
162
+ # source://dotenv//lib/dotenv/diff.rb#52
163
+ def snapshot; end
164
+ end
165
+
166
+ # A `.env` file that will be read and parsed into a Hash
167
+ #
168
+ # source://dotenv//lib/dotenv/environment.rb#3
169
+ class Dotenv::Environment < ::Hash
170
+ # Create a new Environment
171
+ #
172
+ # @param filename [String] the path to the file to read
173
+ # @param overwrite [Boolean] whether the parser should assume existing values will be overwritten
174
+ # @return [Environment] a new instance of Environment
175
+ #
176
+ # source://dotenv//lib/dotenv/environment.rb#10
177
+ def initialize(filename, overwrite: T.unsafe(nil)); end
178
+
179
+ # Returns the value of attribute filename.
180
+ #
181
+ # source://dotenv//lib/dotenv/environment.rb#4
182
+ def filename; end
183
+
184
+ # source://dotenv//lib/dotenv/environment.rb#17
185
+ def load; end
186
+
187
+ # Returns the value of attribute overwrite.
188
+ #
189
+ # source://dotenv//lib/dotenv/environment.rb#4
190
+ def overwrite; end
191
+
192
+ # source://dotenv//lib/dotenv/environment.rb#21
193
+ def read; end
194
+ end
195
+
196
+ # source://dotenv//lib/dotenv/missing_keys.rb#2
197
+ class Dotenv::Error < ::StandardError; end
198
+
199
+ # Error raised when encountering a syntax error while parsing a .env file.
200
+ #
201
+ # source://dotenv//lib/dotenv/parser.rb#6
202
+ class Dotenv::FormatError < ::SyntaxError; end
203
+
204
+ # source://dotenv//lib/dotenv/missing_keys.rb#4
205
+ class Dotenv::MissingKeys < ::Dotenv::Error
206
+ # @return [MissingKeys] a new instance of MissingKeys
207
+ #
208
+ # source://dotenv//lib/dotenv/missing_keys.rb#5
209
+ def initialize(keys); end
210
+ end
211
+
212
+ # Parses the `.env` file format into key/value pairs.
213
+ # It allows for variable substitutions, command substitutions, and exporting of variables.
214
+ #
215
+ # source://dotenv//lib/dotenv/parser.rb#10
216
+ class Dotenv::Parser
217
+ # @return [Parser] a new instance of Parser
218
+ #
219
+ # source://dotenv//lib/dotenv/parser.rb#40
220
+ def initialize(string, overwrite: T.unsafe(nil)); end
221
+
222
+ # source://dotenv//lib/dotenv/parser.rb#46
223
+ def call; end
224
+
225
+ private
226
+
227
+ # source://dotenv//lib/dotenv/parser.rb#82
228
+ def expand_newlines(value); end
229
+
230
+ # source://dotenv//lib/dotenv/parser.rb#62
231
+ def parse_line(line); end
232
+
233
+ # source://dotenv//lib/dotenv/parser.rb#70
234
+ def parse_value(value); end
235
+
236
+ # source://dotenv//lib/dotenv/parser.rb#104
237
+ def perform_substitutions(value, maybe_quote); end
238
+
239
+ # source://dotenv//lib/dotenv/parser.rb#78
240
+ def unescape_characters(value); end
241
+
242
+ # source://dotenv//lib/dotenv/parser.rb#94
243
+ def unescape_value(value, maybe_quote); end
244
+
245
+ # @return [Boolean]
246
+ #
247
+ # source://dotenv//lib/dotenv/parser.rb#90
248
+ def variable_not_set?(line); end
249
+
250
+ class << self
251
+ # source://dotenv//lib/dotenv/parser.rb#35
252
+ def call(*_arg0, **_arg1, &_arg2); end
253
+
254
+ # Returns the value of attribute substitutions.
255
+ #
256
+ # source://dotenv//lib/dotenv/parser.rb#33
257
+ def substitutions; end
258
+ end
259
+ end
260
+
261
+ # source://dotenv//lib/dotenv/parser.rb#14
262
+ Dotenv::Parser::LINE = T.let(T.unsafe(nil), Regexp)
263
+
264
+ # An internal monitor to synchronize access to ENV in multi-threaded environments.
265
+ #
266
+ # source://dotenv//lib/dotenv.rb#12
267
+ Dotenv::SEMAPHORE = T.let(T.unsafe(nil), Monitor)
268
+
269
+ # source://dotenv//lib/dotenv/substitutions/variable.rb#4
270
+ module Dotenv::Substitutions; end
271
+
272
+ # Substitute shell commands in a value.
273
+ #
274
+ # SHA=$(git rev-parse HEAD)
275
+ #
276
+ # source://dotenv//lib/dotenv/substitutions/command.rb#9
277
+ module Dotenv::Substitutions::Command
278
+ class << self
279
+ # source://dotenv//lib/dotenv/substitutions/command.rb#23
280
+ def call(value, _env, overwrite: T.unsafe(nil)); end
281
+ end
282
+ end
283
+
284
+ # Substitute variables in a value.
285
+ #
286
+ # HOST=example.com
287
+ # URL="https://$HOST"
288
+ #
289
+ # source://dotenv//lib/dotenv/substitutions/variable.rb#10
290
+ module Dotenv::Substitutions::Variable
291
+ class << self
292
+ # source://dotenv//lib/dotenv/substitutions/variable.rb#21
293
+ def call(value, env, overwrite: T.unsafe(nil)); end
294
+
295
+ private
296
+
297
+ # source://dotenv//lib/dotenv/substitutions/variable.rb#31
298
+ def substitute(match, variable, env); end
299
+ end
300
+ end
301
+
302
+ # source://dotenv//lib/dotenv/version.rb#2
303
+ Dotenv::VERSION = T.let(T.unsafe(nil), String)
@@ -123,15 +123,15 @@ module I18n::Backend::Base
123
123
  #
124
124
  # @raise [NotImplementedError]
125
125
  #
126
- # source://i18n//lib/i18n/backend/base.rb#94
126
+ # source://i18n//lib/i18n/backend/base.rb#96
127
127
  def available_locales; end
128
128
 
129
- # source://i18n//lib/i18n/backend/base.rb#102
129
+ # source://i18n//lib/i18n/backend/base.rb#104
130
130
  def eager_load!; end
131
131
 
132
132
  # @return [Boolean]
133
133
  #
134
- # source://i18n//lib/i18n/backend/base.rb#68
134
+ # source://i18n//lib/i18n/backend/base.rb#70
135
135
  def exists?(locale, key, options = T.unsafe(nil)); end
136
136
 
137
137
  # Accepts a list of paths to translation files. Loads translations from
@@ -147,10 +147,10 @@ module I18n::Backend::Base
147
147
  #
148
148
  # @raise [ArgumentError]
149
149
  #
150
- # source://i18n//lib/i18n/backend/base.rb#75
150
+ # source://i18n//lib/i18n/backend/base.rb#77
151
151
  def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
152
152
 
153
- # source://i18n//lib/i18n/backend/base.rb#98
153
+ # source://i18n//lib/i18n/backend/base.rb#100
154
154
  def reload!; end
155
155
 
156
156
  # This method receives a locale, a data hash and options for storing translations.
@@ -174,7 +174,7 @@ module I18n::Backend::Base
174
174
  # ann: 'good', john: 'big'
175
175
  # #=> { people: { ann: "Ann is good", john: "John is big" } }
176
176
  #
177
- # source://i18n//lib/i18n/backend/base.rb#207
177
+ # source://i18n//lib/i18n/backend/base.rb#209
178
178
  def deep_interpolate(locale, data, values = T.unsafe(nil)); end
179
179
 
180
180
  # Evaluates defaults.
@@ -182,12 +182,12 @@ module I18n::Backend::Base
182
182
  # first translation that can be resolved. Otherwise it tries to resolve
183
183
  # the translation directly.
184
184
  #
185
- # source://i18n//lib/i18n/backend/base.rb#125
185
+ # source://i18n//lib/i18n/backend/base.rb#127
186
186
  def default(locale, object, subject, options = T.unsafe(nil)); end
187
187
 
188
188
  # @return [Boolean]
189
189
  #
190
- # source://i18n//lib/i18n/backend/base.rb#108
190
+ # source://i18n//lib/i18n/backend/base.rb#110
191
191
  def eager_loaded?; end
192
192
 
193
193
  # Interpolates values into a given subject.
@@ -201,7 +201,7 @@ module I18n::Backend::Base
201
201
  # method interpolates ["yes, %{user}", ["maybe no, %{user}, "no, %{user}"]], :user => "bartuz"
202
202
  # # => "["yes, bartuz",["maybe no, bartuz", "no, bartuz"]]"
203
203
  #
204
- # source://i18n//lib/i18n/backend/base.rb#191
204
+ # source://i18n//lib/i18n/backend/base.rb#193
205
205
  def interpolate(locale, subject, values = T.unsafe(nil)); end
206
206
 
207
207
  # Loads a single translations file by delegating to #load_rb or
@@ -211,41 +211,41 @@ module I18n::Backend::Base
211
211
  #
212
212
  # @raise [UnknownFileType]
213
213
  #
214
- # source://i18n//lib/i18n/backend/base.rb#230
214
+ # source://i18n//lib/i18n/backend/base.rb#232
215
215
  def load_file(filename); end
216
216
 
217
217
  # Loads a JSON translations file. The data must have locales as
218
218
  # toplevel keys.
219
219
  #
220
- # source://i18n//lib/i18n/backend/base.rb#266
220
+ # source://i18n//lib/i18n/backend/base.rb#268
221
221
  def load_json(filename); end
222
222
 
223
223
  # Loads a plain Ruby translations file. eval'ing the file must yield
224
224
  # a Hash containing translation data with locales as toplevel keys.
225
225
  #
226
- # source://i18n//lib/i18n/backend/base.rb#244
226
+ # source://i18n//lib/i18n/backend/base.rb#246
227
227
  def load_rb(filename); end
228
228
 
229
229
  # Loads a YAML translations file. The data must have locales as
230
230
  # toplevel keys.
231
231
  #
232
- # source://i18n//lib/i18n/backend/base.rb#251
232
+ # source://i18n//lib/i18n/backend/base.rb#253
233
233
  def load_yaml(filename); end
234
234
 
235
235
  # Loads a YAML translations file. The data must have locales as
236
236
  # toplevel keys.
237
237
  #
238
- # source://i18n//lib/i18n/backend/base.rb#251
238
+ # source://i18n//lib/i18n/backend/base.rb#253
239
239
  def load_yml(filename); end
240
240
 
241
241
  # The method which actually looks up for the translation in the store.
242
242
  #
243
243
  # @raise [NotImplementedError]
244
244
  #
245
- # source://i18n//lib/i18n/backend/base.rb#113
245
+ # source://i18n//lib/i18n/backend/base.rb#115
246
246
  def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
247
247
 
248
- # source://i18n//lib/i18n/backend/base.rb#298
248
+ # source://i18n//lib/i18n/backend/base.rb#300
249
249
  def pluralization_key(entry, count); end
250
250
 
251
251
  # Picks a translation from a pluralized mnemonic subkey according to English
@@ -259,7 +259,7 @@ module I18n::Backend::Base
259
259
  #
260
260
  # @raise [InvalidPluralizationData]
261
261
  #
262
- # source://i18n//lib/i18n/backend/base.rb#172
262
+ # source://i18n//lib/i18n/backend/base.rb#174
263
263
  def pluralize(locale, entry, count); end
264
264
 
265
265
  # Resolves a translation.
@@ -267,7 +267,7 @@ module I18n::Backend::Base
267
267
  # given options. If it is a Proc then it will be evaluated. All other
268
268
  # subjects will be returned directly.
269
269
  #
270
- # source://i18n//lib/i18n/backend/base.rb#147
270
+ # source://i18n//lib/i18n/backend/base.rb#149
271
271
  def resolve(locale, object, subject, options = T.unsafe(nil)); end
272
272
 
273
273
  # Resolves a translation.
@@ -275,15 +275,15 @@ module I18n::Backend::Base
275
275
  # given options. If it is a Proc then it will be evaluated. All other
276
276
  # subjects will be returned directly.
277
277
  #
278
- # source://i18n//lib/i18n/backend/base.rb#147
278
+ # source://i18n//lib/i18n/backend/base.rb#149
279
279
  def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end
280
280
 
281
281
  # @return [Boolean]
282
282
  #
283
- # source://i18n//lib/i18n/backend/base.rb#117
283
+ # source://i18n//lib/i18n/backend/base.rb#119
284
284
  def subtrees?; end
285
285
 
286
- # source://i18n//lib/i18n/backend/base.rb#279
286
+ # source://i18n//lib/i18n/backend/base.rb#281
287
287
  def translate_localization_format(locale, object, format, options); end
288
288
  end
289
289
 
@@ -603,15 +603,15 @@ end
603
603
 
604
604
  # source://i18n//lib/i18n/backend/interpolation_compiler.rb#20
605
605
  module I18n::Backend::InterpolationCompiler
606
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#99
606
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#97
607
607
  def interpolate(locale, string, values); end
608
608
 
609
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#109
609
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#107
610
610
  def store_translations(locale, data, options = T.unsafe(nil)); end
611
611
 
612
612
  protected
613
613
 
614
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#115
614
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#113
615
615
  def compile_all_strings_in(data); end
616
616
  end
617
617
 
@@ -619,58 +619,55 @@ end
619
619
  module I18n::Backend::InterpolationCompiler::Compiler
620
620
  extend ::I18n::Backend::InterpolationCompiler::Compiler
621
621
 
622
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#27
622
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#26
623
623
  def compile_if_an_interpolation(string); end
624
624
 
625
625
  # @return [Boolean]
626
626
  #
627
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#39
627
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#38
628
628
  def interpolated_str?(str); end
629
629
 
630
630
  protected
631
631
 
632
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#60
632
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#58
633
633
  def compile_interpolation_token(key); end
634
634
 
635
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#49
635
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#48
636
636
  def compiled_interpolation_body(str); end
637
637
 
638
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#73
638
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#71
639
639
  def direct_key(key); end
640
640
 
641
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#93
641
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#91
642
642
  def escape_key_sym(key); end
643
643
 
644
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#89
644
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#87
645
645
  def escape_plain_str(str); end
646
646
 
647
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#55
648
- def handle_interpolation_token(interpolation, matchdata); end
647
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#54
648
+ def handle_interpolation_token(token); end
649
649
 
650
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#69
650
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#67
651
651
  def interpolate_key(key); end
652
652
 
653
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#64
653
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#62
654
654
  def interpolate_or_raise_missing(key); end
655
655
 
656
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#81
656
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#79
657
657
  def missing_key(key); end
658
658
 
659
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#77
659
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#75
660
660
  def nil_key(key); end
661
661
 
662
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#85
662
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#83
663
663
  def reserved_key(key); end
664
664
 
665
665
  # tokenize("foo %{bar} baz %%{buz}") # => ["foo ", "%{bar}", " baz ", "%%{buz}"]
666
666
  #
667
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#45
667
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#44
668
668
  def tokenize(str); end
669
669
  end
670
670
 
671
- # source://i18n//lib/i18n/backend/interpolation_compiler.rb#25
672
- I18n::Backend::InterpolationCompiler::Compiler::INTERPOLATION_SYNTAX_PATTERN = T.let(T.unsafe(nil), Regexp)
673
-
674
671
  # source://i18n//lib/i18n/backend/interpolation_compiler.rb#24
675
672
  I18n::Backend::InterpolationCompiler::Compiler::TOKENIZER = T.let(T.unsafe(nil), Regexp)
676
673
 
@@ -2011,12 +2008,20 @@ class I18n::Locale::Fallbacks < ::Hash
2011
2008
  # source://i18n//lib/i18n/locale/fallbacks.rb#55
2012
2009
  def defaults=(defaults); end
2013
2010
 
2011
+ # @return [Boolean]
2012
+ #
2013
+ # source://i18n//lib/i18n/locale/fallbacks.rb#82
2014
+ def empty?; end
2015
+
2016
+ # source://i18n//lib/i18n/locale/fallbacks.rb#86
2017
+ def inspect; end
2018
+
2014
2019
  # source://i18n//lib/i18n/locale/fallbacks.rb#67
2015
2020
  def map(*args, &block); end
2016
2021
 
2017
2022
  protected
2018
2023
 
2019
- # source://i18n//lib/i18n/locale/fallbacks.rb#84
2024
+ # source://i18n//lib/i18n/locale/fallbacks.rb#92
2020
2025
  def compute(tags, include_defaults = T.unsafe(nil), exclude = T.unsafe(nil)); end
2021
2026
  end
2022
2027