alchemrest 3.2.2 → 3.3.0
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/Gemfile.lock +19 -35
- data/gemfiles/faraday_2.gemfile.lock +1 -1
- data/gemfiles/rails_7_2.gemfile.lock +1 -1
- data/gemfiles/rails_8_0.gemfile.lock +1 -1
- data/lib/alchemrest/data.rb +2 -2
- data/lib/alchemrest/request_definition.rb +1 -1
- data/lib/alchemrest/version.rb +1 -1
- data/lib/tapioca/dsl/compilers/alchemrest_root.rb +79 -7
- data/sorbet/rbi/gems/{concurrent-ruby@1.3.6.rbi → concurrent-ruby@1.3.7.rbi} +53 -51
- data/sorbet/rbi/gems/{crass@1.0.6.rbi → crass@1.0.7.rbi} +63 -57
- data/sorbet/rbi/gems/{faraday-net_http@1.0.2.rbi → faraday-net_http@3.4.4.rbi} +49 -46
- data/sorbet/rbi/gems/{faraday@1.10.5.rbi → faraday@2.14.3.rbi} +708 -519
- data/sorbet/rbi/gems/{loofah@2.24.0.rbi → loofah@2.25.2.rbi} +67 -41
- data/sorbet/rbi/gems/net-http@0.9.1.rbi +977 -0
- data/sorbet/rbi/gems/{nokogiri@1.19.1.rbi → nokogiri@1.19.4.rbi} +213 -199
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.2.rbi → rails-html-sanitizer@1.7.1.rbi} +107 -104
- data/sorbet/rbi/gems/{yard@0.9.37.rbi → yard@0.9.44.rbi} +1036 -365
- metadata +12 -24
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -181
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.1.rbi +0 -120
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -128
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -123
- data/sorbet/rbi/gems/faraday-multipart@1.2.0.rbi +0 -190
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -116
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -119
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -113
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -149
- data/sorbet/rbi/gems/multipart-post@2.4.1.rbi +0 -154
|
@@ -141,58 +141,58 @@ module Loofah::HTML5::SafeList; end
|
|
|
141
141
|
# source://loofah//lib/loofah/html5/safelist.rb#232
|
|
142
142
|
Loofah::HTML5::SafeList::ACCEPTABLE_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
143
143
|
|
|
144
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
144
|
+
# source://loofah//lib/loofah/html5/safelist.rb#743
|
|
145
145
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_COLORS = T.let(T.unsafe(nil), Set)
|
|
146
146
|
|
|
147
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
147
|
+
# source://loofah//lib/loofah/html5/safelist.rb#763
|
|
148
148
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_EXTENDED_COLORS = T.let(T.unsafe(nil), Set)
|
|
149
149
|
|
|
150
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
150
|
+
# source://loofah//lib/loofah/html5/safelist.rb#915
|
|
151
151
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set)
|
|
152
152
|
|
|
153
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
153
|
+
# source://loofah//lib/loofah/html5/safelist.rb#704
|
|
154
154
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_KEYWORDS = T.let(T.unsafe(nil), Set)
|
|
155
155
|
|
|
156
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
156
|
+
# source://loofah//lib/loofah/html5/safelist.rb#631
|
|
157
157
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
158
158
|
|
|
159
159
|
# source://loofah//lib/loofah/html5/safelist.rb#50
|
|
160
160
|
Loofah::HTML5::SafeList::ACCEPTABLE_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
161
161
|
|
|
162
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
162
|
+
# source://loofah//lib/loofah/html5/safelist.rb#988
|
|
163
163
|
Loofah::HTML5::SafeList::ACCEPTABLE_PROTOCOLS = T.let(T.unsafe(nil), Set)
|
|
164
164
|
|
|
165
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
165
|
+
# source://loofah//lib/loofah/html5/safelist.rb#975
|
|
166
166
|
Loofah::HTML5::SafeList::ACCEPTABLE_SVG_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
167
167
|
|
|
168
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
168
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1018
|
|
169
169
|
Loofah::HTML5::SafeList::ACCEPTABLE_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set)
|
|
170
170
|
|
|
171
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
171
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1028
|
|
172
172
|
Loofah::HTML5::SafeList::ALLOWED_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
173
173
|
|
|
174
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
174
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1031
|
|
175
175
|
Loofah::HTML5::SafeList::ALLOWED_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set)
|
|
176
176
|
|
|
177
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
177
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1030
|
|
178
178
|
Loofah::HTML5::SafeList::ALLOWED_CSS_KEYWORDS = T.let(T.unsafe(nil), Set)
|
|
179
179
|
|
|
180
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
180
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1029
|
|
181
181
|
Loofah::HTML5::SafeList::ALLOWED_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
182
182
|
|
|
183
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
183
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1027
|
|
184
184
|
Loofah::HTML5::SafeList::ALLOWED_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
185
185
|
|
|
186
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
186
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1052
|
|
187
187
|
Loofah::HTML5::SafeList::ALLOWED_ELEMENTS_WITH_LIBXML2 = T.let(T.unsafe(nil), Set)
|
|
188
188
|
|
|
189
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
189
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1033
|
|
190
190
|
Loofah::HTML5::SafeList::ALLOWED_PROTOCOLS = T.let(T.unsafe(nil), Set)
|
|
191
191
|
|
|
192
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
192
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1032
|
|
193
193
|
Loofah::HTML5::SafeList::ALLOWED_SVG_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
194
194
|
|
|
195
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
195
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1034
|
|
196
196
|
Loofah::HTML5::SafeList::ALLOWED_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set)
|
|
197
197
|
|
|
198
198
|
# source://loofah//lib/loofah/html5/safelist.rb#526
|
|
@@ -207,13 +207,13 @@ Loofah::HTML5::SafeList::MATHML_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
|
207
207
|
# source://loofah//lib/loofah/html5/safelist.rb#147
|
|
208
208
|
Loofah::HTML5::SafeList::MATHML_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
209
209
|
|
|
210
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
210
|
+
# source://loofah//lib/loofah/html5/safelist.rb#986
|
|
211
211
|
Loofah::HTML5::SafeList::PROTOCOL_SEPARATOR = T.let(T.unsafe(nil), Regexp)
|
|
212
212
|
|
|
213
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
213
|
+
# source://loofah//lib/loofah/html5/safelist.rb#968
|
|
214
214
|
Loofah::HTML5::SafeList::SHORTHAND_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
215
215
|
|
|
216
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
216
|
+
# source://loofah//lib/loofah/html5/safelist.rb#613
|
|
217
217
|
Loofah::HTML5::SafeList::SVG_ALLOW_LOCAL_HREF = T.let(T.unsafe(nil), Set)
|
|
218
218
|
|
|
219
219
|
# source://loofah//lib/loofah/html5/safelist.rb#367
|
|
@@ -225,69 +225,95 @@ Loofah::HTML5::SafeList::SVG_ATTR_VAL_ALLOWS_REF = T.let(T.unsafe(nil), Set)
|
|
|
225
225
|
# source://loofah//lib/loofah/html5/safelist.rb#183
|
|
226
226
|
Loofah::HTML5::SafeList::SVG_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
227
227
|
|
|
228
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
228
|
+
# source://loofah//lib/loofah/html5/safelist.rb#608
|
|
229
|
+
Loofah::HTML5::SafeList::SVG_HREF_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
230
|
+
|
|
231
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1047
|
|
229
232
|
Loofah::HTML5::SafeList::TAGS_SAFE_WITH_LIBXML2 = T.let(T.unsafe(nil), Set)
|
|
230
233
|
|
|
231
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
234
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1038
|
|
232
235
|
Loofah::HTML5::SafeList::VOID_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
233
236
|
|
|
234
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
237
|
+
# source://loofah//lib/loofah/html5/scrub.rb#9
|
|
235
238
|
module Loofah::HTML5::Scrub
|
|
236
239
|
class << self
|
|
237
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
240
|
+
# source://loofah//lib/loofah/html5/scrub.rb#56
|
|
238
241
|
def allowed_element?(element_name); end
|
|
239
242
|
|
|
240
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
243
|
+
# source://loofah//lib/loofah/html5/scrub.rb#182
|
|
244
|
+
def allowed_uri?(uri_string); end
|
|
245
|
+
|
|
246
|
+
# source://loofah//lib/loofah/html5/scrub.rb#266
|
|
241
247
|
def cdata_escape(node); end
|
|
242
248
|
|
|
243
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
249
|
+
# source://loofah//lib/loofah/html5/scrub.rb#261
|
|
244
250
|
def cdata_needs_escaping?(node); end
|
|
245
251
|
|
|
246
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
252
|
+
# source://loofah//lib/loofah/html5/scrub.rb#206
|
|
253
|
+
def decode_numeric_character_references(string); end
|
|
254
|
+
|
|
255
|
+
# source://loofah//lib/loofah/html5/scrub.rb#281
|
|
247
256
|
def escape_tags(string); end
|
|
248
257
|
|
|
249
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
258
|
+
# source://loofah//lib/loofah/html5/scrub.rb#240
|
|
250
259
|
def force_correct_attribute_escaping!(node); end
|
|
251
260
|
|
|
252
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
261
|
+
# source://loofah//lib/loofah/html5/scrub.rb#161
|
|
253
262
|
def scrub_attribute_that_allows_local_ref(attr_node); end
|
|
254
263
|
|
|
255
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
264
|
+
# source://loofah//lib/loofah/html5/scrub.rb#61
|
|
256
265
|
def scrub_attributes(node); end
|
|
257
266
|
|
|
258
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
267
|
+
# source://loofah//lib/loofah/html5/scrub.rb#110
|
|
259
268
|
def scrub_css(style); end
|
|
260
269
|
|
|
261
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
270
|
+
# source://loofah//lib/loofah/html5/scrub.rb#105
|
|
262
271
|
def scrub_css_attribute(node); end
|
|
263
272
|
|
|
264
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
273
|
+
# source://loofah//lib/loofah/html5/scrub.rb#226
|
|
265
274
|
def scrub_uri_attribute(attr_node); end
|
|
275
|
+
|
|
276
|
+
private
|
|
277
|
+
|
|
278
|
+
# source://loofah//lib/loofah/html5/scrub.rb#307
|
|
279
|
+
def data_uri_mediatype(uri_string); end
|
|
266
280
|
end
|
|
267
281
|
end
|
|
268
282
|
|
|
269
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
283
|
+
# source://loofah//lib/loofah/html5/scrub.rb#10
|
|
270
284
|
Loofah::HTML5::Scrub::CONTROL_CHARACTERS = T.let(T.unsafe(nil), Regexp)
|
|
271
285
|
|
|
272
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
286
|
+
# source://loofah//lib/loofah/html5/scrub.rb#12
|
|
273
287
|
Loofah::HTML5::Scrub::CRASS_SEMICOLON = T.let(T.unsafe(nil), Hash)
|
|
274
288
|
|
|
275
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
289
|
+
# source://loofah//lib/loofah/html5/scrub.rb#13
|
|
276
290
|
Loofah::HTML5::Scrub::CSS_IMPORTANT = T.let(T.unsafe(nil), String)
|
|
277
291
|
|
|
278
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
292
|
+
# source://loofah//lib/loofah/html5/scrub.rb#11
|
|
279
293
|
Loofah::HTML5::Scrub::CSS_KEYWORDISH = T.let(T.unsafe(nil), Regexp)
|
|
280
294
|
|
|
281
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
295
|
+
# source://loofah//lib/loofah/html5/scrub.rb#15
|
|
282
296
|
Loofah::HTML5::Scrub::CSS_PROPERTY_STRING_WITHOUT_EMBEDDED_QUOTES = T.let(T.unsafe(nil), Regexp)
|
|
283
297
|
|
|
284
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
298
|
+
# source://loofah//lib/loofah/html5/scrub.rb#14
|
|
285
299
|
Loofah::HTML5::Scrub::CSS_WHITESPACE = T.let(T.unsafe(nil), String)
|
|
286
300
|
|
|
287
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
301
|
+
# source://loofah//lib/loofah/html5/scrub.rb#16
|
|
288
302
|
Loofah::HTML5::Scrub::DATA_ATTRIBUTE_NAME = T.let(T.unsafe(nil), Regexp)
|
|
289
303
|
|
|
290
|
-
# source://loofah//lib/loofah/html5/
|
|
304
|
+
# source://loofah//lib/loofah/html5/scrub.rb#43
|
|
305
|
+
Loofah::HTML5::Scrub::DATA_URI_MEDIATYPE = T.let(T.unsafe(nil), Regexp)
|
|
306
|
+
|
|
307
|
+
# source://loofah//lib/loofah/html5/scrub.rb#20
|
|
308
|
+
Loofah::HTML5::Scrub::NUMERIC_CHARACTER_REFERENCE = T.let(T.unsafe(nil), Regexp)
|
|
309
|
+
|
|
310
|
+
# source://loofah//lib/loofah/html5/scrub.rb#26
|
|
311
|
+
Loofah::HTML5::Scrub::URI_PROTOCOL_REGEX = T.let(T.unsafe(nil), Regexp)
|
|
312
|
+
|
|
313
|
+
# source://loofah//lib/loofah/html5/scrub.rb#53
|
|
314
|
+
Loofah::HTML5::Scrub::WHITESPACE_CHARACTER_REFERENCES = T.let(T.unsafe(nil), Regexp)
|
|
315
|
+
|
|
316
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1055
|
|
291
317
|
Loofah::HTML5::WhiteList = Loofah::HTML5::SafeList
|
|
292
318
|
|
|
293
319
|
# source://loofah//lib/loofah/concerns.rb#133
|