diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 4a6c1be56..9a67253dd 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,11 +1,12 @@
-# To get started with Dependabot version updates, you'll need to specify which
-# package ecosystems to update and where the package manifests are located.
-# Please see the documentation for all configuration options:
+# Documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
-
version: 2
updates:
- - package-ecosystem: bundler # See documentation for possible values
+ - package-ecosystem: bundler
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
+ open-pull-requests-limit: 2
+ - package-ecosystem: github-actions
+ directory: "/"
+ open-pull-requests-limit: 2
diff --git a/Gemfile.lock b/Gemfile.lock
index 6f431ec32..f53a8f498 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -11,35 +11,35 @@ GIT
GEM
remote: https://rubygems.org/
specs:
- actioncable (7.1.3.4)
- actionpack (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ actioncable (7.1.5.2)
+ actionpack (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
- actionmailbox (7.1.3.4)
- actionpack (= 7.1.3.4)
- activejob (= 7.1.3.4)
- activerecord (= 7.1.3.4)
- activestorage (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ actionmailbox (7.1.5.2)
+ actionpack (= 7.1.5.2)
+ activejob (= 7.1.5.2)
+ activerecord (= 7.1.5.2)
+ activestorage (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
- actionmailer (7.1.3.4)
- actionpack (= 7.1.3.4)
- actionview (= 7.1.3.4)
- activejob (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ actionmailer (7.1.5.2)
+ actionpack (= 7.1.5.2)
+ actionview (= 7.1.5.2)
+ activejob (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.2)
- actionpack (7.1.3.4)
- actionview (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ actionpack (7.1.5.2)
+ actionview (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
@@ -47,48 +47,51 @@ GEM
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
- actiontext (7.1.3.4)
- actionpack (= 7.1.3.4)
- activerecord (= 7.1.3.4)
- activestorage (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ actiontext (7.1.5.2)
+ actionpack (= 7.1.5.2)
+ activerecord (= 7.1.5.2)
+ activestorage (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
- actionview (7.1.3.4)
- activesupport (= 7.1.3.4)
+ actionview (7.1.5.2)
+ activesupport (= 7.1.5.2)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
active_record_doctor (1.14.0)
activerecord (>= 4.2.0)
- activejob (7.1.3.4)
- activesupport (= 7.1.3.4)
+ activejob (7.1.5.2)
+ activesupport (= 7.1.5.2)
globalid (>= 0.3.6)
- activemodel (7.1.3.4)
- activesupport (= 7.1.3.4)
- activerecord (7.1.3.4)
- activemodel (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ activemodel (7.1.5.2)
+ activesupport (= 7.1.5.2)
+ activerecord (7.1.5.2)
+ activemodel (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
timeout (>= 0.4.0)
activerecord-postgis-adapter (9.0.2)
activerecord (~> 7.1.0)
rgeo-activerecord (~> 7.0.0)
- activestorage (7.1.3.4)
- actionpack (= 7.1.3.4)
- activejob (= 7.1.3.4)
- activerecord (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ activestorage (7.1.5.2)
+ actionpack (= 7.1.5.2)
+ activejob (= 7.1.5.2)
+ activerecord (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
marcel (~> 1.0)
- activesupport (7.1.3.4)
+ activesupport (7.1.5.2)
base64
+ benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
+ logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
+ securerandom (>= 0.3)
tzinfo (~> 2.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
@@ -141,6 +144,7 @@ GEM
base64 (0.3.0)
bcp47_spec (0.2.1)
bcrypt (3.1.20)
+ benchmark (0.5.0)
better_errors (2.10.1)
erubi (>= 1.0.0)
rack (>= 0.9.0)
@@ -152,7 +156,7 @@ GEM
erubi (~> 1.4)
parser (>= 2.4)
smart_properties
- bigdecimal (3.1.8)
+ bigdecimal (3.3.1)
binding_of_caller (1.0.1)
debug_inspector (>= 1.2.0)
bootsnap (1.18.3)
@@ -196,8 +200,8 @@ GEM
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
colorize (1.1.0)
- concurrent-ruby (1.3.4)
- connection_pool (2.4.1)
+ concurrent-ruby (1.3.5)
+ connection_pool (2.5.5)
counter_culture (3.7.0)
activerecord (>= 4.2)
activesupport (>= 4.2)
@@ -226,7 +230,7 @@ GEM
dotenv-rails (3.1.2)
dotenv (= 3.1.2)
railties (>= 6.1)
- drb (2.2.1)
+ drb (2.2.3)
dumb_delegator (1.0.0)
elasticsearch (7.17.11)
elasticsearch-api (= 7.17.11)
@@ -248,7 +252,7 @@ GEM
rainbow
rubocop (>= 1)
smart_properties
- erubi (1.13.0)
+ erubi (1.13.1)
et-orbi (1.2.11)
tzinfo
execjs (2.9.1)
@@ -273,10 +277,10 @@ GEM
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
fiber-storage (1.0.1)
- flipper (1.3.0)
+ flipper (1.3.6)
concurrent-ruby (< 2)
- flipper-redis (1.3.0)
- flipper (~> 1.3.0)
+ flipper-redis (1.3.6)
+ flipper (~> 1.3.6)
redis (>= 3.0, < 6)
flipper-ui (1.3.0)
erubi (>= 1.0.0, < 2.0.0)
@@ -291,7 +295,7 @@ GEM
et-orbi (~> 1, >= 1.2.11)
raabro (~> 1.4)
geokit (1.14.0)
- globalid (1.2.1)
+ globalid (1.3.0)
activesupport (>= 6.1)
graphql (2.3.21)
base64
@@ -330,7 +334,7 @@ GEM
csv
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
- i18n (1.14.5)
+ i18n (1.14.7)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
io-console (0.7.2)
@@ -368,7 +372,7 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.0)
- loofah (2.22.0)
+ loofah (2.24.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
lumberjack (1.2.10)
@@ -377,7 +381,7 @@ GEM
net-imap
net-pop
net-smtp
- marcel (1.0.4)
+ marcel (1.1.0)
matrix (0.4.2)
method_source (1.1.0)
mime-types (3.5.2)
@@ -386,15 +390,15 @@ GEM
mini_mime (1.1.5)
mini_racer (0.13.0)
libv8-node (~> 22.5.1.0)
- minitest (5.24.1)
+ minitest (5.26.2)
msgpack (1.7.2)
multi_json (1.15.0)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
multipart-post (2.4.1)
- mustermann (3.0.3)
+ mustermann (3.0.4)
ruby2_keywords (~> 0.0.1)
- mutex_m (0.2.0)
+ mutex_m (0.3.0)
nenv (0.3.0)
net-http (0.4.1)
uri
@@ -454,51 +458,52 @@ GEM
activesupport (>= 3.0.0)
raabro (1.4.0)
racc (1.8.1)
- rack (3.2.3)
+ rack (3.2.4)
rack-attack (6.7.0)
rack (>= 1.0, < 4)
rack-cors (2.0.2)
rack (>= 2.0.0)
rack-mini-profiler (3.3.1)
rack (>= 1.2.0)
- rack-protection (4.0.0)
+ rack-protection (4.2.0)
base64 (>= 0.1.0)
+ logger (>= 1.6.0)
rack (>= 3.0.0, < 4)
rack-proxy (0.7.7)
rack
rack-session (2.1.1)
base64 (>= 0.1.0)
rack (>= 3.0.0)
- rack-test (2.1.0)
+ rack-test (2.2.0)
rack (>= 1.3)
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
- rails (7.1.3.4)
- actioncable (= 7.1.3.4)
- actionmailbox (= 7.1.3.4)
- actionmailer (= 7.1.3.4)
- actionpack (= 7.1.3.4)
- actiontext (= 7.1.3.4)
- actionview (= 7.1.3.4)
- activejob (= 7.1.3.4)
- activemodel (= 7.1.3.4)
- activerecord (= 7.1.3.4)
- activestorage (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ rails (7.1.5.2)
+ actioncable (= 7.1.5.2)
+ actionmailbox (= 7.1.5.2)
+ actionmailer (= 7.1.5.2)
+ actionpack (= 7.1.5.2)
+ actiontext (= 7.1.5.2)
+ actionview (= 7.1.5.2)
+ activejob (= 7.1.5.2)
+ activemodel (= 7.1.5.2)
+ activerecord (= 7.1.5.2)
+ activestorage (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
bundler (>= 1.15.0)
- railties (= 7.1.3.4)
+ railties (= 7.1.5.2)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
activesupport (>= 5.0.1.rc1)
- rails-dom-testing (2.2.0)
+ rails-dom-testing (2.3.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
- rails-html-sanitizer (1.6.0)
+ rails-html-sanitizer (1.6.2)
loofah (~> 2.21)
- nokogiri (~> 1.14)
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
rails_autolink (1.1.8)
actionview (> 3.1)
activesupport (> 3.1)
@@ -508,9 +513,9 @@ GEM
nio4r
railties
websocket-driver
- railties (7.1.3.4)
- actionpack (= 7.1.3.4)
- activesupport (= 7.1.3.4)
+ railties (7.1.5.2)
+ actionpack (= 7.1.5.2)
+ activesupport (= 7.1.5.2)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
@@ -531,9 +536,9 @@ GEM
rdoc (6.7.0)
psych (>= 4.0.0)
recaptcha (5.17.0)
- redis (5.2.0)
+ redis (5.4.1)
redis-client (>= 0.22.0)
- redis-client (0.22.2)
+ redis-client (0.26.1)
connection_pool
regexp_parser (2.9.2)
reline (0.5.9)
@@ -548,7 +553,7 @@ GEM
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
- rexml (3.3.7)
+ rexml (3.4.4)
rgeo (3.0.1)
rgeo-activerecord (7.0.1)
activerecord (>= 5.0)
@@ -639,6 +644,7 @@ GEM
searchkick (5.3.1)
activemodel (>= 6.1)
hashie
+ securerandom (0.4.1)
selectize-rails (0.12.6)
selenium-webdriver (4.10.0)
rexml (~> 3.2, >= 3.2.5)
@@ -662,10 +668,11 @@ GEM
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.3)
- sinatra (4.0.0)
+ sinatra (4.2.0)
+ logger (>= 1.6.0)
mustermann (~> 3.0)
rack (>= 3.0.0, < 4)
- rack-protection (= 4.0.0)
+ rack-protection (= 4.2.0)
rack-session (>= 2.0.0, < 3)
tilt (~> 2.0)
sitemap_generator (6.3.0)
@@ -728,17 +735,17 @@ GEM
unicode-display_width (>= 1.1.1, < 3)
terser (1.2.3)
execjs (>= 0.3.0, < 3)
- thor (1.3.1)
+ thor (1.4.0)
thread_safe (0.3.6)
- tilt (2.4.0)
+ tilt (2.6.1)
timecop (0.9.10)
- timeout (0.4.3)
+ timeout (0.4.4)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.5.0)
- uri (0.13.0)
+ uri (0.13.2)
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
diff --git a/README.md b/README.md
index 293ed4ec6..b2716ed3c 100644
--- a/README.md
+++ b/README.md
@@ -60,6 +60,14 @@ We're using [Sorbet](https://sorbet.org/) to add type checking to Ruby which oth
docker compose run web bin/srb
```
+To update the rbi files, use these commands:
+```sh
+bin/tapioca gem
+bin/tapioca dsl
+bin/tapioca dsl --environment=test
+
+```
+
We use Shopify's [tapioca](https://github.com/Shopify/tapioca) gem to manage all our rbi files. We **don't** use `bundle exec srb rbi ...`.
## Deployment
@@ -164,10 +172,10 @@ If all looks good then thank the contributor for helping tens of thousands of pe
## Contributing
* Fork the project on GitHub.
-* Make a topic branch from the master branch.
+* Make a topic branch from the main branch.
* Make your changes and write tests.
* Commit the changes without making changes to any files that aren't related to your enhancement or fix.
-* Send a pull request against the master branch.
+* Send a pull request against the main branch.
## Credits
diff --git a/maizzle/package-lock.json b/maizzle/package-lock.json
index 6fa40c0b2..959287a16 100644
--- a/maizzle/package-lock.json
+++ b/maizzle/package-lock.json
@@ -1125,6 +1125,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"caniuse-lite": "^1.0.30001646",
"electron-to-chromium": "^1.5.4",
@@ -1772,9 +1773,9 @@
}
},
"node_modules/cross-spawn": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
- "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"license": "MIT",
"dependencies": {
"path-key": "^3.1.0",
@@ -4845,9 +4846,9 @@
}
},
"node_modules/nanoid": {
- "version": "3.3.7",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
- "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
"funding": [
{
"type": "github",
@@ -5869,6 +5870,7 @@
}
],
"license": "MIT",
+ "peer": true,
"dependencies": {
"nanoid": "^3.3.7",
"picocolors": "^1.0.1",
@@ -6052,6 +6054,7 @@
"resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.16.6.tgz",
"integrity": "sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"posthtml-parser": "^0.11.0",
"posthtml-render": "^3.0.0"
@@ -7969,6 +7972,7 @@
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.7.tgz",
"integrity": "sha512-rxWZbe87YJb4OcSopb7up2Ba4U82BoiSGUdoDr3Ydrg9ckxFS/YWsvhN323GMcddgU65QRy7JndC7ahhInhvlQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"@alloc/quick-lru": "^5.2.0",
"arg": "^5.0.2",
diff --git a/sorbet/rbi/dsl/active_storage/preview_image_job.rbi b/sorbet/rbi/dsl/active_storage/preview_image_job.rbi
new file mode 100644
index 000000000..59d6f46d0
--- /dev/null
+++ b/sorbet/rbi/dsl/active_storage/preview_image_job.rbi
@@ -0,0 +1,22 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for dynamic methods in `ActiveStorage::PreviewImageJob`.
+# Please instead update this file by running `bin/tapioca dsl ActiveStorage::PreviewImageJob`.
+
+
+class ActiveStorage::PreviewImageJob
+ class << self
+ sig do
+ params(
+ blob: T.untyped,
+ variations: T.untyped,
+ block: T.nilable(T.proc.params(job: ActiveStorage::PreviewImageJob).void)
+ ).returns(T.any(ActiveStorage::PreviewImageJob, FalseClass))
+ end
+ def perform_later(blob, variations, &block); end
+
+ sig { params(blob: T.untyped, variations: T.untyped).returns(T.untyped) }
+ def perform_now(blob, variations); end
+ end
+end
diff --git a/sorbet/rbi/gems/actioncable@7.1.3.4.rbi b/sorbet/rbi/gems/actioncable@7.1.5.2.rbi
similarity index 96%
rename from sorbet/rbi/gems/actioncable@7.1.3.4.rbi
rename to sorbet/rbi/gems/actioncable@7.1.5.2.rbi
index 85bafc4e0..0c887911d 100644
--- a/sorbet/rbi/gems/actioncable@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/actioncable@7.1.5.2.rbi
@@ -6,7 +6,7 @@
# :markup: markdown
-# :include: actioncable/README.md
+# :include: ../README.md
#
# source://actioncable//lib/action_cable.rb#48
module ActionCable
@@ -155,22 +155,22 @@ class ActionCable::Channel::Base
# source://actioncable//lib/action_cable/channel/base.rb#147
def initialize(connection, identifier, params = T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_subscribe_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_unsubscribe_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _subscribe_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _unsubscribe_callbacks; end
# source://actioncable//lib/action_cable/channel/broadcasting.rb#11
@@ -210,13 +210,13 @@ class ActionCable::Channel::Base
# source://actioncable//lib/action_cable/channel/periodic_timers.rb#9
def periodic_timers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# This method is called after subscription has been added to the connection
@@ -305,25 +305,25 @@ class ActionCable::Channel::Base
def unsubscribed; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _subscribe_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _subscribe_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _unsubscribe_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _unsubscribe_callbacks=(value); end
# A list of method names that should be considered actions. This
@@ -347,13 +347,13 @@ class ActionCable::Channel::Base
# source://actioncable//lib/action_cable/channel/periodic_timers.rb#9
def periodic_timers?; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
private
@@ -867,11 +867,11 @@ end
# ActionCable::Channel::TestCase will also automatically provide the following instance
# methods for use in the tests:
#
-# connection::
+# connection::
# An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
-# subscription::
+# subscription::
# An instance of the current channel, created when you call +subscribe+.
-# transmissions::
+# transmissions::
# A list of all messages that have been transmitted into the channel.
#
#
@@ -1154,16 +1154,16 @@ class ActionCable::Connection::Base
# source://actioncable//lib/action_cable/connection/base.rb#58
def initialize(server, env, coder: T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _command_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_command_callbacks(&block); end
# source://actioncable//lib/action_cable/connection/base.rb#134
@@ -1240,13 +1240,13 @@ class ActionCable::Connection::Base
# source://actioncable//lib/action_cable/connection/base.rb#86
def receive(websocket_message); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# Invoke a method on the connection asynchronously through the pool of thread workers.
@@ -1344,19 +1344,19 @@ class ActionCable::Connection::Base
def websocket; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _command_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _command_callbacks=(value); end
# source://actioncable//lib/action_cable/connection/identification.rb#11
@@ -1368,13 +1368,13 @@ class ActionCable::Connection::Base
# source://actioncable//lib/action_cable/connection/identification.rb#11
def identifiers?; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
end
end
@@ -2087,7 +2087,7 @@ end
# source://actioncable//lib/action_cable/engine.rb#8
class ActionCable::Engine < ::Rails::Engine
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -2619,16 +2619,16 @@ class ActionCable::Server::Worker
# source://actioncable//lib/action_cable/server/worker.rb#19
def initialize(max_size: T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_work_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _work_callbacks; end
# source://actioncable//lib/action_cable/server/worker.rb#46
@@ -2637,10 +2637,10 @@ class ActionCable::Server::Worker
# source://actioncable//lib/action_cable/server/worker.rb#50
def async_invoke(receiver, method, *args, connection: T.unsafe(nil), &block); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
def connection; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
def connection=(obj); end
# Returns the value of attribute executor.
@@ -2671,25 +2671,25 @@ class ActionCable::Server::Worker
def logger; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _work_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _work_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def connection; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def connection=(obj); end
end
end
@@ -3061,7 +3061,7 @@ module ActionCable::TestHelper
# end
# end
#
- # source://actioncable//lib/action_cable/test_helper.rb#116
+ # source://actioncable//lib/action_cable/test_helper.rb#112
def assert_broadcast_on(stream, data, &block); end
# Asserts that the number of broadcasted messages to the stream matches the given number.
@@ -3075,24 +3075,20 @@ module ActionCable::TestHelper
# end
#
# If a block is passed, that block should cause the specified number of
- # messages to be broadcasted. It returns the messages that were broadcasted.
+ # messages to be broadcasted.
#
# def test_broadcasts_again
- # message = assert_broadcasts('messages', 1) do
+ # assert_broadcasts('messages', 1) do
# ActionCable.server.broadcast 'messages', { text: 'hello' }
# end
- # assert_equal({ text: 'hello' }, message)
#
- # messages = assert_broadcasts('messages', 2) do
+ # assert_broadcasts('messages', 2) do
# ActionCable.server.broadcast 'messages', { text: 'hi' }
# ActionCable.server.broadcast 'messages', { text: 'how are you?' }
# end
- # assert_equal 2, messages.length
- # assert_equal({ text: 'hi' }, messages.first)
- # assert_equal({ text: 'how are you?' }, messages.last)
# end
#
- # source://actioncable//lib/action_cable/test_helper.rb#49
+ # source://actioncable//lib/action_cable/test_helper.rb#45
def assert_broadcasts(stream, number, &block); end
# Asserts that no messages have been sent to the stream.
@@ -3115,13 +3111,13 @@ module ActionCable::TestHelper
#
# assert_broadcasts 'messages', 0, &block
#
- # source://actioncable//lib/action_cable/test_helper.rb#81
+ # source://actioncable//lib/action_cable/test_helper.rb#77
def assert_no_broadcasts(stream, &block); end
# source://actioncable//lib/action_cable/test_helper.rb#6
def before_setup; end
- # source://actioncable//lib/action_cable/test_helper.rb#147
+ # source://actioncable//lib/action_cable/test_helper.rb#143
def broadcasts(*_arg0, **_arg1, &_arg2); end
# Returns the messages that are broadcasted in the block.
@@ -3136,18 +3132,18 @@ module ActionCable::TestHelper
# assert_equal({ text: 'how are you?' }, messages.last)
# end
#
- # source://actioncable//lib/action_cable/test_helper.rb#97
+ # source://actioncable//lib/action_cable/test_helper.rb#93
def capture_broadcasts(stream, &block); end
- # source://actioncable//lib/action_cable/test_helper.rb#147
+ # source://actioncable//lib/action_cable/test_helper.rb#143
def clear_messages(*_arg0, **_arg1, &_arg2); end
- # source://actioncable//lib/action_cable/test_helper.rb#143
+ # source://actioncable//lib/action_cable/test_helper.rb#139
def pubsub_adapter; end
private
- # source://actioncable//lib/action_cable/test_helper.rb#150
+ # source://actioncable//lib/action_cable/test_helper.rb#146
def new_broadcasts_from(current_messages, stream, assertion, &block); end
end
diff --git a/sorbet/rbi/gems/actionmailbox@7.1.3.4.rbi b/sorbet/rbi/gems/actionmailbox@7.1.5.2.rbi
similarity index 87%
rename from sorbet/rbi/gems/actionmailbox@7.1.3.4.rbi
rename to sorbet/rbi/gems/actionmailbox@7.1.5.2.rbi
index 1d607c5f5..e441c5d43 100644
--- a/sorbet/rbi/gems/actionmailbox@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/actionmailbox@7.1.5.2.rbi
@@ -6,7 +6,7 @@
# :markup: markdown
-# :include: actionmailbox/README.md
+# :include: ../README.md
#
# source://actionmailbox//lib/action_mailbox/gem_version.rb#3
module ActionMailbox
@@ -87,13 +87,13 @@ module ActionMailbox
# source://actionmailbox//lib/action_mailbox.rb#24
def queues=(val); end
- # source://railties/7.1.3.4/lib/rails/engine.rb#412
+ # source://railties/7.1.5.2/lib/rails/engine.rb#412
def railtie_helpers_paths; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#395
+ # source://railties/7.1.5.2/lib/rails/engine.rb#395
def railtie_namespace; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#416
+ # source://railties/7.1.5.2/lib/rails/engine.rb#416
def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
# source://actionmailbox//lib/action_mailbox.rb#25
@@ -102,10 +102,10 @@ module ActionMailbox
# source://actionmailbox//lib/action_mailbox.rb#25
def storage_service=(val); end
- # source://railties/7.1.3.4/lib/rails/engine.rb#401
+ # source://railties/7.1.5.2/lib/rails/engine.rb#401
def table_name_prefix; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#408
+ # source://railties/7.1.5.2/lib/rails/engine.rb#408
def use_relative_model_naming?; end
# Returns the currently loaded version of Action Mailbox as a +Gem::Version+.
@@ -190,16 +190,16 @@ class ActionMailbox::Base
# source://actionmailbox//lib/action_mailbox/base.rb#79
def initialize(inbound_email); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _process_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_process_callbacks(&block); end
# Immediately sends the given +message+ and changes the inbound email's status to +:bounced+.
@@ -240,13 +240,13 @@ class ActionMailbox::Base
# source://actionmailbox//lib/action_mailbox/base.rb#96
def process; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailbox//lib/action_mailbox/routing.rb#9
@@ -264,31 +264,31 @@ class ActionMailbox::Base
def track_status_of_inbound_email; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _process_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _process_callbacks=(value); end
# source://actionmailbox//lib/action_mailbox/base.rb#75
def receive(inbound_email); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailbox//lib/action_mailbox/routing.rb#9
@@ -302,7 +302,7 @@ end
class ActionMailbox::BaseController < ::ActionController::Base
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def authenticate_by_password; end
@@ -311,10 +311,10 @@ class ActionMailbox::BaseController < ::ActionController::Base
def password; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -364,7 +364,7 @@ ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc)
# source://actionmailbox//lib/action_mailbox/engine.rb#12
class ActionMailbox::Engine < ::Rails::Engine
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -377,10 +377,10 @@ class ActionMailbox::InboundEmail < ::ActionMailbox::Record
include ::ActionMailbox::InboundEmail::Incineratable
extend ::ActionMailbox::InboundEmail::MessageId::ClassMethods
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_raw_email_attachment(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_raw_email_blob(*args); end
def instrumentation_payload; end
@@ -389,109 +389,109 @@ class ActionMailbox::InboundEmail < ::ActionMailbox::Record
def source; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def bounced(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def delivered(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def failed(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def not_bounced(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def not_delivered(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def not_failed(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def not_pending(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def not_processing(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def pending(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def processing(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#242
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#242
def statuses; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def with_attached_raw_email(*args, **_arg1); end
end
end
module ActionMailbox::InboundEmail::GeneratedAssociationMethods
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_raw_email_attachment(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_raw_email_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_raw_email_attachment(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_raw_email_attachment!(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_raw_email_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_raw_email_blob!(*args, &block); end
- # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#99
+ # source://activestorage/7.1.5.2/lib/active_storage/attached/model.rb#101
def raw_email; end
- # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#104
+ # source://activestorage/7.1.5.2/lib/active_storage/attached/model.rb#106
def raw_email=(attachable); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def raw_email_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def raw_email_attachment=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def raw_email_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def raw_email_blob=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_raw_email_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_raw_email_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_raw_email_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_raw_email_blob; end
end
@@ -542,10 +542,10 @@ class ActionMailbox::IncinerationJob < ::ActiveJob::Base
def perform(inbound_email); end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
def schedule(inbound_email); end
@@ -560,7 +560,7 @@ class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailb
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def authenticate; end
@@ -569,10 +569,10 @@ class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailb
def mail; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -601,7 +601,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def authenticate; end
@@ -611,10 +611,10 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail
def raw_emails; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -640,14 +640,14 @@ class ActionMailbox::Ingresses::Postmark::InboundEmailsController < ::ActionMail
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -659,16 +659,16 @@ class ActionMailbox::Ingresses::Relay::InboundEmailsController < ::ActionMailbox
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def require_valid_rfc822_message; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -680,17 +680,17 @@ class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ::ActionMail
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def envelope; end
def mail; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -703,10 +703,10 @@ class ActionMailbox::Record < ::ActiveRecord::Base
extend ::Kaminari::ConfigurationMethods::ClassMethods
class << self
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
# source://kaminari-activerecord/1.2.2/lib/kaminari/activerecord/active_record_model_extension.rb#15
@@ -800,7 +800,7 @@ class ActionMailbox::RoutingJob < ::ActiveJob::Base
def perform(inbound_email); end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
end
end
@@ -1679,70 +1679,70 @@ end
module Rails
class << self
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def app_class; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def app_class=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#43
+ # source://railties/7.1.5.2/lib/rails.rb#43
def application; end
- # source://railties/7.1.3.4/lib/rails.rb#41
+ # source://railties/7.1.5.2/lib/rails.rb#41
def application=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#123
+ # source://railties/7.1.5.2/lib/rails.rb#123
def autoloaders; end
- # source://railties/7.1.3.4/lib/rails.rb#54
+ # source://railties/7.1.5.2/lib/rails.rb#54
def backtrace_cleaner; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def cache; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def cache=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#50
+ # source://railties/7.1.5.2/lib/rails.rb#50
def configuration; end
- # source://railties/7.1.3.4/lib/rails/deprecator.rb#4
+ # source://railties/7.1.5.2/lib/rails/deprecator.rb#4
def deprecator; end
- # source://railties/7.1.3.4/lib/rails.rb#72
+ # source://railties/7.1.5.2/lib/rails.rb#72
def env; end
- # source://railties/7.1.3.4/lib/rails.rb#79
+ # source://railties/7.1.5.2/lib/rails.rb#79
def env=(environment); end
- # source://railties/7.1.3.4/lib/rails.rb#90
+ # source://railties/7.1.5.2/lib/rails.rb#90
def error; end
- # source://railties/7.1.3.4/lib/rails/gem_version.rb#5
+ # source://railties/7.1.5.2/lib/rails/gem_version.rb#5
def gem_version; end
- # source://railties/7.1.3.4/lib/rails.rb#103
+ # source://railties/7.1.5.2/lib/rails.rb#103
def groups(*groups); end
- # source://railties/7.1.3.4/lib/rails.rb#47
+ # source://railties/7.1.5.2/lib/rails.rb#47
def initialize!(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.3.4/lib/rails.rb#47
+ # source://railties/7.1.5.2/lib/rails.rb#47
def initialized?(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def logger; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def logger=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#119
+ # source://railties/7.1.5.2/lib/rails.rb#119
def public_path; end
- # source://railties/7.1.3.4/lib/rails.rb#63
+ # source://railties/7.1.5.2/lib/rails.rb#63
def root; end
- # source://railties/7.1.3.4/lib/rails/version.rb#7
+ # source://railties/7.1.5.2/lib/rails/version.rb#7
def version; end
end
end
@@ -1757,11 +1757,11 @@ class Rails::Conductor::ActionMailbox::InboundEmails::SourcesController < ::Rail
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1774,7 +1774,7 @@ class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conduc
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def create_inbound_email(mail); end
@@ -1782,7 +1782,7 @@ class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conduc
def new_mail; end
class << self
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1792,11 +1792,11 @@ class Rails::Conductor::ActionMailbox::IncineratesController < ::Rails::Conducto
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1806,13 +1806,13 @@ class Rails::Conductor::ActionMailbox::ReroutesController < ::Rails::Conductor::
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def reroute(inbound_email); end
class << self
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1820,22 +1820,22 @@ end
class Rails::Conductor::BaseController < ::ActionController::Base
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def ensure_development_env; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
diff --git a/sorbet/rbi/gems/actionmailer@7.1.3.4.rbi b/sorbet/rbi/gems/actionmailer@7.1.5.2.rbi
similarity index 93%
rename from sorbet/rbi/gems/actionmailer@7.1.3.4.rbi
rename to sorbet/rbi/gems/actionmailer@7.1.5.2.rbi
index 39521a15e..2bbac9671 100644
--- a/sorbet/rbi/gems/actionmailer@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/actionmailer@7.1.5.2.rbi
@@ -5,7 +5,7 @@
# Please instead update this file by running `bin/tapioca gem actionmailer`.
-# :include: actionmailer/README.rdoc
+# :include: ../README.rdoc
#
# source://actionmailer//lib/action_mailer/gem_version.rb#3
module ActionMailer
@@ -544,55 +544,55 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#644
def initialize; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _deliver_callbacks; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods=(_arg0); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#216
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#216
def _layout_conditions(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_deliver_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(_arg0); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def assets_dir=(value); end
# Allows you to add attachments to an email, like so:
@@ -627,10 +627,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#761
def attachments; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
# source://actionmailer//lib/action_mailer/base.rb#502
@@ -642,10 +642,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#502
def default_params?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionmailer//lib/action_mailer/queued_delivery.rb#9
@@ -691,10 +691,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#685
def email_address_with_name(address, name); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -706,13 +706,13 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def file_settings?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(_arg0); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
# Allows you to pass random and unusual headers to the new +Mail::Message+
@@ -753,16 +753,16 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#723
def headers(args = T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
# The main method that creates the message and renders the email templates. There are
@@ -862,10 +862,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#678
def mailer_name; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def message; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def message=(_arg0); end
# source://actionmailer//lib/action_mailer/parameterized.rb#95
@@ -874,10 +874,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/parameterized.rb#93
def params=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#16
@@ -901,25 +901,25 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#15
def raise_delivery_errors=(val); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -943,10 +943,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def smtp_settings?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -960,7 +960,7 @@ class ActionMailer::Base < ::AbstractController::Base
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://actionmailer//lib/action_mailer/base.rb#1071
@@ -1031,13 +1031,13 @@ class ActionMailer::Base < ::AbstractController::Base
def wrap_inline_attachments(message); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionmailer//lib/action_mailer/form_builder.rb#18
@@ -1049,67 +1049,67 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/form_builder.rb#18
def _default_form_builder?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _deliver_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _deliver_callbacks=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#16
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#16
def _helpers; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout=(value); end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout?; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions=(value); end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def assets_dir=(value); end
# Returns the name of the current mailer. This method is also being used as a path for a view lookup.
@@ -1127,10 +1127,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#582
def default(value = T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
# Sets the defaults through app configuration:
@@ -1154,10 +1154,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#502
def default_params?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionmailer//lib/action_mailer/queued_delivery.rb#9
@@ -1213,10 +1213,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#607
def email_address_with_name(address, name); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -1228,25 +1228,25 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def file_settings?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
# Returns the name of the current mailer. This method is also being used as a path for a view lookup.
@@ -1260,10 +1260,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#574
def mailer_name=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#16
@@ -1290,10 +1290,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#15
def raise_delivery_errors=(val); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
# Register an Interceptor which will be called before mail is sent.
@@ -1320,19 +1320,19 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#511
def register_observers(*observers); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -1359,10 +1359,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def smtp_settings?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
# Emails do not support relative path links.
@@ -1427,10 +1427,10 @@ end
module ActionMailer::Base::HelperMethods
include ::ActionMailer::MailHelper
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#33
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#33
def combined_fragment_cache_key(*args, **_arg1, &block); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#43
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#43
def view_cache_dependencies(*args, **_arg1, &block); end
end
@@ -1740,7 +1740,7 @@ class ActionMailer::LogSubscriber < ::ActiveSupport::LogSubscriber
def process(event); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.5.2/lib/active_support/log_subscriber.rb#88
def log_levels; end
end
end
@@ -1770,10 +1770,10 @@ class ActionMailer::MailDeliveryJob < ::ActiveJob::Base
def mailer_class; end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -1788,7 +1788,7 @@ end
module ActionMailer::MailHelper
# Access the message attachments list.
#
- # source://actionmailer//lib/action_mailer/mail_helper.rb#45
+ # source://actionmailer//lib/action_mailer/mail_helper.rb#53
def attachments; end
# Take the text and format it, indented two spaces for each line, and
@@ -1816,17 +1816,17 @@ module ActionMailer::MailHelper
# format_paragraph(my_text, 25, 4)
# # => " Here is a sample text with\n more than 40 characters"
#
- # source://actionmailer//lib/action_mailer/mail_helper.rb#57
+ # source://actionmailer//lib/action_mailer/mail_helper.rb#65
def format_paragraph(text, len = T.unsafe(nil), indent = T.unsafe(nil)); end
# Access the mailer instance.
#
- # source://actionmailer//lib/action_mailer/mail_helper.rb#35
+ # source://actionmailer//lib/action_mailer/mail_helper.rb#43
def mailer; end
# Access the message instance.
#
- # source://actionmailer//lib/action_mailer/mail_helper.rb#40
+ # source://actionmailer//lib/action_mailer/mail_helper.rb#48
def message; end
end
@@ -2317,7 +2317,7 @@ class ActionMailer::TestCase < ::ActiveSupport::TestCase
def _mailer_class?; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
# source://actionmailer//lib/action_mailer/test_case.rb#41
diff --git a/sorbet/rbi/gems/actionpack@7.1.3.4.rbi b/sorbet/rbi/gems/actionpack@7.1.5.2.rbi
similarity index 97%
rename from sorbet/rbi/gems/actionpack@7.1.3.4.rbi
rename to sorbet/rbi/gems/actionpack@7.1.5.2.rbi
index 5d32c1f8a..a79910000 100644
--- a/sorbet/rbi/gems/actionpack@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/actionpack@7.1.5.2.rbi
@@ -66,10 +66,10 @@ class AbstractController::Base
# Returns the name of the action this controller is processing.
#
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def action_name; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def action_name=(_arg0); end
# Returns true if a method for the action is available and
@@ -95,10 +95,10 @@ class AbstractController::Base
# Returns the formats that can be processed by the controller.
#
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def formats; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def formats=(_arg0); end
# source://actionpack//lib/abstract_controller/base.rb#203
@@ -127,10 +127,10 @@ class AbstractController::Base
# Returns the body of the HTTP response sent by the controller.
#
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def response_body; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def response_body=(_arg0); end
# Actually call the method associated with the action. Override
@@ -1053,12 +1053,12 @@ AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES = T.let(T.un
module AbstractController::Translation
# Delegates to I18n.localize.
#
- # source://actionpack//lib/abstract_controller/translation.rb#36
+ # source://actionpack//lib/abstract_controller/translation.rb#38
def l(object, **options); end
# Delegates to I18n.localize.
#
- # source://actionpack//lib/abstract_controller/translation.rb#36
+ # source://actionpack//lib/abstract_controller/translation.rb#38
def localize(object, **options); end
# Delegates to I18n.translate.
@@ -1300,10 +1300,10 @@ class ActionController::API < ::ActionController::Metal
extend ::AbstractController::Helpers::ClassMethods
extend ::ActionController::Helpers::ClassMethods
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionpack//lib/abstract_controller/helpers.rb#12
@@ -1315,7 +1315,7 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -1327,7 +1327,7 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#187
@@ -1375,10 +1375,10 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -1402,13 +1402,13 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -1421,13 +1421,13 @@ class ActionController::API < ::ActionController::Metal
def responder?; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionpack//lib/abstract_controller/helpers.rb#12
@@ -1442,10 +1442,10 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/abstract_controller/helpers.rb#16
def _helpers; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -1502,10 +1502,10 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
# source://actionpack//lib/action_controller/metal.rb#262
@@ -1532,13 +1532,13 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -1861,10 +1861,10 @@ class ActionController::Base < ::ActionController::Metal
extend ::ActionController::RespondWith::ClassMethods
extend ::Searchkick::ControllerRuntime::ClassMethods
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionpack//lib/abstract_controller/helpers.rb#12
@@ -1876,10 +1876,10 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#216
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#216
def _layout_conditions(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -1891,7 +1891,7 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
# source://actionpack//lib/abstract_controller/caching.rb#42
@@ -1915,46 +1915,46 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/flash.rb#36
def alert; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
@@ -1966,10 +1966,10 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29
@@ -1993,16 +1993,16 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/flash.rb#10
def flash(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
# source://actionpack//lib/abstract_controller/caching/fragments.rb#25
@@ -2032,22 +2032,22 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -2062,16 +2062,16 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/flash.rb#36
def notice; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionpack//lib/abstract_controller/callbacks.rb#36
@@ -2086,25 +2086,25 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -2116,28 +2116,28 @@ class ActionController::Base < ::ActionController::Metal
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
def responder?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://actionpack//lib/action_controller/base.rb#252
def _protected_ivars; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionpack//lib/action_controller/form_builder.rb#33
@@ -2170,28 +2170,28 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/abstract_controller/helpers.rb#16
def _helpers; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout=(value); end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout?; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions=(value); end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -2221,46 +2221,46 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
@@ -2272,10 +2272,10 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29
@@ -2296,16 +2296,16 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
# source://actionpack//lib/abstract_controller/caching/fragments.rb#25
@@ -2335,22 +2335,22 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
# source://actionpack//lib/action_controller/metal.rb#262
@@ -2365,16 +2365,16 @@ class ActionController::Base < ::ActionController::Metal
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
def mimes_for_respond_to?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionpack//lib/abstract_controller/callbacks.rb#36
@@ -2389,25 +2389,25 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -2419,10 +2419,10 @@ class ActionController::Base < ::ActionController::Metal
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
def responder?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
# Shortcut helper that returns all the modules included in
@@ -3652,7 +3652,7 @@ end
module ActionController::HttpAuthentication::Digest
extend ::ActionController::HttpAuthentication::Digest
- # Returns false on a valid response, true otherwise.
+ # Returns true on a valid response, false otherwise.
#
# source://actionpack//lib/action_controller/metal/http_authentication.rb#211
def authenticate(request, realm, &password_procedure); end
@@ -3871,7 +3871,7 @@ module ActionController::HttpAuthentication::Token
# * +controller+ - ActionController::Base instance for the outgoing response.
# * +realm+ - String realm to use in the header.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#550
+ # source://actionpack//lib/action_controller/metal/http_authentication.rb#547
def authentication_request(controller, realm, message = T.unsafe(nil)); end
# Encodes the given token and options into an Authorization header value.
@@ -3883,7 +3883,7 @@ module ActionController::HttpAuthentication::Token
# * +token+ - String token.
# * +options+ - Optional Hash of the options.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#535
+ # source://actionpack//lib/action_controller/metal/http_authentication.rb#532
def encode_credentials(token, options = T.unsafe(nil)); end
# Takes +raw_params+ and turns it into an array of parameters.
@@ -3895,7 +3895,7 @@ module ActionController::HttpAuthentication::Token
# pairs by the standardized :, ;, or \t
# delimiters defined in +AUTHN_PAIR_DELIMITERS+.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#516
+ # source://actionpack//lib/action_controller/metal/http_authentication.rb#513
def raw_params(auth); end
# This removes the " characters wrapping the value.
@@ -3933,7 +3933,7 @@ ActionController::HttpAuthentication::Token::AUTHN_PAIR_DELIMITERS = T.let(T.uns
module ActionController::HttpAuthentication::Token::ControllerMethods
# Authenticate using an HTTP Bearer token, or otherwise render an HTTP
# header requesting the client to send a Bearer token. For the authentication
- # to be considered successful, +login_procedure+ should return a non-nil
+ # to be considered successful, +login_procedure+ must not return a false
# value. Typically, the authenticated user is returned.
#
# See ActionController::HttpAuthentication::Token for example usage.
@@ -3963,9 +3963,6 @@ ActionController::HttpAuthentication::Token::TOKEN_KEY = T.let(T.unsafe(nil), St
# source://actionpack//lib/action_controller/metal/http_authentication.rb#421
ActionController::HttpAuthentication::Token::TOKEN_REGEX = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#510
-ActionController::HttpAuthentication::Token::WHITESPACED_AUTHN_PAIR_DELIMITERS = T.let(T.unsafe(nil), Regexp)
-
# = Action Controller Implicit Render
#
# Handles implicit rendering for a controller action that does not
@@ -4368,17 +4365,17 @@ ActionController::Live::SSE::PERMITTED_OPTIONS = T.let(T.unsafe(nil), Array)
class ActionController::LiveTestResponse < ::ActionController::Live::Response
# Was there a server-side error?
#
- # source://rack/3.1.7/lib/rack/response.rb#187
+ # source://rack/3.2.4/lib/rack/response.rb#187
def error?; end
# Was the URL not found?
#
- # source://rack/3.1.7/lib/rack/response.rb#197
+ # source://rack/3.2.4/lib/rack/response.rb#197
def missing?; end
# Was the response successful?
#
- # source://rack/3.1.7/lib/rack/response.rb#184
+ # source://rack/3.2.4/lib/rack/response.rb#184
def success?; end
end
@@ -4421,7 +4418,7 @@ class ActionController::LogSubscriber < ::ActiveSupport::LogSubscriber
def write_fragment(event); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.5.2/lib/active_support/log_subscriber.rb#88
def log_levels; end
end
end
@@ -4572,10 +4569,10 @@ class ActionController::Metal < ::AbstractController::Base
#
# The ActionDispatch::Request instance for the current request.
#
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def request; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def request=(_arg0); end
# source://actionpack//lib/action_controller/metal.rb#258
@@ -4585,7 +4582,7 @@ class ActionController::Metal < ::AbstractController::Base
#
# The ActionDispatch::Response instance for the current response.
#
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def response; end
# Assign the response and mark it as committed. No further processing will occur.
@@ -5446,7 +5443,7 @@ class ActionController::Parameters
# the returned array will include empty strings.
#
# params = ActionController::Parameters.new(tags: "ruby,rails,,web")
- # params.extract_value(:tags) # => ["ruby", "rails", "", "web"]
+ # params.extract_value(:tags, delimiter: ",") # => ["ruby", "rails", "", "web"]
#
# source://actionpack//lib/action_controller/metal/strong_parameters.rb#976
def extract_value(key, delimiter: T.unsafe(nil)); end
@@ -6049,9 +6046,15 @@ class ActionController::Parameters
private
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1038
+ def _deep_transform_keys_in_object(object, &block); end
+
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1057
+ def _deep_transform_keys_in_object!(object, &block); end
+
# @return [Boolean]
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1131
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1171
def array_of_permitted_scalars?(value); end
# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1018
@@ -6063,13 +6066,13 @@ class ActionController::Parameters
# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1024
def convert_value_to_parameters(value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1044
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1084
def each_element(object, filter, &block); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1143
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1183
def hash_filter(params, filter); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1204
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1244
def initialize_copy(source); end
# source://actionpack//lib/action_controller/metal/strong_parameters.rb#996
@@ -6077,18 +6080,18 @@ class ActionController::Parameters
# @return [Boolean]
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1137
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1177
def non_scalar?(value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1187
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1227
def permit_any_in_array(array); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1170
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1210
def permit_any_in_parameters(params); end
# @return [Boolean]
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1102
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1142
def permitted_scalar?(value); end
# Adds existing keys to the params if their values are scalar.
@@ -6102,18 +6105,18 @@ class ActionController::Parameters
#
# puts params.keys # => ["zipcode"]
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1116
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1156
def permitted_scalar_filter(params, permitted_key); end
# @return [Boolean]
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1038
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1078
def specify_numeric_keys?(filter); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1070
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1110
def unpermitted_keys(params); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1057
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1097
def unpermitted_parameters!(params); end
class << self
@@ -6151,10 +6154,10 @@ class ActionController::Parameters
end
end
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1141
+# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1181
ActionController::Parameters::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1142
+# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1182
ActionController::Parameters::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
# This is a list of permitted scalar types that includes the ones
@@ -6166,7 +6169,7 @@ ActionController::Parameters::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
# If you modify this collection please update the one in the #permit doc
# as well.
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1086
+# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1126
ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Array)
# = Action Controller Params Wrapper
@@ -6363,10 +6366,10 @@ class ActionController::ParamsWrapper::Options < ::Struct
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#110
def include; end
- # source://mutex_m/0.2.0/mutex_m.rb#91
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#96
def lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#81
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#86
def locked?; end
# Returns the value of attribute model
@@ -6383,13 +6386,13 @@ class ActionController::ParamsWrapper::Options < ::Struct
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#143
def name; end
- # source://mutex_m/0.2.0/mutex_m.rb#76
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#81
def synchronize(&block); end
- # source://mutex_m/0.2.0/mutex_m.rb#86
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#91
def try_lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#96
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#101
def unlock; end
private
@@ -8022,19 +8025,19 @@ ActionController::Streaming::Body::TERM = T.let(T.unsafe(nil), String)
# See ActionController::Parameters.require and ActionController::Parameters.permit
# for more information.
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1278
+# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1318
module ActionController::StrongParameters
# Returns a new ActionController::Parameters object that
# has been instantiated with the request.parameters.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1281
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1321
def params; end
# Assigns the given +value+ to the +params+ hash. If +value+
# is a Hash, this will create an ActionController::Parameters
# object that has been instantiated with the given +value+ hash.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1296
+ # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1336
def params=(value); end
end
@@ -8098,13 +8101,13 @@ end
# ActionController::TestCase will also automatically provide the following instance
# variables for use in the tests:
#
-# @controller::
+# @controller::
# The controller instance that will be tested.
-# @request::
+# @request::
# An ActionController::TestRequest, representing the current HTTP
# request. You can modify this object before sending the HTTP request. For example,
# you might want to set some session properties before sending a GET request.
-# @response::
+# @response::
# An ActionDispatch::TestResponse object, representing the response
# of the last HTTP response. In the above example, @response becomes valid
# after calling +post+. If the various assert methods are not sufficient, then you
@@ -8184,7 +8187,7 @@ class ActionController::TestCase < ::ActiveSupport::TestCase
def _controller_class?; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
# source://actionpack//lib/action_controller/test_case.rb#571
@@ -8640,23 +8643,23 @@ module ActionDispatch
include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor
extend ::ActiveSupport::Autoload
- # source://actionpack//lib/action_dispatch.rb#141
+ # source://actionpack//lib/action_dispatch.rb#145
def eager_load!; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # source://actionpack//lib/action_dispatch.rb#131
def test_app; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # source://actionpack//lib/action_dispatch.rb#131
def test_app=(val); end
class << self
# source://actionpack//lib/action_dispatch/deprecator.rb#4
def deprecator; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # source://actionpack//lib/action_dispatch.rb#131
def test_app; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # source://actionpack//lib/action_dispatch.rb#131
def test_app=(val); end
end
end
@@ -9006,35 +9009,35 @@ class ActionDispatch::Callbacks
# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#22
def initialize(app); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _call_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_call_callbacks(&block); end
# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#26
def call(env); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _call_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _call_callbacks=(value); end
# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#17
@@ -9104,10 +9107,10 @@ class ActionDispatch::ContentSecurityPolicy
# @yield [_self]
# @yieldparam _self [ActionDispatch::ContentSecurityPolicy] the object that the method was called on
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#174
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#177
def initialize; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def base_uri(*sources); end
# Specify whether to prevent the user agent from loading any assets over
@@ -9119,48 +9122,48 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.block_all_mixed_content false
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#202
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#205
def block_all_mixed_content(enabled = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#291
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#294
def build(context = T.unsafe(nil), nonce = T.unsafe(nil), nonce_directives = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def child_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def connect_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def default_src(*sources); end
# Returns the value of attribute directives.
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#172
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#175
def directives; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def font_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def form_action(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def frame_ancestors(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def frame_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def img_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def manifest_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def media_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def object_src(*sources); end
# Restricts the set of plugins that can be embedded:
@@ -9171,10 +9174,10 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.plugin_types
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#218
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#221
def plugin_types(*types); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def prefetch_src(*sources); end
# Enable the {report-uri}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri]
@@ -9182,7 +9185,7 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.report_uri "/csp-violation-report-endpoint"
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#231
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#234
def report_uri(uri); end
# Specify asset types for which {Subresource Integrity}[https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity]
@@ -9194,10 +9197,10 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.require_sri_for
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#244
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#247
def require_sri_for(*types); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def require_trusted_types_for(*sources); end
# Specify whether a {sandbox}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox]
@@ -9213,28 +9216,28 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.sandbox false
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#265
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#268
def sandbox(*values); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def script_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def script_src_attr(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def script_src_elem(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def style_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def style_src_attr(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def style_src_elem(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def trusted_types(*sources); end
# Specify whether user agents should treat any assets over HTTP as HTTPS:
@@ -9245,116 +9248,122 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.upgrade_insecure_requests false
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#283
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#286
def upgrade_insecure_requests(enabled = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#184
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
def worker_src(*sources); end
private
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#310
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#313
def apply_mapping(source); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#297
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#300
def apply_mappings(sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#332
- def build_directive(sources, context); end
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#347
+ def build_directive(directive, sources, context); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#316
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#319
def build_directives(context, nonce, nonce_directives); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#179
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#182
def initialize_copy(other); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#354
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#371
def nonce_directive?(directive, nonce_directives); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#336
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#353
def resolve_source(source, context); end
+
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#335
+ def validate(directive, sources); end
end
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#168
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#171
ActionDispatch::ContentSecurityPolicy::DEFAULT_NONCE_DIRECTIVES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#143
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#146
ActionDispatch::ContentSecurityPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#123
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#27
+class ActionDispatch::ContentSecurityPolicy::InvalidDirectiveError < ::StandardError; end
+
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#126
ActionDispatch::ContentSecurityPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#27
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#30
class ActionDispatch::ContentSecurityPolicy::Middleware
# @return [Middleware] a new instance of Middleware
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#28
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#31
def initialize(app); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#32
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#35
def call(env); end
private
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#54
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#57
def header_name(request); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#62
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#65
def policy_present?(headers); end
end
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#68
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#71
module ActionDispatch::ContentSecurityPolicy::Request
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#75
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#78
def content_security_policy; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#79
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#82
def content_security_policy=(policy); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#107
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#110
def content_security_policy_nonce; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#99
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#102
def content_security_policy_nonce_directives; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#103
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#106
def content_security_policy_nonce_directives=(generator); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#91
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#94
def content_security_policy_nonce_generator; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#95
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#98
def content_security_policy_nonce_generator=(generator); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#83
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#86
def content_security_policy_report_only; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#87
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#90
def content_security_policy_report_only=(value); end
private
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#118
+ # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#121
def generate_content_security_policy_nonce; end
end
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#72
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#75
ActionDispatch::ContentSecurityPolicy::Request::NONCE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#73
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#76
ActionDispatch::ContentSecurityPolicy::Request::NONCE_DIRECTIVES = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#71
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#74
ActionDispatch::ContentSecurityPolicy::Request::NONCE_GENERATOR = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#69
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#72
ActionDispatch::ContentSecurityPolicy::Request::POLICY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#70
+# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#73
ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String)
# Read and write data to cookies through ActionController::Cookies#cookies.
@@ -9978,7 +9987,7 @@ end
# source://actionpack//lib/action_dispatch/middleware/debug_view.rb#10
ActionDispatch::DebugView::RESCUES_TEMPLATE_PATHS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch.rb#50
+# source://actionpack//lib/action_dispatch.rb#51
class ActionDispatch::DeprecatedIllegalStateError < ::StandardError; end
# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#9
@@ -10671,7 +10680,7 @@ ActionDispatch::HostAuthorization::SUBDOMAIN_REGEX = T.let(T.unsafe(nil), Regexp
# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#27
ActionDispatch::HostAuthorization::VALID_IP_HOSTNAME = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch.rb#95
+# source://actionpack//lib/action_dispatch.rb#99
module ActionDispatch::Http
extend ::ActiveSupport::Autoload
end
@@ -10927,7 +10936,7 @@ module ActionDispatch::Http::FilterParameters
# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#56
def env_filter; end
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#69
+ # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#67
def filtered_query_string; end
# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#63
@@ -10937,18 +10946,12 @@ end
# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#17
ActionDispatch::Http::FilterParameters::ENV_MATCH = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#67
-ActionDispatch::Http::FilterParameters::KV_RE = T.let(T.unsafe(nil), String)
-
# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#19
ActionDispatch::Http::FilterParameters::NULL_ENV_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter)
# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#18
ActionDispatch::Http::FilterParameters::NULL_PARAM_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter)
-# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#68
-ActionDispatch::Http::FilterParameters::PAIR_RE = T.let(T.unsafe(nil), Regexp)
-
# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#5
module ActionDispatch::Http::FilterRedirect
# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#8
@@ -13935,7 +13938,7 @@ class ActionDispatch::LogSubscriber < ::ActiveSupport::LogSubscriber
def redirect(event); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.5.2/lib/active_support/log_subscriber.rb#88
def log_levels; end
end
end
@@ -14098,7 +14101,7 @@ class ActionDispatch::MiddlewareStack::Middleware
def name; end
end
-# source://actionpack//lib/action_dispatch.rb#56
+# source://actionpack//lib/action_dispatch.rb#60
class ActionDispatch::MissingController < ::NameError; end
# = Action Dispatch \PermissionsPolicy
@@ -14323,6 +14326,9 @@ class ActionDispatch::PublicExceptions
def render_html(status); end
end
+# source://actionpack//lib/action_dispatch.rb#57
+ActionDispatch::RFC2396_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
+
# source://actionpack//lib/action_dispatch/railtie.rb#8
class ActionDispatch::Railtie < ::Rails::Railtie; end
@@ -14539,7 +14545,7 @@ class ActionDispatch::Request
# Returns the content length of the request as an integer.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#285
+ # source://actionpack//lib/action_dispatch/http/request.rb#286
def content_length; end
# source://actionpack//lib/action_dispatch/http/request.rb#79
@@ -14585,7 +14591,7 @@ class ActionDispatch::Request
# # get "/articles?page=2"
# request.fullpath # => "/articles?page=2"
#
- # source://actionpack//lib/action_dispatch/http/request.rb#264
+ # source://actionpack//lib/action_dispatch/http/request.rb#265
def fullpath; end
# source://actionpack//lib/action_dispatch/http/request.rb#50
@@ -14612,7 +14618,7 @@ class ActionDispatch::Request
# Returns the IP address of client as a +String+.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#299
+ # source://actionpack//lib/action_dispatch/http/request.rb#300
def ip; end
# Returns true if the request has a header matching the given key parameter.
@@ -14639,7 +14645,7 @@ class ActionDispatch::Request
# # get "/articles"
# request.media_type # => "application/x-www-form-urlencoded"
#
- # source://actionpack//lib/action_dispatch/http/request.rb#280
+ # source://actionpack//lib/action_dispatch/http/request.rb#281
def media_type; end
# Returns the original value of the environment's REQUEST_METHOD,
@@ -14671,7 +14677,7 @@ class ActionDispatch::Request
# # get '/foo?bar'
# request.original_fullpath # => '/foo?bar'
#
- # source://actionpack//lib/action_dispatch/http/request.rb#253
+ # source://actionpack//lib/action_dispatch/http/request.rb#254
def original_fullpath; end
# source://actionpack//lib/action_dispatch/http/request.rb#50
@@ -14682,7 +14688,7 @@ class ActionDispatch::Request
# # get "/articles?page=2"
# request.original_url # => "http://www.example.com/articles?page=2"
#
- # source://actionpack//lib/action_dispatch/http/request.rb#272
+ # source://actionpack//lib/action_dispatch/http/request.rb#273
def original_url; end
# source://actionpack//lib/action_dispatch/http/request.rb#50
@@ -14699,10 +14705,10 @@ class ActionDispatch::Request
# Read the request \body. This is useful for web services that need to
# work with raw requests directly.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#339
+ # source://actionpack//lib/action_dispatch/http/request.rb#340
def raw_post; end
- # source://rack/3.1.7/lib/rack/request.rb#197
+ # source://rack/3.2.4/lib/rack/request.rb#202
def raw_request_method; end
# source://actionpack//lib/action_dispatch/http/request.rb#50
@@ -14717,10 +14723,10 @@ class ActionDispatch::Request
# Returns the IP address of client as a +String+,
# usually set by the RemoteIp middleware.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#305
+ # source://actionpack//lib/action_dispatch/http/request.rb#306
def remote_ip; end
- # source://actionpack//lib/action_dispatch/http/request.rb#309
+ # source://actionpack//lib/action_dispatch/http/request.rb#310
def remote_ip=(remote_ip); end
# source://actionpack//lib/action_dispatch/http/request.rb#50
@@ -14733,10 +14739,10 @@ class ActionDispatch::Request
# This unique ID is useful for tracing a request from end-to-end as part of logging or debugging.
# This relies on the Rack variable set by the ActionDispatch::RequestId middleware.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#322
+ # source://actionpack//lib/action_dispatch/http/request.rb#323
def request_id; end
- # source://actionpack//lib/action_dispatch/http/request.rb#326
+ # source://actionpack//lib/action_dispatch/http/request.rb#327
def request_id=(id); end
# Returns the HTTP \method that the application should see.
@@ -14797,16 +14803,17 @@ class ActionDispatch::Request
# Early Hints is an HTTP/2 status code that indicates hints to help a client start
# making preparations for processing the final response.
#
- # If the env contains +rack.early_hints+ then the server accepts HTTP2 push for Link headers.
+ # If the env contains +rack.early_hints+ then the server accepts HTTP2 push for
+ # link headers.
#
# The +send_early_hints+ method accepts a hash of links as follows:
#
- # send_early_hints("Link" => "; rel=preload; as=style\n; rel=preload")
+ # send_early_hints("link" => "; rel=preload; as=style,; rel=preload")
#
# If you are using +javascript_include_tag+ or +stylesheet_link_tag+ the
# Early Hints headers are included by default if supported.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#240
+ # source://actionpack//lib/action_dispatch/http/request.rb#241
def send_early_hints(links); end
# source://actionpack//lib/action_dispatch/http/request.rb#50
@@ -14817,7 +14824,7 @@ class ActionDispatch::Request
# Returns the lowercase name of the HTTP server software.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#333
+ # source://actionpack//lib/action_dispatch/http/request.rb#334
def server_software; end
# source://actionpack//lib/action_dispatch/http/request.rb#379
@@ -14833,7 +14840,7 @@ class ActionDispatch::Request
# This unique ID is useful for tracing a request from end-to-end as part of logging or debugging.
# This relies on the Rack variable set by the ActionDispatch::RequestId middleware.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#322
+ # source://actionpack//lib/action_dispatch/http/request.rb#323
def uuid; end
# source://actionpack//lib/action_dispatch/http/request.rb#50
@@ -14857,7 +14864,7 @@ class ActionDispatch::Request
#
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/request.rb#293
+ # source://actionpack//lib/action_dispatch/http/request.rb#294
def xhr?; end
# Returns true if the +X-Requested-With+ header contains "XMLHttpRequest"
@@ -14866,7 +14873,7 @@ class ActionDispatch::Request
#
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/request.rb#293
+ # source://actionpack//lib/action_dispatch/http/request.rb#294
def xml_http_request?; end
private
@@ -14880,6 +14887,9 @@ class ActionDispatch::Request
# source://actionpack//lib/action_dispatch/http/request.rb#469
def read_body_stream; end
+ # source://actionpack//lib/action_dispatch/http/request.rb#481
+ def reset_stream(body_stream); end
+
class << self
# source://actionpack//lib/action_dispatch/http/request.rb#56
def empty; end
@@ -14895,7 +14905,7 @@ class ActionDispatch::Request
end
end
-# source://actionpack//lib/action_dispatch/http/request.rb#314
+# source://actionpack//lib/action_dispatch/http/request.rb#315
ActionDispatch::Request::ACTION_DISPATCH_REQUEST_ID = T.let(T.unsafe(nil), String)
# source://actionpack//lib/action_dispatch/http/request.rb#34
@@ -15453,10 +15463,10 @@ class ActionDispatch::Response
# Aliasing these off because AD::Http::Cache::Response defines them.
#
- # source://rack/3.1.7/lib/rack/response.rb#290
+ # source://rack/3.2.4/lib/rack/response.rb#290
def _cache_control; end
- # source://rack/3.1.7/lib/rack/response.rb#294
+ # source://rack/3.2.4/lib/rack/response.rb#294
def _cache_control=(value); end
# source://actionpack//lib/action_dispatch/http/response.rb#382
@@ -15623,7 +15633,7 @@ class ActionDispatch::Response
# The location header we'll be responding with.
#
- # source://rack/3.1.7/lib/rack/response.rb#262
+ # source://rack/3.2.4/lib/rack/response.rb#262
def redirect_url; end
# The request that the response is responding to.
@@ -16317,7 +16327,7 @@ class ActionDispatch::Routing::Mapper
# @return [Mapper] a new instance of Mapper
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2313
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2350
def initialize(set); end
# source://health_check/3.1.0/lib/health_check/health_check_routes.rb#9
@@ -16380,43 +16390,51 @@ class ActionDispatch::Routing::Mapper
def with_devise_exclusive_scope(new_path, new_as, options); end
class << self
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#16
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#25
def backtrace_cleaner; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#16
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#25
def backtrace_cleaner=(val); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#392
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#429
def normalize_name(name); end
# Invokes Journey::Router::Utils.normalize_path, then ensures that
# /(:locale) becomes (/:locale). Except for root cases, where the
# former is the correct one.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#375
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#412
def normalize_path(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#15
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#24
def route_source_locations; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#15
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#24
def route_source_locations=(val); end
end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#396
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#13
+class ActionDispatch::Routing::Mapper::BacktraceCleaner < ::ActiveSupport::BacktraceCleaner
+ # @return [BacktraceCleaner] a new instance of BacktraceCleaner
+ #
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#14
+ def initialize; end
+end
+
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#433
module ActionDispatch::Routing::Mapper::Base
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#629
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#666
def default_url_options(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#629
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#666
def default_url_options=(options); end
# Query if the following named route was already defined.
#
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#641
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#678
def has_named_route?(name); end
# Matches a URL pattern to one or more routes.
@@ -16600,7 +16618,7 @@ module ActionDispatch::Routing::Mapper::Base
# Allows you to specify the default value for optional +format+
# segment or disable it by supplying +false+.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#577
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#614
def match(path, options = T.unsafe(nil)); end
# Mount a Rack-based application to be used within the application.
@@ -16625,23 +16643,23 @@ module ActionDispatch::Routing::Mapper::Base
#
# @raise [ArgumentError]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#599
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#636
def mount(app, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#634
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#671
def with_default_scope(scope, &block); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#650
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#687
def app_name(app, rails_app); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#659
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#696
def define_generate_prefix(app, name); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#646
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#683
def rails_app?(app); end
end
@@ -16666,7 +16684,7 @@ end
# concerns :commentable
# end
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2025
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2062
module ActionDispatch::Routing::Mapper::Concerns
# Define a routing concern using a name.
#
@@ -16725,7 +16743,7 @@ module ActionDispatch::Routing::Mapper::Concerns
# callable, they're accessible from the Mapper that's passed to
# call.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2082
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2119
def concern(name, callable = T.unsafe(nil), &block); end
# Use the named concerns
@@ -16740,53 +16758,53 @@ module ActionDispatch::Routing::Mapper::Concerns
# concerns :commentable
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2098
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2135
def concerns(*args); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#18
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#27
class ActionDispatch::Routing::Mapper::Constraints < ::ActionDispatch::Routing::Endpoint
# @return [Constraints] a new instance of Constraints
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#24
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#33
def initialize(app, constraints, strategy); end
# Returns the value of attribute app.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#19
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#28
def app; end
# Returns the value of attribute constraints.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#19
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#28
def constraints; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#39
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#48
def dispatcher?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#41
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#50
def matches?(req); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#48
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#57
def serve(req); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#55
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#64
def constraint_args(constraint, request); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#22
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#31
ActionDispatch::Routing::Mapper::Constraints::CALL = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#21
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#30
ActionDispatch::Routing::Mapper::Constraints::SERVE = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2110
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2147
module ActionDispatch::Routing::Mapper::CustomUrls
# Define custom URL helpers that will be added to the application's
# routes. This allows you to override and/or replace the default behavior
@@ -16836,7 +16854,7 @@ module ActionDispatch::Routing::Mapper::CustomUrls
# NOTE: The +direct+ method can't be used inside of a scope block such as
# +namespace+ or +scope+ and will raise an error if it detects that it is.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2158
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2195
def direct(name, options = T.unsafe(nil), &block); end
# Define custom polymorphic mappings of models to URLs. This alters the
@@ -16884,18 +16902,18 @@ module ActionDispatch::Routing::Mapper::CustomUrls
# NOTE: The +resolve+ method can't be used inside of a scope block such as
# +namespace+ or +scope+ and will raise an error if it detects that it is.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2210
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2247
def resolve(*args, &block); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#693
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#730
module ActionDispatch::Routing::Mapper::HttpHelpers
# Define a route that only recognizes HTTP DELETE.
# For supported arguments, see match[rdoc-ref:Base#match]
#
# delete 'broccoli', to: 'food#broccoli'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#730
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#767
def delete(*args, &block); end
# Define a route that only recognizes HTTP GET.
@@ -16903,7 +16921,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# get 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#698
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#735
def get(*args, &block); end
# Define a route that only recognizes HTTP OPTIONS.
@@ -16911,7 +16929,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# options 'carrots', to: 'food#carrots'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#738
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#775
def options(*args, &block); end
# Define a route that only recognizes HTTP PATCH.
@@ -16919,7 +16937,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# patch 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#714
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#751
def patch(*args, &block); end
# Define a route that only recognizes HTTP POST.
@@ -16927,7 +16945,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# post 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#706
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#743
def post(*args, &block); end
# Define a route that only recognizes HTTP PUT.
@@ -16935,153 +16953,153 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# put 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#722
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#759
def put(*args, &block); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#743
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#780
def map_method(method, args, &block); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#72
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#81
class ActionDispatch::Routing::Mapper::Mapping
# @return [Mapping] a new instance of Mapping
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#121
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#130
def initialize(set:, ast:, controller:, default_action:, to:, formatted:, via:, options_constraints:, anchor:, scope_params:, options:); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#179
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#188
def application; end
# Returns the value of attribute ast.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def ast; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#183
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#192
def conditions; end
# Returns the value of attribute default_action.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def default_action; end
# Returns the value of attribute default_controller.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def default_controller; end
# Returns the value of attribute defaults.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def defaults; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#172
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#181
def make_route(name, precedence); end
# Returns the value of attribute path.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def path; end
# Returns the value of attribute required_defaults.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def required_defaults; end
# Returns the value of attribute requirements.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def requirements; end
# Returns the value of attribute scope_options.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def scope_options; end
# Returns the value of attribute to.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#76
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#85
def to; end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#318
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#332
def add_controller_module(controller, modyoule); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#279
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#293
def app(blocks); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#337
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#351
def blocks(callable_constraint); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#187
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#196
def build_conditions(current_conditions, request_class); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#291
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#305
def check_controller_and_action(path_params, controller, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#306
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#320
def check_part(name, part, path_params, hash); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#344
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#358
def constraints(options, path_params); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#358
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#372
def dispatcher(raise_on_name_error); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#202
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#211
def intern(object); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#275
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#289
def normalize_defaults(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#243
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#257
def normalize_format(formatted); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#206
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#215
def normalize_options!(options, path_params, modyoule); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#196
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#205
def request_method; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#362
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#377
def route_source_location; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#237
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#251
def split_constraints(path_params, constraints); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#330
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#344
def translate_controller(controller); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#259
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#273
def verify_regexp_requirements(requirements, wildcard_options); end
class << self
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#79
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#88
def build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#93
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#102
def check_via(via); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#105
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#114
def normalize_path(path, format); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#117
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#126
def optional_format?(path, format); end
end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#73
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#82
ActionDispatch::Routing::Mapper::Mapping::ANCHOR_CHARACTERS_REGEX = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#170
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#179
ActionDispatch::Routing::Mapper::Mapping::JOINED_SEPARATORS = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#74
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#83
ActionDispatch::Routing::Mapper::Mapping::OPTIONAL_FORMAT_REGEX = T.let(T.unsafe(nil), Regexp)
# Resource routing allows you to quickly declare all of the common routes
@@ -17123,7 +17141,7 @@ ActionDispatch::Routing::Mapper::Mapping::OPTIONAL_FORMAT_REGEX = T.let(T.unsafe
#
# This allows any character other than a slash as part of your +:id+.
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1133
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1170
module ActionDispatch::Routing::Mapper::Resources
# To add a route to the collection:
#
@@ -17138,7 +17156,7 @@ module ActionDispatch::Routing::Mapper::Resources
# create the search_photos_url and search_photos_path
# route helpers.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1511
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1548
def collection(&block); end
# Loads another routes file with the given +name+ located inside the
@@ -17165,7 +17183,7 @@ module ActionDispatch::Routing::Mapper::Resources
# applications — even those with a few hundred routes — it's easier for
# developers to have a single routes file.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1621
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1658
def draw(name); end
# Matches a URL pattern to one or more routes.
@@ -17175,7 +17193,7 @@ module ActionDispatch::Routing::Mapper::Resources
# match 'path', to: 'controller#action', via: :post
# match 'path', 'otherpath', on: :member, via: :get
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1643
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1680
def match(path, *rest, &block); end
# To add a member route, add a member block into the resource block:
@@ -17190,18 +17208,18 @@ module ActionDispatch::Routing::Mapper::Resources
# preview action of +PhotosController+. It will also create the
# preview_photo_url and preview_photo_path helpers.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1532
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1569
def member(&block); end
# See ActionDispatch::Routing::Mapper::Scoping#namespace.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1579
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1616
def namespace(path, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1558
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1595
def nested(&block); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1548
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1585
def new(&block); end
# Sometimes, you have a resource that clients always look up without
@@ -17236,7 +17254,7 @@ module ActionDispatch::Routing::Mapper::Resources
# === Options
# Takes same options as resources[rdoc-ref:#resources]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1303
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1340
def resource(*resources, &block); end
# In \Rails, a resourceful route provides a mapping between HTTP verbs
@@ -17377,10 +17395,10 @@ module ActionDispatch::Routing::Mapper::Resources
# # resource actions are at /admin/posts.
# resources :posts, path: "admin/posts"
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1469
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1506
def resources(*resources, &block); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1268
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1305
def resources_path_names(options); end
# You can specify what \Rails should route "/" to with the root method:
@@ -17397,335 +17415,335 @@ module ActionDispatch::Routing::Mapper::Resources
# because this means it will be matched first. As this is the most popular route
# of most \Rails applications, this is beneficial.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1690
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1727
def root(path, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1587
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1624
def shallow; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1594
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1631
def shallow?; end
private
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1754
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1791
def action_options?(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1836
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1873
def action_path(name); end
# @raise [ArgumentError]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1972
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2009
def add_route(action, controller, options, _path, to, via, formatted, anchor, options_constraints); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1890
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1927
def api_only?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1749
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1786
def apply_action_options(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1715
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1752
def apply_common_behavior_for(method, resources, options, &block); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1812
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1849
def canonical_action?(action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1957
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1994
def decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1942
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1979
def get_to_from_path(path, to, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1901
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1938
def map_match(paths, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1999
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2036
def match_root_route(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1852
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1889
def name_for_action(as, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1789
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1826
def nested_options; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1770
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1807
def nested_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1808
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1845
def param_constraint; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1804
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1841
def param_constraint?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1711
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1748
def parent_resource; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1826
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1863
def path_for_action(action, path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1894
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1931
def path_scope(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1840
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1877
def prefix_name_for_action(as, action); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1766
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1803
def resource_method_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1781
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1818
def resource_scope(resource, &block); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1762
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1799
def resource_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1758
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1795
def scope_action_options; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1878
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1915
def set_member_mappings_for_resource; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1798
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1835
def shallow_nesting_depth; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1816
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1853
def shallow_scope; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1953
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1990
def using_match_shorthand?(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1774
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1811
def with_scope_level(kind); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1138
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1175
ActionDispatch::Routing::Mapper::Resources::CANONICAL_ACTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1137
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1174
ActionDispatch::Routing::Mapper::Resources::RESOURCE_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1140
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1177
class ActionDispatch::Routing::Mapper::Resources::Resource
# @return [Resource] a new instance of Resource
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1143
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1180
def initialize(entities, api_only, shallow, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1168
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1205
def actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1176
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1213
def available_actions; end
# Checks for uncountable plurals, and appends "_index" if the plural
# and singular form are the same.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1200
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1237
def collection_name; end
# Returns the value of attribute path.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178
def collection_scope; end
# Returns the value of attribute controller.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178
def controller; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1160
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1197
def default_actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1192
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1229
def member_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1210
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1247
def member_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1184
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1221
def name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1220
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1257
def nested_param; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1224
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1261
def nested_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1216
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1253
def new_scope(new_path); end
# Returns the value of attribute param.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178
def param; end
# Returns the value of attribute path.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178
def path; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1188
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1225
def plural; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1204
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1241
def resource_scope; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1228
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1265
def shallow?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1210
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1247
def shallow_scope; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1232
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1269
def singleton?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1192
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1229
def singular; end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1235
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1272
class ActionDispatch::Routing::Mapper::Resources::SingletonResource < ::ActionDispatch::Routing::Mapper::Resources::Resource
# @return [SingletonResource] a new instance of SingletonResource
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1236
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1273
def initialize(entities, api_only, shallow, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1292
def collection_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1243
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1280
def default_actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1292
def member_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178
def member_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1178
def nested_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1251
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1288
def plural; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1265
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1302
def singleton?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1292
def singular; end
end
# CANONICAL_ACTIONS holds all actions that does not need a prefix or
# a path appended since they fit properly in their scope level.
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1136
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1173
ActionDispatch::Routing::Mapper::Resources::VALID_ON_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2224
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2261
class ActionDispatch::Routing::Mapper::Scope
include ::Enumerable
# @return [Scope] a new instance of Scope
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2234
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2271
def initialize(hash, parent = T.unsafe(nil), scope_level = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2293
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2330
def [](key); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2260
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2297
def action_name(name_prefix, prefix, collection_name, member_name); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2300
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2337
def each; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2308
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2345
def frame; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2240
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2277
def nested?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2285
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2322
def new(hash); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2289
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2326
def new_level(level); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2244
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2281
def null?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2281
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2318
def options; end
# Returns the value of attribute parent.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2232
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2269
def parent; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2256
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2293
def resource_method_scope?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2277
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2314
def resource_scope?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2252
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2289
def resources?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2248
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2285
def root?; end
# Returns the value of attribute scope_level.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2232
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2269
def scope_level; end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2310
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2347
ActionDispatch::Routing::Mapper::Scope::NULL = T.let(T.unsafe(nil), ActionDispatch::Routing::Mapper::Scope)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2225
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2262
ActionDispatch::Routing::Mapper::Scope::OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2230
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2267
ActionDispatch::Routing::Mapper::Scope::RESOURCE_METHOD_SCOPES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2229
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2266
ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), Array)
# You may wish to organize groups of controllers under a namespace.
@@ -17783,7 +17801,7 @@ ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), A
# PATCH/PUT /admin/posts/1
# DELETE /admin/posts/1
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#805
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#842
module ActionDispatch::Routing::Mapper::Scoping
# === Parameter Restriction
# Allows you to constrain the nested routes based on a set of rules.
@@ -17841,7 +17859,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :iphones
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1010
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1047
def constraints(constraints = T.unsafe(nil), &block); end
# Scopes routes to a specific controller
@@ -17850,7 +17868,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# match "bacon", action: :bacon, via: :get
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#895
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#932
def controller(controller); end
# Allows you to set default parameters for a route, such as this:
@@ -17859,7 +17877,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# end
# Using this, the +:id+ parameter here will default to 'home'.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1019
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1056
def defaults(defaults = T.unsafe(nil)); end
# Scopes routes to a specific namespace. For example:
@@ -17901,7 +17919,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :posts
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#940
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#977
def namespace(path, options = T.unsafe(nil), &block); end
# Scopes a set of routes to the given default options.
@@ -17935,64 +17953,64 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :posts
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#836
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#873
def scope(*args); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1051
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1088
def merge_action_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1035
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1072
def merge_as_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1075
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1112
def merge_blocks_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1067
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1104
def merge_constraints_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1047
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1084
def merge_controller_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1071
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1108
def merge_defaults_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1059
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1096
def merge_format_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1043
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1080
def merge_module_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1081
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1118
def merge_options_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1063
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1100
def merge_path_names_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1027
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1064
def merge_path_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1031
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1068
def merge_shallow_path_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1039
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1076
def merge_shallow_prefix_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1085
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1122
def merge_shallow_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1089
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1126
def merge_to_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1055
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1092
def merge_via_scope(parent, child); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#888
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#925
ActionDispatch::Routing::Mapper::Scoping::POISON = T.let(T.unsafe(nil), Object)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#13
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#22
ActionDispatch::Routing::Mapper::URL_OPTIONS = T.let(T.unsafe(nil), Array)
# source://actionpack//lib/action_dispatch/routing/redirection.rb#112
@@ -19489,10 +19507,10 @@ end
# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#9
ActionDispatch::ServerTiming::Subscriber::KEY = T.let(T.unsafe(nil), Symbol)
-# source://actionpack//lib/action_dispatch.rb#106
+# source://actionpack//lib/action_dispatch.rb#110
module ActionDispatch::Session
class << self
- # source://actionpack//lib/action_dispatch.rb#113
+ # source://actionpack//lib/action_dispatch.rb#117
def resolve_store(session_store); end
end
end
@@ -19765,13 +19783,13 @@ class ActionDispatch::ShowExceptions
private
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#64
+ # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#66
def fallback_to_html_format_if_invalid_mime_type(request); end
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#73
+ # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#83
def pass_response(status); end
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#44
+ # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#47
def render_exception(request, wrapper); end
end
@@ -20428,27 +20446,27 @@ end
# other concrete types. It's a wildcard match that we use for +respond_to+
# negotiation internals.
#
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#356
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#359
Mime::ALL = T.let(T.unsafe(nil), Mime::AllType)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#342
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#345
class Mime::AllType < ::Mime::Type
include ::Singleton
extend ::Singleton::SingletonClassMethods
# @return [AllType] a new instance of AllType
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#345
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#348
def initialize; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#349
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#352
def all?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#350
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#353
def html?; end
class << self
@@ -20496,30 +20514,30 @@ class Mime::Mimes
def valid_symbols?(symbols); end
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#358
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#361
class Mime::NullType
include ::Singleton
extend ::Singleton::SingletonClassMethods
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#361
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#364
def nil?; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#369
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#372
def ref; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#365
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#368
def to_s; end
private
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#376
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#379
def method_missing(method, *args); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#372
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#375
def respond_to_missing?(method, _); end
class << self
@@ -20551,44 +20569,44 @@ Mime::SET = T.let(T.unsafe(nil), Mime::Mimes)
class Mime::Type
# @return [Type] a new instance of Type
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#257
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#260
def initialize(string, symbol = T.unsafe(nil), synonyms = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#290
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#293
def ==(mime_type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#282
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#285
def ===(list); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#304
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#307
def =~(mime_type); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#320
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#323
def all?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#297
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#300
def eql?(other); end
# Returns the value of attribute hash.
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#248
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#251
def hash; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#316
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#319
def html?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#310
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#313
def match?(mime_type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#278
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#281
def ref; end
# Returns the value of attribute symbol.
@@ -20596,51 +20614,51 @@ class Mime::Type
# source://actionpack//lib/action_dispatch/http/mime_type.rb#82
def symbol; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#266
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#269
def to_s; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#270
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#273
def to_str; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#274
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#277
def to_sym; end
protected
# Returns the value of attribute string.
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#323
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#326
def string; end
# Returns the value of attribute synonyms.
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#323
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#326
def synonyms; end
private
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#329
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#332
def method_missing(method, *args); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#337
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#340
def respond_to_missing?(method, include_private = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#327
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#330
def to_a; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#326
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#329
def to_ary; end
class << self
# source://actionpack//lib/action_dispatch/http/mime_type.rb#164
def lookup(string); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#169
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#172
def lookup_by_extension(extension); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#193
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#196
def parse(accept_header); end
# For an input of 'text', returns [Mime[:json], Mime[:xml], Mime[:ics],
@@ -20649,19 +20667,19 @@ class Mime::Type
# For an input of 'application', returns [Mime[:html], Mime[:js],
# Mime[:xml], Mime[:yaml], Mime[:atom], Mime[:json], Mime[:rss], Mime[:url_encoded_form]].
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#229
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#232
def parse_data_with_trailing_star(type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#220
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#223
def parse_trailing_star(accept_header); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#179
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#182
def register(string, symbol, mime_type_synonyms = T.unsafe(nil), extension_synonyms = T.unsafe(nil), skip_lookup = T.unsafe(nil)); end
# Registers an alias that's not used on MIME type lookup, but can be referenced directly. Especially useful for
# rendering different HTML versions depending on the user agent, like an iPhone.
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#175
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#178
def register_alias(string, symbol, extension_synonyms = T.unsafe(nil)); end
# source://actionpack//lib/action_dispatch/http/mime_type.rb#160
@@ -20673,7 +20691,7 @@ class Mime::Type
#
# Mime::Type.unregister(:mobile)
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#238
+ # source://actionpack//lib/action_dispatch/http/mime_type.rb#241
def unregister(symbol); end
end
end
@@ -20723,25 +20741,25 @@ class Mime::Type::AcceptList
end
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#255
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#258
class Mime::Type::InvalidMimeType < ::StandardError; end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#250
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#253
Mime::Type::MIME_NAME = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#252
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#255
Mime::Type::MIME_PARAMETER = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#251
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#254
Mime::Type::MIME_PARAMETER_VALUE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#253
+# source://actionpack//lib/action_dispatch/http/mime_type.rb#256
Mime::Type::MIME_REGEXP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch.rb#34
+# source://actionpack//lib/action_dispatch.rb#35
module Rack
class << self
- # source://rack/3.1.7/lib/rack/version.rb#18
+ # source://rack/3.2.4/lib/rack/version.rb#14
def release; end
end
end
diff --git a/sorbet/rbi/gems/actiontext@7.1.3.4.rbi b/sorbet/rbi/gems/actiontext@7.1.5.2.rbi
similarity index 79%
rename from sorbet/rbi/gems/actiontext@7.1.3.4.rbi
rename to sorbet/rbi/gems/actiontext@7.1.5.2.rbi
index ab8c63793..05d3b12c9 100644
--- a/sorbet/rbi/gems/actiontext@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/actiontext@7.1.5.2.rbi
@@ -6,7 +6,7 @@
# :markup: markdown
-# :include: actiontext/README.md
+# :include: ../README.md
#
# source://actiontext//lib/action_text/gem_version.rb#3
module ActionText
@@ -27,19 +27,19 @@ module ActionText
# source://actiontext//lib/action_text.rb#53
def html_document_fragment_class; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#412
+ # source://railties/7.1.5.2/lib/rails/engine.rb#412
def railtie_helpers_paths; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#395
+ # source://railties/7.1.5.2/lib/rails/engine.rb#395
def railtie_namespace; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#416
+ # source://railties/7.1.5.2/lib/rails/engine.rb#416
def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
- # source://railties/7.1.3.4/lib/rails/engine.rb#401
+ # source://railties/7.1.5.2/lib/rails/engine.rb#401
def table_name_prefix; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#408
+ # source://railties/7.1.5.2/lib/rails/engine.rb#408
def use_relative_model_naming?; end
# Returns the currently loaded version of Action Text as a +Gem::Version+.
@@ -189,22 +189,22 @@ class ActionText::Attachables::ContentAttachment
extend ::ActiveModel::Validations::HelperMethods
extend ::ActiveModel::Conversion::ClassMethods
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_validate_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _validate_callbacks; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachables/content_attachment.rb#18
@@ -234,10 +234,10 @@ class ActionText::Attachables::ContentAttachment
# source://actiontext//lib/action_text/attachables/content_attachment.rb#13
def content_type=(_arg0); end
- # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.5.2/lib/active_model/naming.rb#255
def model_name(&block); end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(_arg0); end
# source://actiontext//lib/action_text/attachables/content_attachment.rb#22
@@ -249,7 +249,7 @@ class ActionText::Attachables::ContentAttachment
# source://actiontext//lib/action_text/attachables/content_attachment.rb#26
def to_s; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context; end
private
@@ -257,44 +257,44 @@ class ActionText::Attachables::ContentAttachment
# source://actiontext//lib/action_text/attachables/content_attachment.rb#35
def content_instance; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context=(_arg0); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _validate_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _validate_callbacks=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachables/content_attachment.rb#8
def from_node(node); end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter?; end
end
end
@@ -311,7 +311,7 @@ class ActionText::Attachables::MissingAttachable
# source://actiontext//lib/action_text/attachables/missing_attachable.rb#22
def model; end
- # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.5.2/lib/active_model/naming.rb#255
def model_name(&block); end
# source://actiontext//lib/action_text/attachables/missing_attachable.rb#14
@@ -343,7 +343,7 @@ class ActionText::Attachables::RemoteImage
# source://actiontext//lib/action_text/attachables/remote_image.rb#28
def height; end
- # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.5.2/lib/active_model/naming.rb#255
def model_name(&block); end
# source://actiontext//lib/action_text/attachables/remote_image.rb#41
@@ -414,7 +414,7 @@ class ActionText::Attachment
# source://actiontext//lib/action_text/attachment.rb#129
def inspect; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#354
def method_missing(method, *args, **_arg2, &block); end
# Returns the value of attribute node.
@@ -483,7 +483,7 @@ class ActionText::Attachment
# source://actiontext//lib/action_text/attachment.rb#134
def node_attributes; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#346
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
# source://actiontext//lib/action_text/attachment.rb#142
@@ -549,22 +549,22 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#52
def initialize(node); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_validate_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _validate_callbacks; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachment_gallery.rb#56
@@ -573,7 +573,7 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#66
def inspect; end
- # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.5.2/lib/active_model/naming.rb#255
def model_name(&block); end
# Returns the value of attribute node.
@@ -581,43 +581,43 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#50
def node; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(_arg0); end
# source://actiontext//lib/action_text/attachment_gallery.rb#62
def size; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context; end
private
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context=(_arg0); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _validate_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _validate_callbacks=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachment_gallery.rb#41
@@ -635,13 +635,13 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#37
def from_node(node); end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter?; end
# source://actiontext//lib/action_text/attachment_gallery.rb#45
@@ -756,13 +756,13 @@ class ActionText::Content
# source://actiontext//lib/action_text/content.rb#37
def initialize(content = T.unsafe(nil), options = T.unsafe(nil)); end
- # source://actiontext//lib/action_text/content.rb#146
+ # source://actiontext//lib/action_text/content.rb#149
def ==(other); end
# source://actiontext//lib/action_text/content.rb#90
def append_attachables(attachables); end
- # source://actiontext//lib/action_text/content.rb#138
+ # source://actiontext//lib/action_text/content.rb#141
def as_json(*_arg0); end
# Extracts +ActionText::Attachable+s from the HTML fragment:
@@ -805,7 +805,7 @@ class ActionText::Content
# source://actiontext//lib/action_text/content.rb#27
def html_safe(*_arg0, **_arg1, &_arg2); end
- # source://actiontext//lib/action_text/content.rb#142
+ # source://actiontext//lib/action_text/content.rb#145
def inspect; end
# Extracts links from the HTML fragment:
@@ -823,16 +823,16 @@ class ActionText::Content
# source://actiontext//lib/action_text/rendering.rb#12
def render(*_arg0, **_arg1, &_arg2); end
- # source://actiontext//lib/action_text/content.rb#103
+ # source://actiontext//lib/action_text/content.rb#106
def render_attachment_galleries(&block); end
# source://actiontext//lib/action_text/content.rb#95
def render_attachments(**options, &block); end
- # source://actiontext//lib/action_text/content.rb#122
+ # source://actiontext//lib/action_text/content.rb#125
def to_html; end
- # source://actiontext//lib/action_text/content.rb#130
+ # source://actiontext//lib/action_text/content.rb#133
def to_partial_path; end
# Returns the content as plain text with all HTML tags removed.
@@ -840,40 +840,40 @@ class ActionText::Content
# content = ActionText::Content.new("
Funny times!
")
# content.to_plain_text # => "Funny times!"
#
- # source://actiontext//lib/action_text/content.rb#114
+ # source://actiontext//lib/action_text/content.rb#117
def to_plain_text; end
- # source://actiontext//lib/action_text/content.rb#126
+ # source://actiontext//lib/action_text/content.rb#129
def to_rendered_html_with_layout; end
- # source://actiontext//lib/action_text/content.rb#134
+ # source://actiontext//lib/action_text/content.rb#137
def to_s; end
- # source://actiontext//lib/action_text/content.rb#118
+ # source://actiontext//lib/action_text/content.rb#121
def to_trix_html; end
private
- # source://actiontext//lib/action_text/content.rb#163
+ # source://actiontext//lib/action_text/content.rb#166
def attachment_for_node(node, with_full_attributes: T.unsafe(nil)); end
- # source://actiontext//lib/action_text/content.rb#168
+ # source://actiontext//lib/action_text/content.rb#171
def attachment_gallery_for_node(node); end
- # source://actiontext//lib/action_text/content.rb#159
+ # source://actiontext//lib/action_text/content.rb#162
def attachment_gallery_nodes; end
- # source://actiontext//lib/action_text/content.rb#155
+ # source://actiontext//lib/action_text/content.rb#158
def attachment_nodes; end
class << self
# source://actiontext//lib/action_text/content.rb#30
def fragment_by_canonicalizing_content(content); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def renderer; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def renderer=(obj); end
end
end
@@ -912,16 +912,16 @@ class ActionText::EncryptedRichText < ::ActionText::RichText
include ::ActionText::EncryptedRichText::GeneratedAssociationMethods
class << self
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes; end
end
end
@@ -957,7 +957,7 @@ end
# source://actiontext//lib/action_text/engine.rb#11
class ActionText::Engine < ::Rails::Engine
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -1096,19 +1096,19 @@ module ActionText::PlainTextConversion
private
- # source://actiontext//lib/action_text/plain_text_conversion.rb#104
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#109
def break_if_nested_list(node, text); end
- # source://actiontext//lib/action_text/plain_text_conversion.rb#81
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#86
def bullet_for_li_node(node, index); end
- # source://actiontext//lib/action_text/plain_text_conversion.rb#93
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#98
def indentation_for_li_node(node); end
- # source://actiontext//lib/action_text/plain_text_conversion.rb#100
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#105
def list_node_depth_for_node(node); end
- # source://actiontext//lib/action_text/plain_text_conversion.rb#89
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#94
def list_node_name_for_li_node(node); end
# source://actiontext//lib/action_text/plain_text_conversion.rb#32
@@ -1129,7 +1129,7 @@ module ActionText::PlainTextConversion
# source://actiontext//lib/action_text/plain_text_conversion.rb#32
def plain_text_for_h1_node(node, index = T.unsafe(nil)); end
- # source://actiontext//lib/action_text/plain_text_conversion.rb#69
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#74
def plain_text_for_li_node(node, index); end
# source://actiontext//lib/action_text/plain_text_conversion.rb#40
@@ -1156,7 +1156,7 @@ module ActionText::PlainTextConversion
# source://actiontext//lib/action_text/plain_text_conversion.rb#28
def plain_text_method_for_node(node); end
- # source://actiontext//lib/action_text/plain_text_conversion.rb#77
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#82
def remove_trailing_newlines(text); end
end
@@ -1168,10 +1168,10 @@ class ActionText::Record < ::ActiveRecord::Base
extend ::Kaminari::ConfigurationMethods::ClassMethods
class << self
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
# source://kaminari-activerecord/1.2.2/lib/kaminari/activerecord/active_record_model_extension.rb#15
@@ -1205,13 +1205,13 @@ class ActionText::RichText < ::ActionText::Record
include ::ActionText::RichText::GeneratedAttributeMethods
include ::ActionText::RichText::GeneratedAssociationMethods
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_embeds_attachments(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_embeds_blobs(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_record(*args); end
def blank?(*_arg0, **_arg1, &_arg2); end
@@ -1222,83 +1222,83 @@ class ActionText::RichText < ::ActionText::Record
def to_s(*_arg0, **_arg1, &_arg2); end
def to_trix_html; end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def validate_associated_records_for_embeds_attachments(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def validate_associated_records_for_embeds_blobs(*args); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def with_attached_embeds(*args, **_arg1); end
end
end
module ActionText::RichText::GeneratedAssociationMethods
- # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#187
+ # source://activestorage/7.1.5.2/lib/active_storage/attached/model.rb#191
def embeds; end
- # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#192
+ # source://activestorage/7.1.5.2/lib/active_storage/attached/model.rb#196
def embeds=(attachables); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#62
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#62
def embeds_attachment_ids; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#72
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#72
def embeds_attachment_ids=(ids); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def embeds_attachments; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def embeds_attachments=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#62
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#62
def embeds_blob_ids; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#72
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#72
def embeds_blob_ids=(ids); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def embeds_blobs; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def embeds_blobs=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def record; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def record=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#145
def record_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#149
def record_previously_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_record; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_record; end
end
@@ -1468,216 +1468,216 @@ module ActionView::Helpers
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
class << self
- # source://actionview/7.1.3.4/lib/action_view/helpers.rb#35
+ # source://actionview/7.1.5.2/lib/action_view/helpers.rb#35
def eager_load!; end
end
end
class ActionView::Helpers::FormBuilder
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1715
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1715
def initialize(object_name, object, template, options); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2644
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2644
def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2468
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2468
def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#908
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_options_helper.rb#908
def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#920
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_options_helper.rb#920
def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#860
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_options_helper.rb#860
def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def color_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def date_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/date_helper.rb#1237
+ # source://actionview/7.1.5.2/lib/action_view/helpers/date_helper.rb#1237
def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def datetime_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def datetime_local_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/date_helper.rb#1261
+ # source://actionview/7.1.5.2/lib/action_view/helpers/date_helper.rb#1261
def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def email_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2665
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2665
def emitted_hidden_id?; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1680
def field_helpers; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1680
def field_helpers=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1680
def field_helpers?; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1772
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1772
def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1792
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1792
def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2322
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2322
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2284
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2284
def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2551
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2551
def file_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#872
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_options_helper.rb#872
def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2512
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2512
def hidden_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1752
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1752
def id; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1692
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1692
def index; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2399
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2399
def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def month_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1692
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1692
def multipart; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1695
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1695
def multipart=(multipart); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1692
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1692
def multipart?; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def number_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1690
def object; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1690
def object=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1690
def object_name; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1690
def object_name=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1690
def options; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1690
def options=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def password_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def phone_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2490
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2490
def radio_button(method, tag_value, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def range_field(method, options = T.unsafe(nil)); end
def rich_text_area(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def search_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#848
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_options_helper.rb#848
def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2583
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2583
def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def telephone_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def text_area(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def text_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def time_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/date_helper.rb#1249
+ # source://actionview/7.1.5.2/lib/action_view/helpers/date_helper.rb#1249
def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#884
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_options_helper.rb#884
def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1711
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1711
def to_model; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1707
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1707
def to_partial_path; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def url_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2021
def week_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#896
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_options_helper.rb#896
def weekday_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
private
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2750
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2750
def convert_to_legacy_options(options); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2732
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2732
def fields_for_nested_model(name, object, fields_options, block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2703
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2703
def fields_for_with_nested_attributes(association_name, association, options, block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2699
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2699
def nested_attributes_association?(association_name); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2745
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2745
def nested_child_index(name); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2670
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2670
def objectify_options(options); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2676
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#2676
def submit_default_value; end
class << self
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1703
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1703
def _to_partial_path; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1680
def field_helpers; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1680
def field_helpers=(value); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1680
def field_helpers?; end
end
end
@@ -1691,141 +1691,141 @@ module ActionView::Helpers::FormHelper
mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1586
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1586
def _object_for_form_builder(object); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1343
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1343
def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1373
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1373
def color_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1437
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1437
def date_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1510
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1510
def datetime_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1510
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1510
def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
def default_form_builder; end
def default_form_builder=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1564
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1564
def email_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1077
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1077
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1026
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1026
def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1245
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1245
def file_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#434
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#434
def form_for(record, options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#755
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#755
def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids=(val); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms=(val); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1212
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1212
def hidden_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1149
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1149
def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1529
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1529
def month_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden=(val); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1573
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1573
def number_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1194
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1194
def password_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1405
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1405
def phone_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1365
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1365
def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1582
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1582
def range_field(object_name, method, options = T.unsafe(nil)); end
def rich_text_area(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1396
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1396
def search_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1405
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1405
def telephone_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1275
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1275
def text_area(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1173
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1173
def text_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1475
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1475
def time_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1555
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1555
def url_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1546
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1546
def week_field(object_name, method, options = T.unsafe(nil)); end
private
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#464
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#464
def apply_form_for_options!(object, options); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1620
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1620
def default_form_builder_class; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1591
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1591
def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1606
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#1606
def instantiate_builder(record_name, record_object, options); end
class << self
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids=(val); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms=(val); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.5.2/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden=(val); end
end
end
diff --git a/sorbet/rbi/gems/actionview@7.1.3.4.rbi b/sorbet/rbi/gems/actionview@7.1.5.2.rbi
similarity index 97%
rename from sorbet/rbi/gems/actionview@7.1.3.4.rbi
rename to sorbet/rbi/gems/actionview@7.1.5.2.rbi
index e78120e7f..cc70e26a6 100644
--- a/sorbet/rbi/gems/actionview@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/actionview@7.1.5.2.rbi
@@ -15,193 +15,193 @@ class ActionController::Base < ::ActionController::Metal
include ::Devise::Controllers::StoreLocation
extend ::AbstractController::Helpers::Resolution
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods=(_arg0); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
# source://actionview//lib/action_view/layouts.rb#216
def _layout_conditions(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/renderers.rb#31
def _renderers; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/renderers.rb#31
def _renderers=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(_arg0); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#36
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/flash.rb#36
def alert; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#97
def default_url_options; end
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#97
def default_url_options=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/conditional_get.rb#13
def etaggers; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/conditional_get.rb#13
def etaggers=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#10
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/flash.rb#10
def flash(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(_arg0); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#65
def helpers_path; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#65
def helpers_path=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#65
def helpers_path?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#66
def include_all_helpers; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#66
def include_all_helpers=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -213,52 +213,52 @@ class ActionController::Base < ::ActionController::Metal
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
def mimes_for_respond_to?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#36
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/flash.rb#36
def notice; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def perform_caching=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -270,10 +270,10 @@ class ActionController::Base < ::ActionController::Metal
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
def responder?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
private
@@ -281,47 +281,47 @@ class ActionController::Base < ::ActionController::Metal
# source://actionview//lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
- # source://actionpack/7.1.3.4/lib/action_controller/base.rb#252
+ # source://actionpack/7.1.5.2/lib/action_controller/base.rb#252
def _protected_ivars; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://actionpack/7.1.3.4/lib/action_controller/form_builder.rb#33
+ # source://actionpack/7.1.5.2/lib/action_controller/form_builder.rb#33
def _default_form_builder; end
- # source://actionpack/7.1.3.4/lib/action_controller/form_builder.rb#33
+ # source://actionpack/7.1.5.2/lib/action_controller/form_builder.rb#33
def _default_form_builder=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/form_builder.rb#33
+ # source://actionpack/7.1.5.2/lib/action_controller/form_builder.rb#33
def _default_form_builder?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#8
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/flash.rb#8
def _flash_types; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#8
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/flash.rb#8
def _flash_types=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#8
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/flash.rb#8
def _flash_types?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#16
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#16
def _helpers; end
# source://actionview//lib/action_view/layouts.rb#211
@@ -342,172 +342,172 @@ class ActionController::Base < ::ActionController::Metal
# source://actionview//lib/action_view/layouts.rb#212
def _layout_conditions?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/renderers.rb#31
def _renderers; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/renderers.rb#31
def _renderers=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#97
def default_url_options; end
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#97
def default_url_options=(value); end
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/conditional_get.rb#13
def etaggers; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/conditional_get.rb#13
def etaggers=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.5.2/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#65
def helpers_path; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#65
def helpers_path=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#65
def helpers_path?; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#66
def include_all_helpers; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#66
def include_all_helpers=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def logger=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -519,49 +519,49 @@ class ActionController::Base < ::ActionController::Metal
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
def mimes_for_respond_to?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def perform_caching=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.5.2/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
@@ -573,18 +573,18 @@ class ActionController::Base < ::ActionController::Metal
# source://responders/3.1.1/lib/action_controller/respond_with.rb#11
def responder?; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
- # source://actionpack/7.1.3.4/lib/action_controller/base.rb#184
+ # source://actionpack/7.1.5.2/lib/action_controller/base.rb#184
def without_modules(*modules); end
end
end
-# :include: actionview/README.rdoc
+# :include: ../README.rdoc
#
# source://actionview//lib/action_view/gem_version.rb#3
module ActionView
@@ -903,10 +903,9 @@ class ActionView::ActionViewError < ::StandardError; end
# end
# end
#
-# For more information on Builder please consult the {source
-# code}[https://github.com/jimweirich/builder].
+# For more information on Builder please consult the {source code}[https://github.com/rails/builder].
#
-# source://actionview//lib/action_view/base.rb#141
+# source://actionview//lib/action_view/base.rb#140
class ActionView::Base
include ::ActionView::Context
include ::ERB::Escape
@@ -953,51 +952,51 @@ class ActionView::Base
#
# @return [Base] a new instance of Base
#
- # source://actionview//lib/action_view/base.rb#228
+ # source://actionview//lib/action_view/base.rb#227
def initialize(lookup_context, assigns, controller); end
- # source://actionview//lib/action_view/base.rb#165
+ # source://actionview//lib/action_view/base.rb#164
def _routes; end
- # source://actionview//lib/action_view/base.rb#165
+ # source://actionview//lib/action_view/base.rb#164
def _routes=(_arg0); end
- # source://actionview//lib/action_view/base.rb#165
+ # source://actionview//lib/action_view/base.rb#164
def _routes?; end
- # source://actionview//lib/action_view/base.rb#245
+ # source://actionview//lib/action_view/base.rb#244
def _run(method, template, locals, buffer, add_to_stack: T.unsafe(nil), has_strict_locals: T.unsafe(nil), &block); end
- # source://actionview//lib/action_view/base.rb#163
+ # source://actionview//lib/action_view/base.rb#162
def annotate_rendered_view_with_filenames; end
- # source://actionview//lib/action_view/base.rb#163
+ # source://actionview//lib/action_view/base.rb#162
def annotate_rendered_view_with_filenames=(val); end
- # source://actionview//lib/action_view/base.rb#207
+ # source://actionview//lib/action_view/base.rb#206
def assign(new_assigns); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def assigns; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def assigns=(_arg0); end
- # source://actionview//lib/action_view/base.rb#160
+ # source://actionview//lib/action_view/base.rb#159
def automatically_disable_submit_tag; end
- # source://actionview//lib/action_view/base.rb#160
+ # source://actionview//lib/action_view/base.rb#159
def automatically_disable_submit_tag=(val); end
# @raise [NotImplementedError]
#
- # source://actionview//lib/action_view/base.rb#270
+ # source://actionview//lib/action_view/base.rb#269
def compiled_method_container; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def config; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attr_internal.rb#33
def config=(_arg0); end
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
@@ -1006,104 +1005,104 @@ class ActionView::Base
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
def debug_missing_translation=(val); end
- # source://actionview//lib/action_view/base.rb#157
+ # source://actionview//lib/action_view/base.rb#156
def default_formats; end
- # source://actionview//lib/action_view/base.rb#157
+ # source://actionview//lib/action_view/base.rb#156
def default_formats=(val); end
- # source://actionview//lib/action_view/base.rb#145
+ # source://actionview//lib/action_view/base.rb#144
def field_error_proc; end
- # source://actionview//lib/action_view/base.rb#145
+ # source://actionview//lib/action_view/base.rb#144
def field_error_proc=(val); end
- # source://actionview//lib/action_view/base.rb#205
+ # source://actionview//lib/action_view/base.rb#204
def formats(*_arg0, **_arg1, &_arg2); end
- # source://actionview//lib/action_view/base.rb#205
+ # source://actionview//lib/action_view/base.rb#204
def formats=(arg); end
- # source://actionview//lib/action_view/base.rb#278
+ # source://actionview//lib/action_view/base.rb#277
def in_rendering_context(options); end
- # source://actionview//lib/action_view/base.rb#205
+ # source://actionview//lib/action_view/base.rb#204
def locale(*_arg0, **_arg1, &_arg2); end
- # source://actionview//lib/action_view/base.rb#205
+ # source://actionview//lib/action_view/base.rb#204
def locale=(arg); end
- # source://actionview//lib/action_view/base.rb#166
+ # source://actionview//lib/action_view/base.rb#165
def logger; end
- # source://actionview//lib/action_view/base.rb#166
+ # source://actionview//lib/action_view/base.rb#165
def logger=(_arg0); end
- # source://actionview//lib/action_view/base.rb#166
+ # source://actionview//lib/action_view/base.rb#165
def logger?; end
# Returns the value of attribute lookup_context.
#
- # source://actionview//lib/action_view/base.rb#202
+ # source://actionview//lib/action_view/base.rb#201
def lookup_context; end
- # source://actionview//lib/action_view/base.rb#154
+ # source://actionview//lib/action_view/base.rb#153
def prefix_partial_path_with_controller_namespace; end
- # source://actionview//lib/action_view/base.rb#154
+ # source://actionview//lib/action_view/base.rb#153
def prefix_partial_path_with_controller_namespace=(_arg0); end
- # source://actionview//lib/action_view/base.rb#154
+ # source://actionview//lib/action_view/base.rb#153
def prefix_partial_path_with_controller_namespace?; end
- # source://actionview//lib/action_view/base.rb#149
+ # source://actionview//lib/action_view/base.rb#148
def streaming_completion_on_exception; end
- # source://actionview//lib/action_view/base.rb#149
+ # source://actionview//lib/action_view/base.rb#148
def streaming_completion_on_exception=(val); end
- # source://actionview//lib/action_view/base.rb#205
+ # source://actionview//lib/action_view/base.rb#204
def view_paths(*_arg0, **_arg1, &_arg2); end
- # source://actionview//lib/action_view/base.rb#205
+ # source://actionview//lib/action_view/base.rb#204
def view_paths=(arg); end
# Returns the value of attribute view_renderer.
#
- # source://actionview//lib/action_view/base.rb#202
+ # source://actionview//lib/action_view/base.rb#201
def view_renderer; end
class << self
- # source://actionview//lib/action_view/base.rb#165
+ # source://actionview//lib/action_view/base.rb#164
def _routes; end
- # source://actionview//lib/action_view/base.rb#165
+ # source://actionview//lib/action_view/base.rb#164
def _routes=(value); end
- # source://actionview//lib/action_view/base.rb#165
+ # source://actionview//lib/action_view/base.rb#164
def _routes?; end
- # source://actionview//lib/action_view/base.rb#163
+ # source://actionview//lib/action_view/base.rb#162
def annotate_rendered_view_with_filenames; end
- # source://actionview//lib/action_view/base.rb#163
+ # source://actionview//lib/action_view/base.rb#162
def annotate_rendered_view_with_filenames=(val); end
- # source://actionview//lib/action_view/base.rb#160
+ # source://actionview//lib/action_view/base.rb#159
def automatically_disable_submit_tag; end
- # source://actionview//lib/action_view/base.rb#160
+ # source://actionview//lib/action_view/base.rb#159
def automatically_disable_submit_tag=(val); end
- # source://actionview//lib/action_view/base.rb#171
+ # source://actionview//lib/action_view/base.rb#170
def cache_template_loading; end
- # source://actionview//lib/action_view/base.rb#175
+ # source://actionview//lib/action_view/base.rb#174
def cache_template_loading=(value); end
# @return [Boolean]
#
- # source://actionview//lib/action_view/base.rb#197
+ # source://actionview//lib/action_view/base.rb#196
def changed?(other); end
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
@@ -1118,62 +1117,62 @@ class ActionView::Base
# source://actionview//lib/action_view/helpers/form_helper.rb#2759
def default_form_builder=(val); end
- # source://actionview//lib/action_view/base.rb#157
+ # source://actionview//lib/action_view/base.rb#156
def default_formats; end
- # source://actionview//lib/action_view/base.rb#157
+ # source://actionview//lib/action_view/base.rb#156
def default_formats=(val); end
# :stopdoc:
#
- # source://actionview//lib/action_view/base.rb#214
+ # source://actionview//lib/action_view/base.rb#213
def empty; end
- # source://actionview//lib/action_view/base.rb#169
+ # source://actionview//lib/action_view/base.rb#168
def erb_trim_mode=(arg); end
- # source://actionview//lib/action_view/base.rb#145
+ # source://actionview//lib/action_view/base.rb#144
def field_error_proc; end
- # source://actionview//lib/action_view/base.rb#145
+ # source://actionview//lib/action_view/base.rb#144
def field_error_proc=(val); end
- # source://actionview//lib/action_view/base.rb#166
+ # source://actionview//lib/action_view/base.rb#165
def logger; end
- # source://actionview//lib/action_view/base.rb#166
+ # source://actionview//lib/action_view/base.rb#165
def logger=(value); end
- # source://actionview//lib/action_view/base.rb#166
+ # source://actionview//lib/action_view/base.rb#165
def logger?; end
- # source://actionview//lib/action_view/base.rb#154
+ # source://actionview//lib/action_view/base.rb#153
def prefix_partial_path_with_controller_namespace; end
- # source://actionview//lib/action_view/base.rb#154
+ # source://actionview//lib/action_view/base.rb#153
def prefix_partial_path_with_controller_namespace=(value); end
- # source://actionview//lib/action_view/base.rb#154
+ # source://actionview//lib/action_view/base.rb#153
def prefix_partial_path_with_controller_namespace?; end
- # source://actionview//lib/action_view/base.rb#149
+ # source://actionview//lib/action_view/base.rb#148
def streaming_completion_on_exception; end
- # source://actionview//lib/action_view/base.rb#149
+ # source://actionview//lib/action_view/base.rb#148
def streaming_completion_on_exception=(val); end
- # source://actionview//lib/action_view/base.rb#222
+ # source://actionview//lib/action_view/base.rb#221
def with_context(context, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end
- # source://actionview//lib/action_view/base.rb#183
+ # source://actionview//lib/action_view/base.rb#182
def with_empty_template_cache; end
- # source://actionview//lib/action_view/base.rb#218
+ # source://actionview//lib/action_view/base.rb#217
def with_view_paths(view_paths, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://actionview//lib/action_view/base.rb#179
+ # source://actionview//lib/action_view/base.rb#178
def xss_safe?; end
end
end
@@ -3160,11 +3159,11 @@ module ActionView::Helpers::CacheHelper
# render 'comments/comments'
# render('comments/comments')
#
- # render "header" translates to render("comments/header")
+ # render "header" # translates to render("comments/header")
#
- # render(@topic) translates to render("topics/topic")
- # render(topics) translates to render("topics/topic")
- # render(message.topics) translates to render("topics/topic")
+ # render(@topic) # translates to render("topics/topic")
+ # render(topics) # translates to render("topics/topic")
+ # render(message.topics) # translates to render("topics/topic")
#
# It's not possible to derive all render calls like that, though.
# Here are a few examples of things that can't be derived:
@@ -9451,55 +9450,55 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# source://actionview//lib/action_view/helpers/sanitize_helper.rb#165
def sanitized_allowed_attributes; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#34
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#34
def sanitized_allowed_attributes=(attributes); end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
def sanitized_allowed_css_keywords; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
def sanitized_allowed_css_keywords=(_); end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
def sanitized_allowed_css_properties; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
def sanitized_allowed_css_properties=(_); end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
def sanitized_allowed_protocols; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
def sanitized_allowed_protocols=(_); end
# source://actionview//lib/action_view/helpers/sanitize_helper.rb#161
def sanitized_allowed_tags; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#24
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#24
def sanitized_allowed_tags=(tags); end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
def sanitized_bad_tags; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
def sanitized_bad_tags=(_); end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
def sanitized_protocol_separator; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
def sanitized_protocol_separator=(_); end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
def sanitized_shorthand_css_properties; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
def sanitized_shorthand_css_properties=(_); end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#47
def sanitized_uri_attributes; end
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#48
def sanitized_uri_attributes=(_); end
# source://actionview//lib/action_view/helpers/sanitize_helper.rb#157
@@ -9507,7 +9506,7 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
private
- # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#52
+ # source://rails-html-sanitizer/1.6.2/lib/rails-html-sanitizer.rb#52
def deprecate_option(name); end
end
@@ -11190,7 +11189,7 @@ module ActionView::Helpers::UrlHelper
# @return [Boolean]
#
- # source://actionview//lib/action_view/helpers/url_helper.rb#609
+ # source://actionview//lib/action_view/helpers/url_helper.rb#611
def current_page?(options = T.unsafe(nil), check_parameters: T.unsafe(nil), **options_as_kwargs); end
# Creates an anchor element of the given +name+ using a URL created by the set of +options+.
@@ -11531,7 +11530,7 @@ module ActionView::Helpers::UrlHelper
# Phone me:
#
#
- # source://actionview//lib/action_view/helpers/url_helper.rb#743
+ # source://actionview//lib/action_view/helpers/url_helper.rb#745
def phone_to(phone_number, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
# Creates an SMS anchor link tag to the specified +phone_number+. When the
@@ -11575,7 +11574,7 @@ module ActionView::Helpers::UrlHelper
# Text me:
#
#
- # source://actionview//lib/action_view/helpers/url_helper.rb#692
+ # source://actionview//lib/action_view/helpers/url_helper.rb#694
def sms_to(phone_number, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
# Basic implementation of url_for to allow use helpers without routes existence
@@ -11591,29 +11590,29 @@ module ActionView::Helpers::UrlHelper
# source://actionview//lib/action_view/helpers/url_helper.rb#55
def _filtered_referrer; end
- # source://actionview//lib/action_view/helpers/url_helper.rb#786
+ # source://actionview//lib/action_view/helpers/url_helper.rb#788
def add_method_to_attributes!(html_options, method); end
- # source://actionview//lib/action_view/helpers/url_helper.rb#757
+ # source://actionview//lib/action_view/helpers/url_helper.rb#759
def convert_options_to_data_attributes(options, html_options); end
# @return [Boolean]
#
- # source://actionview//lib/action_view/helpers/url_helper.rb#780
+ # source://actionview//lib/action_view/helpers/url_helper.rb#782
def link_to_remote_options?(options); end
- # source://actionview//lib/action_view/helpers/url_helper.rb#797
+ # source://actionview//lib/action_view/helpers/url_helper.rb#799
def method_for_options(options); end
# @return [Boolean]
#
- # source://actionview//lib/action_view/helpers/url_helper.rb#815
+ # source://actionview//lib/action_view/helpers/url_helper.rb#817
def method_not_get_method?(method); end
- # source://actionview//lib/action_view/helpers/url_helper.rb#834
+ # source://actionview//lib/action_view/helpers/url_helper.rb#836
def method_tag(method); end
- # source://actionview//lib/action_view/helpers/url_helper.rb#880
+ # source://actionview//lib/action_view/helpers/url_helper.rb#882
def remove_trailing_slash!(url_string); end
# Returns an array of hashes each containing :name and :value keys
@@ -11633,13 +11632,13 @@ module ActionView::Helpers::UrlHelper
# to_form_params({ name: 'Denmark' }, 'country')
# # => [{name: 'country[name]', value: 'Denmark'}]
#
- # source://actionview//lib/action_view/helpers/url_helper.rb#854
+ # source://actionview//lib/action_view/helpers/url_helper.rb#856
def to_form_params(attribute, namespace = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/url_helper.rb#820
+ # source://actionview//lib/action_view/helpers/url_helper.rb#822
def token_tag(token = T.unsafe(nil), form_options: T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/url_helper.rb#772
+ # source://actionview//lib/action_view/helpers/url_helper.rb#774
def url_target(name, options); end
class << self
@@ -11666,7 +11665,10 @@ module ActionView::Helpers::UrlHelper::ClassMethods
def _url_for_modules; end
end
-# source://actionview//lib/action_view/helpers/url_helper.rb#807
+# source://actionview//lib/action_view/helpers/url_helper.rb#564
+ActionView::Helpers::UrlHelper::RFC2396_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
+
+# source://actionview//lib/action_view/helpers/url_helper.rb#809
ActionView::Helpers::UrlHelper::STRINGIFIED_COMMON_METHODS = T.let(T.unsafe(nil), Hash)
# This is a class to fix I18n global state. Whenever you provide I18n.locale during a request,
@@ -12084,7 +12086,7 @@ class ActionView::LogSubscriber < ::ActiveSupport::LogSubscriber
# source://actionview//lib/action_view/log_subscriber.rb#101
def attach_to(*_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.5.2/lib/active_support/log_subscriber.rb#88
def log_levels; end
end
end
@@ -12987,7 +12989,7 @@ end
# source://actionview//lib/action_view/railtie.rb#8
class ActionView::Railtie < ::Rails::Engine
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -14163,7 +14165,7 @@ end
module ActionView::RoutingUrlFor
include ::ActionDispatch::Routing::PolymorphicRoutes
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#99
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#99
def default_url_options=(val); end
# Returns the URL for the set of +options+ provided. This takes the
@@ -14265,7 +14267,7 @@ module ActionView::RoutingUrlFor
def optimize_routes_generation?; end
class << self
- # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#99
+ # source://actionpack/7.1.5.2/lib/action_dispatch/routing/url_for.rb#99
def default_url_options=(val); end
end
end
@@ -14419,7 +14421,7 @@ class ActionView::Template
# before passing the source on to the template engine, leaving a
# blank line in its stead.
#
- # source://actionview//lib/action_view/template.rb#297
+ # source://actionview//lib/action_view/template.rb#298
def encode!; end
# Returns the value of attribute format.
@@ -14437,7 +14439,7 @@ class ActionView::Template
# source://actionview//lib/action_view/template.rb#181
def identifier; end
- # source://actionview//lib/action_view/template.rb#276
+ # source://actionview//lib/action_view/template.rb#277
def inspect; end
# The locals this template has been or will be compiled for, or nil if this
@@ -14450,13 +14452,13 @@ class ActionView::Template
# to ensure that references to the template object can be marshalled as well. This means forgoing
# the marshalling of the compiler mutex and instantiating that again on unmarshalling.
#
- # source://actionview//lib/action_view/template.rb#363
+ # source://actionview//lib/action_view/template.rb#364
def marshal_dump; end
- # source://actionview//lib/action_view/template.rb#367
+ # source://actionview//lib/action_view/template.rb#368
def marshal_load(array); end
- # source://actionview//lib/action_view/template.rb#372
+ # source://actionview//lib/action_view/template.rb#373
def method_name; end
# Render a template. If the template was not compiled yet, it is done
@@ -14469,10 +14471,10 @@ class ActionView::Template
# source://actionview//lib/action_view/template.rb#248
def render(view, locals, buffer = T.unsafe(nil), implicit_locals: T.unsafe(nil), add_to_stack: T.unsafe(nil), &block); end
- # source://actionview//lib/action_view/template.rb#272
+ # source://actionview//lib/action_view/template.rb#273
def short_identifier; end
- # source://actionview//lib/action_view/template.rb#280
+ # source://actionview//lib/action_view/template.rb#281
def source; end
# source://actionview//lib/action_view/template.rb#218
@@ -14488,14 +14490,14 @@ class ActionView::Template
# Strict locals are useful for validating template arguments and for
# specifying defaults.
#
- # source://actionview//lib/action_view/template.rb#342
+ # source://actionview//lib/action_view/template.rb#343
def strict_locals!; end
# Returns whether a template is using strict locals.
#
# @return [Boolean]
#
- # source://actionview//lib/action_view/template.rb#356
+ # source://actionview//lib/action_view/template.rb#357
def strict_locals?; end
# Returns whether the underlying handler supports streaming. If so,
@@ -14512,7 +14514,7 @@ class ActionView::Template
# source://actionview//lib/action_view/template.rb#228
def translate_location(backtrace_location, spot); end
- # source://actionview//lib/action_view/template.rb#268
+ # source://actionview//lib/action_view/template.rb#269
def type; end
# Returns the value of attribute variable.
@@ -14544,44 +14546,44 @@ class ActionView::Template
# In general, this means that templates will be UTF-8 inside of Rails,
# regardless of the original source encoding.
#
- # source://actionview//lib/action_view/template.rb#472
+ # source://actionview//lib/action_view/template.rb#477
def compile(mod); end
# Compile a template. This method ensures a template is compiled
# just once and removes the source after it is compiled.
#
- # source://actionview//lib/action_view/template.rb#394
+ # source://actionview//lib/action_view/template.rb#395
def compile!(view); end
# This method compiles the source of the template. The compilation of templates
# involves setting strict_locals! if applicable, encoding the template, and setting
# frozen string literal.
#
- # source://actionview//lib/action_view/template.rb#419
+ # source://actionview//lib/action_view/template.rb#420
def compiled_source; end
- # source://actionview//lib/action_view/template.rb#381
+ # source://actionview//lib/action_view/template.rb#382
def find_node_by_id(node, node_id); end
- # source://actionview//lib/action_view/template.rb#518
+ # source://actionview//lib/action_view/template.rb#525
def handle_render_error(view, e); end
- # source://actionview//lib/action_view/template.rb#540
+ # source://actionview//lib/action_view/template.rb#547
def identifier_method_name; end
- # source://actionview//lib/action_view/template.rb#544
+ # source://actionview//lib/action_view/template.rb#551
def instrument(action, &block); end
- # source://actionview//lib/action_view/template.rb#552
+ # source://actionview//lib/action_view/template.rb#559
def instrument_payload; end
- # source://actionview//lib/action_view/template.rb#548
+ # source://actionview//lib/action_view/template.rb#555
def instrument_render_template(&block); end
- # source://actionview//lib/action_view/template.rb#527
+ # source://actionview//lib/action_view/template.rb#534
def locals_code; end
- # source://actionview//lib/action_view/template.rb#510
+ # source://actionview//lib/action_view/template.rb#517
def offset; end
class << self
@@ -14921,7 +14923,7 @@ end
# source://actionview//lib/action_view/template/inline.rb#8
ActionView::Template::Inline::Finalizer = T.let(T.unsafe(nil), Proc)
-# source://actionview//lib/action_view/template.rb#284
+# source://actionview//lib/action_view/template.rb#285
ActionView::Template::LEADING_ENCODING_REGEXP = T.let(T.unsafe(nil), Regexp)
# source://actionview//lib/action_view/template.rb#184
@@ -15354,13 +15356,13 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
extend ::ActionView::TestCase::Behavior::ClassMethods
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods=(_arg0); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
@@ -15370,19 +15372,19 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
def debug_missing_translation=(val); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods=(value); end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#16
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#16
def _helpers; end
# source://actionview//lib/action_view/test_case.rb#201
@@ -15438,42 +15440,8 @@ module ActionView::TestCase::Behavior
mixes_in_class_methods ::ActiveSupport::Testing::ConstantLookup::ClassMethods
mixes_in_class_methods ::ActionView::TestCase::Behavior::ClassMethods
- # source://actionview//lib/action_view/test_case.rb#298
- def _routes; end
-
- # source://actionview//lib/action_view/test_case.rb#233
- def config; end
-
- # Returns the value of attribute controller.
+ # :method: rendered
#
- # source://actionview//lib/action_view/test_case.rb#63
- def controller; end
-
- # Sets the attribute controller
- #
- # @param value the value to set the attribute controller to.
- #
- # source://actionview//lib/action_view/test_case.rb#63
- def controller=(_arg0); end
-
- # source://actionview//lib/action_view/test_case.rb#62
- def lookup_context(*_arg0, **_arg1, &_arg2); end
-
- # Returns the value of attribute output_buffer.
- #
- # source://actionview//lib/action_view/test_case.rb#63
- def output_buffer; end
-
- # Sets the attribute output_buffer
- #
- # @param value the value to set the attribute output_buffer to.
- #
- # source://actionview//lib/action_view/test_case.rb#63
- def output_buffer=(_arg0); end
-
- # source://actionview//lib/action_view/test_case.rb#237
- def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil), &block); end
-
# Returns the content rendered by the last +render+ call.
#
# The returned object behaves like a string but also exposes a number of methods
@@ -15522,9 +15490,54 @@ module ActionView::TestCase::Behavior
# assert_pattern { rendered.json => { title: "Hello, world" } }
# end
#
- # source://actionview//lib/action_view/test_case.rb#294
+ # source://actionview//lib/action_view/test_case.rb#298
+ def _routes; end
+
+ # source://actionview//lib/action_view/test_case.rb#233
+ def config; end
+
+ # Returns the value of attribute controller.
+ #
+ # source://actionview//lib/action_view/test_case.rb#63
+ def controller; end
+
+ # Sets the attribute controller
+ #
+ # @param value the value to set the attribute controller to.
+ #
+ # source://actionview//lib/action_view/test_case.rb#63
+ def controller=(_arg0); end
+
+ # source://actionview//lib/action_view/test_case.rb#62
+ def lookup_context(*_arg0, **_arg1, &_arg2); end
+
+ # Returns the value of attribute output_buffer.
+ #
+ # source://actionview//lib/action_view/test_case.rb#63
+ def output_buffer; end
+
+ # Sets the attribute output_buffer
+ #
+ # @param value the value to set the attribute output_buffer to.
+ #
+ # source://actionview//lib/action_view/test_case.rb#63
+ def output_buffer=(_arg0); end
+
+ # source://actionview//lib/action_view/test_case.rb#237
+ def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil), &block); end
+
+ # Returns the value of attribute rendered.
+ #
+ # source://actionview//lib/action_view/test_case.rb#63
def rendered; end
+ # Sets the attribute rendered
+ #
+ # @param value the value to set the attribute rendered to.
+ #
+ # source://actionview//lib/action_view/test_case.rb#63
+ def rendered=(_arg0); end
+
# source://actionview//lib/action_view/test_case.rb#243
def rendered_views; end
@@ -15832,7 +15845,7 @@ class ActionView::TestCase::TestController < ::ActionController::Base
# source://actionview//lib/action_view/test_case.rb#23
def controller_path=(_arg0); end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
diff --git a/sorbet/rbi/gems/activejob@7.1.3.4.rbi b/sorbet/rbi/gems/activejob@7.1.5.2.rbi
similarity index 97%
rename from sorbet/rbi/gems/activejob@7.1.3.4.rbi
rename to sorbet/rbi/gems/activejob@7.1.5.2.rbi
index 642947d3f..1669dafc4 100644
--- a/sorbet/rbi/gems/activejob@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/activejob@7.1.5.2.rbi
@@ -6,7 +6,7 @@
# :markup: markdown
-# :include: activejob/README.md
+# :include: ../README.md
#
# source://activejob//lib/active_job/gem_version.rb#3
module ActiveJob
@@ -28,19 +28,19 @@ module ActiveJob
# Queue adapters may communicate the enqueue status of each job by setting
# successfully_enqueued and/or enqueue_error on the passed-in job instances.
#
- # source://activejob//lib/active_job/enqueuing.rb#16
+ # source://activejob//lib/active_job/enqueuing.rb#14
def perform_all_later(*jobs); end
- # source://activejob//lib/active_job.rb#53
+ # source://activejob//lib/active_job.rb#56
def use_big_decimal_serializer; end
- # source://activejob//lib/active_job.rb#53
+ # source://activejob//lib/active_job.rb#56
def use_big_decimal_serializer=(_arg0); end
- # source://activejob//lib/active_job.rb#61
+ # source://activejob//lib/active_job.rb#64
def verbose_enqueue_logs; end
- # source://activejob//lib/active_job.rb#61
+ # source://activejob//lib/active_job.rb#64
def verbose_enqueue_logs=(_arg0); end
# Returns the currently loaded version of Active Job as a +Gem::Version+.
@@ -211,22 +211,22 @@ class ActiveJob::Base
extend ::Sidekiq::Job::Options::ClassMethods
extend ::ActiveJob::TestHelper::TestQueueAdapter::ClassMethods
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _enqueue_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _perform_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_enqueue_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_perform_callbacks(&block); end
# source://activejob//lib/active_job/exceptions.rb#12
@@ -256,13 +256,13 @@ class ActiveJob::Base
# source://activejob//lib/active_job/queue_name.rb#57
def queue_name_prefix?; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://sidekiq/7.3.0/lib/sidekiq/job.rb#141
@@ -284,25 +284,25 @@ class ActiveJob::Base
def sidekiq_retry_in_block=(_arg0); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _enqueue_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _enqueue_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _perform_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _perform_callbacks=(value); end
# source://activejob//lib/active_job/queue_adapter.rb#24
@@ -383,13 +383,13 @@ class ActiveJob::Base
# source://activejob//lib/active_job/queue_name.rb#57
def queue_name_prefix?; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://activejob//lib/active_job/exceptions.rb#11
@@ -456,16 +456,16 @@ module ActiveJob::Callbacks
mixes_in_class_methods ::ActiveJob::Callbacks::ClassMethods
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _execute_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_execute_callbacks(&block); end
end
@@ -889,10 +889,10 @@ end
# Can be raised by adapters if they wish to communicate to the caller a reason
# why the adapter was unexpectedly unable to enqueue a job.
#
-# source://activejob//lib/active_job/enqueuing.rb#10
+# source://activejob//lib/active_job/enqueuing.rb#8
class ActiveJob::EnqueueError < ::StandardError; end
-# source://activejob//lib/active_job/enqueuing.rb#42
+# source://activejob//lib/active_job/enqueuing.rb#40
module ActiveJob::Enqueuing
extend ::ActiveSupport::Concern
@@ -914,13 +914,13 @@ module ActiveJob::Enqueuing
# my_job_instance.enqueue wait_until: Date.tomorrow.midnight
# my_job_instance.enqueue priority: 10
#
- # source://activejob//lib/active_job/enqueuing.rb#89
+ # source://activejob//lib/active_job/enqueuing.rb#87
def enqueue(options = T.unsafe(nil)); end
end
# Includes the +perform_later+ method for job initialization.
#
-# source://activejob//lib/active_job/enqueuing.rb#46
+# source://activejob//lib/active_job/enqueuing.rb#44
module ActiveJob::Enqueuing::ClassMethods
# Push a job onto the queue. By default the arguments must be either String,
# Integer, Float, NilClass, TrueClass, FalseClass, BigDecimal, Symbol, Date,
@@ -936,12 +936,12 @@ module ActiveJob::Enqueuing::ClassMethods
#
# @yield [job]
#
- # source://activejob//lib/active_job/enqueuing.rb#58
+ # source://activejob//lib/active_job/enqueuing.rb#56
def perform_later(*_arg0, **_arg1, &_arg2); end
private
- # source://activejob//lib/active_job/enqueuing.rb#68
+ # source://activejob//lib/active_job/enqueuing.rb#66
def job_or_instantiate(*args, **_arg1); end
end
@@ -1114,7 +1114,7 @@ ActiveJob::Exceptions::JITTER_DEFAULT = T.let(T.unsafe(nil), Object)
# {rescue_from}[rdoc-ref:ActiveSupport::Rescuable::ClassMethods#rescue_from]
# are handled.
#
-# source://activejob//lib/active_job/execution.rb#13
+# source://activejob//lib/active_job/execution.rb#12
module ActiveJob::Execution
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -1124,7 +1124,7 @@ module ActiveJob::Execution
mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods
mixes_in_class_methods ::ActiveJob::Execution::ClassMethods
- # source://activejob//lib/active_job/execution.rb#61
+ # source://activejob//lib/active_job/execution.rb#60
def perform(*_arg0); end
# Performs the job immediately. The job is not sent to the queuing adapter
@@ -1139,12 +1139,12 @@ module ActiveJob::Execution
#
# puts MyJob.new(*args).perform_now # => "Hello World!"
#
- # source://activejob//lib/active_job/execution.rb#46
+ # source://activejob//lib/active_job/execution.rb#45
def perform_now; end
private
- # source://activejob//lib/active_job/execution.rb#66
+ # source://activejob//lib/active_job/execution.rb#65
def _perform_job; end
module GeneratedClassMethods
@@ -1162,16 +1162,16 @@ end
# Includes methods for executing and performing jobs instantly.
#
-# source://activejob//lib/active_job/execution.rb#18
+# source://activejob//lib/active_job/execution.rb#17
module ActiveJob::Execution::ClassMethods
- # source://activejob//lib/active_job/execution.rb#27
+ # source://activejob//lib/active_job/execution.rb#26
def execute(job_data); end
# Performs the job immediately.
#
# MyJob.perform_now("mike")
#
- # source://activejob//lib/active_job/execution.rb#23
+ # source://activejob//lib/active_job/execution.rb#22
def perform_now(*_arg0, **_arg1, &_arg2); end
end
@@ -1271,7 +1271,7 @@ class ActiveJob::LogSubscriber < ::ActiveSupport::LogSubscriber
# source://activejob//lib/active_job/log_subscriber.rb#7
def backtrace_cleaner?; end
- # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.5.2/lib/active_support/log_subscriber.rb#88
def log_levels; end
end
end
diff --git a/sorbet/rbi/gems/activemodel@7.1.3.4.rbi b/sorbet/rbi/gems/activemodel@7.1.5.2.rbi
similarity index 99%
rename from sorbet/rbi/gems/activemodel@7.1.3.4.rbi
rename to sorbet/rbi/gems/activemodel@7.1.5.2.rbi
index 10e1b5b36..fc98ca921 100644
--- a/sorbet/rbi/gems/activemodel@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/activemodel@7.1.5.2.rbi
@@ -5,7 +5,7 @@
# Please instead update this file by running `bin/tapioca gem activemodel`.
-# :include: activemodel/README.rdoc
+# :include: ../README.rdoc
#
# source://activemodel//lib/active_model/gem_version.rb#3
module ActiveModel
@@ -561,7 +561,7 @@ module ActiveModel::AttributeMethods
# attribute method. If so, we tell +attribute_missing+ to dispatch the
# attribute. This method can be overloaded to customize the behavior.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#498
+ # source://activemodel//lib/active_model/attribute_methods.rb#520
def attribute_missing(match, *args, **_arg2, &block); end
# Allows access to the object attributes, which are held in the hash
@@ -575,12 +575,12 @@ module ActiveModel::AttributeMethods
# class belonging to the +clients+ table with a +master_id+ foreign key
# can instantiate master through Client#master.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#484
+ # source://activemodel//lib/active_model/attribute_methods.rb#506
def method_missing(method, *args, **_arg2, &block); end
# @return [Boolean]
#
- # source://activemodel//lib/active_model/attribute_methods.rb#507
+ # source://activemodel//lib/active_model/attribute_methods.rb#529
def respond_to?(method, include_private_methods = T.unsafe(nil)); end
# A +Person+ instance with a +name+ attribute can ask
@@ -590,23 +590,23 @@ module ActiveModel::AttributeMethods
private
- # source://activemodel//lib/active_model/attribute_methods.rb#535
+ # source://activemodel//lib/active_model/attribute_methods.rb#557
def _read_attribute(attr); end
# @return [Boolean]
#
- # source://activemodel//lib/active_model/attribute_methods.rb#520
+ # source://activemodel//lib/active_model/attribute_methods.rb#542
def attribute_method?(attr_name); end
# Returns a struct representing the matching attribute method.
# The struct's attributes are prefix, base and suffix.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#526
+ # source://activemodel//lib/active_model/attribute_methods.rb#548
def matched_attribute_method(method_name); end
# @raise [ActiveModel::MissingAttributeError]
#
- # source://activemodel//lib/active_model/attribute_methods.rb#531
+ # source://activemodel//lib/active_model/attribute_methods.rb#553
def missing_attribute(attr_name, stack); end
module GeneratedClassMethods
@@ -626,7 +626,7 @@ module ActiveModel::AttributeMethods
end
end
-# source://activemodel//lib/active_model/attribute_methods.rb#539
+# source://activemodel//lib/active_model/attribute_methods.rb#561
module ActiveModel::AttributeMethods::AttrNames
class << self
# We want to generate the methods via module_eval rather than
@@ -644,12 +644,12 @@ module ActiveModel::AttributeMethods::AttrNames
# Making it frozen means that it doesn't get duped when used to
# key the @attributes in read_attribute.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#556
+ # source://activemodel//lib/active_model/attribute_methods.rb#578
def define_attribute_accessor_method(owner, attr_name, writer: T.unsafe(nil)); end
end
end
-# source://activemodel//lib/active_model/attribute_methods.rb#540
+# source://activemodel//lib/active_model/attribute_methods.rb#562
ActiveModel::AttributeMethods::AttrNames::DEF_SAFE_NAME = T.let(T.unsafe(nil), Regexp)
# source://activemodel//lib/active_model/attribute_methods.rb#68
@@ -684,22 +684,22 @@ module ActiveModel::AttributeMethods::ClassMethods
# source://activemodel//lib/active_model/attribute_methods.rb#204
def alias_attribute(new_name, old_name); end
- # source://activemodel//lib/active_model/attribute_methods.rb#224
+ # source://activemodel//lib/active_model/attribute_methods.rb#227
def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end
- # source://activemodel//lib/active_model/attribute_methods.rb#375
+ # source://activemodel//lib/active_model/attribute_methods.rb#397
def aliases_by_attribute_name; end
# Returns the original name for the alias +name+
#
- # source://activemodel//lib/active_model/attribute_methods.rb#258
+ # source://activemodel//lib/active_model/attribute_methods.rb#261
def attribute_alias(name); end
# Is +new_name+ an alias?
#
# @return [Boolean]
#
- # source://activemodel//lib/active_model/attribute_methods.rb#253
+ # source://activemodel//lib/active_model/attribute_methods.rb#256
def attribute_alias?(new_name); end
# Declares a method available for all attributes with the given prefix
@@ -832,8 +832,11 @@ module ActiveModel::AttributeMethods::ClassMethods
# person.name # => "Bob"
# person.name_short? # => true
#
- # source://activemodel//lib/active_model/attribute_methods.rb#324
- def define_attribute_method(attr_name, _owner: T.unsafe(nil)); end
+ # source://activemodel//lib/active_model/attribute_methods.rb#327
+ def define_attribute_method(attr_name, _owner: T.unsafe(nil), as: T.unsafe(nil)); end
+
+ # source://activemodel//lib/active_model/attribute_methods.rb#336
+ def define_attribute_method_pattern(pattern, attr_name, owner:, as:, override: T.unsafe(nil)); end
# Declares the attributes that should be prefixed and suffixed by
# +ActiveModel::AttributeMethods+.
@@ -859,7 +862,7 @@ module ActiveModel::AttributeMethods::ClassMethods
# end
# end
#
- # source://activemodel//lib/active_model/attribute_methods.rb#285
+ # source://activemodel//lib/active_model/attribute_methods.rb#288
def define_attribute_methods(*attr_names); end
# source://activemodel//lib/active_model/attribute_methods.rb#212
@@ -894,7 +897,7 @@ module ActiveModel::AttributeMethods::ClassMethods
# person.name_short? # => NoMethodError
# person.first_name # => NoMethodError
#
- # source://activemodel//lib/active_model/attribute_methods.rb#368
+ # source://activemodel//lib/active_model/attribute_methods.rb#390
def undefine_attribute_methods; end
private
@@ -909,69 +912,69 @@ module ActiveModel::AttributeMethods::ClassMethods
# significantly (in our case our test suite finishes 10% faster with
# this cache).
#
- # source://activemodel//lib/active_model/attribute_methods.rb#408
+ # source://activemodel//lib/active_model/attribute_methods.rb#430
def attribute_method_patterns_cache; end
- # source://activemodel//lib/active_model/attribute_methods.rb#412
+ # source://activemodel//lib/active_model/attribute_methods.rb#434
def attribute_method_patterns_matching(method_name); end
# Define a method `name` in `mod` that dispatches to `send`
# using the given `extra` args. This falls back on `send`
# if the called name cannot be compiled.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#421
- def define_proxy_call(code_generator, name, proxy_target, parameters, *call_args, namespace:); end
+ # source://activemodel//lib/active_model/attribute_methods.rb#443
+ def define_proxy_call(code_generator, name, proxy_target, parameters, *call_args, namespace:, as: T.unsafe(nil)); end
- # source://activemodel//lib/active_model/attribute_methods.rb#391
+ # source://activemodel//lib/active_model/attribute_methods.rb#413
def generated_attribute_methods; end
- # source://activemodel//lib/active_model/attribute_methods.rb#380
+ # source://activemodel//lib/active_model/attribute_methods.rb#402
def inherited(base); end
# @return [Boolean]
#
- # source://activemodel//lib/active_model/attribute_methods.rb#395
+ # source://activemodel//lib/active_model/attribute_methods.rb#417
def instance_method_already_implemented?(method_name); end
- # source://activemodel//lib/active_model/attribute_methods.rb#387
+ # source://activemodel//lib/active_model/attribute_methods.rb#409
def resolve_attribute_name(name); end
end
-# source://activemodel//lib/active_model/attribute_methods.rb#448
+# source://activemodel//lib/active_model/attribute_methods.rb#470
class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern
# @return [AttributeMethodPattern] a new instance of AttributeMethodPattern
#
- # source://activemodel//lib/active_model/attribute_methods.rb#453
+ # source://activemodel//lib/active_model/attribute_methods.rb#475
def initialize(prefix: T.unsafe(nil), suffix: T.unsafe(nil), parameters: T.unsafe(nil)); end
- # source://activemodel//lib/active_model/attribute_methods.rb#462
+ # source://activemodel//lib/active_model/attribute_methods.rb#484
def match(method_name); end
- # source://activemodel//lib/active_model/attribute_methods.rb#468
+ # source://activemodel//lib/active_model/attribute_methods.rb#490
def method_name(attr_name); end
# Returns the value of attribute parameters.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#449
+ # source://activemodel//lib/active_model/attribute_methods.rb#471
def parameters; end
# Returns the value of attribute prefix.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#449
+ # source://activemodel//lib/active_model/attribute_methods.rb#471
def prefix; end
# Returns the value of attribute proxy_target.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#449
+ # source://activemodel//lib/active_model/attribute_methods.rb#471
def proxy_target; end
# Returns the value of attribute suffix.
#
- # source://activemodel//lib/active_model/attribute_methods.rb#449
+ # source://activemodel//lib/active_model/attribute_methods.rb#471
def suffix; end
end
-# source://activemodel//lib/active_model/attribute_methods.rb#451
+# source://activemodel//lib/active_model/attribute_methods.rb#473
class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::AttributeMethod < ::Struct
# Returns the value of attribute attr_name
#
@@ -1450,7 +1453,7 @@ module ActiveModel::Attributes::ClassMethods
private
# source://activemodel//lib/active_model/attributes.rb#79
- def define_method_attribute=(name, owner:); end
+ def define_method_attribute=(canonical_name, owner:, as: T.unsafe(nil)); end
end
# +BlockValidator+ is a special +EachValidator+ which receives a block on initialization
diff --git a/sorbet/rbi/gems/activerecord@7.1.3.4.rbi b/sorbet/rbi/gems/activerecord@7.1.5.2.rbi
similarity index 97%
rename from sorbet/rbi/gems/activerecord@7.1.3.4.rbi
rename to sorbet/rbi/gems/activerecord@7.1.5.2.rbi
index 47441d165..cd85bcc75 100644
--- a/sorbet/rbi/gems/activerecord@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/activerecord@7.1.5.2.rbi
@@ -5,7 +5,7 @@
# Please instead update this file by running `bin/tapioca gem activerecord`.
-# :include: activerecord/README.rdoc
+# :include: ../README.rdoc
#
# source://activerecord//lib/active_record/gem_version.rb#3
module ActiveRecord
@@ -2559,7 +2559,7 @@ module ActiveRecord::Associations::ClassMethods
# belongs_to :account, strict_loading: true
# belong_to :note, query_constraints: [:organization_id, :note_id]
#
- # source://activerecord//lib/active_record/associations.rb#1886
+ # source://activerecord//lib/active_record/associations.rb#1892
def belongs_to(name, scope = T.unsafe(nil), **options); end
# Specifies a many-to-many relationship with another class. This associates two classes via an
@@ -2739,7 +2739,7 @@ module ActiveRecord::Associations::ClassMethods
# has_and_belongs_to_many :categories, -> { readonly }
# has_and_belongs_to_many :categories, strict_loading: true
#
- # source://activerecord//lib/active_record/associations.rb#2067
+ # source://activerecord//lib/active_record/associations.rb#2073
def has_and_belongs_to_many(name, scope = T.unsafe(nil), **options, &extension); end
# Specifies a one-to-many association. The following methods for retrieval and query of
@@ -2978,6 +2978,11 @@ module ActiveRecord::Associations::ClassMethods
# Serves as a composite foreign key. Defines the list of columns to be used to query the associated object.
# This is an optional option. By default Rails will attempt to derive the value automatically.
# When the value is set the Array size must match associated model's primary key or +query_constraints+ size.
+ # [+:index_errors+]
+ # Enables differentiation of multiple validation errors from the association records, by including
+ # an index in the error attribute name, e.g. +roles[2].level+.
+ # The index is based on association order, i.e. database order, with yet to be
+ # persisted new records placed at the end.
#
# Option examples:
# has_many :comments, -> { order("posted_on") }
@@ -2991,8 +2996,9 @@ module ActiveRecord::Associations::ClassMethods
# has_many :subscribers, through: :subscriptions, disable_joins: true
# has_many :comments, strict_loading: true
# has_many :comments, query_constraints: [:blog_id, :post_id]
+ # has_many :comments, index_errors: true
#
- # source://activerecord//lib/active_record/associations.rb#1522
+ # source://activerecord//lib/active_record/associations.rb#1528
def has_many(name, scope = T.unsafe(nil), **options, &extension); end
# Specifies a one-to-one association with another class. This method should only be used
@@ -3177,7 +3183,7 @@ module ActiveRecord::Associations::ClassMethods
# has_one :credit_card, strict_loading: true
# has_one :employment_record_book, query_constraints: [:organization_id, :employee_id]
#
- # source://activerecord//lib/active_record/associations.rb#1708
+ # source://activerecord//lib/active_record/associations.rb#1714
def has_one(name, scope = T.unsafe(nil), **options); end
end
@@ -5082,7 +5088,7 @@ class ActiveRecord::Associations::JoinDependency
# source://activerecord//lib/active_record/associations/join_dependency.rb#242
def construct(ar_parent, parent, row, seen, model_cache, strict_loading_value); end
- # source://activerecord//lib/active_record/associations/join_dependency.rb#280
+ # source://activerecord//lib/active_record/associations/join_dependency.rb#278
def construct_model(record, node, row, model_cache, id, strict_loading_value); end
# source://activerecord//lib/active_record/associations/join_dependency.rb#223
@@ -5214,7 +5220,7 @@ class ActiveRecord::Associations::JoinDependency::JoinAssociation < ::ActiveReco
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#78
+ # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#79
def readonly?; end
# Returns the value of attribute reflection.
@@ -5224,7 +5230,7 @@ class ActiveRecord::Associations::JoinDependency::JoinAssociation < ::ActiveReco
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#84
+ # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#85
def strict_loading?; end
# Returns the value of attribute table.
@@ -5246,7 +5252,7 @@ class ActiveRecord::Associations::JoinDependency::JoinAssociation < ::ActiveReco
private
- # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#91
+ # source://activerecord//lib/active_record/associations/join_dependency/join_association.rb#92
def append_constraints(join, constraints); end
end
@@ -6111,7 +6117,7 @@ module ActiveRecord::AttributeMethods
# person[:organization_id] # => ActiveModel::MissingAttributeError: missing attribute 'organization_id' for Person
# person[:id] # => nil
#
- # source://activerecord//lib/active_record/attribute_methods.rb#412
+ # source://activerecord//lib/active_record/attribute_methods.rb#422
def [](attr_name); end
# Updates the attribute identified by +attr_name+ using the specified
@@ -6124,12 +6130,12 @@ module ActiveRecord::AttributeMethods
# person[:date_of_birth] = "2004-12-12"
# person[:date_of_birth] # => Date.new(2004, 12, 12)
#
- # source://activerecord//lib/active_record/attribute_methods.rb#425
+ # source://activerecord//lib/active_record/attribute_methods.rb#435
def []=(attr_name, value); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#319
+ # source://activerecord//lib/active_record/attribute_methods.rb#329
def _has_attribute?(attr_name); end
# Returns the name of all database fields which have been read from this
@@ -6161,7 +6167,7 @@ module ActiveRecord::AttributeMethods
# end
# end
#
- # source://activerecord//lib/active_record/attribute_methods.rb#457
+ # source://activerecord//lib/active_record/attribute_methods.rb#467
def accessed_fields; end
# Returns an #inspect-like string for the value of the
@@ -6180,7 +6186,7 @@ module ActiveRecord::AttributeMethods
# person.attribute_for_inspect(:tag_ids)
# # => "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]"
#
- # source://activerecord//lib/active_record/attribute_methods.rb#362
+ # source://activerecord//lib/active_record/attribute_methods.rb#372
def attribute_for_inspect(attr_name); end
# Returns an array of names for the attributes available on this object.
@@ -6192,7 +6198,7 @@ module ActiveRecord::AttributeMethods
# person.attribute_names
# # => ["id", "created_at", "updated_at", "name", "age"]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#331
+ # source://activerecord//lib/active_record/attribute_methods.rb#341
def attribute_names; end
# Returns +true+ if the specified +attribute+ has been set by the user or by a
@@ -6213,7 +6219,7 @@ module ActiveRecord::AttributeMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#384
+ # source://activerecord//lib/active_record/attribute_methods.rb#394
def attribute_present?(attr_name); end
# Returns a hash of all the attributes with their names as keys and the values of the attributes as values.
@@ -6225,7 +6231,7 @@ module ActiveRecord::AttributeMethods
# person.attributes
# # => {"id"=>3, "created_at"=>Sun, 21 Oct 2012 04:53:04, "updated_at"=>Sun, 21 Oct 2012 04:53:04, "name"=>"Francesco", "age"=>22}
#
- # source://activerecord//lib/active_record/attribute_methods.rb#343
+ # source://activerecord//lib/active_record/attribute_methods.rb#353
def attributes; end
# Returns +true+ if the given attribute is in the attributes hash, otherwise +false+.
@@ -6242,7 +6248,7 @@ module ActiveRecord::AttributeMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#313
+ # source://activerecord//lib/active_record/attribute_methods.rb#323
def has_attribute?(attr_name); end
# A Person object with a name attribute can ask person.respond_to?(:name),
@@ -6264,38 +6270,46 @@ module ActiveRecord::AttributeMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#286
+ # source://activerecord//lib/active_record/attribute_methods.rb#296
def respond_to?(name, include_private = T.unsafe(nil)); end
private
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#462
+ # source://activerecord//lib/active_record/attribute_methods.rb#502
def attribute_method?(attr_name); end
# Filters out the virtual columns and also primary keys, from the attribute names, when the primary
# key is to be generated (e.g. the id attribute has no value).
#
- # source://activerecord//lib/active_record/attribute_methods.rb#483
+ # source://activerecord//lib/active_record/attribute_methods.rb#523
def attributes_for_create(attribute_names); end
# Filters the primary keys, readonly attributes and virtual columns from the attribute names.
#
- # source://activerecord//lib/active_record/attribute_methods.rb#472
+ # source://activerecord//lib/active_record/attribute_methods.rb#512
def attributes_for_update(attribute_names); end
- # source://activerecord//lib/active_record/attribute_methods.rb#467
+ # source://activerecord//lib/active_record/attribute_methods.rb#507
def attributes_with_values(attribute_names); end
- # source://activerecord//lib/active_record/attribute_methods.rb#491
+ # source://activerecord//lib/active_record/attribute_methods.rb#531
def format_for_inspect(name, value); end
+ # source://activerecord//lib/active_record/attribute_methods.rb#482
+ def method_missing(name, *_arg1, **_arg2, &_arg3); end
+
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#507
+ # source://activerecord//lib/active_record/attribute_methods.rb#547
def pk_attribute?(name); end
+ # @return [Boolean]
+ #
+ # source://activerecord//lib/active_record/attribute_methods.rb#472
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
+
class << self
# source://activerecord//lib/active_record/attribute_methods.rb#31
def dangerous_attribute_methods; end
@@ -6443,13 +6457,13 @@ end
module ActiveRecord::AttributeMethods::ClassMethods
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#255
+ # source://activerecord//lib/active_record/attribute_methods.rb#265
def _has_attribute?(attr_name); end
# source://activerecord//lib/active_record/attribute_methods.rb#53
def alias_attribute(new_name, old_name); end
- # source://activerecord//lib/active_record/attribute_methods.rb#85
+ # source://activerecord//lib/active_record/attribute_methods.rb#93
def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end
# Returns +true+ if +attribute+ is an attribute method and table exists,
@@ -6464,9 +6478,14 @@ module ActiveRecord::AttributeMethods::ClassMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#219
+ # source://activerecord//lib/active_record/attribute_methods.rb#229
def attribute_method?(attribute); end
+ # @return [Boolean]
+ #
+ # source://activerecord//lib/active_record/attribute_methods.rb#144
+ def attribute_methods_generated?; end
+
# Returns an array of column names as strings if it's not an abstract class and
# table exists. Otherwise it returns an empty array.
#
@@ -6476,7 +6495,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
# Person.attribute_names
# # => ["id", "created_at", "updated_at", "name", "age"]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#231
+ # source://activerecord//lib/active_record/attribute_methods.rb#241
def attribute_names; end
# A method name is 'dangerous' if it is already (re)defined by Active Record, but
@@ -6484,7 +6503,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#178
+ # source://activerecord//lib/active_record/attribute_methods.rb#188
def dangerous_attribute_method?(name); end
# A class method is 'dangerous' if it is already (re)defined by Active Record, but
@@ -6492,18 +6511,21 @@ module ActiveRecord::AttributeMethods::ClassMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#196
+ # source://activerecord//lib/active_record/attribute_methods.rb#206
def dangerous_class_method?(method_name); end
# Generates all the attribute related methods for columns in the database
# accessors, mutators and query methods.
#
- # source://activerecord//lib/active_record/attribute_methods.rb#126
+ # source://activerecord//lib/active_record/attribute_methods.rb#131
def define_attribute_methods; end
# source://activerecord//lib/active_record/attribute_methods.rb#63
def eagerly_generate_alias_attribute_methods(_new_name, _old_name); end
+ # source://activerecord//lib/active_record/attribute_methods.rb#86
+ def generate_alias_attribute_methods(code_generator, new_name, old_name); end
+
# source://activerecord//lib/active_record/attribute_methods.rb#67
def generate_alias_attributes; end
@@ -6520,7 +6542,7 @@ module ActiveRecord::AttributeMethods::ClassMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#249
+ # source://activerecord//lib/active_record/attribute_methods.rb#259
def has_attribute?(attr_name); end
# source://activerecord//lib/active_record/attribute_methods.rb#43
@@ -6543,20 +6565,20 @@ module ActiveRecord::AttributeMethods::ClassMethods
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#160
+ # source://activerecord//lib/active_record/attribute_methods.rb#170
def instance_method_already_implemented?(method_name); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods.rb#182
+ # source://activerecord//lib/active_record/attribute_methods.rb#192
def method_defined_within?(name, klass, superklass = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/attribute_methods.rb#138
+ # source://activerecord//lib/active_record/attribute_methods.rb#148
def undefine_attribute_methods; end
private
- # source://activerecord//lib/active_record/attribute_methods.rb#260
+ # source://activerecord//lib/active_record/attribute_methods.rb#270
def inherited(child_class); end
end
@@ -6587,7 +6609,7 @@ end
# person.name_in_database # => "Alice"
# person.saved_change_to_name? # => true
# person.saved_change_to_name # => ["Allison", "Alice"]
-# person.name_before_last_change # => "Allison"
+# person.name_before_last_save # => "Allison"
#
# Similar to ActiveModel::Dirty, methods can be invoked as
# +saved_change_to_name?+ or by passing an argument to the generic method
@@ -6792,19 +6814,19 @@ end
class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < ::Module
include ::Mutex_m
- # source://mutex_m/0.2.0/mutex_m.rb#91
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#96
def lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#81
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#86
def locked?; end
- # source://mutex_m/0.2.0/mutex_m.rb#76
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#81
def synchronize(&block); end
- # source://mutex_m/0.2.0/mutex_m.rb#86
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#91
def try_lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#96
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#101
def unlock; end
end
@@ -7006,7 +7028,7 @@ module ActiveRecord::AttributeMethods::Read::ClassMethods
private
# source://activerecord//lib/active_record/attribute_methods/read.rb#11
- def define_method_attribute(name, owner:); end
+ def define_method_attribute(canonical_name, owner:, as: T.unsafe(nil)); end
end
# = Active Record Attribute Methods \Serialization
@@ -7241,21 +7263,24 @@ module ActiveRecord::AttributeMethods::TimeZoneConversion
end
end
-# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71
+# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#75
module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#76
def define_attribute(name, cast_type, **_arg2); end
private
# @return [Boolean]
#
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#80
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#84
def create_time_zone_conversion_attribute?(name, cast_type); end
end
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#8
class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#35
+ def ==(other); end
+
# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#17
def cast(value); end
@@ -7264,13 +7289,13 @@ class ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter
private
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#36
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#40
def convert_time_to_time_zone(value); end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#52
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#56
def map_avoiding_infinite_recursion(value); end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#48
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#52
def set_time_zone_without_conversion(value); end
class << self
@@ -7313,7 +7338,7 @@ module ActiveRecord::AttributeMethods::Write::ClassMethods
private
# source://activerecord//lib/active_record/attribute_methods/write.rb#15
- def define_method_attribute=(name, owner:); end
+ def define_method_attribute=(canonical_name, owner:, as: T.unsafe(nil)); end
end
# See ActiveRecord::Attributes::ClassMethods for documentation
@@ -7757,14 +7782,14 @@ module ActiveRecord::AutosaveAssociation
private
- # source://activerecord//lib/active_record/autosave_association.rb#554
+ # source://activerecord//lib/active_record/autosave_association.rb#557
def _ensure_no_duplicate_errors; end
# If the record is new or it has changed, returns true.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/autosave_association.rb#475
+ # source://activerecord//lib/active_record/autosave_association.rb#478
def _record_changed?(reflection, record, key); end
# Is used as an around_save callback to check while saving a collection
@@ -7782,7 +7807,7 @@ module ActiveRecord::AutosaveAssociation
# @return [Boolean]
#
- # source://activerecord//lib/active_record/autosave_association.rb#482
+ # source://activerecord//lib/active_record/autosave_association.rb#485
def association_foreign_key_changed?(reflection, record, key); end
# Returns whether or not the association is valid and applies any errors to
@@ -7794,12 +7819,12 @@ module ActiveRecord::AutosaveAssociation
# source://activerecord//lib/active_record/autosave_association.rb#335
def association_valid?(reflection, record, index = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/autosave_association.rb#534
+ # source://activerecord//lib/active_record/autosave_association.rb#537
def compute_primary_key(reflection, record); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/autosave_association.rb#550
+ # source://activerecord//lib/active_record/autosave_association.rb#553
def custom_validation_context?; end
# source://activerecord//lib/active_record/autosave_association.rb#276
@@ -7807,7 +7832,7 @@ module ActiveRecord::AutosaveAssociation
# @return [Boolean]
#
- # source://activerecord//lib/active_record/autosave_association.rb#491
+ # source://activerecord//lib/active_record/autosave_association.rb#494
def inverse_polymorphic_association_changed?(reflection, record); end
# Go through nested autosave associations that are loaded in memory (without loading
@@ -7826,7 +7851,7 @@ module ActiveRecord::AutosaveAssociation
#
# In addition, it will destroy the association if it was marked for destruction.
#
- # source://activerecord//lib/active_record/autosave_association.rb#502
+ # source://activerecord//lib/active_record/autosave_association.rb#505
def save_belongs_to_association(reflection); end
# Saves any new associated records, or all loaded autosave associations if
@@ -8173,7 +8198,6 @@ end
#
# source://activerecord//lib/active_record/base.rb#282
class ActiveRecord::Base
- include ::ActionText::Encryption
include ::ActiveModel::Access
include ::ActiveRecord::Core
include ::ActiveRecord::Persistence
@@ -8236,10 +8260,6 @@ class ActiveRecord::Base
include ::Kaminari::ActiveRecordExtension
include ::CounterCulture::Extensions
include ::CounterCulture::SkipUpdates
- include ::ActiveStorage::Attached::Model
- include ::ActiveStorage::Reflection::ActiveRecordExtensions
- include ::ActionText::Attribute
- include ::Flipper::Model::ActiveRecord
extend ::ActiveModel::Naming
extend ::ActiveSupport::Benchmarkable
extend ::ActiveSupport::DescendantsTracker
@@ -8303,32 +8323,29 @@ class ActiveRecord::Base
extend ::Searchkick::Model
extend ::CounterCulture::Extensions::ClassMethods
extend ::Devise::Models
- extend ::ActiveStorage::Attached::Model::ClassMethods
- extend ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods
- extend ::ActionText::Attribute::ClassMethods
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _before_commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _create_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _destroy_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _find_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _initialize_callbacks; end
# source://activerecord//lib/active_record/reflection.rb#11
@@ -8337,64 +8354,64 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#11
def _reflections?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _rollback_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_before_commit_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_commit_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_create_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_destroy_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_find_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_initialize_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_rollback_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_save_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_touch_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_update_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_validate_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_validation_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _save_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _touch_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _update_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _validate_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _validation_callbacks; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
# source://activerecord//lib/active_record/reflection.rb#12
@@ -8403,22 +8420,22 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#12
def aggregate_reflections?; end
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#53
def attachment_reflections?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns?; end
# source://activerecord//lib/active_record/reflection.rb#13
@@ -8493,10 +8510,10 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes?; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json?; end
# source://activerecord//lib/active_record/locking/optimistic.rb#56
@@ -8511,7 +8528,7 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#22
def logger?; end
- # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.5.2/lib/active_model/naming.rb#255
def model_name(&block); end
# source://activerecord//lib/active_record/nested_attributes.rb#15
@@ -8529,7 +8546,7 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/normalization.rb#8
def normalized_attributes?; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(_arg0); end
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
@@ -8571,10 +8588,10 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/signed_id.rb#13
def signed_id_verifier_secret?; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes?; end
# source://activerecord//lib/active_record/inheritance.rb#43
@@ -8601,37 +8618,37 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/model_schema.rb#160
def table_name_suffix?; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes?; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types?; end
# source://activerecord//lib/active_record/model_schema.rb#178
def type_for_attribute(attr_name, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context; end
private
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context=(_arg0); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://activerecord//lib/active_record/readonly_attributes.rb#11
@@ -8643,16 +8660,16 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/readonly_attributes.rb#11
def _attr_readonly?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _before_commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _before_commit_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _commit_callbacks=(value); end
# source://activerecord//lib/active_record/counter_cache.rb#9
@@ -8664,10 +8681,10 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/counter_cache.rb#9
def _counter_cache_columns?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _create_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _create_callbacks=(value); end
# source://activerecord//lib/active_record/core.rb#24
@@ -8679,22 +8696,22 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#24
def _destroy_association_async_job?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _destroy_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _destroy_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _find_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _find_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _initialize_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _initialize_callbacks=(value); end
# source://activerecord//lib/active_record/reflection.rb#11
@@ -8706,70 +8723,70 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#11
def _reflections?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _rollback_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _rollback_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _save_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _save_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _touch_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _touch_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _update_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _update_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _validate_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _validate_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _validation_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _validation_callbacks=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_create(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_destroy(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_find(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_initialize(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_save(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_touch(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_update(*args, **options, &block); end
# source://activerecord//lib/active_record/reflection.rb#12
@@ -8784,16 +8801,16 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#105
def application_record_class?; end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_create(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_destroy(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_save(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_update(*args, **options, &block); end
# source://activerecord//lib/active_record/core.rb#125
@@ -8802,31 +8819,31 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#129
def asynchronous_queries_tracker; end
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#53
def attachment_reflections=(value); end
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#53
def attachment_reflections?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns?; end
# source://activerecord//lib/active_record/attributes.rb#11
@@ -8847,16 +8864,16 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#13
def automatic_scope_inversing?; end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_create(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_destroy(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_save(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_update(*args, **options, &block); end
# source://activerecord//lib/active_record/core.rb#89
@@ -9051,13 +9068,13 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/model_schema.rb#164
def implicit_order_column?; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json?; end
# source://activerecord//lib/active_record/model_schema.rb#167
@@ -9120,13 +9137,13 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/normalization.rb#8
def normalized_attributes?; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter?; end
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
@@ -9210,13 +9227,13 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/signed_id.rb#13
def signed_id_verifier_secret?; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes=(value); end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes?; end
# source://activerecord//lib/active_record/inheritance.rb#43
@@ -9267,22 +9284,22 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/model_schema.rb#160
def table_name_suffix?; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes=(value); end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes?; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types; end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types=(value); end
- # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types?; end
# source://activerecord//lib/active_record/token_for.rb#10
@@ -10458,22 +10475,22 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#128
def initialize(config_or_deprecated_connection, deprecated_logger = T.unsafe(nil), deprecated_connection_options = T.unsafe(nil), deprecated_config = T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _checkin_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _checkout_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_checkin_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_checkout_callbacks(&block); end
# Checks whether the connection to the database is still active. This includes
@@ -10505,7 +10522,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
#
# @return [Boolean]
#
- # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.5.2/lib/active_support/deprecation/method_wrappers.rb#46
def all_foreign_keys_valid?(*args, **_arg1, &block); end
# @return [Boolean]
@@ -10519,13 +10536,13 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# should be overridden by adapters to implement common features with
# non-standard syntax like handling duplicates or returning values.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#859
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#858
def build_insert_sql(insert); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#830
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#829
def case_insensitive_comparison(attribute, value); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#826
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#825
def case_sensitive_comparison(attribute, value); end
# Override to check all foreign key constraints in a database.
@@ -10538,23 +10555,23 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#208
def check_if_write_query(sql); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#874
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#873
def check_version; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#799
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#798
def clean!; end
# Clear any caching the database adapter may be doing.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#754
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#755
def clear_cache!(new_connection: T.unsafe(nil)); end
# Check the connection back in to the connection pool
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#846
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#845
def close; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#794
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#793
def connect!; end
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#313
@@ -10576,18 +10593,18 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#386
def database_exists?; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#870
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#869
def database_version; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#850
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#849
def default_index_type?(index); end
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#234
def default_timezone; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#822
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#821
def default_uniqueness_comparison(attribute, value); end
# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23
@@ -10610,13 +10627,13 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# undefined. This is called internally just before a forked process gets
# rid of a connection that belonged to its parent.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#729
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#730
def discard!; end
# Disconnects from the database if already connected. Otherwise, this
# method does nothing.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#717
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#716
def disconnect!; end
# This is meant to be implemented by the adapters that support custom enum types
@@ -10656,7 +10673,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#627
def get_advisory_lock(lock_id); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#867
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#866
def get_database_version; end
# Returns the value of attribute owner.
@@ -10755,7 +10772,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# this client. If that is the case, generally you'll want to invalidate
# the query cache using +ActiveRecord::Base.clear_query_cache+.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#814
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#813
def raw_connection; end
# Disconnects from the database if already connected, and establishes a new
@@ -10792,7 +10809,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#767
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#768
def requires_reloading?; end
# Reset the state of this connection, directing the DBMS to clear
@@ -10804,7 +10821,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# should call super immediately after resetting the connection (and while
# still holding @lock).
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#741
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#742
def reset!; end
# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23
@@ -10849,7 +10866,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# numbered migration that has been executed, or 0 if no schema
# information is present / the database is empty.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#881
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#880
def schema_version; end
# Seconds since this connection was returned to the pool
@@ -11109,7 +11126,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# Removes the connection from the pool and disconnect it.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#748
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#749
def throw_away!; end
# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23
@@ -11138,7 +11155,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# This is done under the hood by calling #active?. If the connection
# is no longer active, then this method will reconnect to the database.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#774
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#775
def verify!; end
# Returns the value of attribute visitor.
@@ -11155,13 +11172,13 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# to both be thread-safe and not rely upon actual server communication.
# This is useful for e.g. string escaping methods.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1099
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1098
def any_raw_connection; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1204
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1203
def arel_visitor; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1088
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1087
def backoff(counter); end
# Builds the result object.
@@ -11169,24 +11186,24 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# This is an internal hook to make possible connection adapters to build
# custom result objects with connection-specific data.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1215
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1214
def build_result(columns:, rows:, column_types: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1208
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1207
def build_statement_pool; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#840
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#839
def can_perform_case_insensitive_comparison_for?(column); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1190
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1189
def collector; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1179
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1178
def column_for(table_name, column_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1185
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1184
def column_for_attribute(attribute); end
# Perform any necessary initialization upon the newly-established
@@ -11196,51 +11213,51 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# Implementations may assume this method will only be called while
# holding @lock (or from #initialize).
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1226
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1225
def configure_connection; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1229
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1228
def default_prepared_statements; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1116
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1115
def extended_type_map_key; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1074
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1073
def invalidate_transaction(exception); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1142
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1141
def log(sql, name = T.unsafe(nil), binds = T.unsafe(nil), type_casted_binds = T.unsafe(nil), statement_name = T.unsafe(nil), async: T.unsafe(nil), &block); end
# @raise [NotImplementedError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1092
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1091
def reconnect; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#962
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#961
def reconnect_can_restore_state?; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1070
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1069
def retryable_connection_error?(exception); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1081
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1080
def retryable_query_error?(exception); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1158
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1157
def transform_query(sql); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1165
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1164
def translate_exception(exception, message:, sql:, binds:); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1132
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1131
def translate_exception_class(e, sql, binds); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1122
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1121
def type_map; end
# Similar to any_raw_connection, but ensures it is validated and
@@ -11249,19 +11266,19 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# server... but some drivers fail if they know the connection has gone
# away.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1108
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1107
def valid_raw_connection; end
# Mark the connection as verified. Call this inside a
# `with_raw_connection` block only when the block is guaranteed to
# exercise the raw connection.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1066
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1065
def verified!; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1233
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1232
def warning_ignored?(warning); end
# Lock the monitor, ensure we're properly connected and
@@ -11297,34 +11314,34 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# still-yielded connection in the outer block), but we currently
# provide no special enforcement there.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#999
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#998
def with_raw_connection(allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1175
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1174
def without_prepared_statement?(binds); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _checkin_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _checkin_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _checkout_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _checkout_callbacks=(value); end
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#89
@@ -11344,13 +11361,13 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#124
def dbconsole(config, options = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#893
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#892
def extended_type_map(default_timezone:); end
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#95
def find_cmd_and_exec(commands, *args); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#886
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#885
def register_class_with_precision(mapping, key, klass, **kwargs); end
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#68
@@ -11364,19 +11381,19 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
private
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#953
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#952
def extract_limit(sql_type); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#949
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#948
def extract_precision(sql_type); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#942
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#941
def extract_scale(sql_type); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#902
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#901
def initialize_type_map(m); end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#935
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#934
def register_class_with_limit(mapping, key, klass); end
end
end
@@ -11396,7 +11413,7 @@ ActiveRecord::ConnectionAdapters::AbstractAdapter::EXCEPTION_IMMEDIATE = T.let(T
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#195
ActiveRecord::ConnectionAdapters::AbstractAdapter::EXCEPTION_NEVER = T.let(T.unsafe(nil), Hash)
-# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#959
+# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#958
ActiveRecord::ConnectionAdapters::AbstractAdapter::EXTENDED_TYPE_MAPS = T.let(T.unsafe(nil), Concurrent::Map)
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#180
@@ -11408,7 +11425,7 @@ ActiveRecord::ConnectionAdapters::AbstractAdapter::SIMPLE_INT = T.let(T.unsafe(n
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#177
ActiveRecord::ConnectionAdapters::AbstractAdapter::THREAD_LOCK = T.let(T.unsafe(nil), ActiveSupport::Concurrency::ThreadLoadInterlockAwareMonitor)
-# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#958
+# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#957
ActiveRecord::ConnectionAdapters::AbstractAdapter::TYPE_MAP = T.let(T.unsafe(nil), ActiveRecord::Type::TypeMap)
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#274
@@ -12382,7 +12399,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#185
def connection_class; end
- # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.5.2/lib/active_support/deprecation/method_wrappers.rb#46
def connection_klass(*args, **_arg1, &block); end
# Returns an array containing the connections currently in the pool.
@@ -12553,7 +12570,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#647
def acquire_connection(checkout_timeout); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#716
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#723
def adopt_connection(conn); end
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#541
@@ -12568,7 +12585,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#507
def bulk_make_new_connections(num_new_conns_needed); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#726
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#733
def checkout_and_verify(c); end
# --
@@ -12579,7 +12596,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# @raise [ConnectionNotEstablished]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#721
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#728
def checkout_new_connection; end
# --
@@ -12615,7 +12632,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# Implementation constraint: a newly established connection returned by this
# method must be in the +.leased+ state.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#689
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#696
def try_to_checkout_new_connection; end
# Take control of all existing connections so a "group" action such as
@@ -13701,10 +13718,10 @@ class ActiveRecord::ConnectionAdapters::PoolConfig
# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#47
def disconnect!(automatic_reconnect: T.unsafe(nil)); end
- # source://mutex_m/0.2.0/mutex_m.rb#91
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#96
def lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#81
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#86
def locked?; end
# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#62
@@ -13730,13 +13747,13 @@ class ActiveRecord::ConnectionAdapters::PoolConfig
# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8
def shard; end
- # source://mutex_m/0.2.0/mutex_m.rb#76
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#81
def synchronize(&block); end
- # source://mutex_m/0.2.0/mutex_m.rb#86
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#91
def try_lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#96
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#101
def unlock; end
class << self
@@ -14348,9 +14365,17 @@ end
# source://activerecord//lib/active_record/connection_adapters/postgresql/oid/cidr.rb#9
class ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Cidr < ::ActiveModel::Type::Value
- # source://activerecord//lib/active_record/connection_adapters/postgresql/oid/cidr.rb#31
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/oid/cidr.rb#37
def cast_value(value); end
+ # TODO: Remove when IPAddr#== compares IPAddr#prefix. See
+ # https://github.com/ruby/ipaddr/issues/21
+ #
+ # @return [Boolean]
+ #
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/oid/cidr.rb#33
+ def changed?(old_value, new_value, _new_value_before_type_cast); end
+
# source://activerecord//lib/active_record/connection_adapters/postgresql/oid/cidr.rb#23
def serialize(value); end
@@ -14719,7 +14744,7 @@ class ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Uuid < ::ActiveModel::T
# source://activerecord//lib/active_record/connection_adapters/postgresql/oid/uuid.rb#21
def changed_in_place?(raw_old_value, new_value); end
- # source://activemodel/7.1.3.4/lib/active_model/type/value.rb#43
+ # source://activemodel/7.1.5.2/lib/active_model/type/value.rb#43
def serialize(value); end
# source://activerecord//lib/active_record/connection_adapters/postgresql/oid/uuid.rb#12
@@ -15013,7 +15038,7 @@ end
# source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#6
module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#406
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#408
def add_column(table_name, column_name, type, **options); end
# Adds a new exclusion constraint to the table. +expression+ is a String
@@ -15031,16 +15056,16 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# [:deferrable]
# Specify whether or not the exclusion constraint should be deferrable. Valid values are +false+ or +:immediate+ or +:deferred+ to specify the default behavior. Defaults to +false+.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#693
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#695
def add_exclusion_constraint(table_name, expression, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#524
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#526
def add_foreign_key(from_table, to_table, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#475
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#477
def add_index(table_name, column_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#888
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#890
def add_index_options(table_name, column_name, **options); end
# Adds a new unique constraint to the table.
@@ -15063,10 +15088,10 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# [:using_index]
# To specify an existing unique index name. Defaults to +nil+.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#744
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#746
def add_unique_constraint(table_name, column_name = T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#435
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#437
def build_change_column_default_definition(table_name, column_name, default_or_changes); end
# Builds a ChangeColumnDefinition object.
@@ -15075,34 +15100,34 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# if the same arguments were passed to #change_column. See #change_column for information about
# passing a +table_name+, +column_name+, +type+ and other options that can be passed.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#424
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#426
def build_change_column_definition(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#484
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#486
def build_create_index_definition(table_name, column_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#412
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#414
def change_column(table_name, column_name, type, **options); end
# Adds comment for given table column or drops it if +comment+ is a +nil+
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#455
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#457
def change_column_comment(table_name, column_name, comment_or_changes); end
# Changes the default value of a table column.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#431
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#433
def change_column_default(table_name, column_name, default_or_changes); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#443
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#445
def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end
# Adds comment for given table or drops it if +comment+ is a +nil+
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#462
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#464
def change_table_comment(table_name, comment_or_changes); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#591
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#593
def check_constraints(table_name); end
# Returns the current client message level.
@@ -15123,7 +15148,7 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# PostgreSQL requires the ORDER BY columns in the select list for distinct queries, and
# requires that the ORDER BY include the distinct column.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#819
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#821
def columns_for_distinct(columns, orders); end
# Create a new PostgreSQL database. Options include :owner, :template,
@@ -15142,7 +15167,7 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#212
def create_schema(schema_name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#835
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#837
def create_schema_dumper(options); end
# Returns the current database ctype.
@@ -15186,30 +15211,30 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#186
def encoding; end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#701
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#703
def exclusion_constraint_options(table_name, expression, options); end
# Returns an array of exclusion constraints for the given table.
# The exclusion constraints are represented as ExclusionConstraintDefinition objects.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#617
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#619
def exclusion_constraints(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#883
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#885
def foreign_key_column_for(table_name, column_name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#538
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#540
def foreign_keys(table_name); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#587
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#589
def foreign_table_exists?(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#583
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#585
def foreign_tables; end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#519
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#521
def index_name(table_name, options); end
# Verifies existence of an index with a given name.
@@ -15226,13 +15251,13 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# Returns a table's primary key and belonging sequence.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#305
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#307
def pk_and_sequence_for(table); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#358
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#360
def primary_keys(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#895
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#897
def quoted_include_columns_for_index(column_names); end
# Drops the database specified on the +name+ attribute
@@ -15249,10 +15274,10 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# to provide this in a migration's +change+ method so it can be reverted.
# In that case, +expression+ will be used by #add_exclusion_constraint.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#716
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#718
def remove_exclusion_constraint(table_name, expression = T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#489
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#491
def remove_index(table_name, column_name = T.unsafe(nil), **options); end
# Removes the given unique constraint from the table.
@@ -15263,18 +15288,18 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# to provide this in a migration's +change+ method so it can be reverted.
# In that case, +column_name+ will be used by #add_unique_constraint.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#771
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#773
def remove_unique_constraint(table_name, column_name = T.unsafe(nil), **options); end
# Renames a column in a table.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#469
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#471
def rename_column(table_name, column_name, new_column_name); end
# Renames an index of a table. Raises error if length of new
# index name is greater than allowed limit.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#512
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#514
def rename_index(table_name, old_name, new_name); end
# Renames a table.
@@ -15284,15 +15309,15 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# Example:
# rename_table('octopuses', 'octopi')
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#380
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#382
def rename_table(table_name, new_name, **options); end
# Resets the sequence of a table's primary key to the maximum value.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#277
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#279
def reset_pk_sequence!(table, pk = T.unsafe(nil), sequence = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#904
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#906
def schema_creation; end
# Returns true if schema exists.
@@ -15321,12 +15346,12 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#226
def schema_search_path=(schema_csv); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#257
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#259
def serial_sequence(table, column); end
# Sets the sequence of a table's primary key to the specified value.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#262
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#264
def set_pk_sequence!(table, value); end
# Returns a comment stored in database for given table
@@ -15339,19 +15364,19 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
# Maps logical Rails types to PostgreSQL-specific data types.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#781
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#783
def type_to_sql(type, limit: T.unsafe(nil), precision: T.unsafe(nil), scale: T.unsafe(nil), array: T.unsafe(nil), enum_type: T.unsafe(nil), **_arg6); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#752
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#754
def unique_constraint_options(table_name, column_name, options); end
# Returns an array of unique constraints for the given table.
# The unique constraints are represented as UniqueConstraintDefinition objects.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#651
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#653
def unique_constraints(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#831
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#833
def update_table_definition(table_name, base); end
# Validates the given check constraint.
@@ -15360,7 +15385,7 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
#
# The +options+ hash accepts the same keys as add_check_constraint[rdoc-ref:ConnectionAdapters::SchemaStatements#add_check_constraint].
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#877
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#879
def validate_check_constraint(table_name, **options); end
# Validates the given constraint.
@@ -15369,7 +15394,7 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
#
# validate_constraint :accounts, :constraint_name
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#844
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#846
def validate_constraint(table_name, constraint_name); end
# Validates the given foreign key.
@@ -15388,83 +15413,83 @@ module ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
#
# The +options+ hash accepts the same keys as SchemaStatements#add_foreign_key.
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#866
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#868
def validate_foreign_key(from_table, to_table = T.unsafe(nil), **options); end
private
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#997
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#999
def add_column_for_alter(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1017
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1019
def add_index_opclass(quoted_columns, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1024
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1026
def add_options_for_index_columns(quoted_columns, **options); end
# @raise [ArgumentError]
#
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#982
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#984
def assert_valid_deferrable(deferrable); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1002
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1004
def change_column_for_alter(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1009
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1011
def change_column_null_for_alter(table_name, column_name, null, default = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1103
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1105
def column_names_from_column_numbers(table_oid, column_numbers); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#913
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#915
def create_alter_table(name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#909
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#911
def create_table_definition(name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1069
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1071
def data_source_sql(name = T.unsafe(nil), type: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1039
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1041
def exclusion_constraint_for(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1044
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1046
def exclusion_constraint_for!(table_name, expression: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1029
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1031
def exclusion_constraint_name(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#988
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#990
def extract_constraint_deferrable(deferrable, deferred); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#974
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#976
def extract_foreign_key_action(specifier); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1098
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1100
def extract_schema_qualified_name(string); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#946
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#948
def fetch_type_metadata(column_name, sql_type, oid, fmod); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#917
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#919
def new_column_from_field(table_name, field, _definitions); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1080
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1082
def quoted_scope(name = T.unsafe(nil), type: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#992
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#994
def reference_name_for_table(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#958
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#960
def sequence_name_from_parts(table_name, column_name, suffix); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1059
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1061
def unique_constraint_for(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1064
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1066
def unique_constraint_for!(table_name, column: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1049
+ # source://activerecord//lib/active_record/connection_adapters/postgresql/schema_statements.rb#1051
def unique_constraint_name(table_name, **options); end
end
@@ -16067,7 +16092,7 @@ class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter < ::ActiveRecord::Conn
# source://activerecord//lib/active_record/connection_adapters/postgresql_adapter.rb#397
def native_database_types; end
- # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#870
+ # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#869
def postgresql_version; end
# source://activerecord//lib/active_record/connection_adapters/postgresql_adapter.rb#463
@@ -17020,7 +17045,7 @@ class ActiveRecord::ConnectionAdapters::SchemaCache
# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#316
def data_source_exists?(connection, name); end
- # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.5.2/lib/active_support/deprecation/method_wrappers.rb#46
def data_sources(*args, **_arg1, &block); end
# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#373
@@ -17085,10 +17110,10 @@ class ActiveRecord::ConnectionAdapters::SchemaCache
# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#234
def _load_from(filename); end
- # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.5.2/lib/active_support/deprecation/method_wrappers.rb#46
def load_from(*args, **_arg1, &block); end
- # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.5.2/lib/active_support/deprecation/method_wrappers.rb#46
def new(*args, **_arg1, &block); end
private
@@ -17431,7 +17456,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# add_reference(:products, :supplier, foreign_key: { to_table: :firms })
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1030
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1034
def add_belongs_to(table_name, ref_name, **options); end
# Adds a new check constraint to the table. +expression+ is a String
@@ -17451,7 +17476,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# [:validate]
# (PostgreSQL only) Specify whether or not the constraint should be validated. Defaults to +true+.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1260
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1264
def add_check_constraint(table_name, expression, if_not_exists: T.unsafe(nil), **options); end
# Add a new +type+ column named +column_name+ to +table_name+.
@@ -17617,7 +17642,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# (PostgreSQL only) Specify whether or not the foreign key should be deferrable. Valid values are booleans or
# +:deferred+ or +:immediate+ to specify the default behavior. Defaults to +false+.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1140
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1144
def add_foreign_key(from_table, to_table, **options); end
# Adds a new index to the table. +column_name+ can be a single Symbol, or
@@ -17756,7 +17781,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#886
def add_index(table_name, column_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1436
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1440
def add_index_options(table_name, column_name, name: T.unsafe(nil), if_not_exists: T.unsafe(nil), internal: T.unsafe(nil), **options); end
# Adds a reference. The reference column is a bigint by default,
@@ -17806,7 +17831,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# add_reference(:products, :supplier, foreign_key: { to_table: :firms })
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1030
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1034
def add_reference(table_name, ref_name, **options); end
# Adds timestamps (+created_at+ and +updated_at+) columns to +table_name+.
@@ -17814,10 +17839,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# add_timestamps(:suppliers, null: true)
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1419
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1423
def add_timestamps(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1325
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1329
def assume_migrated_upto_version(version); end
# Builds an AlterTable object for adding a column to a table.
@@ -17867,7 +17892,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#328
def build_create_table_definition(table_name, id: T.unsafe(nil), primary_key: T.unsafe(nil), force: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1515
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1519
def bulk_change_table(table_name, operations); end
# Changes the column's definition according to the new options.
@@ -17890,7 +17915,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# @raise [NotImplementedError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1497
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1501
def change_column_comment(table_name, column_name, comment_or_changes); end
# Sets a new default value for a column:
@@ -18025,7 +18050,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# @raise [NotImplementedError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1487
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1491
def change_table_comment(table_name, comment_or_changes); end
# Checks to see if a check constraint exists on a table for a given check constraint definition.
@@ -18034,10 +18059,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1309
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1313
def check_constraint_exists?(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1272
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1276
def check_constraint_options(table_name, expression, options); end
# Returns an array of check constraints for the given table.
@@ -18045,7 +18070,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# @raise [NotImplementedError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1240
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1244
def check_constraints(table_name); end
# Checks to see if a column exists in a given table.
@@ -18081,7 +18106,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# columns_for_distinct("posts.id", ["posts.created_at desc"])
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1385
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1389
def columns_for_distinct(columns, orders); end
# Creates a new join table with the name created using the lexical order of the first two
@@ -18125,7 +18150,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#375
def create_join_table(table_1, table_2, column_options: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1501
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1505
def create_schema_dumper(options); end
# Creates a new table with the name +table_name+. +table_name+ may either
@@ -18289,7 +18314,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#34
def data_sources; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1389
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1393
def distinct_relation_for_primary_key(relation); end
# Drops the join table specified by the given arguments.
@@ -18318,10 +18343,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#526
def drop_table(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1316
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1320
def dump_schema_information; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1208
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1212
def foreign_key_column_for(table_name, column_name); end
# Checks to see if a foreign key exists on a table for a given foreign key definition.
@@ -18337,10 +18362,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1204
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1208
def foreign_key_exists?(from_table, to_table = T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1213
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1217
def foreign_key_options(from_table, to_table, options); end
# Returns an array of foreign keys for the given table.
@@ -18348,10 +18373,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# @raise [NotImplementedError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1070
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1074
def foreign_keys(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1464
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1468
def index_algorithm(algorithm); end
# Checks to see if an index exists on a table for a given index definition.
@@ -18383,7 +18408,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#978
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#982
def index_name_exists?(table_name, index_name); end
# Returns an array of indexes for the given table.
@@ -18393,12 +18418,12 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#81
def indexes(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1321
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1325
def internal_string_options_for_primary_key; end
# Returns the maximum length of an index name in bytes.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1553
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1557
def max_index_name_size; end
# Returns a hash of mappings from the abstract data types to the native
@@ -18410,7 +18435,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1477
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1481
def options_include_default?(options); end
# Returns just a table's primary key
@@ -18418,7 +18443,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#145
def primary_key(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1470
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1474
def quoted_columns_for_index(column_names, options); end
# Removes the reference(s). Also removes a +type+ column if one exists.
@@ -18435,7 +18460,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# remove_reference(:products, :user, foreign_key: true)
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1049
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1053
def remove_belongs_to(table_name, ref_name, foreign_key: T.unsafe(nil), polymorphic: T.unsafe(nil), **options); end
# Removes the given check constraint from the table. Removing a check constraint
@@ -18452,7 +18477,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# to provide this in a migration's +change+ method so it can be reverted.
# In that case, +expression+ will be used by #add_check_constraint.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1291
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1295
def remove_check_constraint(table_name, expression = T.unsafe(nil), if_exists: T.unsafe(nil), **options); end
# Removes the column from the table definition.
@@ -18516,7 +18541,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# [:to_table]
# The name of the table that contains the referenced primary key.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1181
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1185
def remove_foreign_key(from_table, to_table = T.unsafe(nil), **options); end
# Removes the given index from the table.
@@ -18573,14 +18598,14 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
#
# remove_reference(:products, :user, foreign_key: true)
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1049
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1053
def remove_reference(table_name, ref_name, foreign_key: T.unsafe(nil), polymorphic: T.unsafe(nil), **options); end
# Removes the timestamp columns (+created_at+ and +updated_at+) from the table definition.
#
# remove_timestamps(:suppliers)
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1428
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1432
def remove_timestamps(table_name, **options); end
# Renames a column.
@@ -18613,7 +18638,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# Returns an instance of SchemaCreation, which can be used to visit a schema definition
# object and return DDL.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1511
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1515
def schema_creation; end
# Truncates a table alias according to the limits of the current adapter.
@@ -18643,24 +18668,24 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
# source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#51
def tables; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1345
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1349
def type_to_sql(type, limit: T.unsafe(nil), precision: T.unsafe(nil), scale: T.unsafe(nil), **_arg4); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1432
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1436
def update_table_definition(table_name, base); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1505
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1509
def use_foreign_keys?; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1544
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1548
def valid_column_definition_options; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1548
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1552
def valid_primary_key_options; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1540
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1544
def valid_table_definition_options; end
# Checks to see if the view +view_name+ exists on the database.
@@ -18679,144 +18704,144 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements
private
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1797
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1801
def add_column_for_alter(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1582
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1586
def add_index_sort_order(quoted_columns, **options); end
# Overridden by the MySQL adapter for supporting index lengths and by
# the PostgreSQL adapter for supporting operator classes.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1599
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1603
def add_options_for_index_columns(quoted_columns, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1820
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1824
def add_timestamps_for_alter(table_name, **options); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1789
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1793
def can_remove_index_by_name?(column_name, options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1803
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1807
def change_column_default_for_alter(table_name, column_name, default_or_changes); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1757
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1761
def check_constraint_for(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1763
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1767
def check_constraint_for!(table_name, expression: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1747
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1751
def check_constraint_name(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1578
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1582
def column_options_keys; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1665
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1669
def create_alter_table(name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1661
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1665
def create_table_definition(name, **options); end
# @raise [NotImplementedError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1850
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1854
def data_source_sql(name = T.unsafe(nil), type: T.unsafe(nil)); end
# Try to identify whether the given column name is an expression
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1705
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1709
def expression_column_name?(column_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1735
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1739
def extract_foreign_key_action(specifier); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1780
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1784
def extract_new_comment_value(default_or_changes); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1780
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1784
def extract_new_default_value(default_or_changes); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1677
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1681
def fetch_type_metadata(sql_type); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1725
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1729
def foreign_key_for(from_table, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1730
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1734
def foreign_key_for!(from_table, to_table: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1715
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1719
def foreign_key_name(table_name, options); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1743
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1747
def foreign_keys_enabled?; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1558
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1562
def generate_index_name(table_name, column); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1688
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1692
def index_column_names(column_names); end
# @raise [ArgumentError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1607
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1611
def index_name_for_remove(table_name, column_name, options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1696
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1700
def index_name_options(column_names); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1837
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1841
def insert_versions_sql(versions); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1589
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1593
def options_for_index_columns(options); end
# @raise [NotImplementedError]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1854
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1858
def quoted_scope(name = T.unsafe(nil), type: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1793
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1797
def reference_name_for_table(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1812
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1816
def remove_column_for_alter(table_name, column_name, type = T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1816
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1820
def remove_columns_for_alter(table_name, *column_names, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1833
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1837
def remove_timestamps_for_alter(table_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1648
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1652
def rename_column_indexes(table_name, column_name, new_column_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1808
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1812
def rename_column_sql(table_name, column_name, new_column_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1639
- def rename_table_indexes(table_name, new_name); end
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1643
+ def rename_table_indexes(table_name, new_name, **options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1709
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1713
def strip_table_name_prefix_and_suffix(table_name); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1572
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1576
def validate_change_column_null_argument!(value); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1669
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1673
def validate_create_table_options!(options); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1768
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1772
def validate_index_length!(table_name, new_name, internal = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1774
+ # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1778
def validate_table_length!(table_name); end
end
@@ -20217,7 +20242,7 @@ module ActiveRecord::Core
# source://activerecord//lib/active_record/core.rb#645
def blank?; end
- # source://activerecord//lib/active_record/core.rb#713
+ # source://activerecord//lib/active_record/core.rb#718
def connection_handler; end
# Populate +coder+ with attributes about this record that should be
@@ -20299,7 +20324,7 @@ module ActiveRecord::Core
# Returns the contents of the record as a nicely formatted string.
#
- # source://activerecord//lib/active_record/core.rb#718
+ # source://activerecord//lib/active_record/core.rb#723
def inspect; end
# @return [Boolean]
@@ -20310,7 +20335,7 @@ module ActiveRecord::Core
# Takes a PP and prettily prints this record to it, allowing you to get a nice result from pp record
# when pp is required.
#
- # source://activerecord//lib/active_record/core.rb#736
+ # source://activerecord//lib/active_record/core.rb#741
def pretty_print(pp); end
# Marks this record as read only.
@@ -20319,7 +20344,7 @@ module ActiveRecord::Core
# customer.readonly!
# customer.save # Raises an ActiveRecord::ReadOnlyRecord
#
- # source://activerecord//lib/active_record/core.rb#709
+ # source://activerecord//lib/active_record/core.rb#714
def readonly!; end
# Returns +true+ if the record is read only.
@@ -20369,6 +20394,13 @@ module ActiveRecord::Core
# source://activerecord//lib/active_record/core.rb#655
def strict_loading?; end
+ # Returns +true+ if the record uses strict_loading with +:all+ mode enabled.
+ #
+ # @return [Boolean]
+ #
+ # source://activerecord//lib/active_record/core.rb#705
+ def strict_loading_all?; end
+
# Returns the value of attribute strict_loading_mode.
#
# source://activerecord//lib/active_record/core.rb#697
@@ -20385,19 +20417,19 @@ module ActiveRecord::Core
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#793
+ # source://activerecord//lib/active_record/core.rb#798
def custom_inspect_method_defined?; end
- # source://activerecord//lib/active_record/core.rb#772
+ # source://activerecord//lib/active_record/core.rb#777
def init_internals; end
# source://activerecord//lib/active_record/core.rb#525
def initialize_dup(other); end
- # source://activerecord//lib/active_record/core.rb#790
+ # source://activerecord//lib/active_record/core.rb#795
def initialize_internals_callback; end
- # source://activerecord//lib/active_record/core.rb#804
+ # source://activerecord//lib/active_record/core.rb#809
def inspection_filter; end
# +Array#flatten+ will call +#to_ary+ (recursively) on each of the elements of
@@ -20409,7 +20441,7 @@ module ActiveRecord::Core
#
# See also https://tenderlovemaking.com/2011/06/28/til-its-ok-to-return-nil-from-to_ary.html
#
- # source://activerecord//lib/active_record/core.rb#768
+ # source://activerecord//lib/active_record/core.rb#773
def to_ary; end
module GeneratedClassMethods
@@ -20530,9 +20562,9 @@ module ActiveRecord::Core::ClassMethods
def table_metadata; end
end
-# source://activerecord//lib/active_record/core.rb#797
+# source://activerecord//lib/active_record/core.rb#802
class ActiveRecord::Core::InspectionMask
- # source://activerecord//lib/active_record/core.rb#798
+ # source://activerecord//lib/active_record/core.rb#803
def pretty_print(pp); end
end
@@ -20548,10 +20580,15 @@ module ActiveRecord::CounterCache
private
- # source://activerecord//lib/active_record/counter_cache.rb#186
+ # source://activerecord//lib/active_record/counter_cache.rb#187
def _create_record(attribute_names = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/counter_cache.rb#196
+ # @return [Boolean]
+ #
+ # source://activerecord//lib/active_record/counter_cache.rb#217
+ def _foreign_keys_equal?(fkey1, fkey2); end
+
+ # source://activerecord//lib/active_record/counter_cache.rb#197
def destroy_row; end
# source://activerecord//lib/active_record/counter_cache.rb#211
@@ -20570,7 +20607,7 @@ end
module ActiveRecord::CounterCache::ClassMethods
# @return [Boolean]
#
- # source://activerecord//lib/active_record/counter_cache.rb#180
+ # source://activerecord//lib/active_record/counter_cache.rb#181
def counter_cache_column?(name); end
# Decrement a numeric field by one, via a direct SQL update.
@@ -20600,7 +20637,7 @@ module ActiveRecord::CounterCache::ClassMethods
# # and update the updated_at value.
# DiscussionBoard.decrement_counter(:posts_count, 5, touch: true)
#
- # source://activerecord//lib/active_record/counter_cache.rb#176
+ # source://activerecord//lib/active_record/counter_cache.rb#177
def decrement_counter(counter_name, id, by: T.unsafe(nil), touch: T.unsafe(nil)); end
# Increment a numeric field by one, via a direct SQL update.
@@ -20632,7 +20669,7 @@ module ActiveRecord::CounterCache::ClassMethods
# # and update the updated_at value.
# DiscussionBoard.increment_counter(:posts_count, 5, touch: true)
#
- # source://activerecord//lib/active_record/counter_cache.rb#146
+ # source://activerecord//lib/active_record/counter_cache.rb#147
def increment_counter(counter_name, id, by: T.unsafe(nil), touch: T.unsafe(nil)); end
# Resets one or more counter caches to their correct value using an SQL
@@ -21128,11 +21165,11 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas
# @return [Boolean]
#
- # source://activerecord//lib/active_record/database_configurations/hash_config.rb#149
+ # source://activerecord//lib/active_record/database_configurations/hash_config.rb#153
def database_tasks?; end
# source://activerecord//lib/active_record/database_configurations/hash_config.rb#117
- def default_schema_cache_path; end
+ def default_schema_cache_path(db_dir = T.unsafe(nil)); end
# source://activerecord//lib/active_record/database_configurations/hash_config.rb#55
def host; end
@@ -21140,7 +21177,7 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas
# source://activerecord//lib/active_record/database_configurations/hash_config.rb#101
def idle_timeout; end
- # source://activerecord//lib/active_record/database_configurations/hash_config.rb#121
+ # source://activerecord//lib/active_record/database_configurations/hash_config.rb#125
def lazy_schema_cache_path; end
# source://activerecord//lib/active_record/database_configurations/hash_config.rb#87
@@ -21164,7 +21201,7 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas
# @return [Boolean]
#
- # source://activerecord//lib/active_record/database_configurations/hash_config.rb#125
+ # source://activerecord//lib/active_record/database_configurations/hash_config.rb#129
def primary?; end
# source://activerecord//lib/active_record/database_configurations/hash_config.rb#83
@@ -21201,7 +21238,7 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas
# If the config option is set that will be used. Otherwise \Rails
# will generate the filename from the database config name.
#
- # source://activerecord//lib/active_record/database_configurations/hash_config.rb#137
+ # source://activerecord//lib/active_record/database_configurations/hash_config.rb#141
def schema_dump(format = T.unsafe(nil)); end
# source://activerecord//lib/active_record/database_configurations/hash_config.rb#59
@@ -21209,7 +21246,7 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas
private
- # source://activerecord//lib/active_record/database_configurations/hash_config.rb#154
+ # source://activerecord//lib/active_record/database_configurations/hash_config.rb#158
def schema_file_type(format); end
end
@@ -21331,7 +21368,7 @@ class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end
#
# Let's look at that entry/message/comment example using delegated types:
#
-# # Schema: entries[ id, account_id, creator_id, created_at, updated_at, entryable_type, entryable_id ]
+# # Schema: entries[ id, account_id, creator_id, entryable_type, entryable_id, created_at, updated_at ]
# class Entry < ApplicationRecord
# belongs_to :account
# belongs_to :creator
@@ -21346,12 +21383,12 @@ class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end
# end
# end
#
-# # Schema: messages[ id, subject, body ]
+# # Schema: messages[ id, subject, body, created_at, updated_at ]
# class Message < ApplicationRecord
# include Entryable
# end
#
-# # Schema: comments[ id, content ]
+# # Schema: comments[ id, content, created_at, updated_at ]
# class Comment < ApplicationRecord
# include Entryable
# end
@@ -21397,14 +21434,14 @@ class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end
# You create a new record that uses delegated typing by creating the delegator and delegatee at the same time,
# like so:
#
-# Entry.create! entryable: Comment.new(content: "Hello!"), creator: Current.user
+# Entry.create! entryable: Comment.new(content: "Hello!"), creator: Current.user, account: Current.account
#
# If you need more complicated composition, or you need to perform dependent validation, you should build a factory
# method or class to take care of the complicated needs. This could be as simple as:
#
# class Entry < ApplicationRecord
-# def self.create_with_comment(content, creator: Current.user)
-# create! entryable: Comment.new(content: content), creator: creator
+# def self.create_with_comment(content, creator: Current.user, account: Current.account)
+# create! entryable: Comment.new(content: content), creator: creator, account: account
# end
# end
#
@@ -21685,19 +21722,19 @@ class ActiveRecord::Delegation::GeneratedRelationMethods < ::Module
# source://activerecord//lib/active_record/relation/delegation.rb#72
def generate_method(method); end
- # source://mutex_m/0.2.0/mutex_m.rb#91
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#96
def lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#81
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#86
def locked?; end
- # source://mutex_m/0.2.0/mutex_m.rb#76
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#81
def synchronize(&block); end
- # source://mutex_m/0.2.0/mutex_m.rb#86
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#91
def try_lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#96
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#101
def unlock; end
end
@@ -21736,10 +21773,10 @@ class ActiveRecord::DestroyAssociationAsyncJob < ::ActiveJob::Base
def owner_destroyed?(owner, ensuring_owner_was_method); end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -21922,10 +21959,10 @@ module ActiveRecord::Encryption
# source://activerecord//lib/active_record/encryption/configurable.rb#10
def config; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
def custom_contexts; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
def custom_contexts=(obj); end
# source://activerecord//lib/active_record/encryption/contexts.rb#17
@@ -21944,10 +21981,10 @@ module ActiveRecord::Encryption
# source://activerecord//lib/active_record/encryption/configurable.rb#10
def config; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def custom_contexts; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def custom_contexts=(obj); end
# source://activerecord//lib/active_record/encryption/contexts.rb#17
@@ -23327,7 +23364,7 @@ class ActiveRecord::Encryption::Properties
# source://activerecord//lib/active_record/encryption/properties.rb#20
def key?(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#354
def method_missing(method, *args, **_arg2, &block); end
# source://activerecord//lib/active_record/encryption/properties.rb#68
@@ -23343,7 +23380,7 @@ class ActiveRecord::Encryption::Properties
# source://activerecord//lib/active_record/encryption/properties.rb#73
def data; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#346
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
end
@@ -23446,12 +23483,15 @@ class ActiveRecord::Encryption::Scheme
private
- # source://activerecord//lib/active_record/encryption/scheme.rb#83
- def build_key_provider; end
-
- # source://activerecord//lib/active_record/encryption/scheme.rb#91
+ # source://activerecord//lib/active_record/encryption/scheme.rb#95
def default_key_provider; end
+ # source://activerecord//lib/active_record/encryption/scheme.rb#89
+ def deterministic_key_provider; end
+
+ # source://activerecord//lib/active_record/encryption/scheme.rb#83
+ def key_provider_from_key; end
+
# @raise [Errors::Configuration]
#
# source://activerecord//lib/active_record/encryption/scheme.rb#78
@@ -24221,53 +24261,53 @@ module ActiveRecord::FinderMethods
private
- # source://activerecord//lib/active_record/relation/finder_methods.rb#634
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#635
def _order_columns; end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#445
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#446
def apply_join_dependency(eager_loading: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#426
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#427
def construct_relation_for_exists(conditions); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#622
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#623
def find_last(limit); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#584
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#585
def find_nth(index); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#608
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#609
def find_nth_from_last(index); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#589
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#590
def find_nth_with_limit(index, limit); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#506
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#507
def find_one(id); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#527
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#528
def find_some(ids); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#553
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#554
def find_some_ordered(ids); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#568
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#569
def find_take; end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#576
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#577
def find_take_with_limit(limit); end
# @raise [UnknownPrimaryKey]
#
- # source://activerecord//lib/active_record/relation/finder_methods.rb#477
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#478
def find_with_ids(*ids); end
- # source://activerecord//lib/active_record/relation/finder_methods.rb#626
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#627
def ordered_relation; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation/finder_methods.rb#473
+ # source://activerecord//lib/active_record/relation/finder_methods.rb#474
def using_limitable_reflections?(reflections); end
end
@@ -25210,64 +25250,69 @@ end
class ActiveRecord::FutureResult
# @return [FutureResult] a new instance of FutureResult
#
- # source://activerecord//lib/active_record/future_result.rb#55
+ # source://activerecord//lib/active_record/future_result.rb#64
def initialize(pool, *args, **kwargs); end
- # source://activerecord//lib/active_record/future_result.rb#83
+ # source://activerecord//lib/active_record/future_result.rb#92
def cancel; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/future_result.rb#124
+ # source://activerecord//lib/active_record/future_result.rb#133
def canceled?; end
- # source://activerecord//lib/active_record/future_result.rb#50
+ # source://activerecord//lib/active_record/future_result.rb#59
def empty?(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/future_result.rb#79
+ # source://activerecord//lib/active_record/future_result.rb#88
def execute!(connection); end
- # source://activerecord//lib/active_record/future_result.rb#89
+ # source://activerecord//lib/active_record/future_result.rb#98
def execute_or_skip; end
# Returns the value of attribute lock_wait.
#
- # source://activerecord//lib/active_record/future_result.rb#53
+ # source://activerecord//lib/active_record/future_result.rb#62
def lock_wait; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#354
def method_missing(method, *args, **_arg2, &block); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/future_result.rb#120
+ # source://activerecord//lib/active_record/future_result.rb#129
def pending?; end
- # source://activerecord//lib/active_record/future_result.rb#107
+ # source://activerecord//lib/active_record/future_result.rb#116
def result; end
- # source://activerecord//lib/active_record/future_result.rb#74
+ # source://activerecord//lib/active_record/future_result.rb#83
def schedule!(session); end
- # source://activerecord//lib/active_record/future_result.rb#70
+ # source://activerecord//lib/active_record/future_result.rb#79
def then(&block); end
- # source://activerecord//lib/active_record/future_result.rb#50
+ # source://activerecord//lib/active_record/future_result.rb#59
def to_a(*_arg0, **_arg1, &_arg2); end
private
- # source://activerecord//lib/active_record/future_result.rb#152
+ # source://activerecord//lib/active_record/future_result.rb#161
def exec_query(connection, *args, **kwargs); end
- # source://activerecord//lib/active_record/future_result.rb#129
+ # source://activerecord//lib/active_record/future_result.rb#138
def execute_or_wait; end
- # source://activerecord//lib/active_record/future_result.rb#144
+ # source://activerecord//lib/active_record/future_result.rb#153
def execute_query(connection, async: T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#346
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
+
+ class << self
+ # source://activerecord//lib/active_record/future_result.rb#50
+ def wrap(result); end
+ end
end
# source://activerecord//lib/active_record/future_result.rb#48
@@ -25319,11 +25364,11 @@ class ActiveRecord::FutureResult::EventBuffer
def instrument(name, payload = T.unsafe(nil), &block); end
end
-# source://activerecord//lib/active_record/future_result.rb#156
+# source://activerecord//lib/active_record/future_result.rb#165
class ActiveRecord::FutureResult::SelectAll < ::ActiveRecord::FutureResult
private
- # source://activerecord//lib/active_record/future_result.rb#158
+ # source://activerecord//lib/active_record/future_result.rb#167
def exec_query(*_arg0, **_arg1); end
end
@@ -26388,7 +26433,7 @@ end
# == Usage
#
# Active Record supports optimistic locking if the +lock_version+ field is present. Each update to the
-# record increments the +lock_version+ column and the locking facilities ensure that records instantiated twice
+# record increments the integer column +lock_version+ and the locking facilities ensure that records instantiated twice
# will let the last one saved raise a +StaleObjectError+ if the first was also updated. Example:
#
# p1 = Person.find(1)
@@ -26659,7 +26704,7 @@ class ActiveRecord::LogSubscriber < ::ActiveSupport::LogSubscriber
# source://activerecord//lib/active_record/log_subscriber.rb#7
def backtrace_cleaner?; end
- # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.5.2/lib/active_support/log_subscriber.rb#88
def log_levels; end
# source://activerecord//lib/active_record/log_subscriber.rb#23
@@ -26694,7 +26739,7 @@ module ActiveRecord::Marshalling::Methods
# source://activerecord//lib/active_record/marshalling.rb#24
def _marshal_dump_7_1; end
- # source://activerecord//lib/active_record/marshalling.rb#40
+ # source://activerecord//lib/active_record/marshalling.rb#43
def marshal_load(state); end
end
@@ -28074,216 +28119,216 @@ module ActiveRecord::Migration::Compatibility
end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#405
+# source://activerecord//lib/active_record/migration/compatibility.rb#411
class ActiveRecord::Migration::Compatibility::V4_2 < ::ActiveRecord::Migration::Compatibility::V5_0
- # source://activerecord//lib/active_record/migration/compatibility.rb#423
+ # source://activerecord//lib/active_record/migration/compatibility.rb#429
def add_belongs_to(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#423
+ # source://activerecord//lib/active_record/migration/compatibility.rb#429
def add_reference(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#429
+ # source://activerecord//lib/active_record/migration/compatibility.rb#435
def add_timestamps(table_name, **options); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration/compatibility.rb#434
+ # source://activerecord//lib/active_record/migration/compatibility.rb#440
def index_exists?(table_name, column_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#445
+ # source://activerecord//lib/active_record/migration/compatibility.rb#451
def remove_index(table_name, column_name = T.unsafe(nil), **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#451
+ # source://activerecord//lib/active_record/migration/compatibility.rb#457
def compatible_table_definition(t); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#458
+ # source://activerecord//lib/active_record/migration/compatibility.rb#464
def index_name_for_remove(table_name, column_name, options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#406
+# source://activerecord//lib/active_record/migration/compatibility.rb#412
module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#407
+ # source://activerecord//lib/active_record/migration/compatibility.rb#413
def belongs_to(*_arg0, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#407
+ # source://activerecord//lib/active_record/migration/compatibility.rb#413
def references(*_arg0, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#413
+ # source://activerecord//lib/active_record/migration/compatibility.rb#419
def timestamps(**options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#419
+ # source://activerecord//lib/active_record/migration/compatibility.rb#425
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#336
+# source://activerecord//lib/active_record/migration/compatibility.rb#342
class ActiveRecord::Migration::Compatibility::V5_0 < ::ActiveRecord::Migration::Compatibility::V5_1
- # source://activerecord//lib/active_record/migration/compatibility.rb#391
+ # source://activerecord//lib/active_record/migration/compatibility.rb#397
def add_belongs_to(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#381
+ # source://activerecord//lib/active_record/migration/compatibility.rb#387
def add_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#391
+ # source://activerecord//lib/active_record/migration/compatibility.rb#397
def add_reference(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#376
+ # source://activerecord//lib/active_record/migration/compatibility.rb#382
def create_join_table(table_1, table_2, column_options: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#353
+ # source://activerecord//lib/active_record/migration/compatibility.rb#359
def create_table(table_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#397
+ # source://activerecord//lib/active_record/migration/compatibility.rb#403
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#337
+# source://activerecord//lib/active_record/migration/compatibility.rb#343
module ActiveRecord::Migration::Compatibility::V5_0::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#343
+ # source://activerecord//lib/active_record/migration/compatibility.rb#349
def belongs_to(*args, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#338
+ # source://activerecord//lib/active_record/migration/compatibility.rb#344
def primary_key(name, type = T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#343
+ # source://activerecord//lib/active_record/migration/compatibility.rb#349
def references(*args, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#349
+ # source://activerecord//lib/active_record/migration/compatibility.rb#355
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#315
+# source://activerecord//lib/active_record/migration/compatibility.rb#321
class ActiveRecord::Migration::Compatibility::V5_1 < ::ActiveRecord::Migration::Compatibility::V5_2
- # source://activerecord//lib/active_record/migration/compatibility.rb#316
+ # source://activerecord//lib/active_record/migration/compatibility.rb#322
def change_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#327
+ # source://activerecord//lib/active_record/migration/compatibility.rb#333
def create_table(table_name, **options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#259
+# source://activerecord//lib/active_record/migration/compatibility.rb#265
class ActiveRecord::Migration::Compatibility::V5_2 < ::ActiveRecord::Migration::Compatibility::V6_0
- # source://activerecord//lib/active_record/migration/compatibility.rb#293
+ # source://activerecord//lib/active_record/migration/compatibility.rb#299
def add_timestamps(table_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#306
+ # source://activerecord//lib/active_record/migration/compatibility.rb#312
def command_recorder; end
- # source://activerecord//lib/active_record/migration/compatibility.rb#299
+ # source://activerecord//lib/active_record/migration/compatibility.rb#305
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#279
+# source://activerecord//lib/active_record/migration/compatibility.rb#285
module ActiveRecord::Migration::Compatibility::V5_2::CommandRecorder
- # source://activerecord//lib/active_record/migration/compatibility.rb#284
+ # source://activerecord//lib/active_record/migration/compatibility.rb#290
def invert_change_column_comment(args); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#288
+ # source://activerecord//lib/active_record/migration/compatibility.rb#294
def invert_change_table_comment(args); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#280
+ # source://activerecord//lib/active_record/migration/compatibility.rb#286
def invert_transaction(args, &block); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#260
+# source://activerecord//lib/active_record/migration/compatibility.rb#266
module ActiveRecord::Migration::Compatibility::V5_2::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#266
+ # source://activerecord//lib/active_record/migration/compatibility.rb#272
def column(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#261
+ # source://activerecord//lib/active_record/migration/compatibility.rb#267
def timestamps(**options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#275
+ # source://activerecord//lib/active_record/migration/compatibility.rb#281
def raise_on_duplicate_column(name); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#272
+ # source://activerecord//lib/active_record/migration/compatibility.rb#278
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#216
+# source://activerecord//lib/active_record/migration/compatibility.rb#222
class ActiveRecord::Migration::Compatibility::V6_0 < ::ActiveRecord::Migration::Compatibility::V6_1
- # source://activerecord//lib/active_record/migration/compatibility.rb#240
+ # source://activerecord//lib/active_record/migration/compatibility.rb#246
def add_belongs_to(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#240
+ # source://activerecord//lib/active_record/migration/compatibility.rb#246
def add_reference(table_name, ref_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#251
+ # source://activerecord//lib/active_record/migration/compatibility.rb#257
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#217
+# source://activerecord//lib/active_record/migration/compatibility.rb#223
class ActiveRecord::Migration::Compatibility::V6_0::ReferenceDefinition < ::ActiveRecord::ConnectionAdapters::ReferenceDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#218
+ # source://activerecord//lib/active_record/migration/compatibility.rb#224
def index_options(table_name); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#223
+# source://activerecord//lib/active_record/migration/compatibility.rb#229
module ActiveRecord::Migration::Compatibility::V6_0::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#224
+ # source://activerecord//lib/active_record/migration/compatibility.rb#230
def belongs_to(*args, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#230
+ # source://activerecord//lib/active_record/migration/compatibility.rb#236
def column(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#224
+ # source://activerecord//lib/active_record/migration/compatibility.rb#230
def references(*args, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#236
+ # source://activerecord//lib/active_record/migration/compatibility.rb#242
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#153
+# source://activerecord//lib/active_record/migration/compatibility.rb#159
class ActiveRecord::Migration::Compatibility::V6_1 < ::ActiveRecord::Migration::Compatibility::V7_0
- # source://activerecord//lib/active_record/migration/compatibility.rb#168
+ # source://activerecord//lib/active_record/migration/compatibility.rb#174
def add_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#177
+ # source://activerecord//lib/active_record/migration/compatibility.rb#183
def change_column(table_name, column_name, type, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#208
+ # source://activerecord//lib/active_record/migration/compatibility.rb#214
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#154
+# source://activerecord//lib/active_record/migration/compatibility.rb#160
class ActiveRecord::Migration::Compatibility::V6_1::PostgreSQLCompat
class << self
- # source://activerecord//lib/active_record/migration/compatibility.rb#155
+ # source://activerecord//lib/active_record/migration/compatibility.rb#161
def compatible_timestamp_type(type, connection); end
end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#186
+# source://activerecord//lib/active_record/migration/compatibility.rb#192
module ActiveRecord::Migration::Compatibility::V6_1::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#192
+ # source://activerecord//lib/active_record/migration/compatibility.rb#198
def change(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#197
+ # source://activerecord//lib/active_record/migration/compatibility.rb#203
def column(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#187
+ # source://activerecord//lib/active_record/migration/compatibility.rb#193
def new_column_definition(name, type, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#203
+ # source://activerecord//lib/active_record/migration/compatibility.rb#209
def raise_on_if_exist_options(options); end
end
@@ -28291,39 +28336,39 @@ end
class ActiveRecord::Migration::Compatibility::V7_0 < ::ActiveRecord::Migration::Current
include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName
- # source://activerecord//lib/active_record/migration/compatibility.rb#100
+ # source://activerecord//lib/active_record/migration/compatibility.rb#105
def add_belongs_to(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#90
+ # source://activerecord//lib/active_record/migration/compatibility.rb#95
def add_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#137
+ # source://activerecord//lib/active_record/migration/compatibility.rb#143
def add_foreign_key(from_table, to_table, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#95
+ # source://activerecord//lib/active_record/migration/compatibility.rb#100
def add_index(table_name, column_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#100
+ # source://activerecord//lib/active_record/migration/compatibility.rb#105
def add_reference(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#118
+ # source://activerecord//lib/active_record/migration/compatibility.rb#124
def change_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#126
+ # source://activerecord//lib/active_record/migration/compatibility.rb#132
def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#106
+ # source://activerecord//lib/active_record/migration/compatibility.rb#111
def create_table(table_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#130
+ # source://activerecord//lib/active_record/migration/compatibility.rb#136
def disable_extension(name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#113
+ # source://activerecord//lib/active_record/migration/compatibility.rb#118
def rename_table(table_name, new_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#145
+ # source://activerecord//lib/active_record/migration/compatibility.rb#151
def compatible_table_definition(t); end
end
@@ -28356,9 +28401,12 @@ module ActiveRecord::Migration::Compatibility::V7_0::TableDefinition
# source://activerecord//lib/active_record/migration/compatibility.rb#78
def index(column_name, **options); end
+ # source://activerecord//lib/active_record/migration/compatibility.rb#83
+ def references(*args, **options); end
+
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#84
+ # source://activerecord//lib/active_record/migration/compatibility.rb#89
def raise_on_if_exist_options(options); end
end
@@ -28918,13 +28966,13 @@ end
# source://activerecord//lib/active_record/model_schema.rb#195
module ActiveRecord::ModelSchema::ClassMethods
- # source://activerecord//lib/active_record/model_schema.rb#498
+ # source://activerecord//lib/active_record/model_schema.rb#502
def _default_attributes; end
# source://activerecord//lib/active_record/model_schema.rb#434
def _returning_columns_for_insert; end
- # source://activerecord//lib/active_record/model_schema.rb#440
+ # source://activerecord//lib/active_record/model_schema.rb#444
def attribute_types; end
# source://activerecord//lib/active_record/model_schema.rb#416
@@ -28933,7 +28981,7 @@ module ActiveRecord::ModelSchema::ClassMethods
# Returns a hash where the keys are column names and the values are
# default values when instantiating the Active Record object for this table.
#
- # source://activerecord//lib/active_record/model_schema.rb#493
+ # source://activerecord//lib/active_record/model_schema.rb#497
def column_defaults; end
# Returns the column object for the named attribute.
@@ -28950,12 +28998,12 @@ module ActiveRecord::ModelSchema::ClassMethods
# person.column_for_attribute(:nothing)
# # => #, ...>
#
- # source://activerecord//lib/active_record/model_schema.rb#484
+ # source://activerecord//lib/active_record/model_schema.rb#488
def column_for_attribute(name); end
# Returns an array of column names as strings.
#
- # source://activerecord//lib/active_record/model_schema.rb#504
+ # source://activerecord//lib/active_record/model_schema.rb#508
def column_names; end
# source://activerecord//lib/active_record/model_schema.rb#429
@@ -28967,7 +29015,7 @@ module ActiveRecord::ModelSchema::ClassMethods
# Returns an array of column objects where the primary id, all columns ending in "_id" or "_count",
# and columns used for single table inheritance have been removed.
#
- # source://activerecord//lib/active_record/model_schema.rb#515
+ # source://activerecord//lib/active_record/model_schema.rb#519
def content_columns; end
# source://activerecord//lib/active_record/model_schema.rb#298
@@ -29017,7 +29065,7 @@ module ActiveRecord::ModelSchema::ClassMethods
# source://activerecord//lib/active_record/model_schema.rb#362
def ignored_columns=(columns); end
- # source://activerecord//lib/active_record/model_schema.rb#558
+ # source://activerecord//lib/active_record/model_schema.rb#562
def load_schema; end
# Returns the next value that will be used as the primary key on
@@ -29080,7 +29128,7 @@ module ActiveRecord::ModelSchema::ClassMethods
# end
# end
#
- # source://activerecord//lib/active_record/model_schema.rb#549
+ # source://activerecord//lib/active_record/model_schema.rb#553
def reset_column_information; end
# source://activerecord//lib/active_record/model_schema.rb#375
@@ -29112,7 +29160,7 @@ module ActiveRecord::ModelSchema::ClassMethods
# source://activerecord//lib/active_record/model_schema.rb#394
def sequence_name=(value); end
- # source://activerecord//lib/active_record/model_schema.rb#508
+ # source://activerecord//lib/active_record/model_schema.rb#512
def symbol_column_to_string(name_symbol); end
# Indicates whether the table associated with this class exists
@@ -29206,44 +29254,44 @@ module ActiveRecord::ModelSchema::ClassMethods
# +attr_name+ The name of the attribute to retrieve the type for. Must be
# a string or a symbol.
#
- # source://activerecord//lib/active_record/model_schema.rb#460
+ # source://activerecord//lib/active_record/model_schema.rb#464
def type_for_attribute(attr_name, &block); end
- # source://activerecord//lib/active_record/model_schema.rb#445
+ # source://activerecord//lib/active_record/model_schema.rb#449
def yaml_encoder; end
protected
- # source://activerecord//lib/active_record/model_schema.rb#573
+ # source://activerecord//lib/active_record/model_schema.rb#577
def initialize_load_schema_monitor; end
- # source://activerecord//lib/active_record/model_schema.rb#577
+ # source://activerecord//lib/active_record/model_schema.rb#581
def reload_schema_from_cache(recursive = T.unsafe(nil)); end
private
- # source://activerecord//lib/active_record/model_schema.rb#657
+ # source://activerecord//lib/active_record/model_schema.rb#662
def _convert_type_from_options(type); end
# Computes and returns a table name according to default conventions.
#
- # source://activerecord//lib/active_record/model_schema.rb#641
+ # source://activerecord//lib/active_record/model_schema.rb#646
def compute_table_name; end
- # source://activerecord//lib/active_record/model_schema.rb#600
+ # source://activerecord//lib/active_record/model_schema.rb#604
def inherited(child_class); end
- # source://activerecord//lib/active_record/model_schema.rb#613
+ # source://activerecord//lib/active_record/model_schema.rb#617
def load_schema!; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/model_schema.rb#609
+ # source://activerecord//lib/active_record/model_schema.rb#613
def schema_loaded?; end
# Guesses the table name, but does not decorate it with prefix and suffix information.
#
- # source://activerecord//lib/active_record/model_schema.rb#635
+ # source://activerecord//lib/active_record/model_schema.rb#640
def undecorated_table_name(model_name); end
end
@@ -29362,6 +29410,9 @@ module ActiveRecord::NestedAttributes
# source://activerecord//lib/active_record/nested_attributes.rb#548
def check_record_limit!(limit, attributes_collection); end
+ # source://activerecord//lib/active_record/nested_attributes.rb#616
+ def find_record_by_id(records, id); end
+
# Determines if a hash contains a truthy _destroy key.
#
# @return [Boolean]
@@ -29781,23 +29832,23 @@ class ActiveRecord::NoDatabaseError < ::ActiveRecord::StatementInvalid
# source://activerecord//lib/active_record/errors.rb#314
def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions?; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions?; end
# source://activerecord//lib/active_record/errors.rb#319
@@ -30083,13 +30134,13 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError
# source://activerecord//lib/active_record/migration.rb#146
def initialize(message = T.unsafe(nil), pending_migrations: T.unsafe(nil)); end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions=(_arg0); end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions?; end
private
@@ -30101,13 +30152,13 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError
def detailed_migration_message(pending_migrations); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.5.2/lib/active_support/actionable_error.rb#17
def _actions?; end
end
end
@@ -30883,7 +30934,7 @@ module ActiveRecord::Persistence::ClassMethods
def instantiate(attributes, column_types = T.unsafe(nil), &block); end
# Accepts a list of attribute names to be used in the WHERE clause
- # of SELECT / UPDATE / DELETE queries and in the ORDER BY clause for `#first` and `#last` finder methods.
+ # of SELECT / UPDATE / DELETE queries and in the ORDER BY clause for +#first+ and +#last+ finder methods.
#
# class Developer < ActiveRecord::Base
# query_constraints :company_id, :id
@@ -30896,7 +30947,7 @@ module ActiveRecord::Persistence::ClassMethods
# developer.update!(name: "Nikita")
# # UPDATE "developers" SET "name" = 'Nikita' WHERE "developers"."company_id" = 1 AND "developers"."id" = 1
#
- # It is possible to update attribute used in the query_by clause:
+ # # It is possible to update an attribute used in the query_constraints clause:
# developer.update!(company_id: 2)
# # UPDATE "developers" SET "company_id" = 2 WHERE "developers"."company_id" = 1 AND "developers"."id" = 1
#
@@ -31608,10 +31659,10 @@ module ActiveRecord::QueryLogs
# source://activerecord//lib/active_record/query_logs.rb#77
def cache_query_log_tags=(val); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def cached_comment; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def cached_comment=(obj); end
# source://activerecord//lib/active_record/query_logs.rb#82
@@ -33044,7 +33095,7 @@ module ActiveRecord::QueryMethods
# source://activerecord//lib/active_record/relation/query_methods.rb#1578
def build_arel(aliases = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/relation/query_methods.rb#1936
+ # source://activerecord//lib/active_record/relation/query_methods.rb#1950
def build_case_for_value_position(column, values); end
# source://activerecord//lib/active_record/relation/query_methods.rb#1607
@@ -33094,7 +33145,7 @@ module ActiveRecord::QueryMethods
# ...
# end
#
- # source://activerecord//lib/active_record/relation/query_methods.rb#1985
+ # source://activerecord//lib/active_record/relation/query_methods.rb#1999
def check_if_method_has_arguments!(method_name, args, message = T.unsafe(nil)); end
# source://activerecord//lib/active_record/relation/query_methods.rb#1911
@@ -33108,19 +33159,22 @@ module ActiveRecord::QueryMethods
# source://activerecord//lib/active_record/relation/query_methods.rb#1556
def each_join_dependencies(join_dependencies = T.unsafe(nil), &block); end
+ # source://activerecord//lib/active_record/relation/query_methods.rb#1936
+ def extract_table_name_from(string); end
+
# source://activerecord//lib/active_record/relation/query_methods.rb#1549
def lookup_table_klass_from_join_dependencies(table_name); end
- # source://activerecord//lib/active_record/relation/query_methods.rb#1926
+ # source://activerecord//lib/active_record/relation/query_methods.rb#1940
def order_column(field); end
# source://activerecord//lib/active_record/relation/query_methods.rb#1874
def preprocess_order_args(order_args); end
- # source://activerecord//lib/active_record/relation/query_methods.rb#1996
+ # source://activerecord//lib/active_record/relation/query_methods.rb#2010
def process_select_args(fields); end
- # source://activerecord//lib/active_record/relation/query_methods.rb#1945
+ # source://activerecord//lib/active_record/relation/query_methods.rb#1959
def resolve_arel_attributes(attrs); end
# source://activerecord//lib/active_record/relation/query_methods.rb#1814
@@ -33135,7 +33189,7 @@ module ActiveRecord::QueryMethods
# source://activerecord//lib/active_record/relation/query_methods.rb#1626
def select_named_joins(join_names, stashed_joins = T.unsafe(nil), &block); end
- # source://activerecord//lib/active_record/relation/query_methods.rb#2036
+ # source://activerecord//lib/active_record/relation/query_methods.rb#2050
def structurally_incompatible_values_for(other); end
# @return [Boolean]
@@ -33143,7 +33197,7 @@ module ActiveRecord::QueryMethods
# source://activerecord//lib/active_record/relation/query_methods.rb#1808
def table_name_matches?(from); end
- # source://activerecord//lib/active_record/relation/query_methods.rb#2006
+ # source://activerecord//lib/active_record/relation/query_methods.rb#2020
def transform_select_hash_values(fields); end
# source://activerecord//lib/active_record/relation/query_methods.rb#1862
@@ -33169,7 +33223,7 @@ ActiveRecord::QueryMethods::FROZEN_EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
# source://activerecord//lib/active_record/relation/query_methods.rb#141
ActiveRecord::QueryMethods::FROZEN_EMPTY_HASH = T.let(T.unsafe(nil), Hash)
-# source://activerecord//lib/active_record/relation/query_methods.rb#2031
+# source://activerecord//lib/active_record/relation/query_methods.rb#2045
ActiveRecord::QueryMethods::STRUCTURAL_VALUE_METHODS = T.let(T.unsafe(nil), Array)
# source://activerecord//lib/active_record/relation/query_methods.rb#1859
@@ -33656,7 +33710,7 @@ ActiveRecord::Querying::QUERYING_METHODS = T.let(T.unsafe(nil), Array)
# source://activerecord//lib/active_record/railtie.rb#16
class ActiveRecord::Railtie < ::Rails::Railtie; end
-# source://activerecord//lib/active_record/railtie.rb#230
+# source://activerecord//lib/active_record/railtie.rb#231
ActiveRecord::Railtie::SQLITE3_PRODUCTION_WARN = T.let(T.unsafe(nil), String)
# Raised when values that executed are out of range.
@@ -33853,7 +33907,7 @@ module ActiveRecord::Reflection
private
- # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#37
+ # source://activestorage/7.1.5.2/lib/active_storage/reflection.rb#37
def reflection_class_for(macro); end
end
@@ -34247,7 +34301,7 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti
# source://activerecord//lib/active_record/reflection.rb#773
def derive_foreign_key(infer_from_inverse_of: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/reflection.rb#823
+ # source://activerecord//lib/active_record/reflection.rb#825
def derive_join_table; end
# Attempts to find the inverse association name automatically.
@@ -34280,38 +34334,38 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti
def valid_inverse_reflection?(reflection); end
end
-# source://activerecord//lib/active_record/reflection.rb#856
+# source://activerecord//lib/active_record/reflection.rb#858
class ActiveRecord::Reflection::BelongsToReflection < ::ActiveRecord::Reflection::AssociationReflection
- # source://activerecord//lib/active_record/reflection.rb#861
+ # source://activerecord//lib/active_record/reflection.rb#863
def association_class; end
# klass option is necessary to support loading polymorphic associations
#
- # source://activerecord//lib/active_record/reflection.rb#870
+ # source://activerecord//lib/active_record/reflection.rb#872
def association_primary_key(klass = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#859
+ # source://activerecord//lib/active_record/reflection.rb#861
def belongs_to?; end
- # source://activerecord//lib/active_record/reflection.rb#888
+ # source://activerecord//lib/active_record/reflection.rb#894
def join_foreign_key; end
- # source://activerecord//lib/active_record/reflection.rb#892
+ # source://activerecord//lib/active_record/reflection.rb#898
def join_foreign_type; end
- # source://activerecord//lib/active_record/reflection.rb#884
+ # source://activerecord//lib/active_record/reflection.rb#890
def join_primary_key(klass = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/reflection.rb#857
+ # source://activerecord//lib/active_record/reflection.rb#859
def macro; end
private
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#897
+ # source://activerecord//lib/active_record/reflection.rb#903
def can_find_inverse_of_automatically?(*_arg0); end
end
@@ -34385,42 +34439,42 @@ module ActiveRecord::Reflection::ClassMethods
def inherited(subclass); end
end
-# source://activerecord//lib/active_record/reflection.rb#902
+# source://activerecord//lib/active_record/reflection.rb#908
class ActiveRecord::Reflection::HasAndBelongsToManyReflection < ::ActiveRecord::Reflection::AssociationReflection
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#905
+ # source://activerecord//lib/active_record/reflection.rb#911
def collection?; end
- # source://activerecord//lib/active_record/reflection.rb#903
+ # source://activerecord//lib/active_record/reflection.rb#909
def macro; end
end
-# source://activerecord//lib/active_record/reflection.rb#828
+# source://activerecord//lib/active_record/reflection.rb#830
class ActiveRecord::Reflection::HasManyReflection < ::ActiveRecord::Reflection::AssociationReflection
- # source://activerecord//lib/active_record/reflection.rb#833
+ # source://activerecord//lib/active_record/reflection.rb#835
def association_class; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#831
+ # source://activerecord//lib/active_record/reflection.rb#833
def collection?; end
- # source://activerecord//lib/active_record/reflection.rb#829
+ # source://activerecord//lib/active_record/reflection.rb#831
def macro; end
end
-# source://activerecord//lib/active_record/reflection.rb#842
+# source://activerecord//lib/active_record/reflection.rb#844
class ActiveRecord::Reflection::HasOneReflection < ::ActiveRecord::Reflection::AssociationReflection
- # source://activerecord//lib/active_record/reflection.rb#847
+ # source://activerecord//lib/active_record/reflection.rb#849
def association_class; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#845
+ # source://activerecord//lib/active_record/reflection.rb#847
def has_one?; end
- # source://activerecord//lib/active_record/reflection.rb#843
+ # source://activerecord//lib/active_record/reflection.rb#845
def macro; end
end
@@ -34508,138 +34562,138 @@ class ActiveRecord::Reflection::MacroReflection < ::ActiveRecord::Reflection::Ab
def validate_reflection!; end
end
-# source://activerecord//lib/active_record/reflection.rb#1166
+# source://activerecord//lib/active_record/reflection.rb#1172
class ActiveRecord::Reflection::PolymorphicReflection < ::ActiveRecord::Reflection::AbstractReflection
# @return [PolymorphicReflection] a new instance of PolymorphicReflection
#
- # source://activerecord//lib/active_record/reflection.rb#1170
+ # source://activerecord//lib/active_record/reflection.rb#1176
def initialize(reflection, previous_reflection); end
- # source://activerecord//lib/active_record/reflection.rb#1181
+ # source://activerecord//lib/active_record/reflection.rb#1187
def constraints; end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def join_foreign_key(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def join_primary_key(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1176
+ # source://activerecord//lib/active_record/reflection.rb#1182
def join_scopes(table, predicate_builder, klass = T.unsafe(nil), record = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def klass(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def name(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def plural_name(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def scope(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def scope_for(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1167
+ # source://activerecord//lib/active_record/reflection.rb#1173
def type(*_arg0, **_arg1, &_arg2); end
private
- # source://activerecord//lib/active_record/reflection.rb#1186
+ # source://activerecord//lib/active_record/reflection.rb#1192
def source_type_scope; end
end
-# source://activerecord//lib/active_record/reflection.rb#1193
+# source://activerecord//lib/active_record/reflection.rb#1199
class ActiveRecord::Reflection::RuntimeReflection < ::ActiveRecord::Reflection::AbstractReflection
# @return [RuntimeReflection] a new instance of RuntimeReflection
#
- # source://activerecord//lib/active_record/reflection.rb#1196
+ # source://activerecord//lib/active_record/reflection.rb#1202
def initialize(reflection, association); end
- # source://activerecord//lib/active_record/reflection.rb#1206
+ # source://activerecord//lib/active_record/reflection.rb#1212
def aliased_table; end
- # source://activerecord//lib/active_record/reflection.rb#1214
+ # source://activerecord//lib/active_record/reflection.rb#1220
def all_includes; end
- # source://activerecord//lib/active_record/reflection.rb#1194
+ # source://activerecord//lib/active_record/reflection.rb#1200
def constraints(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1194
+ # source://activerecord//lib/active_record/reflection.rb#1200
def join_foreign_key(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1210
+ # source://activerecord//lib/active_record/reflection.rb#1216
def join_primary_key(klass = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/reflection.rb#1202
+ # source://activerecord//lib/active_record/reflection.rb#1208
def klass; end
- # source://activerecord//lib/active_record/reflection.rb#1194
+ # source://activerecord//lib/active_record/reflection.rb#1200
def scope(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1194
+ # source://activerecord//lib/active_record/reflection.rb#1200
def type(*_arg0, **_arg1, &_arg2); end
end
# Holds all the metadata about a :through association as it was specified
# in the Active Record class.
#
-# source://activerecord//lib/active_record/reflection.rb#912
+# source://activerecord//lib/active_record/reflection.rb#918
class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection::AbstractReflection
# @return [ThroughReflection] a new instance of ThroughReflection
#
- # source://activerecord//lib/active_record/reflection.rb#916
+ # source://activerecord//lib/active_record/reflection.rb#922
def initialize(delegate_reflection); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def active_record(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#913
+ # source://activerecord//lib/active_record/reflection.rb#919
def active_record_primary_key(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1128
+ # source://activerecord//lib/active_record/reflection.rb#1134
def add_as_polymorphic_through(reflection, seed); end
- # source://activerecord//lib/active_record/reflection.rb#1124
+ # source://activerecord//lib/active_record/reflection.rb#1130
def add_as_source(seed); end
- # source://activerecord//lib/active_record/reflection.rb#1132
+ # source://activerecord//lib/active_record/reflection.rb#1138
def add_as_through(seed); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def association_class(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#913
+ # source://activerecord//lib/active_record/reflection.rb#919
def association_foreign_key(*_arg0, **_arg1, &_arg2); end
# We want to use the klass from this reflection, rather than just delegate straight to
# the source_reflection, because the source_reflection may be polymorphic. We still
# need to respect the source_reflection's :primary_key option, though.
#
- # source://activerecord//lib/active_record/reflection.rb#1021
+ # source://activerecord//lib/active_record/reflection.rb#1027
def association_primary_key(klass = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def association_scope_cache(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def autosave=(arg); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def belongs_to?(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def check_eager_loadable!(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1078
+ # source://activerecord//lib/active_record/reflection.rb#1084
def check_validity!; end
# This is for clearing cache on the reflection. Useful for tests that need to compare
# SQL queries on associations.
#
- # source://activerecord//lib/active_record/reflection.rb#993
+ # source://activerecord//lib/active_record/reflection.rb#999
def clear_association_scope_cache; end
# Returns an array of reflections which are involved in this association. Each item in the
@@ -34659,103 +34713,103 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection::
# # => [,
# ]
#
- # source://activerecord//lib/active_record/reflection.rb#987
+ # source://activerecord//lib/active_record/reflection.rb#993
def collect_join_chain; end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def collection?(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def compute_class(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1118
+ # source://activerecord//lib/active_record/reflection.rb#1124
def constraints; end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def extensions(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#913
+ # source://activerecord//lib/active_record/reflection.rb#919
def foreign_key(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#913
+ # source://activerecord//lib/active_record/reflection.rb#919
def foreign_type(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def has_inverse?(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def has_one?(*_arg0, **_arg1, &_arg2); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#1007
+ # source://activerecord//lib/active_record/reflection.rb#1013
def has_scope?; end
- # source://activerecord//lib/active_record/reflection.rb#913
+ # source://activerecord//lib/active_record/reflection.rb#919
def join_foreign_key(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#913
+ # source://activerecord//lib/active_record/reflection.rb#919
def join_id_for(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1031
+ # source://activerecord//lib/active_record/reflection.rb#1037
def join_primary_key(klass = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def join_primary_type(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1003
+ # source://activerecord//lib/active_record/reflection.rb#1009
def join_scopes(table, predicate_builder, klass = T.unsafe(nil), record = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def join_table(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#929
+ # source://activerecord//lib/active_record/reflection.rb#935
def klass; end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def macro(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def name(*_arg0, **_arg1, &_arg2); end
# A through association is nested if there would be more than one join table
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#1014
+ # source://activerecord//lib/active_record/reflection.rb#1020
def nested?; end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def options(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def parent_reflection(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def parent_reflection=(arg); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def plural_name(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def polymorphic?(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def polymorphic_inverse_of(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def polymorphic_name(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def scope(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def scope_for(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#999
+ # source://activerecord//lib/active_record/reflection.rb#1005
def scopes; end
- # source://activerecord//lib/active_record/reflection.rb#1070
+ # source://activerecord//lib/active_record/reflection.rb#1076
def source_options; end
# Returns the source of the through reflection. It checks both a singularized
@@ -34775,10 +34829,10 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection::
# tags_reflection.source_reflection
# # =>
#
- # source://activerecord//lib/active_record/reflection.rb#950
+ # source://activerecord//lib/active_record/reflection.rb#956
def source_reflection; end
- # source://activerecord//lib/active_record/reflection.rb#1050
+ # source://activerecord//lib/active_record/reflection.rb#1056
def source_reflection_name; end
# Gets an array of possible :through source reflection names in both singular and plural form.
@@ -34792,10 +34846,10 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection::
# tags_reflection.source_reflection_names
# # => [:tag, :tags]
#
- # source://activerecord//lib/active_record/reflection.rb#1046
+ # source://activerecord//lib/active_record/reflection.rb#1052
def source_reflection_names; end
- # source://activerecord//lib/active_record/reflection.rb#1074
+ # source://activerecord//lib/active_record/reflection.rb#1080
def through_options; end
# Returns the AssociationReflection object specified in the :through option
@@ -34810,41 +34864,41 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection::
# tags_reflection.through_reflection
# # =>
#
- # source://activerecord//lib/active_record/reflection.rb#966
+ # source://activerecord//lib/active_record/reflection.rb#972
def through_reflection; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/reflection.rb#925
+ # source://activerecord//lib/active_record/reflection.rb#931
def through_reflection?; end
- # source://activerecord//lib/active_record/reflection.rb#913
+ # source://activerecord//lib/active_record/reflection.rb#919
def type(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/reflection.rb#1163
+ # source://activerecord//lib/active_record/reflection.rb#1169
def validate?(*_arg0, **_arg1, &_arg2); end
protected
# FIXME: this is a horrible name
#
- # source://activerecord//lib/active_record/reflection.rb#1137
+ # source://activerecord//lib/active_record/reflection.rb#1143
def actual_source_reflection; end
private
- # source://activerecord//lib/active_record/reflection.rb#1144
+ # source://activerecord//lib/active_record/reflection.rb#1150
def collect_join_reflections(seed); end
# Returns the value of attribute delegate_reflection.
#
- # source://activerecord//lib/active_record/reflection.rb#1142
+ # source://activerecord//lib/active_record/reflection.rb#1148
def delegate_reflection; end
- # source://activerecord//lib/active_record/reflection.rb#1155
+ # source://activerecord//lib/active_record/reflection.rb#1161
def derive_class_name; end
- # source://activerecord//lib/active_record/reflection.rb#1153
+ # source://activerecord//lib/active_record/reflection.rb#1159
def inverse_name; end
end
@@ -34870,13 +34924,13 @@ class ActiveRecord::Relation
# Compares two relations for equality.
#
- # source://activerecord//lib/active_record/relation.rb#813
+ # source://activerecord//lib/active_record/relation.rb#823
def ==(other); end
# source://activerecord//lib/active_record/relation.rb#471
def _exec_scope(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/relation.rb#863
+ # source://activerecord//lib/active_record/relation.rb#873
def alias_tracker(joins = T.unsafe(nil), aliases = T.unsafe(nil)); end
# Returns true if there are any records.
@@ -34900,7 +34954,7 @@ class ActiveRecord::Relation
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#834
+ # source://activerecord//lib/active_record/relation.rb#844
def blank?; end
# Initializes new record from relation while maintaining the current
@@ -35051,7 +35105,7 @@ class ActiveRecord::Relation
# Post.distinct.delete_all
# # => ActiveRecord::ActiveRecordError: delete_all doesn't support distinct
#
- # source://activerecord//lib/active_record/relation.rb#646
+ # source://activerecord//lib/active_record/relation.rb#651
def delete_all; end
# Finds and deletes all records matching the specified conditions.
@@ -35064,7 +35118,7 @@ class ActiveRecord::Relation
# Person.delete_by(name: 'Spartacus', rating: 4)
# Person.delete_by("published_at < ?", 2.weeks.ago)
#
- # source://activerecord//lib/active_record/relation.rb#689
+ # source://activerecord//lib/active_record/relation.rb#699
def delete_by(*args); end
# Destroys the records by instantiating each
@@ -35084,7 +35138,7 @@ class ActiveRecord::Relation
#
# Person.where(age: 0..18).destroy_all
#
- # source://activerecord//lib/active_record/relation.rb#624
+ # source://activerecord//lib/active_record/relation.rb#629
def destroy_all; end
# Finds and destroys all records matching the specified conditions.
@@ -35097,14 +35151,14 @@ class ActiveRecord::Relation
# Person.destroy_by(name: 'Spartacus', rating: 4)
# Person.destroy_by("published_at < ?", 2.weeks.ago)
#
- # source://activerecord//lib/active_record/relation.rb#676
+ # source://activerecord//lib/active_record/relation.rb#686
def destroy_by(*args); end
# Returns true if relation needs eager loading.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#798
+ # source://activerecord//lib/active_record/relation.rb#808
def eager_loading?; end
# Returns true if there are no records.
@@ -35116,7 +35170,7 @@ class ActiveRecord::Relation
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#855
+ # source://activerecord//lib/active_record/relation.rb#865
def empty_scope?; end
# Serializes the relation objects Array.
@@ -35206,10 +35260,10 @@ class ActiveRecord::Relation
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#859
+ # source://activerecord//lib/active_record/relation.rb#869
def has_limit_or_offset?; end
- # source://activerecord//lib/active_record/relation.rb#846
+ # source://activerecord//lib/active_record/relation.rb#856
def inspect; end
# Joins that are also marked for preloading. In which case we should just eager load them.
@@ -35217,7 +35271,7 @@ class ActiveRecord::Relation
# represent the same association, but that aren't matched by this. Also, we could have
# nested hashes which partially match, e.g. { a: :b } & { a: [:b, :c] }
#
- # source://activerecord//lib/active_record/relation.rb#808
+ # source://activerecord//lib/active_record/relation.rb#818
def joined_includes_values; end
# Returns the value of attribute klass.
@@ -35232,7 +35286,7 @@ class ActiveRecord::Relation
#
# Post.where(published: true).load # => #
#
- # source://activerecord//lib/active_record/relation.rb#740
+ # source://activerecord//lib/active_record/relation.rb#750
def load(&block); end
# Schedule the query to be performed from a background thread pool.
@@ -35254,7 +35308,7 @@ class ActiveRecord::Relation
#
# ASYNC Post Load (0.0ms) (db time 2ms) SELECT "posts".* FROM "posts" LIMIT 100
#
- # source://activerecord//lib/active_record/relation.rb#711
+ # source://activerecord//lib/active_record/relation.rb#721
def load_async; end
# Returns the value of attribute loaded.
@@ -35327,10 +35381,10 @@ class ActiveRecord::Relation
# source://activerecord//lib/active_record/relation.rb#22
def predicate_builder; end
- # source://activerecord//lib/active_record/relation.rb#877
+ # source://activerecord//lib/active_record/relation.rb#887
def preload_associations(records); end
- # source://activerecord//lib/active_record/relation.rb#824
+ # source://activerecord//lib/active_record/relation.rb#834
def pretty_print(pp); end
# source://activerecord//lib/active_record/relation.rb#263
@@ -35338,10 +35392,10 @@ class ActiveRecord::Relation
# Forces reloading of relation.
#
- # source://activerecord//lib/active_record/relation.rb#750
+ # source://activerecord//lib/active_record/relation.rb#760
def reload; end
- # source://activerecord//lib/active_record/relation.rb#755
+ # source://activerecord//lib/active_record/relation.rb#765
def reset; end
# Returns true if the relation was scheduled on the background
@@ -35349,10 +35403,10 @@ class ActiveRecord::Relation
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#730
+ # source://activerecord//lib/active_record/relation.rb#740
def scheduled?; end
- # source://activerecord//lib/active_record/relation.rb#791
+ # source://activerecord//lib/active_record/relation.rb#801
def scope_for_create; end
# Scope all queries to the current scope.
@@ -35410,7 +35464,7 @@ class ActiveRecord::Relation
# User.where(name: 'Oscar').to_sql
# # SELECT "users".* FROM "users" WHERE "users"."name" = 'Oscar'
#
- # source://activerecord//lib/active_record/relation.rb#771
+ # source://activerecord//lib/active_record/relation.rb#781
def to_sql; end
# Touches all records in the current relation, setting the +updated_at+/+updated_on+ attributes to the current time or the time specified.
@@ -35437,13 +35491,13 @@ class ActiveRecord::Relation
# Person.where(name: 'David').touch_all
# # => "UPDATE \"people\" SET \"updated_at\" = '2018-01-04 22:55:23.132670' WHERE \"people\".\"name\" = 'David'"
#
- # source://activerecord//lib/active_record/relation.rb#604
+ # source://activerecord//lib/active_record/relation.rb#609
def touch_all(*names, time: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/relation.rb#533
+ # source://activerecord//lib/active_record/relation.rb#538
def update(id = T.unsafe(nil), attributes); end
- # source://activerecord//lib/active_record/relation.rb#541
+ # source://activerecord//lib/active_record/relation.rb#546
def update!(id = T.unsafe(nil), attributes); end
# Updates all records in the current relation with details given. This method constructs a single SQL UPDATE
@@ -35493,13 +35547,13 @@ class ActiveRecord::Relation
# # For Posts by a given author increment the comment_count by 1.
# Post.where(author_id: author.id).update_counters(comment_count: 1)
#
- # source://activerecord//lib/active_record/relation.rb#561
+ # source://activerecord//lib/active_record/relation.rb#566
def update_counters(counters); end
- # source://activerecord//lib/active_record/relation.rb#838
+ # source://activerecord//lib/active_record/relation.rb#848
def values; end
- # source://activerecord//lib/active_record/relation.rb#842
+ # source://activerecord//lib/active_record/relation.rb#852
def values_for_queries; end
# Returns a hash of where conditions.
@@ -35507,37 +35561,37 @@ class ActiveRecord::Relation
# User.where(name: 'Oscar').where_values_hash
# # => {name: "Oscar"}
#
- # source://activerecord//lib/active_record/relation.rb#787
+ # source://activerecord//lib/active_record/relation.rb#797
def where_values_hash(relation_table_name = T.unsafe(nil)); end
protected
- # source://activerecord//lib/active_record/relation.rb#887
+ # source://activerecord//lib/active_record/relation.rb#897
def load_records(records); end
private
- # source://activerecord//lib/active_record/relation.rb#913
+ # source://activerecord//lib/active_record/relation.rb#923
def _create(attributes, &block); end
- # source://activerecord//lib/active_record/relation.rb#917
+ # source://activerecord//lib/active_record/relation.rb#927
def _create!(attributes, &block); end
- # source://activerecord//lib/active_record/relation.rb#948
+ # source://activerecord//lib/active_record/relation.rb#958
def _increment_attribute(attribute, value = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/relation.rb#909
+ # source://activerecord//lib/active_record/relation.rb#919
def _new(attributes, &block); end
- # source://activerecord//lib/active_record/relation.rb#921
+ # source://activerecord//lib/active_record/relation.rb#931
def _scoping(scope, registry, all_queries = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/relation.rb#937
+ # source://activerecord//lib/active_record/relation.rb#947
def _substitute_values(values); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#893
+ # source://activerecord//lib/active_record/relation.rb#903
def already_in_scope?(registry); end
# source://activerecord//lib/active_record/relation.rb#364
@@ -35546,38 +35600,38 @@ class ActiveRecord::Relation
# source://activerecord//lib/active_record/relation.rb#393
def compute_cache_version(timestamp_column); end
- # source://activerecord//lib/active_record/relation.rb#901
+ # source://activerecord//lib/active_record/relation.rb#911
def current_scope_restoring_block(&block); end
- # source://activerecord//lib/active_record/relation.rb#975
+ # source://activerecord//lib/active_record/relation.rb#985
def exec_main_query(async: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/relation.rb#955
+ # source://activerecord//lib/active_record/relation.rb#965
def exec_queries(&block); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#897
+ # source://activerecord//lib/active_record/relation.rb#907
def global_scope?(registry); end
# source://activerecord//lib/active_record/relation.rb#41
def initialize_copy(other); end
- # source://activerecord//lib/active_record/relation.rb#1003
+ # source://activerecord//lib/active_record/relation.rb#1013
def instantiate_records(rows, &block); end
- # source://activerecord//lib/active_record/relation.rb#1046
+ # source://activerecord//lib/active_record/relation.rb#1056
def limited_count; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#1022
+ # source://activerecord//lib/active_record/relation.rb#1032
def references_eager_loaded_tables?; end
- # source://activerecord//lib/active_record/relation.rb#1014
+ # source://activerecord//lib/active_record/relation.rb#1024
def skip_query_cache_if_necessary(&block); end
- # source://activerecord//lib/active_record/relation.rb#1039
+ # source://activerecord//lib/active_record/relation.rb#1049
def tables_in_string(string); end
end
@@ -35761,15 +35815,15 @@ end
# source://activerecord//lib/active_record/relation.rb#11
ActiveRecord::Relation::SINGLE_VALUE_METHODS = T.let(T.unsafe(nil), Array)
-# source://activerecord//lib/active_record/relation.rb#867
+# source://activerecord//lib/active_record/relation.rb#877
class ActiveRecord::Relation::StrictLoadingScope
class << self
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#868
+ # source://activerecord//lib/active_record/relation.rb#878
def empty_scope?; end
- # source://activerecord//lib/active_record/relation.rb#872
+ # source://activerecord//lib/active_record/relation.rb#882
def strict_loading_value; end
end
end
@@ -38001,31 +38055,31 @@ class ActiveRecord::Tasks::DatabaseNotSupported < ::StandardError; end
module ActiveRecord::Tasks::DatabaseTasks
extend ::ActiveRecord::Tasks::DatabaseTasks
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#440
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#459
def cache_dump_filename(db_config_name, schema_cache_path: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#305
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#324
def charset(configuration, *arguments); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#300
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#319
def charset_current(env_name = T.unsafe(nil), db_name = T.unsafe(nil)); end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#65
def check_protected_environments!(environment = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#458
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#477
def check_schema_file(filename); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#290
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#309
def check_target_version; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#484
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#503
def clear_schema_cache(filename); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#315
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#334
def collation(configuration, *arguments); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#310
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#329
def collation_current(env_name = T.unsafe(nil), db_name = T.unsafe(nil)); end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#115
@@ -38049,8 +38103,8 @@ module ActiveRecord::Tasks::DatabaseTasks
# source://activerecord//lib/active_record/tasks/database_tasks.rb#61
def database_configuration=(_arg0); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#258
- def db_configs_with_versions(db_configs); end
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#277
+ def db_configs_with_versions(environment = T.unsafe(nil)); end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#83
def db_dir; end
@@ -38062,16 +38116,16 @@ module ActiveRecord::Tasks::DatabaseTasks
# source://activerecord//lib/active_record/tasks/database_tasks.rb#60
def db_dir=(_arg0); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#204
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#223
def drop(configuration, *arguments); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#216
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#235
def drop_all; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#220
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#239
def drop_current(environment = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#403
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#422
def dump_schema(db_config, format = T.unsafe(nil)); end
# Dumps the schema cache in YAML format for the connection into the file
@@ -38079,7 +38133,7 @@ module ActiveRecord::Tasks::DatabaseTasks
# ==== Examples
# ActiveRecord::Tasks::DatabaseTasks.dump_schema_cache(ActiveRecord::Base.connection, "tmp/schema_dump.yaml")
#
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#480
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#499
def dump_schema_cache(conn, filename); end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#103
@@ -38105,25 +38159,25 @@ module ActiveRecord::Tasks::DatabaseTasks
# source://activerecord//lib/active_record/tasks/database_tasks.rb#141
def for_each(databases); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#349
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#368
def load_schema(db_config, format = T.unsafe(nil), file = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#450
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#469
def load_schema_current(format = T.unsafe(nil), file = T.unsafe(nil), environment = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#466
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#485
def load_seed; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#237
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#256
def migrate(version = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#275
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#294
def migrate_status; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#505
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#524
def migration_class; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#509
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#528
def migration_connection; end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#87
@@ -38142,19 +38196,19 @@ module ActiveRecord::Tasks::DatabaseTasks
# source://activerecord//lib/active_record/tasks/database_tasks.rb#176
def prepare_all; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#320
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#339
def purge(configuration); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#325
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#344
def purge_all; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#329
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#348
def purge_current(environment = T.unsafe(nil)); end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#156
def raise_for_multi_db(environment = T.unsafe(nil), command:); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#385
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#404
def reconstruct_from_schema(db_config, format = T.unsafe(nil), file = T.unsafe(nil)); end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#73
@@ -38170,12 +38224,12 @@ module ActiveRecord::Tasks::DatabaseTasks
# source://activerecord//lib/active_record/tasks/database_tasks.rb#60
def root=(_arg0); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#427
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#446
def schema_dump_path(db_config, format = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#370
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#389
def schema_up_to_date?(configuration, format = T.unsafe(nil), file = T.unsafe(nil)); end
# source://activerecord//lib/active_record/tasks/database_tasks.rb#111
@@ -38191,74 +38245,77 @@ module ActiveRecord::Tasks::DatabaseTasks
# source://activerecord//lib/active_record/tasks/database_tasks.rb#135
def setup_initial_database_yaml; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#335
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#354
def structure_dump(configuration, *arguments); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#342
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#361
def structure_load(configuration, *arguments); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#296
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#315
def target_version; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#231
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#250
def truncate_all(environment = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#499
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#518
def with_temporary_connection(db_config, clobber: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#488
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#507
def with_temporary_connection_for_each(env: T.unsafe(nil), name: T.unsafe(nil), clobber: T.unsafe(nil), &block); end
private
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#604
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#626
def check_current_protected_environment!(db_config); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#546
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#565
def class_for_adapter(adapter); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#523
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#542
def configs_for(**options); end
# Create a new instance for the specified db configuration object
# For classes that have been converted to use db_config objects, pass a
# `DatabaseConfig`, otherwise pass a `Hash`
#
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#538
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#557
def database_adapter_for(db_config, *arguments); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#554
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#573
def each_current_configuration(environment, name = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#567
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#583
+ def each_current_environment(environment, &block); end
+
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#589
def each_local_configuration; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#579
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#601
def local_database?(db_config); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#527
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#546
def resolve_configuration(configuration); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#584
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#606
def schema_sha1(file); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#588
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#610
def structure_dump_flags_for(adapter); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#596
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#618
def structure_load_flags_for(adapter); end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#224
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#243
def truncate_tables(db_config); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#531
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#550
def verbose?; end
- # source://activerecord//lib/active_record/tasks/database_tasks.rb#514
+ # source://activerecord//lib/active_record/tasks/database_tasks.rb#533
def with_temporary_pool(db_config, clobber: T.unsafe(nil)); end
class << self
@@ -38513,45 +38570,45 @@ module ActiveRecord::TestFixtures
# source://activerecord//lib/active_record/test_fixtures.rb#9
def before_setup; end
- # source://activerecord//lib/active_record/test_fixtures.rb#205
+ # source://activerecord//lib/active_record/test_fixtures.rb#206
def enlist_fixture_connections; end
- # source://activerecord//lib/active_record/test_fixtures.rb#112
+ # source://activerecord//lib/active_record/test_fixtures.rb#113
def fixture_path; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/test_fixtures.rb#121
+ # source://activerecord//lib/active_record/test_fixtures.rb#122
def run_in_transaction?; end
- # source://activerecord//lib/active_record/test_fixtures.rb#126
+ # source://activerecord//lib/active_record/test_fixtures.rb#127
def setup_fixtures(config = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/test_fixtures.rb#188
+ # source://activerecord//lib/active_record/test_fixtures.rb#189
def teardown_fixtures; end
private
- # source://activerecord//lib/active_record/test_fixtures.rb#290
+ # source://activerecord//lib/active_record/test_fixtures.rb#291
def access_fixture(fs_name, *fixture_names); end
- # source://activerecord//lib/active_record/test_fixtures.rb#258
+ # source://activerecord//lib/active_record/test_fixtures.rb#259
def instantiate_fixtures; end
- # source://activerecord//lib/active_record/test_fixtures.rb#254
+ # source://activerecord//lib/active_record/test_fixtures.rb#255
def load_fixtures(config); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/test_fixtures.rb#270
+ # source://activerecord//lib/active_record/test_fixtures.rb#271
def load_instances?; end
- # source://activerecord//lib/active_record/test_fixtures.rb#274
+ # source://activerecord//lib/active_record/test_fixtures.rb#275
def method_missing(name, *args, **kwargs, &block); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/test_fixtures.rb#282
+ # source://activerecord//lib/active_record/test_fixtures.rb#283
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
# Shares the writing connection pool with connections on
@@ -38561,10 +38618,10 @@ module ActiveRecord::TestFixtures
# need to share a connection pool so that the reading connection
# can see data in the open transaction on the writing connection.
#
- # source://activerecord//lib/active_record/test_fixtures.rb#218
+ # source://activerecord//lib/active_record/test_fixtures.rb#219
def setup_shared_connection_pool; end
- # source://activerecord//lib/active_record/test_fixtures.rb#237
+ # source://activerecord//lib/active_record/test_fixtures.rb#238
def teardown_shared_connection_pool; end
module GeneratedClassMethods
@@ -38621,15 +38678,15 @@ module ActiveRecord::TestFixtures
end
end
-# source://activerecord//lib/active_record/test_fixtures.rb#42
+# source://activerecord//lib/active_record/test_fixtures.rb#43
module ActiveRecord::TestFixtures::ClassMethods
- # source://activerecord//lib/active_record/test_fixtures.rb#55
+ # source://activerecord//lib/active_record/test_fixtures.rb#56
def fixture_path; end
- # source://activerecord//lib/active_record/test_fixtures.rb#64
+ # source://activerecord//lib/active_record/test_fixtures.rb#65
def fixture_path=(path); end
- # source://activerecord//lib/active_record/test_fixtures.rb#69
+ # source://activerecord//lib/active_record/test_fixtures.rb#70
def fixtures(*fixture_set_names); end
# Sets the model class for a fixture when the class name cannot be inferred from the fixture name.
@@ -38641,22 +38698,22 @@ module ActiveRecord::TestFixtures::ClassMethods
#
# The keys must be the fixture names, that coincide with the short paths to the fixture files.
#
- # source://activerecord//lib/active_record/test_fixtures.rb#51
+ # source://activerecord//lib/active_record/test_fixtures.rb#52
def set_fixture_class(class_names = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/test_fixtures.rb#85
+ # source://activerecord//lib/active_record/test_fixtures.rb#86
def setup_fixture_accessors(fixture_set_names = T.unsafe(nil)); end
# Prevents automatically wrapping each specified test in a transaction,
# to allow application logic transactions to be tested in a top-level
# (non-nested) context.
#
- # source://activerecord//lib/active_record/test_fixtures.rb#101
+ # source://activerecord//lib/active_record/test_fixtures.rb#102
def uses_transaction(*methods); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/test_fixtures.rb#106
+ # source://activerecord//lib/active_record/test_fixtures.rb#107
def uses_transaction?(method); end
end
@@ -38726,47 +38783,47 @@ module ActiveRecord::Timestamp
private
- # source://activerecord//lib/active_record/timestamp.rb#105
+ # source://activerecord//lib/active_record/timestamp.rb#107
def _create_record; end
- # source://activerecord//lib/active_record/timestamp.rb#117
+ # source://activerecord//lib/active_record/timestamp.rb#119
def _update_record; end
- # source://activerecord//lib/active_record/timestamp.rb#153
+ # source://activerecord//lib/active_record/timestamp.rb#155
def all_timestamp_attributes_in_model; end
# Clear attributes and changed_attributes
#
- # source://activerecord//lib/active_record/timestamp.rb#168
+ # source://activerecord//lib/active_record/timestamp.rb#170
def clear_timestamp_attributes; end
- # source://activerecord//lib/active_record/timestamp.rb#123
+ # source://activerecord//lib/active_record/timestamp.rb#125
def create_or_update(touch: T.unsafe(nil), **_arg1); end
- # source://activerecord//lib/active_record/timestamp.rb#157
+ # source://activerecord//lib/active_record/timestamp.rb#159
def current_time_from_proper_timezone; end
- # source://activerecord//lib/active_record/timestamp.rb#100
+ # source://activerecord//lib/active_record/timestamp.rb#102
def init_internals; end
# source://activerecord//lib/active_record/timestamp.rb#50
def initialize_dup(other); end
- # source://activerecord//lib/active_record/timestamp.rb#161
+ # source://activerecord//lib/active_record/timestamp.rb#163
def max_updated_column_timestamp; end
- # source://activerecord//lib/active_record/timestamp.rb#128
+ # source://activerecord//lib/active_record/timestamp.rb#130
def record_update_timestamps; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/timestamp.rb#141
+ # source://activerecord//lib/active_record/timestamp.rb#143
def should_record_timestamps?; end
- # source://activerecord//lib/active_record/timestamp.rb#145
+ # source://activerecord//lib/active_record/timestamp.rb#147
def timestamp_attributes_for_create_in_model; end
- # source://activerecord//lib/active_record/timestamp.rb#149
+ # source://activerecord//lib/active_record/timestamp.rb#151
def timestamp_attributes_for_update_in_model; end
module GeneratedClassMethods
@@ -38784,16 +38841,16 @@ end
# source://activerecord//lib/active_record/timestamp.rb#55
module ActiveRecord::Timestamp::ClassMethods
- # source://activerecord//lib/active_record/timestamp.rb#72
+ # source://activerecord//lib/active_record/timestamp.rb#74
def all_timestamp_attributes_in_model; end
- # source://activerecord//lib/active_record/timestamp.rb#77
+ # source://activerecord//lib/active_record/timestamp.rb#79
def current_time_from_proper_timezone; end
- # source://activerecord//lib/active_record/timestamp.rb#62
+ # source://activerecord//lib/active_record/timestamp.rb#64
def timestamp_attributes_for_create_in_model; end
- # source://activerecord//lib/active_record/timestamp.rb#67
+ # source://activerecord//lib/active_record/timestamp.rb#69
def timestamp_attributes_for_update_in_model; end
# source://activerecord//lib/active_record/timestamp.rb#56
@@ -38801,15 +38858,15 @@ module ActiveRecord::Timestamp::ClassMethods
protected
- # source://activerecord//lib/active_record/timestamp.rb#82
+ # source://activerecord//lib/active_record/timestamp.rb#84
def reload_schema_from_cache(recursive = T.unsafe(nil)); end
private
- # source://activerecord//lib/active_record/timestamp.rb#90
+ # source://activerecord//lib/active_record/timestamp.rb#92
def timestamp_attributes_for_create; end
- # source://activerecord//lib/active_record/timestamp.rb#94
+ # source://activerecord//lib/active_record/timestamp.rb#96
def timestamp_attributes_for_update; end
end
@@ -43438,24 +43495,24 @@ class Arel::TreeManager
# Returns the value of attribute ast.
#
- # source://activerecord//lib/arel/tree_manager.rb#41
+ # source://activerecord//lib/arel/tree_manager.rb#45
def ast; end
- # source://activerecord//lib/arel/tree_manager.rb#43
+ # source://activerecord//lib/arel/tree_manager.rb#47
def to_dot; end
- # source://activerecord//lib/arel/tree_manager.rb#49
+ # source://activerecord//lib/arel/tree_manager.rb#53
def to_sql(engine = T.unsafe(nil)); end
private
- # source://activerecord//lib/arel/tree_manager.rb#55
+ # source://activerecord//lib/arel/tree_manager.rb#59
def initialize_copy(other); end
end
# source://activerecord//lib/arel/tree_manager.rb#7
module Arel::TreeManager::StatementMethods
- # source://activerecord//lib/arel/tree_manager.rb#27
+ # source://activerecord//lib/arel/tree_manager.rb#31
def key; end
# source://activerecord//lib/arel/tree_manager.rb#23
@@ -43470,10 +43527,10 @@ module Arel::TreeManager::StatementMethods
# source://activerecord//lib/arel/tree_manager.rb#8
def take(limit); end
- # source://activerecord//lib/arel/tree_manager.rb#35
+ # source://activerecord//lib/arel/tree_manager.rb#39
def where(expr); end
- # source://activerecord//lib/arel/tree_manager.rb#31
+ # source://activerecord//lib/arel/tree_manager.rb#35
def wheres=(exprs); end
end
@@ -43906,7 +43963,7 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor
private
- # source://activerecord//lib/arel/visitors/to_sql.rb#982
+ # source://activerecord//lib/arel/visitors/to_sql.rb#983
def aggregate(name, o, collector); end
# source://activerecord//lib/arel/visitors/to_sql.rb#759
@@ -43914,10 +43971,10 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor
# FIXME: we should probably have a 2-pass visitor for this
#
- # source://activerecord//lib/arel/visitors/to_sql.rb#945
+ # source://activerecord//lib/arel/visitors/to_sql.rb#946
def build_subselect(key, o); end
- # source://activerecord//lib/arel/visitors/to_sql.rb#1009
+ # source://activerecord//lib/arel/visitors/to_sql.rb#1010
def collect_ctes(children, collector); end
# source://activerecord//lib/arel/visitors/to_sql.rb#176
@@ -43941,16 +43998,16 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor
# source://activerecord//lib/arel/visitors/to_sql.rb#916
def has_limit_or_offset_or_orders?(o); end
- # source://activerecord//lib/arel/visitors/to_sql.rb#959
+ # source://activerecord//lib/arel/visitors/to_sql.rb#960
def infix_value(o, collector, value); end
- # source://activerecord//lib/arel/visitors/to_sql.rb#965
+ # source://activerecord//lib/arel/visitors/to_sql.rb#966
def infix_value_with_paren(o, collector, value, suppress_parens = T.unsafe(nil)); end
# source://activerecord//lib/arel/visitors/to_sql.rb#900
def inject_join(list, collector, join_str); end
- # source://activerecord//lib/arel/visitors/to_sql.rb#996
+ # source://activerecord//lib/arel/visitors/to_sql.rb#997
def is_distinct_from(o, collector); end
# source://activerecord//lib/arel/visitors/to_sql.rb#894
diff --git a/sorbet/rbi/gems/activestorage@7.1.3.4.rbi b/sorbet/rbi/gems/activestorage@7.1.5.2.rbi
similarity index 73%
rename from sorbet/rbi/gems/activestorage@7.1.3.4.rbi
rename to sorbet/rbi/gems/activestorage@7.1.5.2.rbi
index f6212031c..1bc09a253 100644
--- a/sorbet/rbi/gems/activestorage@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/activestorage@7.1.5.2.rbi
@@ -11,100 +11,100 @@ class ActiveRecord::Base
include ::ActiveModel::AttributeAssignment
include ::ActiveModel::Serialization
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _before_commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _create_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _destroy_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _find_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _initialize_callbacks; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _rollback_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_before_commit_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_commit_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_create_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_destroy_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_find_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_initialize_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_rollback_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_save_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_touch_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_update_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_validate_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_validation_callbacks(&block); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _save_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _touch_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _update_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _validate_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _validation_callbacks; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#12
def aggregate_reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#12
def aggregate_reflections?; end
# source://activestorage//lib/active_storage/reflection.rb#53
@@ -113,397 +113,397 @@ class ActiveRecord::Base
# source://activestorage//lib/active_storage/reflection.rb#53
def attachment_reflections?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns?; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#13
def automatic_scope_inversing; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#13
def automatic_scope_inversing?; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#16
def cache_timestamp_format; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#16
def cache_timestamp_format?; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#24
def cache_versioning; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#24
def cache_versioning?; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#32
def collection_cache_versioning; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#32
def collection_cache_versioning?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#178
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#178
def column_for_attribute(name, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#97
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#97
def default_connection_handler; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#97
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#97
def default_connection_handler?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#99
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#99
def default_role; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#99
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#99
def default_role?; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#20
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/default.rb#20
def default_scope_override; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/default.rb#19
def default_scopes; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#101
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#101
def default_shard; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#101
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#101
def default_shard?; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#47
def destroy_association_async_batch_size; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#37
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#37
def destroy_association_async_job(&block); end
- # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes=(_arg0); end
- # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes?; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json?; end
- # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56
+ # source://activerecord/7.1.5.2/lib/active_record/locking/optimistic.rb#56
def lock_optimistically; end
- # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56
+ # source://activerecord/7.1.5.2/lib/active_record/locking/optimistic.rb#56
def lock_optimistically?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#22
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#22
def logger; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#22
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#22
def logger?; end
- # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.5.2/lib/active_model/naming.rb#255
def model_name(&block); end
- # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15
+ # source://activerecord/7.1.5.2/lib/active_record/nested_attributes.rb#15
def nested_attributes_options; end
- # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15
+ # source://activerecord/7.1.5.2/lib/active_record/nested_attributes.rb#15
def nested_attributes_options?; end
- # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8
+ # source://activerecord/7.1.5.2/lib/active_record/normalization.rb#8
def normalized_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8
+ # source://activerecord/7.1.5.2/lib/active_record/normalization.rb#8
def normalized_attributes=(_arg0); end
- # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8
+ # source://activerecord/7.1.5.2/lib/active_record/normalization.rb#8
def normalized_attributes?; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(_arg0); end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#50
def partial_inserts; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#50
def partial_inserts?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#49
def partial_updates; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#49
def partial_updates?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#163
def pluralize_table_names; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#163
def pluralize_table_names?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#158
def primary_key_prefix_type; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#158
def primary_key_prefix_type?; end
- # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/timestamp.rb#47
def record_timestamps; end
- # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/timestamp.rb#47
def record_timestamps=(_arg0); end
- # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/timestamp.rb#47
def record_timestamps?; end
- # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/signed_id.rb#13
def signed_id_verifier_secret; end
- # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/signed_id.rb#13
def signed_id_verifier_secret?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes?; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#43
def store_full_class_name; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#43
def store_full_class_name?; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#47
def store_full_sti_class; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#47
def store_full_sti_class?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#159
def table_name_prefix; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#159
def table_name_prefix?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#160
def table_name_suffix; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#160
def table_name_suffix?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#178
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#178
def type_for_attribute(attr_name, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context; end
private
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#67
def validation_context=(_arg0); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activerecord/7.1.3.4/lib/active_record/readonly_attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/readonly_attributes.rb#11
def _attr_readonly; end
- # source://activerecord/7.1.3.4/lib/active_record/readonly_attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/readonly_attributes.rb#11
def _attr_readonly=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/readonly_attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/readonly_attributes.rb#11
def _attr_readonly?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _before_commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _before_commit_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _commit_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _commit_callbacks=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/counter_cache.rb#9
+ # source://activerecord/7.1.5.2/lib/active_record/counter_cache.rb#9
def _counter_cache_columns; end
- # source://activerecord/7.1.3.4/lib/active_record/counter_cache.rb#9
+ # source://activerecord/7.1.5.2/lib/active_record/counter_cache.rb#9
def _counter_cache_columns=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/counter_cache.rb#9
+ # source://activerecord/7.1.5.2/lib/active_record/counter_cache.rb#9
def _counter_cache_columns?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _create_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _create_callbacks=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#24
def _destroy_association_async_job; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#24
def _destroy_association_async_job=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#24
def _destroy_association_async_job?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _destroy_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _destroy_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _find_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _find_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _initialize_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _initialize_callbacks=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _rollback_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _rollback_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _save_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _save_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _touch_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _touch_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _update_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _update_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _validate_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _validate_callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _validation_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _validation_callbacks=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators?; end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_create(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_destroy(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_find(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_initialize(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_save(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_touch(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#144
def after_update(*args, **options, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#12
def aggregate_reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#12
def aggregate_reflections=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#12
def aggregate_reflections?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#105
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#105
def application_record_class?; end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_create(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_destroy(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_save(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#137
def around_update(*args, **options, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#125
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#125
def asynchronous_queries_session; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#129
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#129
def asynchronous_queries_tracker; end
# source://activestorage//lib/active_storage/reflection.rb#53
@@ -515,495 +515,495 @@ class ActiveRecord::Base
# source://activestorage//lib/active_storage/reflection.rb#53
def attachment_reflections?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#72
def attribute_aliases?; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns; end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.5.2/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns?; end
- # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
- # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads?; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#13
def automatic_scope_inversing; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#13
def automatic_scope_inversing=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#13
def automatic_scope_inversing?; end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_create(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_destroy(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_save(*args, **options, &block); end
- # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.5.2/lib/active_model/callbacks.rb#130
def before_update(*args, **options, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#89
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#89
def belongs_to_required_by_default; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#89
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#89
def belongs_to_required_by_default=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#89
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#89
def belongs_to_required_by_default?; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#16
def cache_timestamp_format; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#16
def cache_timestamp_format=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#16
def cache_timestamp_format?; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#24
def cache_versioning; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#24
def cache_versioning=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#24
def cache_versioning?; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#32
def collection_cache_versioning; end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#32
def collection_cache_versioning=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/integration.rb#32
def collection_cache_versioning?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#77
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#77
def configurations; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#71
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#71
def configurations=(config); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#189
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#189
def connected_to_stack; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#203
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#203
def connection_class; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#199
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#199
def connection_class=(b); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#207
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#207
def connection_class?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#211
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#211
def connection_class_for_self; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#117
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#117
def connection_handler; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#121
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#121
def connection_handler=(handler); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#180
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#180
def current_preventing_writes; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#143
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#143
def current_role; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#161
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#161
def current_shard; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/serialization.rb#20
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/serialization.rb#20
def default_column_serializer; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/serialization.rb#20
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/serialization.rb#20
def default_column_serializer=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/serialization.rb#20
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/serialization.rb#20
def default_column_serializer?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#97
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#97
def default_connection_handler; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#97
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#97
def default_connection_handler=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#97
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#97
def default_connection_handler?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#99
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#99
def default_role; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#99
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#99
def default_role=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#99
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#99
def default_role?; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#20
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/default.rb#20
def default_scope_override; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#20
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/default.rb#20
def default_scope_override=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/default.rb#19
def default_scopes; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/default.rb#19
def default_scopes=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#101
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#101
def default_shard; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#101
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#101
def default_shard=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#101
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#101
def default_shard?; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#47
def destroy_association_async_batch_size; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#47
def destroy_association_async_batch_size=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#27
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#27
def destroy_association_async_job; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#24
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#24
def destroy_association_async_job=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#87
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#87
def enumerate_columns_in_select_statements; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#87
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#87
def enumerate_columns_in_select_statements=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#87
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#87
def enumerate_columns_in_select_statements?; end
- # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/token_for.rb#11
def generated_token_verifier; end
- # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/token_for.rb#11
def generated_token_verifier=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#93
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#93
def has_many_inversing; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#93
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#93
def has_many_inversing=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#93
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#93
def has_many_inversing?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#165
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#165
def immutable_strings_by_default; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#165
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#165
def immutable_strings_by_default=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#165
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#165
def immutable_strings_by_default?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#164
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#164
def implicit_order_column; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#164
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#164
def implicit_order_column=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#164
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#164
def implicit_order_column?; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json; end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.5.2/lib/active_model/serializers/json.rb#15
def include_root_in_json?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#167
def inheritance_column; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#321
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#321
def inheritance_column=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#167
def inheritance_column?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#162
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#162
def internal_metadata_table_name; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#162
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#162
def internal_metadata_table_name=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#162
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#162
def internal_metadata_table_name?; end
- # source://activerecord/7.1.3.4/lib/active_record/store.rb#101
+ # source://activerecord/7.1.5.2/lib/active_record/store.rb#101
def local_stored_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/store.rb#101
+ # source://activerecord/7.1.5.2/lib/active_record/store.rb#101
def local_stored_attributes=(_arg0); end
- # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56
+ # source://activerecord/7.1.5.2/lib/active_record/locking/optimistic.rb#56
def lock_optimistically; end
- # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56
+ # source://activerecord/7.1.5.2/lib/active_record/locking/optimistic.rb#56
def lock_optimistically=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56
+ # source://activerecord/7.1.5.2/lib/active_record/locking/optimistic.rb#56
def lock_optimistically?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#22
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#22
def logger; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#22
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#22
def logger=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#22
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#22
def logger?; end
- # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15
+ # source://activerecord/7.1.5.2/lib/active_record/nested_attributes.rb#15
def nested_attributes_options; end
- # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15
+ # source://activerecord/7.1.5.2/lib/active_record/nested_attributes.rb#15
def nested_attributes_options=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15
+ # source://activerecord/7.1.5.2/lib/active_record/nested_attributes.rb#15
def nested_attributes_options?; end
- # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8
+ # source://activerecord/7.1.5.2/lib/active_record/normalization.rb#8
def normalized_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8
+ # source://activerecord/7.1.5.2/lib/active_record/normalization.rb#8
def normalized_attributes=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8
+ # source://activerecord/7.1.5.2/lib/active_record/normalization.rb#8
def normalized_attributes?; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter; end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter=(value); end
- # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.5.2/lib/active_model/conversion.rb#32
def param_delimiter?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#50
def partial_inserts; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#50
def partial_inserts=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#50
def partial_inserts?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#49
def partial_updates; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#49
def partial_updates=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/dirty.rb#49
def partial_updates?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#163
def pluralize_table_names; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#163
def pluralize_table_names=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#163
def pluralize_table_names?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#158
def primary_key_prefix_type; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#158
def primary_key_prefix_type=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#158
def primary_key_prefix_type?; end
- # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/timestamp.rb#47
def record_timestamps; end
- # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/timestamp.rb#47
def record_timestamps=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/timestamp.rb#47
def record_timestamps?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#95
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#95
def run_commit_callbacks_on_first_saved_instances_in_transaction; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#95
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#95
def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#95
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#95
def run_commit_callbacks_on_first_saved_instances_in_transaction?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#161
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#161
def schema_migrations_table_name; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#161
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#161
def schema_migrations_table_name=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#161
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#161
def schema_migrations_table_name?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#103
def shard_selector; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#103
def shard_selector=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#103
def shard_selector?; end
- # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/signed_id.rb#13
def signed_id_verifier_secret; end
- # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/signed_id.rb#13
def signed_id_verifier_secret=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13
+ # source://activerecord/7.1.5.2/lib/active_record/signed_id.rb#13
def signed_id_verifier_secret?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#71
def skip_time_zone_conversion_for_attributes?; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#43
def store_full_class_name; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#43
def store_full_class_name=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#43
def store_full_class_name?; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#47
def store_full_sti_class; end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#47
def store_full_sti_class=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47
+ # source://activerecord/7.1.5.2/lib/active_record/inheritance.rb#47
def store_full_sti_class?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#91
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#91
def strict_loading_by_default; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#91
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#91
def strict_loading_by_default=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#91
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#91
def strict_loading_by_default?; end
- # source://activerecord/7.1.3.4/lib/active_record/core.rb#226
+ # source://activerecord/7.1.5.2/lib/active_record/core.rb#226
def strict_loading_violation!(owner:, reflection:); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#159
def table_name_prefix; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#159
def table_name_prefix=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#159
def table_name_prefix?; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#160
def table_name_suffix; end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#160
def table_name_suffix=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#160
def table_name_suffix?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#70
def time_zone_aware_attributes?; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types; end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68
+ # source://activerecord/7.1.5.2/lib/active_record/attribute_methods/time_zone_conversion.rb#72
def time_zone_aware_types?; end
- # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#10
+ # source://activerecord/7.1.5.2/lib/active_record/token_for.rb#10
def token_definitions; end
- # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#10
+ # source://activerecord/7.1.5.2/lib/active_record/token_for.rb#10
def token_definitions=(value); end
private
- # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/model_schema.rb#167
def _inheritance_column=(value); end
end
end
# :markup: markdown
-# :include: activestorage/README.md
+# :include: ../README.md
#
# source://activestorage//lib/active_storage/gem_version.rb#3
module ActiveStorage
@@ -1033,10 +1033,10 @@ module ActiveStorage
# source://activestorage//lib/active_storage.rb#62
def content_types_to_serve_as_binary=(val); end
- # source://activestorage//lib/active_storage.rb#360
+ # source://activestorage//lib/active_storage.rb#357
def draw_routes; end
- # source://activestorage//lib/active_storage.rb#360
+ # source://activestorage//lib/active_storage.rb#357
def draw_routes=(val); end
# source://activestorage//lib/active_storage.rb#48
@@ -1063,22 +1063,22 @@ module ActiveStorage
# source://activestorage//lib/active_storage.rb#52
def queues=(val); end
- # source://activestorage//lib/active_storage.rb#361
+ # source://activestorage//lib/active_storage.rb#358
def resolve_model_to_route; end
- # source://activestorage//lib/active_storage.rb#361
+ # source://activestorage//lib/active_storage.rb#358
def resolve_model_to_route=(val); end
- # source://activestorage//lib/active_storage.rb#359
+ # source://activestorage//lib/active_storage.rb#356
def routes_prefix; end
- # source://activestorage//lib/active_storage.rb#359
+ # source://activestorage//lib/active_storage.rb#356
def routes_prefix=(val); end
- # source://activestorage//lib/active_storage.rb#356
+ # source://activestorage//lib/active_storage.rb#353
def service_urls_expire_in; end
- # source://activestorage//lib/active_storage.rb#356
+ # source://activestorage//lib/active_storage.rb#353
def service_urls_expire_in=(val); end
# source://activestorage//lib/active_storage.rb#65
@@ -1087,22 +1087,22 @@ module ActiveStorage
# source://activestorage//lib/active_storage.rb#65
def supported_image_processing_methods=(val); end
- # source://activestorage//lib/active_storage.rb#363
+ # source://activestorage//lib/active_storage.rb#360
def track_variants; end
- # source://activestorage//lib/active_storage.rb#363
+ # source://activestorage//lib/active_storage.rb#360
def track_variants=(val); end
- # source://activestorage//lib/active_storage.rb#354
+ # source://activestorage//lib/active_storage.rb#351
def unsupported_image_processing_arguments; end
- # source://activestorage//lib/active_storage.rb#354
+ # source://activestorage//lib/active_storage.rb#351
def unsupported_image_processing_arguments=(val); end
- # source://activestorage//lib/active_storage.rb#357
+ # source://activestorage//lib/active_storage.rb#354
def urls_expire_in; end
- # source://activestorage//lib/active_storage.rb#357
+ # source://activestorage//lib/active_storage.rb#354
def urls_expire_in=(val); end
# source://activestorage//lib/active_storage.rb#59
@@ -1123,10 +1123,10 @@ module ActiveStorage
# source://activestorage//lib/active_storage.rb#49
def verifier=(val); end
- # source://activestorage//lib/active_storage.rb#365
+ # source://activestorage//lib/active_storage.rb#362
def video_preview_arguments; end
- # source://activestorage//lib/active_storage.rb#365
+ # source://activestorage//lib/active_storage.rb#362
def video_preview_arguments=(val); end
# source://activestorage//lib/active_storage.rb#60
@@ -1163,10 +1163,10 @@ module ActiveStorage
# source://activestorage//lib/active_storage/deprecator.rb#4
def deprecator; end
- # source://activestorage//lib/active_storage.rb#360
+ # source://activestorage//lib/active_storage.rb#357
def draw_routes; end
- # source://activestorage//lib/active_storage.rb#360
+ # source://activestorage//lib/active_storage.rb#357
def draw_routes=(val); end
# Returns the currently loaded version of Active Storage as a +Gem::Version+.
@@ -1198,43 +1198,43 @@ module ActiveStorage
# source://activestorage//lib/active_storage.rb#52
def queues=(val); end
- # source://railties/7.1.3.4/lib/rails/engine.rb#412
+ # source://railties/7.1.5.2/lib/rails/engine.rb#412
def railtie_helpers_paths; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#395
+ # source://railties/7.1.5.2/lib/rails/engine.rb#395
def railtie_namespace; end
- # source://railties/7.1.3.4/lib/rails/engine.rb#416
+ # source://railties/7.1.5.2/lib/rails/engine.rb#416
def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
- # source://activestorage//lib/active_storage.rb#367
+ # source://activestorage//lib/active_storage.rb#364
def replace_on_assign_to_many; end
- # source://activestorage//lib/active_storage.rb#371
+ # source://activestorage//lib/active_storage.rb#368
def replace_on_assign_to_many=(value); end
- # source://activestorage//lib/active_storage.rb#361
+ # source://activestorage//lib/active_storage.rb#358
def resolve_model_to_route; end
- # source://activestorage//lib/active_storage.rb#361
+ # source://activestorage//lib/active_storage.rb#358
def resolve_model_to_route=(val); end
- # source://activestorage//lib/active_storage.rb#359
+ # source://activestorage//lib/active_storage.rb#356
def routes_prefix; end
- # source://activestorage//lib/active_storage.rb#359
+ # source://activestorage//lib/active_storage.rb#356
def routes_prefix=(val); end
- # source://activestorage//lib/active_storage.rb#356
+ # source://activestorage//lib/active_storage.rb#353
def service_urls_expire_in; end
- # source://activestorage//lib/active_storage.rb#356
+ # source://activestorage//lib/active_storage.rb#353
def service_urls_expire_in=(val); end
- # source://activestorage//lib/active_storage.rb#375
+ # source://activestorage//lib/active_storage.rb#372
def silence_invalid_content_types_warning; end
- # source://activestorage//lib/active_storage.rb#379
+ # source://activestorage//lib/active_storage.rb#376
def silence_invalid_content_types_warning=(value); end
# source://activestorage//lib/active_storage.rb#65
@@ -1243,28 +1243,28 @@ module ActiveStorage
# source://activestorage//lib/active_storage.rb#65
def supported_image_processing_methods=(val); end
- # source://railties/7.1.3.4/lib/rails/engine.rb#401
+ # source://railties/7.1.5.2/lib/rails/engine.rb#401
def table_name_prefix; end
- # source://activestorage//lib/active_storage.rb#363
+ # source://activestorage//lib/active_storage.rb#360
def track_variants; end
- # source://activestorage//lib/active_storage.rb#363
+ # source://activestorage//lib/active_storage.rb#360
def track_variants=(val); end
- # source://activestorage//lib/active_storage.rb#354
+ # source://activestorage//lib/active_storage.rb#351
def unsupported_image_processing_arguments; end
- # source://activestorage//lib/active_storage.rb#354
+ # source://activestorage//lib/active_storage.rb#351
def unsupported_image_processing_arguments=(val); end
- # source://activestorage//lib/active_storage.rb#357
+ # source://activestorage//lib/active_storage.rb#354
def urls_expire_in; end
- # source://activestorage//lib/active_storage.rb#357
+ # source://activestorage//lib/active_storage.rb#354
def urls_expire_in=(val); end
- # source://railties/7.1.3.4/lib/rails/engine.rb#408
+ # source://railties/7.1.5.2/lib/rails/engine.rb#408
def use_relative_model_naming?; end
# source://activestorage//lib/active_storage.rb#59
@@ -1290,10 +1290,10 @@ module ActiveStorage
# source://activestorage//lib/active_storage/version.rb#7
def version; end
- # source://activestorage//lib/active_storage.rb#365
+ # source://activestorage//lib/active_storage.rb#362
def video_preview_arguments; end
- # source://activestorage//lib/active_storage.rb#365
+ # source://activestorage//lib/active_storage.rb#362
def video_preview_arguments=(val); end
# source://activestorage//lib/active_storage.rb#60
@@ -1308,10 +1308,10 @@ class ActiveStorage::AnalyzeJob < ::ActiveStorage::BaseJob
def perform(blob); end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -1841,7 +1841,7 @@ class ActiveStorage::Attached::Many < ::ActiveStorage::Attached
# source://activestorage//lib/active_storage/attached/many.rb#25
def detach(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#354
def method_missing(method, *args, **_arg2, &block); end
# source://activestorage//lib/active_storage/attached/many.rb#13
@@ -1858,7 +1858,7 @@ class ActiveStorage::Attached::Many < ::ActiveStorage::Attached
# source://activestorage//lib/active_storage/attached/many.rb#71
def purge_many; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#346
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
end
@@ -1868,35 +1868,35 @@ module ActiveStorage::Attached::Model
mixes_in_class_methods ::ActiveStorage::Attached::Model::ClassMethods
- # source://activestorage//lib/active_storage/attached/model.rb#251
+ # source://activestorage//lib/active_storage/attached/model.rb#255
def attachment_changes; end
- # source://activestorage//lib/active_storage/attached/model.rb#255
+ # source://activestorage//lib/active_storage/attached/model.rb#259
def changed_for_autosave?; end
- # source://activestorage//lib/active_storage/attached/model.rb#265
+ # source://activestorage//lib/active_storage/attached/model.rb#269
def reload(*_arg0); end
private
- # source://activestorage//lib/active_storage/attached/model.rb#259
+ # source://activestorage//lib/active_storage/attached/model.rb#263
def initialize_dup(*_arg0); end
end
# source://activestorage//lib/active_storage/attached/model.rb#0
module ActiveStorage::Attached::Model::ClassMethods
- # source://activestorage//lib/active_storage/attached/model.rb#182
+ # source://activestorage//lib/active_storage/attached/model.rb#186
def has_many_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end
- # source://activestorage//lib/active_storage/attached/model.rb#94
+ # source://activestorage//lib/active_storage/attached/model.rb#96
def has_one_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end
private
- # source://activestorage//lib/active_storage/attached/model.rb#244
+ # source://activestorage//lib/active_storage/attached/model.rb#248
def validate_global_service_configuration; end
- # source://activestorage//lib/active_storage/attached/model.rb#234
+ # source://activestorage//lib/active_storage/attached/model.rb#238
def validate_service_configuration(association_name, service); end
end
@@ -1917,7 +1917,7 @@ class ActiveStorage::Attached::One < ::ActiveStorage::Attached
# source://activestorage//lib/active_storage/attached/one.rb#25
def detach(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#332
def method_missing(method, *args, **_arg2, &block); end
# source://activestorage//lib/active_storage/attached/one.rb#13
@@ -1934,7 +1934,7 @@ class ActiveStorage::Attached::One < ::ActiveStorage::Attached
# source://activestorage//lib/active_storage/attached/one.rb#78
def purge_one; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#324
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
end
@@ -1942,13 +1942,13 @@ class ActiveStorage::Attachment < ::ActiveStorage::Record
include ::ActiveStorage::Attachment::GeneratedAttributeMethods
include ::ActiveStorage::Attachment::GeneratedAssociationMethods
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_blob(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_record(*args); end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#354
def method_missing(method, *args, **_arg2, &block); end
def preview(transformations); end
@@ -1957,7 +1957,7 @@ class ActiveStorage::Attachment < ::ActiveStorage::Record
def representation(transformations); end
def signed_id(*_arg0, **_arg1, &_arg2); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def validate_associated_records_for_blob(*args); end
def variant(transformations); end
@@ -1970,74 +1970,74 @@ class ActiveStorage::Attachment < ::ActiveStorage::Record
def named_variants; end
def purge_dependent_blob_later; end
- # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.5.2/lib/active_support/core_ext/module/delegation.rb#346
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
def transform_variants_later; end
def transformations_by_name(transformations); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def with_all_variant_records(*args, **_arg1); end
end
end
module ActiveStorage::Attachment::GeneratedAssociationMethods
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def blob=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#145
def blob_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#149
def blob_previously_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_blob!(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def record; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def record=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#145
def record_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#149
def record_previously_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_record; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_record; end
end
@@ -2048,17 +2048,17 @@ class ActiveStorage::BaseController < ::ActionController::Base
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.5.2/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2075,21 +2075,21 @@ class ActiveStorage::Blob < ::ActiveStorage::Record
include ::ActionText::Attachable
extend ::ActionText::Attachable::ClassMethods
- # source://actiontext/7.1.3.4/lib/action_text/engine.rb#47
+ # source://actiontext/7.1.5.2/lib/action_text/engine.rb#47
def attachable_plain_text_representation(caption = T.unsafe(nil)); end
def audio?; end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_attachments(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_preview_image_attachment(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_preview_image_blob(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_variant_records(*args); end
def compose(keys); end
@@ -2104,13 +2104,13 @@ class ActiveStorage::Blob < ::ActiveStorage::Record
def mirror_later; end
def open(tmpdir: T.unsafe(nil), &block); end
- # source://actiontext/7.1.3.4/lib/action_text/engine.rb#43
+ # source://actiontext/7.1.5.2/lib/action_text/engine.rb#43
def previewable_attachable?; end
def purge; end
def purge_later; end
- # source://activerecord/7.1.3.4/lib/active_record/secure_token.rb#53
+ # source://activerecord/7.1.5.2/lib/active_record/secure_token.rb#53
def regenerate_key; end
def service; end
@@ -2122,7 +2122,7 @@ class ActiveStorage::Blob < ::ActiveStorage::Record
def signed_id(purpose: T.unsafe(nil), expires_in: T.unsafe(nil), expires_at: T.unsafe(nil)); end
def text?; end
- # source://actiontext/7.1.3.4/lib/action_text/engine.rb#51
+ # source://actiontext/7.1.5.2/lib/action_text/engine.rb#51
def to_trix_content_attachment_partial_path; end
def unfurl(io, identify: T.unsafe(nil)); end
@@ -2130,10 +2130,10 @@ class ActiveStorage::Blob < ::ActiveStorage::Record
def upload_without_unfurling(io); end
def url(expires_in: T.unsafe(nil), disposition: T.unsafe(nil), filename: T.unsafe(nil), **options); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def validate_associated_records_for_attachments(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def validate_associated_records_for_variant_records(*args); end
def video?; end
@@ -2148,19 +2148,19 @@ class ActiveStorage::Blob < ::ActiveStorage::Record
def web_image?; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
# source://activestorage//lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
def build_after_unfurling(io:, filename:, key: T.unsafe(nil), content_type: T.unsafe(nil), metadata: T.unsafe(nil), service_name: T.unsafe(nil), identify: T.unsafe(nil), record: T.unsafe(nil)); end
@@ -2170,7 +2170,7 @@ class ActiveStorage::Blob < ::ActiveStorage::Record
def create_and_upload!(io:, filename:, key: T.unsafe(nil), content_type: T.unsafe(nil), metadata: T.unsafe(nil), service_name: T.unsafe(nil), identify: T.unsafe(nil), record: T.unsafe(nil)); end
def create_before_direct_upload!(filename:, byte_size:, checksum:, key: T.unsafe(nil), content_type: T.unsafe(nil), metadata: T.unsafe(nil), service_name: T.unsafe(nil), record: T.unsafe(nil)); end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
def find_signed(id, record: T.unsafe(nil), purpose: T.unsafe(nil)); end
@@ -2185,10 +2185,10 @@ class ActiveStorage::Blob < ::ActiveStorage::Record
def services?; end
def signed_id_verifier; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def unattached(*args, **_arg1); end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def with_attached_preview_image(*args, **_arg1); end
end
end
@@ -2206,76 +2206,76 @@ module ActiveStorage::Blob::Analyzable
end
module ActiveStorage::Blob::GeneratedAssociationMethods
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#62
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#62
def attachment_ids; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#72
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#72
def attachment_ids=(ids); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def attachments; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def attachments=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_preview_image_attachment(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_preview_image_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_preview_image_attachment(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_preview_image_attachment!(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_preview_image_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_preview_image_blob!(*args, &block); end
- # source://activestorage//lib/active_storage/attached/model.rb#99
+ # source://activestorage//lib/active_storage/attached/model.rb#101
def preview_image; end
- # source://activestorage//lib/active_storage/attached/model.rb#104
+ # source://activestorage//lib/active_storage/attached/model.rb#106
def preview_image=(attachable); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def preview_image_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def preview_image_attachment=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def preview_image_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def preview_image_blob=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_preview_image_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_preview_image_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_preview_image_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_preview_image_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#62
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#62
def variant_record_ids; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#72
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/collection_association.rb#72
def variant_record_ids=(ids); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def variant_records; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def variant_records=(value); end
end
@@ -2297,8 +2297,10 @@ ActiveStorage::Blob::MINIMUM_TOKEN_LENGTH = T.let(T.unsafe(nil), Integer)
module ActiveStorage::Blob::Representable
extend ::ActiveSupport::Concern
+ def create_preview_image_later(variations); end
def preprocessed(transformations); end
def preview(transformations); end
+ def preview_image_needed_before_processing_variants?; end
def previewable?; end
def representable?; end
def representation(transformations); end
@@ -2336,14 +2338,14 @@ class ActiveStorage::Blobs::ProxyController < ::ActiveStorage::BaseController
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2355,24 +2357,24 @@ class ActiveStorage::Blobs::RedirectController < ::ActiveStorage::BaseController
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
class ActiveStorage::Current < ::ActiveSupport::CurrentAttributes
class << self
- # source://activesupport/7.1.3.4/lib/active_support/current_attributes.rb#127
+ # source://activesupport/7.1.5.2/lib/active_support/current_attributes.rb#127
def url_options; end
- # source://activesupport/7.1.3.4/lib/active_support/current_attributes.rb#127
+ # source://activesupport/7.1.5.2/lib/active_support/current_attributes.rb#127
def url_options=(value); end
end
end
@@ -2382,14 +2384,14 @@ class ActiveStorage::DirectUploadsController < ::ActiveStorage::BaseController
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def blob_args; end
def direct_upload_json(blob); end
class << self
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2406,7 +2408,7 @@ class ActiveStorage::DiskController < ::ActiveStorage::BaseController
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def acceptable_content?(token); end
@@ -2415,10 +2417,10 @@ class ActiveStorage::DiskController < ::ActiveStorage::BaseController
def named_disk_service(name); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2453,7 +2455,7 @@ end
# source://activestorage//lib/active_storage/engine.rb#25
class ActiveStorage::Engine < ::Rails::Engine
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -2539,10 +2541,10 @@ class ActiveStorage::FixtureSet
include ::ActiveRecord::SecureToken
extend ::ActiveRecord::SecureToken::ClassMethods
- # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.5.2/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path; end
- # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.5.2/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path?; end
# source://activestorage//lib/active_storage/fixture_set.rb#70
@@ -2570,13 +2572,13 @@ class ActiveStorage::FixtureSet
# source://activestorage//lib/active_storage/fixture_set.rb#66
def blob(filename:, **attributes); end
- # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.5.2/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path; end
- # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.5.2/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.5.2/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path?; end
end
end
@@ -2640,7 +2642,7 @@ class ActiveStorage::LogSubscriber < ::ActiveSupport::LogSubscriber
def log_prefix_for_service(event); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.5.2/lib/active_support/log_subscriber.rb#88
def log_levels; end
end
end
@@ -2649,10 +2651,10 @@ class ActiveStorage::MirrorJob < ::ActiveStorage::BaseJob
def perform(key, checksum:); end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -2696,6 +2698,18 @@ class ActiveStorage::Preview::UnprocessedError < ::StandardError; end
# source://activestorage//lib/active_storage/errors.rb#28
class ActiveStorage::PreviewError < ::ActiveStorage::Error; end
+class ActiveStorage::PreviewImageJob < ::ActiveStorage::BaseJob
+ def perform(blob, variations); end
+
+ class << self
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
+ def queue_name; end
+
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
+ def rescue_handlers; end
+ end
+end
+
# = Active Storage \Previewer
#
# This is an abstract base class for previewers, which generate images from blobs. See
@@ -2847,10 +2861,10 @@ class ActiveStorage::PurgeJob < ::ActiveStorage::BaseJob
def perform(blob); end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -2863,10 +2877,10 @@ class ActiveStorage::Record < ::ActiveRecord::Base
extend ::Kaminari::ConfigurationMethods::ClassMethods
class << self
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
# source://kaminari-activerecord/1.2.2/lib/kaminari/activerecord/active_record_model_extension.rb#15
@@ -2962,17 +2976,17 @@ class ActiveStorage::Representations::BaseController < ::ActiveStorage::BaseCont
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def blob_scope; end
def set_representation; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2987,14 +3001,14 @@ class ActiveStorage::Representations::ProxyController < ::ActiveStorage::Represe
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -3004,11 +3018,11 @@ class ActiveStorage::Representations::RedirectController < ::ActiveStorage::Repr
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -3278,15 +3292,15 @@ class ActiveStorage::TransformJob < ::ActiveStorage::BaseJob
def perform(blob, transformations); end
class << self
- # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.5.2/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
-# source://activestorage//lib/active_storage.rb#383
+# source://activestorage//lib/active_storage.rb#380
module ActiveStorage::Transformers
extend ::ActiveSupport::Autoload
end
@@ -3387,110 +3401,110 @@ class ActiveStorage::VariantRecord < ::ActiveStorage::Record
include ::ActiveStorage::VariantRecord::GeneratedAttributeMethods
include ::ActiveStorage::VariantRecord::GeneratedAssociationMethods
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_blob(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_image_attachment(*args); end
- # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.5.2/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_image_blob(*args); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.5.2/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.5.2/lib/active_model/validations.rb#71
def _validators; end
# source://activestorage//lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.5.2/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.5.2/lib/active_record/scoping/named.rb#174
def with_attached_image(*args, **_arg1); end
end
end
module ActiveStorage::VariantRecord::GeneratedAssociationMethods
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def blob=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#145
def blob_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/belongs_to.rb#149
def blob_previously_changed?; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_image_attachment(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#32
def build_image_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_blob!(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_image_attachment(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_image_attachment!(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#36
def create_image_blob(*args, &block); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#40
def create_image_blob!(*args, &block); end
- # source://activestorage//lib/active_storage/attached/model.rb#99
+ # source://activestorage//lib/active_storage/attached/model.rb#101
def image; end
- # source://activestorage//lib/active_storage/attached/model.rb#104
+ # source://activestorage//lib/active_storage/attached/model.rb#106
def image=(attachable); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def image_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def image_attachment=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#103
def image_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/association.rb#111
def image_blob=(value); end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_image_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#19
def reload_image_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_blob; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_image_attachment; end
- # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.5.2/lib/active_record/associations/builder/singular_association.rb#23
def reset_image_blob; end
end
diff --git a/sorbet/rbi/gems/activesupport@7.1.3.4.rbi b/sorbet/rbi/gems/activesupport@7.1.5.2.rbi
similarity index 98%
rename from sorbet/rbi/gems/activesupport@7.1.3.4.rbi
rename to sorbet/rbi/gems/activesupport@7.1.5.2.rbi
index f0644df7d..544c827a2 100644
--- a/sorbet/rbi/gems/activesupport@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/activesupport@7.1.5.2.rbi
@@ -5,7 +5,7 @@
# Please instead update this file by running `bin/tapioca gem activesupport`.
-# :include: activesupport/README.rdoc
+# :include: ../README.rdoc
#
# source://activesupport//lib/active_support/deep_mergeable.rb#3
module ActiveSupport
@@ -303,7 +303,7 @@ class ActiveSupport::BacktraceCleaner
# # Will turn "/my/rails/root/app/models/person.rb" into "/app/models/person.rb"
# backtrace_cleaner.add_filter { |line| line.gsub(Rails.root.to_s, '') }
#
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#80
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#81
def add_filter(&block); end
# Adds a silencer from the block provided. If the silencer returns +true+
@@ -312,63 +312,66 @@ class ActiveSupport::BacktraceCleaner
# # Will reject all lines that include the word "puma", like "/gems/puma/server.rb" or "/app/my_puma_server/rb"
# backtrace_cleaner.add_silencer { |line| /puma/.match?(line) }
#
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#89
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#90
def add_silencer(&block); end
# Returns the backtrace after all filters and silencers have been run
# against it. Filters run first, then silencers.
#
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#43
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#44
def clean(backtrace, kind = T.unsafe(nil)); end
# Returns the frame with all filters applied.
# returns +nil+ if the frame was silenced.
#
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#59
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#60
def clean_frame(frame, kind = T.unsafe(nil)); end
# Returns the backtrace after all filters and silencers have been run
# against it. Filters run first, then silencers.
#
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#43
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#44
def filter(backtrace, kind = T.unsafe(nil)); end
# Removes all filters, but leaves in the silencers. Useful if you suddenly
# need to see entire filepaths in the backtrace that you had already
# filtered out.
#
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#103
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#104
def remove_filters!; end
# Removes all silencers, but leaves in the filters. Useful if your
# context of debugging suddenly expands as you suspect a bug in one of
# the libraries you use.
#
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#96
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#97
def remove_silencers!; end
private
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#110
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#120
+ def add_core_silencer; end
+
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#111
def add_gem_filter; end
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#119
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#124
def add_gem_silencer; end
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#123
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#128
def add_stdlib_silencer; end
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#127
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#132
def filter_backtrace(backtrace); end
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#143
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#148
def noise(backtrace); end
- # source://activesupport//lib/active_support/backtrace_cleaner.rb#135
+ # source://activesupport//lib/active_support/backtrace_cleaner.rb#140
def silence(backtrace); end
end
-# source://activesupport//lib/active_support/backtrace_cleaner.rb#108
+# source://activesupport//lib/active_support/backtrace_cleaner.rb#109
ActiveSupport::BacktraceCleaner::FORMATTED_GEMS_PATTERN = T.let(T.unsafe(nil), Regexp)
# = \Benchmarkable
@@ -500,7 +503,7 @@ class ActiveSupport::BroadcastLogger
def <<(message); end
# source://activesupport//lib/active_support/broadcast_logger.rb#116
- def add(*args, &block); end
+ def add(*_arg0, **_arg1, &_arg2); end
# Add logger(s) to the broadcast.
#
@@ -519,7 +522,7 @@ class ActiveSupport::BroadcastLogger
def close; end
# source://activesupport//lib/active_support/broadcast_logger.rb#121
- def debug(*args, &block); end
+ def debug(*_arg0, **_arg1, &_arg2); end
# Sets the log level to Logger::DEBUG for the whole broadcast.
#
@@ -535,7 +538,7 @@ class ActiveSupport::BroadcastLogger
def debug?; end
# source://activesupport//lib/active_support/broadcast_logger.rb#133
- def error(*args, &block); end
+ def error(*_arg0, **_arg1, &_arg2); end
# Sets the log level to Logger::ERROR for the whole broadcast.
#
@@ -551,7 +554,7 @@ class ActiveSupport::BroadcastLogger
def error?; end
# source://activesupport//lib/active_support/broadcast_logger.rb#137
- def fatal(*args, &block); end
+ def fatal(*_arg0, **_arg1, &_arg2); end
# Sets the log level to Logger::FATAL for the whole broadcast.
#
@@ -575,7 +578,7 @@ class ActiveSupport::BroadcastLogger
def formatter=(formatter); end
# source://activesupport//lib/active_support/broadcast_logger.rb#125
- def info(*args, &block); end
+ def info(*_arg0, **_arg1, &_arg2); end
# Sets the log level to Logger::INFO for the whole broadcast.
#
@@ -600,7 +603,7 @@ class ActiveSupport::BroadcastLogger
def local_level=(level); end
# source://activesupport//lib/active_support/broadcast_logger.rb#116
- def log(*args, &block); end
+ def log(*_arg0, **_arg1, &_arg2); end
# Returns the value of attribute progname.
#
@@ -635,10 +638,10 @@ class ActiveSupport::BroadcastLogger
def stop_broadcasting_to(logger); end
# source://activesupport//lib/active_support/broadcast_logger.rb#141
- def unknown(*args, &block); end
+ def unknown(*_arg0, **_arg1, &_arg2); end
# source://activesupport//lib/active_support/broadcast_logger.rb#129
- def warn(*args, &block); end
+ def warn(*_arg0, **_arg1, &_arg2); end
# Sets the log level to Logger::WARN for the whole broadcast.
#
@@ -661,12 +664,12 @@ class ActiveSupport::BroadcastLogger
# source://activesupport//lib/active_support/broadcast_logger.rb#221
def initialize_copy(other); end
- # source://activesupport//lib/active_support/broadcast_logger.rb#234
+ # source://activesupport//lib/active_support/broadcast_logger.rb#235
def method_missing(name, *args, **kwargs, &block); end
# @return [Boolean]
#
- # source://activesupport//lib/active_support/broadcast_logger.rb#246
+ # source://activesupport//lib/active_support/broadcast_logger.rb#247
def respond_to_missing?(method, include_all); end
class << self
@@ -2396,7 +2399,7 @@ class ActiveSupport::Cache::Store
# source://activesupport//lib/active_support/cache.rb#997
def expanded_version(key); end
- # source://activesupport//lib/active_support/cache.rb#1050
+ # source://activesupport//lib/active_support/cache.rb#1051
def get_entry_value(entry, name, options); end
# source://activesupport//lib/active_support/cache.rb#1034
@@ -2468,7 +2471,7 @@ class ActiveSupport::Cache::Store
# source://activesupport//lib/active_support/cache.rb#829
def read_multi_entries(names, **options); end
- # source://activesupport//lib/active_support/cache.rb#1055
+ # source://activesupport//lib/active_support/cache.rb#1056
def save_block_result_to_cache(name, options); end
# source://activesupport//lib/active_support/cache.rb#812
@@ -2657,37 +2660,37 @@ ActiveSupport::Cache::UNIVERSAL_OPTIONS = T.let(T.unsafe(nil), Array)
# ActiveSupport::Cache::Store#fetch, the second argument will be an
# instance of +WriteOptions+.
#
-# source://activesupport//lib/active_support/cache.rb#1071
+# source://activesupport//lib/active_support/cache.rb#1072
class ActiveSupport::Cache::WriteOptions
# @return [WriteOptions] a new instance of WriteOptions
#
- # source://activesupport//lib/active_support/cache.rb#1072
+ # source://activesupport//lib/active_support/cache.rb#1073
def initialize(options); end
- # source://activesupport//lib/active_support/cache.rb#1096
+ # source://activesupport//lib/active_support/cache.rb#1097
def expires_at; end
# Sets the Cache entry's +expires_at+ value. If an +expires_in+ option was
# previously set, this will unset it since +expires_at+ and +expires_in+
# cannot both be set.
#
- # source://activesupport//lib/active_support/cache.rb#1103
+ # source://activesupport//lib/active_support/cache.rb#1104
def expires_at=(expires_at); end
- # source://activesupport//lib/active_support/cache.rb#1084
+ # source://activesupport//lib/active_support/cache.rb#1085
def expires_in; end
# Sets the Cache entry's +expires_in+ value. If an +expires_at+ option was
# previously set, this will unset it since +expires_in+ and +expires_at+
# cannot both be set.
#
- # source://activesupport//lib/active_support/cache.rb#1091
+ # source://activesupport//lib/active_support/cache.rb#1092
def expires_in=(expires_in); end
- # source://activesupport//lib/active_support/cache.rb#1076
+ # source://activesupport//lib/active_support/cache.rb#1077
def version; end
- # source://activesupport//lib/active_support/cache.rb#1080
+ # source://activesupport//lib/active_support/cache.rb#1081
def version=(version); end
end
@@ -3455,17 +3458,17 @@ end
class ActiveSupport::CodeGenerator
# @return [CodeGenerator] a new instance of CodeGenerator
#
- # source://activesupport//lib/active_support/code_generator.rb#48
+ # source://activesupport//lib/active_support/code_generator.rb#53
def initialize(owner, path, line); end
- # source://activesupport//lib/active_support/code_generator.rb#55
- def define_cached_method(name, namespace:, as: T.unsafe(nil), &block); end
+ # source://activesupport//lib/active_support/code_generator.rb#60
+ def define_cached_method(canonical_name, namespace:, as: T.unsafe(nil), &block); end
- # source://activesupport//lib/active_support/code_generator.rb#59
+ # source://activesupport//lib/active_support/code_generator.rb#64
def execute; end
class << self
- # source://activesupport//lib/active_support/code_generator.rb#36
+ # source://activesupport//lib/active_support/code_generator.rb#41
def batch(owner, path, line); end
end
end
@@ -3477,11 +3480,11 @@ class ActiveSupport::CodeGenerator::MethodSet
# source://activesupport//lib/active_support/code_generator.rb#8
def initialize(namespace); end
- # source://activesupport//lib/active_support/code_generator.rb#25
+ # source://activesupport//lib/active_support/code_generator.rb#28
def apply(owner, path, line); end
- # source://activesupport//lib/active_support/code_generator.rb#14
- def define_cached_method(name, as: T.unsafe(nil)); end
+ # source://activesupport//lib/active_support/code_generator.rb#15
+ def define_cached_method(canonical_name, as: T.unsafe(nil)); end
end
# source://activesupport//lib/active_support/code_generator.rb#6
@@ -5912,7 +5915,7 @@ class ActiveSupport::EncryptedConfiguration < ::ActiveSupport::EncryptedFile
# source://activesupport//lib/active_support/encrypted_configuration.rb#79
def inspect; end
- # source://activesupport//lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport//lib/active_support/core_ext/module/delegation.rb#354
def method_missing(method, *args, **_arg2, &block); end
# Reads the file and returns the decrypted content. See EncryptedFile#read.
@@ -5934,7 +5937,7 @@ class ActiveSupport::EncryptedConfiguration < ::ActiveSupport::EncryptedFile
# source://activesupport//lib/active_support/encrypted_configuration.rb#94
def options; end
- # source://activesupport//lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport//lib/active_support/core_ext/module/delegation.rb#346
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
end
@@ -7228,6 +7231,11 @@ ActiveSupport::HashWithIndifferentAccess::NOT_GIVEN = T.let(T.unsafe(nil), Objec
module ActiveSupport::HtmlSafeTranslation
extend ::ActiveSupport::HtmlSafeTranslation
+ # @return [Boolean]
+ #
+ # source://activesupport//lib/active_support/html_safe_translation.rb#27
+ def html_safe_translation_key?(key); end
+
# source://activesupport//lib/active_support/html_safe_translation.rb#7
def translate(key, **options); end
@@ -7239,11 +7247,6 @@ module ActiveSupport::HtmlSafeTranslation
# source://activesupport//lib/active_support/html_safe_translation.rb#45
def html_safe_translation(translation); end
- # @return [Boolean]
- #
- # source://activesupport//lib/active_support/html_safe_translation.rb#28
- def html_safe_translation_key?(key); end
-
# @return [Boolean]
#
# source://activesupport//lib/active_support/html_safe_translation.rb#40
@@ -8280,52 +8283,52 @@ end
# that all logs are flushed, and it is called in Rails::Rack::Logger after a
# request finishes.
#
-# source://activesupport//lib/active_support/log_subscriber.rb#63
+# source://activesupport//lib/active_support/log_subscriber.rb#64
class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
# @return [LogSubscriber] a new instance of LogSubscriber
#
- # source://activesupport//lib/active_support/log_subscriber.rb#136
+ # source://activesupport//lib/active_support/log_subscriber.rb#137
def initialize; end
- # source://activesupport//lib/active_support/log_subscriber.rb#149
+ # source://activesupport//lib/active_support/log_subscriber.rb#150
def call(event); end
- # source://activesupport//lib/active_support/log_subscriber.rb#86
+ # source://activesupport//lib/active_support/log_subscriber.rb#87
def colorize_logging; end
- # source://activesupport//lib/active_support/log_subscriber.rb#86
+ # source://activesupport//lib/active_support/log_subscriber.rb#87
def colorize_logging=(val); end
- # source://activesupport//lib/active_support/log_subscriber.rb#166
+ # source://activesupport//lib/active_support/log_subscriber.rb#167
def debug(progname = T.unsafe(nil), &block); end
- # source://activesupport//lib/active_support/log_subscriber.rb#166
+ # source://activesupport//lib/active_support/log_subscriber.rb#167
def error(progname = T.unsafe(nil), &block); end
- # source://activesupport//lib/active_support/log_subscriber.rb#161
+ # source://activesupport//lib/active_support/log_subscriber.rb#162
def event_levels=(_arg0); end
- # source://activesupport//lib/active_support/log_subscriber.rb#166
+ # source://activesupport//lib/active_support/log_subscriber.rb#167
def fatal(progname = T.unsafe(nil), &block); end
- # source://activesupport//lib/active_support/log_subscriber.rb#166
+ # source://activesupport//lib/active_support/log_subscriber.rb#167
def info(progname = T.unsafe(nil), &block); end
- # source://activesupport//lib/active_support/log_subscriber.rb#141
+ # source://activesupport//lib/active_support/log_subscriber.rb#142
def logger; end
- # source://activesupport//lib/active_support/log_subscriber.rb#155
+ # source://activesupport//lib/active_support/log_subscriber.rb#156
def publish_event(event); end
# @return [Boolean]
#
- # source://activesupport//lib/active_support/log_subscriber.rb#145
+ # source://activesupport//lib/active_support/log_subscriber.rb#146
def silenced?(event); end
- # source://activesupport//lib/active_support/log_subscriber.rb#166
+ # source://activesupport//lib/active_support/log_subscriber.rb#167
def unknown(progname = T.unsafe(nil), &block); end
- # source://activesupport//lib/active_support/log_subscriber.rb#166
+ # source://activesupport//lib/active_support/log_subscriber.rb#167
def warn(progname = T.unsafe(nil), &block); end
private
@@ -8334,105 +8337,105 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
# by specifying bold, italic, or underline options. Inspired by Highline,
# this method will automatically clear formatting at the end of the returned String.
#
- # source://activesupport//lib/active_support/log_subscriber.rb#175
+ # source://activesupport//lib/active_support/log_subscriber.rb#176
def color(text, color, mode_options = T.unsafe(nil)); end
- # source://activesupport//lib/active_support/log_subscriber.rb#197
+ # source://activesupport//lib/active_support/log_subscriber.rb#198
def log_exception(name, e); end
- # source://activesupport//lib/active_support/log_subscriber.rb#183
+ # source://activesupport//lib/active_support/log_subscriber.rb#184
def mode_from(options); end
class << self
- # source://activesupport//lib/active_support/log_subscriber.rb#102
+ # source://activesupport//lib/active_support/log_subscriber.rb#103
def attach_to(*_arg0, **_arg1, &_arg2); end
- # source://activesupport//lib/active_support/log_subscriber.rb#86
+ # source://activesupport//lib/active_support/log_subscriber.rb#87
def colorize_logging; end
- # source://activesupport//lib/active_support/log_subscriber.rb#86
+ # source://activesupport//lib/active_support/log_subscriber.rb#87
def colorize_logging=(val); end
# Flush all log_subscribers' logger.
#
- # source://activesupport//lib/active_support/log_subscriber.rb#115
+ # source://activesupport//lib/active_support/log_subscriber.rb#116
def flush_all!; end
- # source://activesupport//lib/active_support/log_subscriber.rb#87
+ # source://activesupport//lib/active_support/log_subscriber.rb#88
def log_levels; end
- # source://activesupport//lib/active_support/log_subscriber.rb#87
+ # source://activesupport//lib/active_support/log_subscriber.rb#88
def log_levels=(value); end
- # source://activesupport//lib/active_support/log_subscriber.rb#87
+ # source://activesupport//lib/active_support/log_subscriber.rb#88
def log_levels?; end
- # source://activesupport//lib/active_support/log_subscriber.rb#110
+ # source://activesupport//lib/active_support/log_subscriber.rb#111
def log_subscribers; end
- # source://activesupport//lib/active_support/log_subscriber.rb#96
+ # source://activesupport//lib/active_support/log_subscriber.rb#97
def logger; end
# Sets the attribute logger
#
# @param value the value to set the attribute logger to.
#
- # source://activesupport//lib/active_support/log_subscriber.rb#108
+ # source://activesupport//lib/active_support/log_subscriber.rb#109
def logger=(_arg0); end
private
- # source://activesupport//lib/active_support/log_subscriber.rb#120
+ # source://activesupport//lib/active_support/log_subscriber.rb#121
def fetch_public_methods(subscriber, inherit_all); end
- # source://activesupport//lib/active_support/log_subscriber.rb#124
+ # source://activesupport//lib/active_support/log_subscriber.rb#125
def set_event_levels; end
- # source://activesupport//lib/active_support/log_subscriber.rb#130
+ # source://activesupport//lib/active_support/log_subscriber.rb#131
def subscribe_log_level(method, level); end
end
end
# ANSI sequence colors
#
-# source://activesupport//lib/active_support/log_subscriber.rb#77
+# source://activesupport//lib/active_support/log_subscriber.rb#78
ActiveSupport::LogSubscriber::BLACK = T.let(T.unsafe(nil), String)
-# source://activesupport//lib/active_support/log_subscriber.rb#81
+# source://activesupport//lib/active_support/log_subscriber.rb#82
ActiveSupport::LogSubscriber::BLUE = T.let(T.unsafe(nil), String)
-# source://activesupport//lib/active_support/log_subscriber.rb#66
+# source://activesupport//lib/active_support/log_subscriber.rb#67
ActiveSupport::LogSubscriber::BOLD = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy)
# Embed in a String to clear all previous ANSI sequences.
#
-# source://activesupport//lib/active_support/log_subscriber.rb#65
+# source://activesupport//lib/active_support/log_subscriber.rb#66
ActiveSupport::LogSubscriber::CLEAR = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy)
-# source://activesupport//lib/active_support/log_subscriber.rb#83
+# source://activesupport//lib/active_support/log_subscriber.rb#84
ActiveSupport::LogSubscriber::CYAN = T.let(T.unsafe(nil), String)
-# source://activesupport//lib/active_support/log_subscriber.rb#79
+# source://activesupport//lib/active_support/log_subscriber.rb#80
ActiveSupport::LogSubscriber::GREEN = T.let(T.unsafe(nil), String)
-# source://activesupport//lib/active_support/log_subscriber.rb#89
+# source://activesupport//lib/active_support/log_subscriber.rb#90
ActiveSupport::LogSubscriber::LEVEL_CHECKS = T.let(T.unsafe(nil), Hash)
-# source://activesupport//lib/active_support/log_subscriber.rb#82
+# source://activesupport//lib/active_support/log_subscriber.rb#83
ActiveSupport::LogSubscriber::MAGENTA = T.let(T.unsafe(nil), String)
# ANSI sequence modes
#
-# source://activesupport//lib/active_support/log_subscriber.rb#69
+# source://activesupport//lib/active_support/log_subscriber.rb#70
ActiveSupport::LogSubscriber::MODES = T.let(T.unsafe(nil), Hash)
-# source://activesupport//lib/active_support/log_subscriber.rb#78
+# source://activesupport//lib/active_support/log_subscriber.rb#79
ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String)
-# source://activesupport//lib/active_support/log_subscriber.rb#84
+# source://activesupport//lib/active_support/log_subscriber.rb#85
ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String)
-# source://activesupport//lib/active_support/log_subscriber.rb#80
+# source://activesupport//lib/active_support/log_subscriber.rb#81
ActiveSupport::LogSubscriber::YELLOW = T.let(T.unsafe(nil), String)
# source://activesupport//lib/active_support/logger.rb#8
@@ -10044,16 +10047,16 @@ class ActiveSupport::Notifications::Event
# Returns the number of allocations made between the call to #start! and
# the call to #finish!.
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#164
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#172
def allocations; end
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#168
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#176
def children; end
# Returns the CPU time (in milliseconds) passed between the call to
# #start! and the call to #finish!.
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#151
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#159
def cpu_time; end
# Returns the difference in milliseconds between when the execution of the
@@ -10069,23 +10072,21 @@ class ActiveSupport::Notifications::Event
#
# @event.duration # => 1000.138
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#197
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#205
def duration; end
- # Returns the value of attribute end.
- #
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#107
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#126
def end; end
# Record information at the time this event finishes
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#143
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#151
def finish!; end
# Returns the idle time time (in milliseconds) passed between the call to
# #start! and the call to #finish!.
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#157
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#165
def idle_time; end
# Returns the value of attribute name.
@@ -10095,7 +10096,7 @@ class ActiveSupport::Notifications::Event
# @return [Boolean]
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#176
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#184
def parent_of?(event); end
# Returns the value of attribute payload.
@@ -10110,17 +10111,15 @@ class ActiveSupport::Notifications::Event
# source://activesupport//lib/active_support/notifications/instrumenter.rb#108
def payload=(_arg0); end
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#122
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#130
def record; end
# Record information at the time this event starts
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#136
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#144
def start!; end
- # Returns the value of attribute time.
- #
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#107
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#122
def time; end
# Returns the value of attribute transaction_id.
@@ -10130,15 +10129,15 @@ class ActiveSupport::Notifications::Event
private
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#202
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#210
def now; end
# Likely on JRuby, TruffleRuby
#
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#219
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#227
def now_allocations; end
- # source://activesupport//lib/active_support/notifications/instrumenter.rb#209
+ # source://activesupport//lib/active_support/notifications/instrumenter.rb#217
def now_cpu; end
end
@@ -10183,10 +10182,10 @@ class ActiveSupport::Notifications::Fanout
# source://activesupport//lib/active_support/notifications/fanout.rb#314
def listening?(name); end
- # source://mutex_m/0.2.0/mutex_m.rb#91
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#96
def lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#81
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#86
def locked?; end
# source://activesupport//lib/active_support/notifications/fanout.rb#293
@@ -10201,13 +10200,13 @@ class ActiveSupport::Notifications::Fanout
# source://activesupport//lib/active_support/notifications/fanout.rb#68
def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end
- # source://mutex_m/0.2.0/mutex_m.rb#76
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#81
def synchronize(&block); end
- # source://mutex_m/0.2.0/mutex_m.rb#86
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#91
def try_lock; end
- # source://mutex_m/0.2.0/mutex_m.rb#96
+ # source://mutex_m/0.3.0/lib/mutex_m.rb#101
def unlock; end
# source://activesupport//lib/active_support/notifications/fanout.rb#85
@@ -12524,13 +12523,6 @@ class ActiveSupport::SyntaxErrorProxy
# source://activesupport//lib/active_support/syntax_error_proxy.rb#47
def parse_message_for_trace; end
-
- # 3.2 and older versions of Ruby
- #
- # @return [Boolean]
- #
- # source://activesupport//lib/active_support/syntax_error_proxy.rb#61
- def source_location_eval?; end
end
# source://activesupport//lib/active_support/syntax_error_proxy.rb#15
@@ -12579,19 +12571,19 @@ end
module ActiveSupport::TaggedLogging
extend ::Lumberjack::TaggedLogging::ClassMethods
- # source://activesupport//lib/active_support/tagged_logging.rb#131
+ # source://activesupport//lib/active_support/tagged_logging.rb#135
def clear_tags!(*_arg0, **_arg1, &_arg2); end
- # source://activesupport//lib/active_support/tagged_logging.rb#144
+ # source://activesupport//lib/active_support/tagged_logging.rb#148
def flush; end
- # source://activesupport//lib/active_support/tagged_logging.rb#131
+ # source://activesupport//lib/active_support/tagged_logging.rb#135
def pop_tags(*_arg0, **_arg1, &_arg2); end
- # source://activesupport//lib/active_support/tagged_logging.rb#131
+ # source://activesupport//lib/active_support/tagged_logging.rb#135
def push_tags(*_arg0, **_arg1, &_arg2); end
- # source://activesupport//lib/active_support/tagged_logging.rb#133
+ # source://activesupport//lib/active_support/tagged_logging.rb#137
def tagged(*tags); end
class << self
@@ -12710,43 +12702,43 @@ class ActiveSupport::TestCase < ::Minitest::Test
# source://activesupport//lib/active_support/callbacks.rb#963
def _teardown_callbacks; end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#736
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#726
def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#665
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#655
def assert_not_empty(obj, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#676
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#666
def assert_not_equal(exp, act, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#688
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#678
def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#700
- def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#690
+ def assert_not_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#707
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#697
def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#718
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#708
def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#728
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#718
def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#746
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#736
def assert_not_nil(obj, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#781
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#771
def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#804
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#794
def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#813
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#803
def assert_not_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
- # source://minitest/5.24.1/lib/minitest/assertions.rb#822
+ # source://minitest/5.26.2/lib/minitest/assertions.rb#812
def assert_not_same(exp, act, msg = T.unsafe(nil)); end
# source://activesupport//lib/active_support/testing/file_fixtures.rb#20
@@ -12758,7 +12750,7 @@ class ActiveSupport::TestCase < ::Minitest::Test
# source://activesupport//lib/active_support/test_case.rb#298
def inspect; end
- # source://minitest/5.24.1/lib/minitest.rb#376
+ # source://minitest/5.26.2/lib/minitest.rb#391
def method_name; end
class << self
@@ -14656,26 +14648,23 @@ ActiveSupport::TimeWithZone::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer)
class ActiveSupport::TimeZone
include ::Comparable
- # Create a new TimeZone object with the given name and offset. The
- # offset is the number of seconds that this time zone is offset from UTC
- # (GMT). Seconds were chosen as the offset unit because that is the unit
- # that Ruby uses to represent time zone offsets (see Time#utc_offset).
+ # :stopdoc:
#
# @return [TimeZone] a new instance of TimeZone
#
- # source://activesupport//lib/active_support/values/time_zone.rb#303
+ # source://activesupport//lib/active_support/values/time_zone.rb#311
def initialize(name, utc_offset = T.unsafe(nil), tzinfo = T.unsafe(nil)); end
# Compare this time zone to the parameter. The two are compared first on
# their offsets, and then by name.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#326
+ # source://activesupport//lib/active_support/values/time_zone.rb#335
def <=>(zone); end
# Compare #name and TZInfo identifier to a supplied regexp, returning +true+
# if a match is found.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#335
+ # source://activesupport//lib/active_support/values/time_zone.rb#344
def =~(re); end
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
@@ -14690,10 +14679,10 @@ class ActiveSupport::TimeZone
# Time.zone = 'Hawaii' # => "Hawaii"
# Time.at(946684800, 123456.789).nsec # => 123456789
#
- # source://activesupport//lib/active_support/values/time_zone.rb#372
+ # source://activesupport//lib/active_support/values/time_zone.rb#381
def at(*args); end
- # source://activesupport//lib/active_support/values/time_zone.rb#568
+ # source://activesupport//lib/active_support/values/time_zone.rb#577
def encode_with(coder); end
# Returns a formatted string of the offset from UTC, or an alternative
@@ -14703,10 +14692,10 @@ class ActiveSupport::TimeZone
# zone.formatted_offset # => "-06:00"
# zone.formatted_offset(false) # => "-0600"
#
- # source://activesupport//lib/active_support/values/time_zone.rb#320
+ # source://activesupport//lib/active_support/values/time_zone.rb#329
def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
- # source://activesupport//lib/active_support/values/time_zone.rb#564
+ # source://activesupport//lib/active_support/values/time_zone.rb#573
def init_with(coder); end
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
@@ -14723,7 +14712,7 @@ class ActiveSupport::TimeZone
# If the string is invalid then an +ArgumentError+ will be raised unlike +parse+
# which usually returns +nil+ when given an invalid date string.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#389
+ # source://activesupport//lib/active_support/values/time_zone.rb#398
def iso8601(str); end
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
@@ -14732,13 +14721,13 @@ class ActiveSupport::TimeZone
# Time.zone = 'Hawaii' # => "Hawaii"
# Time.zone.local(2007, 2, 1, 15, 30, 45) # => Thu, 01 Feb 2007 15:30:45 HST -10:00
#
- # source://activesupport//lib/active_support/values/time_zone.rb#356
+ # source://activesupport//lib/active_support/values/time_zone.rb#365
def local(*args); end
# Adjust the given time to the simultaneous time in UTC. Returns a
# Time.utc() instance.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#544
+ # source://activesupport//lib/active_support/values/time_zone.rb#553
def local_to_utc(time, dst = T.unsafe(nil)); end
# Compare #name and TZInfo identifier to a supplied regexp, returning +true+
@@ -14746,12 +14735,12 @@ class ActiveSupport::TimeZone
#
# @return [Boolean]
#
- # source://activesupport//lib/active_support/values/time_zone.rb#341
+ # source://activesupport//lib/active_support/values/time_zone.rb#350
def match?(re); end
# Returns the value of attribute name.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#296
+ # source://activesupport//lib/active_support/values/time_zone.rb#298
def name; end
# Returns an ActiveSupport::TimeWithZone instance representing the current
@@ -14760,7 +14749,7 @@ class ActiveSupport::TimeZone
# Time.zone = 'Hawaii' # => "Hawaii"
# Time.zone.now # => Wed, 23 Jan 2008 20:24:27 HST -10:00
#
- # source://activesupport//lib/active_support/values/time_zone.rb#509
+ # source://activesupport//lib/active_support/values/time_zone.rb#518
def now; end
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
@@ -14782,22 +14771,22 @@ class ActiveSupport::TimeZone
#
# If the string is invalid then an +ArgumentError+ could be raised.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#446
+ # source://activesupport//lib/active_support/values/time_zone.rb#455
def parse(str, now = T.unsafe(nil)); end
# Available so that TimeZone instances respond like +TZInfo::Timezone+
# instances.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#556
+ # source://activesupport//lib/active_support/values/time_zone.rb#565
def period_for_local(time, dst = T.unsafe(nil)); end
# Available so that TimeZone instances respond like +TZInfo::Timezone+
# instances.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#550
+ # source://activesupport//lib/active_support/values/time_zone.rb#559
def period_for_utc(time); end
- # source://activesupport//lib/active_support/values/time_zone.rb#560
+ # source://activesupport//lib/active_support/values/time_zone.rb#569
def periods_for_local(time); end
# Method for creating new ActiveSupport::TimeWithZone instance in time zone
@@ -14815,7 +14804,7 @@ class ActiveSupport::TimeZone
#
# @raise [ArgumentError]
#
- # source://activesupport//lib/active_support/values/time_zone.rb#462
+ # source://activesupport//lib/active_support/values/time_zone.rb#471
def rfc3339(str); end
# Parses +str+ according to +format+ and returns an ActiveSupport::TimeWithZone.
@@ -14839,32 +14828,32 @@ class ActiveSupport::TimeZone
#
# Time.zone.strptime('Mar 2000', '%b %Y') # => Wed, 01 Mar 2000 00:00:00 HST -10:00
#
- # source://activesupport//lib/active_support/values/time_zone.rb#500
+ # source://activesupport//lib/active_support/values/time_zone.rb#509
def strptime(str, format, now = T.unsafe(nil)); end
# Returns a textual representation of this time zone.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#347
+ # source://activesupport//lib/active_support/values/time_zone.rb#356
def to_s; end
# Returns the current date in this time zone.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#514
+ # source://activesupport//lib/active_support/values/time_zone.rb#523
def today; end
# Returns the next date in this time zone.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#519
+ # source://activesupport//lib/active_support/values/time_zone.rb#528
def tomorrow; end
# Returns the value of attribute tzinfo.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#297
+ # source://activesupport//lib/active_support/values/time_zone.rb#299
def tzinfo; end
# Returns the offset of this time zone from UTC in seconds.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#310
+ # source://activesupport//lib/active_support/values/time_zone.rb#319
def utc_offset; end
# Adjust the given time to the simultaneous time in the time zone
@@ -14875,22 +14864,22 @@ class ActiveSupport::TimeZone
# As of tzinfo 2, utc_to_local returns a Time with a non-zero utc_offset.
# See the +utc_to_local_returns_utc_offset_times+ config for more info.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#535
+ # source://activesupport//lib/active_support/values/time_zone.rb#544
def utc_to_local(time); end
# Returns the previous date in this time zone.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#524
+ # source://activesupport//lib/active_support/values/time_zone.rb#533
def yesterday; end
private
# @raise [ArgumentError]
#
- # source://activesupport//lib/active_support/values/time_zone.rb#574
+ # source://activesupport//lib/active_support/values/time_zone.rb#583
def parts_to_time(parts, now); end
- # source://activesupport//lib/active_support/values/time_zone.rb#599
+ # source://activesupport//lib/active_support/values/time_zone.rb#608
def time_now; end
class << self
@@ -14900,25 +14889,26 @@ class ActiveSupport::TimeZone
# timezone to find. (The first one with that offset will be returned.)
# Returns +nil+ if no such time zone is known to the system.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#232
+ # source://activesupport//lib/active_support/values/time_zone.rb#234
def [](arg); end
# Returns an array of all TimeZone objects. There are multiple
# TimeZone objects per time zone, in many cases, to make it easier
# for users to find their own time zone.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#223
+ # source://activesupport//lib/active_support/values/time_zone.rb#225
def all; end
- # source://activesupport//lib/active_support/values/time_zone.rb#265
+ # source://activesupport//lib/active_support/values/time_zone.rb#267
def clear; end
# A convenience method for returning a collection of TimeZone objects
# for time zones in the country specified by its ISO 3166-1 Alpha2 code.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#260
+ # source://activesupport//lib/active_support/values/time_zone.rb#262
def country_zones(country_code); end
+ # :stopdoc:
def create(*_arg0); end
# source://activesupport//lib/active_support/values/time_zone.rb#207
@@ -14928,7 +14918,7 @@ class ActiveSupport::TimeZone
# such TimeZone instance exists. (This exists to support the use of
# this class with the +composed_of+ macro.)
#
- # source://activesupport//lib/active_support/values/time_zone.rb#216
+ # source://activesupport//lib/active_support/values/time_zone.rb#218
def new(name); end
# Assumes self represents an offset from UTC in seconds (as returned from
@@ -14942,15 +14932,15 @@ class ActiveSupport::TimeZone
# A convenience method for returning a collection of TimeZone objects
# for time zones in the USA.
#
- # source://activesupport//lib/active_support/values/time_zone.rb#254
+ # source://activesupport//lib/active_support/values/time_zone.rb#256
def us_zones; end
private
- # source://activesupport//lib/active_support/values/time_zone.rb#273
+ # source://activesupport//lib/active_support/values/time_zone.rb#275
def load_country_zones(code); end
- # source://activesupport//lib/active_support/values/time_zone.rb#287
+ # source://activesupport//lib/active_support/values/time_zone.rb#289
def zones_map; end
end
end
@@ -17494,9 +17484,9 @@ end
# source://activesupport//lib/active_support/core_ext/enumerable.rb#21
class Enumerable::SoleItemExpectedError < ::StandardError; end
-# source://activesupport//lib/active_support/core_ext/object/json.rb#248
+# source://activesupport//lib/active_support/core_ext/object/json.rb#250
class Exception
- # source://activesupport//lib/active_support/core_ext/object/json.rb#249
+ # source://activesupport//lib/active_support/core_ext/object/json.rb#251
def as_json(options = T.unsafe(nil)); end
end
@@ -18026,46 +18016,46 @@ HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess
# source://activesupport//lib/active_support/i18n_railtie.rb#8
module I18n
class << self
- # source://i18n/1.14.5/lib/i18n/backend/cache.rb#64
+ # source://i18n/1.14.7/lib/i18n/backend/cache.rb#64
def cache_key_digest; end
- # source://i18n/1.14.5/lib/i18n/backend/cache.rb#68
+ # source://i18n/1.14.7/lib/i18n/backend/cache.rb#68
def cache_key_digest=(key_digest); end
- # source://i18n/1.14.5/lib/i18n/backend/cache.rb#56
+ # source://i18n/1.14.7/lib/i18n/backend/cache.rb#56
def cache_namespace; end
- # source://i18n/1.14.5/lib/i18n/backend/cache.rb#60
+ # source://i18n/1.14.7/lib/i18n/backend/cache.rb#60
def cache_namespace=(namespace); end
- # source://i18n/1.14.5/lib/i18n/backend/cache.rb#48
+ # source://i18n/1.14.7/lib/i18n/backend/cache.rb#48
def cache_store; end
- # source://i18n/1.14.5/lib/i18n/backend/cache.rb#52
+ # source://i18n/1.14.7/lib/i18n/backend/cache.rb#52
def cache_store=(store); end
- # source://i18n/1.14.5/lib/i18n/backend/fallbacks.rb#17
+ # source://i18n/1.14.7/lib/i18n/backend/fallbacks.rb#17
def fallbacks; end
- # source://i18n/1.14.5/lib/i18n/backend/fallbacks.rb#23
+ # source://i18n/1.14.7/lib/i18n/backend/fallbacks.rb#23
def fallbacks=(fallbacks); end
- # source://i18n/1.14.5/lib/i18n/interpolate/ruby.rb#23
+ # source://i18n/1.14.7/lib/i18n/interpolate/ruby.rb#23
def interpolate(string, values); end
- # source://i18n/1.14.5/lib/i18n/interpolate/ruby.rb#29
+ # source://i18n/1.14.7/lib/i18n/interpolate/ruby.rb#29
def interpolate_hash(string, values); end
- # source://i18n/1.14.5/lib/i18n.rb#37
+ # source://i18n/1.14.7/lib/i18n.rb#38
def new_double_nested_cache; end
- # source://i18n/1.14.5/lib/i18n/backend/cache.rb#72
+ # source://i18n/1.14.7/lib/i18n/backend/cache.rb#72
def perform_caching?; end
- # source://i18n/1.14.5/lib/i18n.rb#45
+ # source://i18n/1.14.7/lib/i18n.rb#46
def reserve_key(key); end
- # source://i18n/1.14.5/lib/i18n.rb#50
+ # source://i18n/1.14.7/lib/i18n.rb#51
def reserved_keys_pattern; end
end
end
@@ -18217,9 +18207,9 @@ IO::READABLE = T.let(T.unsafe(nil), Integer)
class IO::TimeoutError < ::IOError; end
IO::WRITABLE = T.let(T.unsafe(nil), Integer)
-# source://activesupport//lib/active_support/core_ext/object/json.rb#236
+# source://activesupport//lib/active_support/core_ext/object/json.rb#237
class IPAddr
- # source://activesupport//lib/active_support/core_ext/object/json.rb#237
+ # source://activesupport//lib/active_support/core_ext/object/json.rb#238
def as_json(options = T.unsafe(nil)); end
end
@@ -18241,6 +18231,43 @@ class Integer < ::Numeric
# source://activesupport//lib/active_support/core_ext/integer/time.rb#10
def months; end
+ # Check whether the integer is evenly divisible by the argument.
+ #
+ # 0.multiple_of?(0) # => true
+ # 6.multiple_of?(5) # => false
+ # 10.multiple_of?(2) # => true
+ #
+ # @return [Boolean]
+ #
+ # source://activesupport//lib/active_support/core_ext/integer/multiple.rb#9
+ def multiple_of?(number); end
+
+ # Ordinal returns the suffix used to denote the position
+ # in an ordered sequence such as 1st, 2nd, 3rd, 4th.
+ #
+ # 1.ordinal # => "st"
+ # 2.ordinal # => "nd"
+ # 1002.ordinal # => "nd"
+ # 1003.ordinal # => "rd"
+ # -11.ordinal # => "th"
+ # -1001.ordinal # => "st"
+ #
+ # source://activesupport//lib/active_support/core_ext/integer/inflections.rb#28
+ def ordinal; end
+
+ # Ordinalize turns a number into an ordinal string used to denote the
+ # position in an ordered sequence such as 1st, 2nd, 3rd, 4th.
+ #
+ # 1.ordinalize # => "1st"
+ # 2.ordinalize # => "2nd"
+ # 1002.ordinalize # => "1002nd"
+ # 1003.ordinalize # => "1003rd"
+ # -11.ordinalize # => "-11th"
+ # -1001.ordinalize # => "-1001st"
+ #
+ # source://activesupport//lib/active_support/core_ext/integer/inflections.rb#15
+ def ordinalize; end
+
# Returns a Duration instance matching the number of years provided.
#
# 2.years # => 2 years
@@ -18256,12 +18283,22 @@ class Integer < ::Numeric
def years; end
end
-Integer::GMP_VERSION = T.let(T.unsafe(nil), String)
-
# source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#3
module Kernel
+ # class_eval on an object acts like +singleton_class.class_eval+.
+ #
+ # source://activesupport//lib/active_support/core_ext/kernel/singleton_class.rb#5
+ def class_eval(*args, &block); end
+
private
+ # A shortcut to define a toplevel concern, not within a module.
+ #
+ # See Module::Concerning for more.
+ #
+ # source://activesupport//lib/active_support/core_ext/kernel/concern.rb#11
+ def concern(topic, &module_definition); end
+
# Sets $VERBOSE to +true+ for the duration of the block and back to its
# original value afterwards.
#
@@ -18299,6 +18336,13 @@ module Kernel
def with_warnings(flag); end
class << self
+ # A shortcut to define a toplevel concern, not within a module.
+ #
+ # See Module::Concerning for more.
+ #
+ # source://activesupport//lib/active_support/core_ext/kernel/concern.rb#11
+ def concern(topic, &module_definition); end
+
# Sets $VERBOSE to +true+ for the duration of the block and back to its
# original value afterwards.
#
@@ -18337,17 +18381,17 @@ module Kernel
end
end
-# source://activesupport//lib/active_support/core_ext/object/duplicable.rb#31
-class Method
- # Methods are not duplicable:
- #
- # method(:puts).duplicable? # => false
- # method(:puts).dup # => TypeError: allocator undefined for Method
+# source://activesupport//lib/active_support/core_ext/load_error.rb#3
+class LoadError < ::ScriptError
+ include ::DidYouMean::Correctable
+
+ # Returns true if the given path name (except perhaps for the ".rb"
+ # extension) is the missing file which caused the exception to be raised.
#
# @return [Boolean]
#
- # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#36
- def duplicable?; end
+ # source://activesupport//lib/active_support/core_ext/load_error.rb#6
+ def is_missing?(location); end
end
# == Attribute Accessors per Thread
@@ -20115,6 +20159,35 @@ end
class Pathname
# source://activesupport//lib/active_support/core_ext/object/json.rb#231
def as_json(options = T.unsafe(nil)); end
+
+ # An Pathname is blank if it's empty:
+ #
+ # Pathname.new("").blank? # => true
+ # Pathname.new(" ").blank? # => false
+ # Pathname.new("test").blank? # => false
+ #
+ # @return [true, false]
+ #
+ # source://activesupport//lib/active_support/core_ext/pathname/blank.rb#13
+ def blank?; end
+
+ # Returns the receiver if the named file exists otherwise returns +nil+.
+ # pathname.existence is equivalent to
+ #
+ # pathname.exist? ? pathname : nil
+ #
+ # For example, something like
+ #
+ # content = pathname.read if pathname.exist?
+ #
+ # becomes
+ #
+ # content = pathname.existence&.read
+ #
+ # @return [Pathname]
+ #
+ # source://activesupport//lib/active_support/core_ext/pathname/existence.rb#20
+ def existence; end
end
module Process
@@ -20129,9 +20202,9 @@ module Process
end
end
-# source://activesupport//lib/active_support/core_ext/object/json.rb#242
+# source://activesupport//lib/active_support/core_ext/object/json.rb#244
class Process::Status
- # source://activesupport//lib/active_support/core_ext/object/json.rb#243
+ # source://activesupport//lib/active_support/core_ext/object/json.rb#245
def as_json(options = T.unsafe(nil)); end
end
@@ -20200,7 +20273,7 @@ SecureRandom::BASE36_ALPHABET = T.let(T.unsafe(nil), Array)
# source://activesupport//lib/active_support/core_ext/securerandom.rb#6
SecureRandom::BASE58_ALPHABET = T.let(T.unsafe(nil), Array)
-# source://activesupport//lib/active_support/core_ext/object/duplicable.rb#53
+# source://activesupport//lib/active_support/core_ext/object/duplicable.rb#62
module Singleton
mixes_in_class_methods ::Singleton::SingletonClassMethods
@@ -20210,7 +20283,7 @@ module Singleton
#
# @return [Boolean]
#
- # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#57
+ # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#66
def duplicable?; end
end
@@ -20382,6 +20455,18 @@ class String
# source://activesupport//lib/active_support/core_ext/string/inflections.rb#284
def downcase_first; end
+ # The inverse of String#include?. Returns true if the string
+ # does not include the other string.
+ #
+ # "hello".exclude? "lo" # => false
+ # "hello".exclude? "ol" # => true
+ # "hello".exclude? ?h # => false
+ #
+ # @return [Boolean]
+ #
+ # source://activesupport//lib/active_support/core_ext/string/exclude.rb#10
+ def exclude?(string); end
+
# Returns the first character. If a limit is supplied, returns a substring
# from the beginning of the string until it reaches the limit value. If the
# given limit is greater than or equal to the string length, returns a copy of self.
@@ -20464,6 +20549,45 @@ class String
# source://activesupport//lib/active_support/core_ext/string/zones.rb#9
def in_time_zone(zone = T.unsafe(nil)); end
+ # Indents the lines in the receiver:
+ #
+ # <
+ # def some_method
+ # some_code
+ # end
+ #
+ # The second argument, +indent_string+, specifies which indent string to
+ # use. The default is +nil+, which tells the method to make a guess by
+ # peeking at the first indented line, and fall back to a space if there is
+ # none.
+ #
+ # " foo".indent(2) # => " foo"
+ # "foo\n\t\tbar".indent(2) # => "\t\tfoo\n\t\t\t\tbar"
+ # "foo".indent(2, "\t") # => "\t\tfoo"
+ #
+ # While +indent_string+ is typically one space or tab, it may be any string.
+ #
+ # The third argument, +indent_empty_lines+, is a flag that says whether
+ # empty lines should be indented. Default is false.
+ #
+ # "foo\n\nbar".indent(2) # => " foo\n\n bar"
+ # "foo\n\nbar".indent(2, nil, true) # => " foo\n \n bar"
+ #
+ # source://activesupport//lib/active_support/core_ext/string/indent.rb#42
+ def indent(amount, indent_string = T.unsafe(nil), indent_empty_lines = T.unsafe(nil)); end
+
+ # Same as +indent+, except it indents the receiver in-place.
+ #
+ # Returns the indented string, or +nil+ if there was nothing to indent.
+ #
+ # source://activesupport//lib/active_support/core_ext/string/indent.rb#7
+ def indent!(amount, indent_string = T.unsafe(nil), indent_empty_lines = T.unsafe(nil)); end
+
# Wraps the current string in the ActiveSupport::StringInquirer class,
# which gives you a prettier way to test for equality.
#
@@ -20672,6 +20796,28 @@ class String
# source://activesupport//lib/active_support/core_ext/string/filters.rb#21
def squish!; end
+ # Strips indentation in heredocs.
+ #
+ # For example in
+ #
+ # if options[:usage]
+ # puts <<-USAGE.strip_heredoc
+ # This command does such and such.
+ #
+ # Supported options are:
+ # -h This message
+ # ...
+ # USAGE
+ # end
+ #
+ # the user would see the usage message aligned against the left margin.
+ #
+ # Technically, it looks for the least indented non-empty line
+ # in the whole string, and removes that amount of leading whitespace.
+ #
+ # source://activesupport//lib/active_support/core_ext/string/strip.rb#22
+ def strip_heredoc; end
+
# Creates the name of a table like \Rails does for models to table names. This method
# uses the +pluralize+ method on the last word in the string.
#
@@ -21429,16 +21575,3 @@ class URI::Generic
# source://activesupport//lib/active_support/core_ext/object/json.rb#225
def as_json(options = T.unsafe(nil)); end
end
-
-# source://activesupport//lib/active_support/core_ext/object/duplicable.rb#41
-class UnboundMethod
- # Unbound methods are not duplicable:
- #
- # method(:puts).unbind.duplicable? # => false
- # method(:puts).unbind.dup # => TypeError: allocator undefined for UnboundMethod
- #
- # @return [Boolean]
- #
- # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#46
- def duplicable?; end
-end
diff --git a/sorbet/rbi/gems/benchmark@0.5.0.rbi b/sorbet/rbi/gems/benchmark@0.5.0.rbi
new file mode 100644
index 000000000..1a897ae47
--- /dev/null
+++ b/sorbet/rbi/gems/benchmark@0.5.0.rbi
@@ -0,0 +1,628 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `benchmark` gem.
+# Please instead update this file by running `bin/tapioca gem benchmark`.
+
+
+# The Benchmark module provides methods to measure and report the time
+# used to execute Ruby code.
+#
+# * Measure the time to construct the string given by the expression
+# "a"*1_000_000_000:
+#
+# require 'benchmark'
+#
+# puts Benchmark.measure { "a"*1_000_000_000 }
+#
+# On my machine (OSX 10.8.3 on i5 1.7 GHz) this generates:
+#
+# 0.350000 0.400000 0.750000 ( 0.835234)
+#
+# This report shows the user CPU time, system CPU time, the total time
+# (sum of user CPU time, system CPU time, children's user CPU time,
+# and children's system CPU time), and the elapsed real time. The unit
+# of time is seconds.
+#
+# * Do some experiments sequentially using the #bm method:
+#
+# require 'benchmark'
+#
+# n = 5000000
+# Benchmark.bm do |x|
+# x.report { for i in 1..n; a = "1"; end }
+# x.report { n.times do ; a = "1"; end }
+# x.report { 1.upto(n) do ; a = "1"; end }
+# end
+#
+# The result:
+#
+# user system total real
+# 1.010000 0.000000 1.010000 ( 1.014479)
+# 1.000000 0.000000 1.000000 ( 0.998261)
+# 0.980000 0.000000 0.980000 ( 0.981335)
+#
+# * Continuing the previous example, put a label in each report:
+#
+# require 'benchmark'
+#
+# n = 5000000
+# Benchmark.bm(7) do |x|
+# x.report("for:") { for i in 1..n; a = "1"; end }
+# x.report("times:") { n.times do ; a = "1"; end }
+# x.report("upto:") { 1.upto(n) do ; a = "1"; end }
+# end
+#
+# The result:
+#
+# user system total real
+# for: 1.010000 0.000000 1.010000 ( 1.015688)
+# times: 1.000000 0.000000 1.000000 ( 1.003611)
+# upto: 1.030000 0.000000 1.030000 ( 1.028098)
+#
+# * The times for some benchmarks depend on the order in which items
+# are run. These differences are due to the cost of memory
+# allocation and garbage collection. To avoid these discrepancies,
+# the #bmbm method is provided. For example, to compare ways to
+# sort an array of floats:
+#
+# require 'benchmark'
+#
+# array = (1..1000000).map { rand }
+#
+# Benchmark.bmbm do |x|
+# x.report("sort!") { array.dup.sort! }
+# x.report("sort") { array.dup.sort }
+# end
+#
+# The result:
+#
+# Rehearsal -----------------------------------------
+# sort! 1.490000 0.010000 1.500000 ( 1.490520)
+# sort 1.460000 0.000000 1.460000 ( 1.463025)
+# -------------------------------- total: 2.960000sec
+#
+# user system total real
+# sort! 1.460000 0.000000 1.460000 ( 1.460465)
+# sort 1.450000 0.010000 1.460000 ( 1.448327)
+#
+# * Report statistics of sequential experiments with unique labels,
+# using the #benchmark method:
+#
+# require 'benchmark'
+# include Benchmark # we need the CAPTION and FORMAT constants
+#
+# n = 5000000
+# Benchmark.benchmark(CAPTION, 7, FORMAT, ">total:", ">avg:") do |x|
+# tf = x.report("for:") { for i in 1..n; a = "1"; end }
+# tt = x.report("times:") { n.times do ; a = "1"; end }
+# tu = x.report("upto:") { 1.upto(n) do ; a = "1"; end }
+# [tf+tt+tu, (tf+tt+tu)/3]
+# end
+#
+# The result:
+#
+# user system total real
+# for: 0.950000 0.000000 0.950000 ( 0.952039)
+# times: 0.980000 0.000000 0.980000 ( 0.984938)
+# upto: 0.950000 0.000000 0.950000 ( 0.946787)
+# >total: 2.880000 0.000000 2.880000 ( 2.883764)
+# >avg: 0.960000 0.000000 0.960000 ( 0.961255)
+#
+# source://benchmark//lib/benchmark.rb#123
+module Benchmark
+ private
+
+ # Invokes the block with a Benchmark::Report object, which
+ # may be used to collect and report on the results of individual
+ # benchmark tests. Reserves +label_width+ leading spaces for
+ # labels on each line. Prints +caption+ at the top of the
+ # report, and uses +format+ to format each line.
+ # (Note: +caption+ must contain a terminating newline character,
+ # see the default Benchmark::Tms::CAPTION for an example.)
+ #
+ # Returns an array of Benchmark::Tms objects.
+ #
+ # If the block returns an array of
+ # Benchmark::Tms objects, these will be used to format
+ # additional lines of output. If +labels+ parameter are
+ # given, these are used to label these extra lines.
+ #
+ # _Note_: Other methods provide a simpler interface to this one, and are
+ # suitable for nearly all benchmarking requirements. See the examples in
+ # Benchmark, and the #bm and #bmbm methods.
+ #
+ # Example:
+ #
+ # require 'benchmark'
+ # include Benchmark # we need the CAPTION and FORMAT constants
+ #
+ # n = 5000000
+ # Benchmark.benchmark(CAPTION, 7, FORMAT, ">total:", ">avg:") do |x|
+ # tf = x.report("for:") { for i in 1..n; a = "1"; end }
+ # tt = x.report("times:") { n.times do ; a = "1"; end }
+ # tu = x.report("upto:") { 1.upto(n) do ; a = "1"; end }
+ # [tf+tt+tu, (tf+tt+tu)/3]
+ # end
+ #
+ # Generates:
+ #
+ # user system total real
+ # for: 0.970000 0.000000 0.970000 ( 0.970493)
+ # times: 0.990000 0.000000 0.990000 ( 0.989542)
+ # upto: 0.970000 0.000000 0.970000 ( 0.972854)
+ # >total: 2.930000 0.000000 2.930000 ( 2.932889)
+ # >avg: 0.976667 0.000000 0.976667 ( 0.977630)
+ #
+ # source://benchmark//lib/benchmark.rb#171
+ def benchmark(caption = T.unsafe(nil), label_width = T.unsafe(nil), format = T.unsafe(nil), *labels); end
+
+ # A simple interface to the #benchmark method, #bm generates sequential
+ # reports with labels. +label_width+ and +labels+ parameters have the same
+ # meaning as for #benchmark.
+ #
+ # require 'benchmark'
+ #
+ # n = 5000000
+ # Benchmark.bm(7) do |x|
+ # x.report("for:") { for i in 1..n; a = "1"; end }
+ # x.report("times:") { n.times do ; a = "1"; end }
+ # x.report("upto:") { 1.upto(n) do ; a = "1"; end }
+ # end
+ #
+ # Generates:
+ #
+ # user system total real
+ # for: 0.960000 0.000000 0.960000 ( 0.957966)
+ # times: 0.960000 0.000000 0.960000 ( 0.960423)
+ # upto: 0.950000 0.000000 0.950000 ( 0.954864)
+ #
+ # source://benchmark//lib/benchmark.rb#216
+ def bm(label_width = T.unsafe(nil), *labels, &blk); end
+
+ # Sometimes benchmark results are skewed because code executed
+ # earlier encounters different garbage collection overheads than
+ # that run later. #bmbm attempts to minimize this effect by running
+ # the tests twice, the first time as a rehearsal in order to get the
+ # runtime environment stable, the second time for
+ # real. GC.start is executed before the start of each of
+ # the real timings; the cost of this is not included in the
+ # timings. In reality, though, there's only so much that #bmbm can
+ # do, and the results are not guaranteed to be isolated from garbage
+ # collection and other effects.
+ #
+ # Because #bmbm takes two passes through the tests, it can
+ # calculate the required label width.
+ #
+ # require 'benchmark'
+ #
+ # array = (1..1000000).map { rand }
+ #
+ # Benchmark.bmbm do |x|
+ # x.report("sort!") { array.dup.sort! }
+ # x.report("sort") { array.dup.sort }
+ # end
+ #
+ # Generates:
+ #
+ # Rehearsal -----------------------------------------
+ # sort! 1.440000 0.010000 1.450000 ( 1.446833)
+ # sort 1.440000 0.000000 1.440000 ( 1.448257)
+ # -------------------------------- total: 2.890000sec
+ #
+ # user system total real
+ # sort! 1.460000 0.000000 1.460000 ( 1.458065)
+ # sort 1.450000 0.000000 1.450000 ( 1.455963)
+ #
+ # #bmbm yields a Benchmark::Job object and returns an array of
+ # Benchmark::Tms objects.
+ #
+ # source://benchmark//lib/benchmark.rb#258
+ def bmbm(width = T.unsafe(nil)); end
+
+ # Returns the time used to execute the given block as a
+ # Benchmark::Tms object. Takes +label+ option.
+ #
+ # require 'benchmark'
+ #
+ # n = 1000000
+ #
+ # time = Benchmark.measure do
+ # n.times { a = "1" }
+ # end
+ # puts time
+ #
+ # Generates:
+ #
+ # 0.220000 0.000000 0.220000 ( 0.227313)
+ #
+ # source://benchmark//lib/benchmark.rb#303
+ def measure(label = T.unsafe(nil)); end
+
+ # Returns the elapsed real time used to execute the given block.
+ # The unit of time is milliseconds.
+ #
+ # Benchmark.ms { "a" * 1_000_000_000 }
+ # #=> 509.8029999935534
+ #
+ # source://benchmark//lib/benchmark.rb#335
+ def ms; end
+
+ # Returns the elapsed real time used to execute the given block.
+ # The unit of time is seconds.
+ #
+ # Benchmark.realtime { "a" * 1_000_000_000 }
+ # #=> 0.5098029999935534
+ #
+ # source://benchmark//lib/benchmark.rb#322
+ def realtime; end
+
+ class << self
+ # Invokes the block with a Benchmark::Report object, which
+ # may be used to collect and report on the results of individual
+ # benchmark tests. Reserves +label_width+ leading spaces for
+ # labels on each line. Prints +caption+ at the top of the
+ # report, and uses +format+ to format each line.
+ # (Note: +caption+ must contain a terminating newline character,
+ # see the default Benchmark::Tms::CAPTION for an example.)
+ #
+ # Returns an array of Benchmark::Tms objects.
+ #
+ # If the block returns an array of
+ # Benchmark::Tms objects, these will be used to format
+ # additional lines of output. If +labels+ parameter are
+ # given, these are used to label these extra lines.
+ #
+ # _Note_: Other methods provide a simpler interface to this one, and are
+ # suitable for nearly all benchmarking requirements. See the examples in
+ # Benchmark, and the #bm and #bmbm methods.
+ #
+ # Example:
+ #
+ # require 'benchmark'
+ # include Benchmark # we need the CAPTION and FORMAT constants
+ #
+ # n = 5000000
+ # Benchmark.benchmark(CAPTION, 7, FORMAT, ">total:", ">avg:") do |x|
+ # tf = x.report("for:") { for i in 1..n; a = "1"; end }
+ # tt = x.report("times:") { n.times do ; a = "1"; end }
+ # tu = x.report("upto:") { 1.upto(n) do ; a = "1"; end }
+ # [tf+tt+tu, (tf+tt+tu)/3]
+ # end
+ #
+ # Generates:
+ #
+ # user system total real
+ # for: 0.970000 0.000000 0.970000 ( 0.970493)
+ # times: 0.990000 0.000000 0.990000 ( 0.989542)
+ # upto: 0.970000 0.000000 0.970000 ( 0.972854)
+ # >total: 2.930000 0.000000 2.930000 ( 2.932889)
+ # >avg: 0.976667 0.000000 0.976667 ( 0.977630)
+ #
+ # source://benchmark//lib/benchmark.rb#171
+ def benchmark(caption = T.unsafe(nil), label_width = T.unsafe(nil), format = T.unsafe(nil), *labels); end
+
+ # A simple interface to the #benchmark method, #bm generates sequential
+ # reports with labels. +label_width+ and +labels+ parameters have the same
+ # meaning as for #benchmark.
+ #
+ # require 'benchmark'
+ #
+ # n = 5000000
+ # Benchmark.bm(7) do |x|
+ # x.report("for:") { for i in 1..n; a = "1"; end }
+ # x.report("times:") { n.times do ; a = "1"; end }
+ # x.report("upto:") { 1.upto(n) do ; a = "1"; end }
+ # end
+ #
+ # Generates:
+ #
+ # user system total real
+ # for: 0.960000 0.000000 0.960000 ( 0.957966)
+ # times: 0.960000 0.000000 0.960000 ( 0.960423)
+ # upto: 0.950000 0.000000 0.950000 ( 0.954864)
+ #
+ # source://benchmark//lib/benchmark.rb#216
+ def bm(label_width = T.unsafe(nil), *labels, &blk); end
+
+ # Sometimes benchmark results are skewed because code executed
+ # earlier encounters different garbage collection overheads than
+ # that run later. #bmbm attempts to minimize this effect by running
+ # the tests twice, the first time as a rehearsal in order to get the
+ # runtime environment stable, the second time for
+ # real. GC.start is executed before the start of each of
+ # the real timings; the cost of this is not included in the
+ # timings. In reality, though, there's only so much that #bmbm can
+ # do, and the results are not guaranteed to be isolated from garbage
+ # collection and other effects.
+ #
+ # Because #bmbm takes two passes through the tests, it can
+ # calculate the required label width.
+ #
+ # require 'benchmark'
+ #
+ # array = (1..1000000).map { rand }
+ #
+ # Benchmark.bmbm do |x|
+ # x.report("sort!") { array.dup.sort! }
+ # x.report("sort") { array.dup.sort }
+ # end
+ #
+ # Generates:
+ #
+ # Rehearsal -----------------------------------------
+ # sort! 1.440000 0.010000 1.450000 ( 1.446833)
+ # sort 1.440000 0.000000 1.440000 ( 1.448257)
+ # -------------------------------- total: 2.890000sec
+ #
+ # user system total real
+ # sort! 1.460000 0.000000 1.460000 ( 1.458065)
+ # sort 1.450000 0.000000 1.450000 ( 1.455963)
+ #
+ # #bmbm yields a Benchmark::Job object and returns an array of
+ # Benchmark::Tms objects.
+ #
+ # source://benchmark//lib/benchmark.rb#258
+ def bmbm(width = T.unsafe(nil)); end
+
+ # Returns the time used to execute the given block as a
+ # Benchmark::Tms object. Takes +label+ option.
+ #
+ # require 'benchmark'
+ #
+ # n = 1000000
+ #
+ # time = Benchmark.measure do
+ # n.times { a = "1" }
+ # end
+ # puts time
+ #
+ # Generates:
+ #
+ # 0.220000 0.000000 0.220000 ( 0.227313)
+ #
+ # source://benchmark//lib/benchmark.rb#303
+ def measure(label = T.unsafe(nil)); end
+
+ # Returns the elapsed real time used to execute the given block.
+ # The unit of time is seconds.
+ #
+ # Benchmark.realtime { "a" * 1_000_000_000 }
+ # #=> 0.5098029999935534
+ #
+ # source://benchmark//lib/benchmark.rb#322
+ def realtime; end
+ end
+end
+
+# A Job is a sequence of labelled blocks to be processed by the
+# Benchmark.bmbm method. It is of little direct interest to the user.
+#
+# source://benchmark//lib/benchmark.rb#347
+class Benchmark::Job
+ # Returns an initialized Job instance.
+ # Usually, one doesn't call this method directly, as new
+ # Job objects are created by the #bmbm method.
+ # +width+ is a initial value for the label offset used in formatting;
+ # the #bmbm method passes its +width+ argument to this constructor.
+ #
+ # @return [Job] a new instance of Job
+ #
+ # source://benchmark//lib/benchmark.rb#355
+ def initialize(width); end
+
+ # Registers the given label and block pair in the job list.
+ #
+ # @raise [ArgumentError]
+ #
+ # source://benchmark//lib/benchmark.rb#363
+ def item(label = T.unsafe(nil), &blk); end
+
+ # An array of 2-element arrays, consisting of label and block pairs.
+ #
+ # source://benchmark//lib/benchmark.rb#375
+ def list; end
+
+ # Registers the given label and block pair in the job list.
+ #
+ # @raise [ArgumentError]
+ #
+ # source://benchmark//lib/benchmark.rb#363
+ def report(label = T.unsafe(nil), &blk); end
+
+ # Length of the widest label in the #list.
+ #
+ # source://benchmark//lib/benchmark.rb#378
+ def width; end
+end
+
+# This class is used by the Benchmark.benchmark and Benchmark.bm methods.
+# It is of little direct interest to the user.
+#
+# source://benchmark//lib/benchmark.rb#385
+class Benchmark::Report
+ # Returns an initialized Report instance.
+ # Usually, one doesn't call this method directly, as new
+ # Report objects are created by the #benchmark and #bm methods.
+ # +width+ and +format+ are the label offset and
+ # format string used by Tms#format.
+ #
+ # @return [Report] a new instance of Report
+ #
+ # source://benchmark//lib/benchmark.rb#393
+ def initialize(width = T.unsafe(nil), format = T.unsafe(nil)); end
+
+ # An array of Benchmark::Tms objects representing each item.
+ #
+ # source://benchmark//lib/benchmark.rb#412
+ def format; end
+
+ # Prints the +label+ and measured time for the block,
+ # formatted by +format+. See Tms#format for the
+ # formatting rules.
+ #
+ # source://benchmark//lib/benchmark.rb#402
+ def item(label = T.unsafe(nil), *format, &blk); end
+
+ # An array of Benchmark::Tms objects representing each item.
+ #
+ # source://benchmark//lib/benchmark.rb#412
+ def list; end
+
+ # Prints the +label+ and measured time for the block,
+ # formatted by +format+. See Tms#format for the
+ # formatting rules.
+ #
+ # source://benchmark//lib/benchmark.rb#402
+ def report(label = T.unsafe(nil), *format, &blk); end
+
+ # An array of Benchmark::Tms objects representing each item.
+ #
+ # source://benchmark//lib/benchmark.rb#412
+ def width; end
+end
+
+# A data object, representing the times associated with a benchmark
+# measurement.
+#
+# source://benchmark//lib/benchmark.rb#421
+class Benchmark::Tms
+ # Returns an initialized Tms object which has
+ # +utime+ as the user CPU time, +stime+ as the system CPU time,
+ # +cutime+ as the children's user CPU time, +cstime+ as the children's
+ # system CPU time, +real+ as the elapsed real time and +label+ as the label.
+ #
+ # @return [Tms] a new instance of Tms
+ #
+ # source://benchmark//lib/benchmark.rb#456
+ def initialize(utime = T.unsafe(nil), stime = T.unsafe(nil), cutime = T.unsafe(nil), cstime = T.unsafe(nil), real = T.unsafe(nil), label = T.unsafe(nil)); end
+
+ # Returns a new Tms object obtained by memberwise multiplication
+ # of the individual times for this Tms object by +x+.
+ #
+ # source://benchmark//lib/benchmark.rb#504
+ def *(x); end
+
+ # Returns a new Tms object obtained by memberwise summation
+ # of the individual times for this Tms object with those of the +other+
+ # Tms object.
+ # This method and #/() are useful for taking statistics.
+ #
+ # source://benchmark//lib/benchmark.rb#491
+ def +(other); end
+
+ # Returns a new Tms object obtained by memberwise subtraction
+ # of the individual times for the +other+ Tms object from those of this
+ # Tms object.
+ #
+ # source://benchmark//lib/benchmark.rb#498
+ def -(other); end
+
+ # Returns a new Tms object obtained by memberwise division
+ # of the individual times for this Tms object by +x+.
+ # This method and #+() are useful for taking statistics.
+ #
+ # source://benchmark//lib/benchmark.rb#511
+ def /(x); end
+
+ # Returns a new Tms object whose times are the sum of the times for this
+ # Tms object, plus the time required to execute the code block (+blk+).
+ #
+ # source://benchmark//lib/benchmark.rb#465
+ def add(&blk); end
+
+ # An in-place version of #add.
+ # Changes the times of this Tms object by making it the sum of the times
+ # for this Tms object, plus the time required to execute
+ # the code block (+blk+).
+ #
+ # source://benchmark//lib/benchmark.rb#475
+ def add!(&blk); end
+
+ # System CPU time of children
+ #
+ # source://benchmark//lib/benchmark.rb#439
+ def cstime; end
+
+ # User CPU time of children
+ #
+ # source://benchmark//lib/benchmark.rb#436
+ def cutime; end
+
+ # Returns the contents of this Tms object as
+ # a formatted string, according to a +format+ string
+ # like that passed to Kernel.format. In addition, #format
+ # accepts the following extensions:
+ #
+ # %u:: Replaced by the user CPU time, as reported by Tms#utime.
+ # %y:: Replaced by the system CPU time, as reported by Tms#stime (Mnemonic: y of "s*y*stem")
+ # %U:: Replaced by the children's user CPU time, as reported by Tms#cutime
+ # %Y:: Replaced by the children's system CPU time, as reported by Tms#cstime
+ # %t:: Replaced by the total CPU time, as reported by Tms#total
+ # %r:: Replaced by the elapsed real time, as reported by Tms#real
+ # %n:: Replaced by the label string, as reported by Tms#label (Mnemonic: n of "*n*ame")
+ #
+ # If +format+ is not given, FORMAT is used as default value, detailing the
+ # user, system, total and real elapsed time.
+ #
+ # source://benchmark//lib/benchmark.rb#530
+ def format(format = T.unsafe(nil), *args); end
+
+ # Label
+ #
+ # source://benchmark//lib/benchmark.rb#448
+ def label; end
+
+ # Elapsed real time
+ #
+ # source://benchmark//lib/benchmark.rb#442
+ def real; end
+
+ # System CPU time
+ #
+ # source://benchmark//lib/benchmark.rb#433
+ def stime; end
+
+ # Returns a new 6-element array, consisting of the
+ # label, user CPU time, system CPU time, children's
+ # user CPU time, children's system CPU time and elapsed
+ # real time.
+ #
+ # source://benchmark//lib/benchmark.rb#555
+ def to_a; end
+
+ # Returns a hash containing the same data as `to_a`.
+ #
+ # source://benchmark//lib/benchmark.rb#562
+ def to_h; end
+
+ # Same as #format.
+ #
+ # source://benchmark//lib/benchmark.rb#545
+ def to_s; end
+
+ # Total time, that is +utime+ + +stime+ + +cutime+ + +cstime+
+ #
+ # source://benchmark//lib/benchmark.rb#445
+ def total; end
+
+ # User CPU time
+ #
+ # source://benchmark//lib/benchmark.rb#430
+ def utime; end
+
+ protected
+
+ # Returns a new Tms object obtained by memberwise operation +op+
+ # of the individual times for this Tms object with those of the other
+ # Tms object (+x+).
+ #
+ # +op+ can be a mathematical operation such as +, -,
+ # *, /
+ #
+ # source://benchmark//lib/benchmark.rb#583
+ def memberwise(op, x); end
+end
+
+# source://benchmark//lib/benchmark.rb#125
+Benchmark::VERSION = T.let(T.unsafe(nil), String)
diff --git a/sorbet/rbi/gems/bigdecimal@3.1.8.rbi b/sorbet/rbi/gems/bigdecimal@3.1.8.rbi
deleted file mode 100644
index c275b2f77..000000000
--- a/sorbet/rbi/gems/bigdecimal@3.1.8.rbi
+++ /dev/null
@@ -1,78 +0,0 @@
-# typed: true
-
-# DO NOT EDIT MANUALLY
-# This is an autogenerated file for types exported from the `bigdecimal` gem.
-# Please instead update this file by running `bin/tapioca gem bigdecimal`.
-
-
-# source://bigdecimal//lib/bigdecimal/util.rb#78
-class BigDecimal < ::Numeric
- # call-seq:
- # a.to_d -> bigdecimal
- #
- # Returns self.
- #
- # require 'bigdecimal/util'
- #
- # d = BigDecimal("3.14")
- # d.to_d # => 0.314e1
- #
- # source://bigdecimal//lib/bigdecimal/util.rb#110
- def to_d; end
-
- # call-seq:
- # a.to_digits -> string
- #
- # Converts a BigDecimal to a String of the form "nnnnnn.mmm".
- # This method is deprecated; use BigDecimal#to_s("F") instead.
- #
- # require 'bigdecimal/util'
- #
- # d = BigDecimal("3.14")
- # d.to_digits # => "3.14"
- #
- # source://bigdecimal//lib/bigdecimal/util.rb#90
- def to_digits; end
-end
-
-BigDecimal::VERSION = T.let(T.unsafe(nil), String)
-
-# source://bigdecimal//lib/bigdecimal/util.rb#138
-class Complex < ::Numeric
- # call-seq:
- # cmp.to_d -> bigdecimal
- # cmp.to_d(precision) -> bigdecimal
- #
- # Returns the value as a BigDecimal.
- #
- # The +precision+ parameter is required for a rational complex number.
- # This parameter is used to determine the number of significant digits
- # for the result.
- #
- # require 'bigdecimal'
- # require 'bigdecimal/util'
- #
- # Complex(0.1234567, 0).to_d(4) # => 0.1235e0
- # Complex(Rational(22, 7), 0).to_d(3) # => 0.314e1
- #
- # See also Kernel.BigDecimal.
- #
- # source://bigdecimal//lib/bigdecimal/util.rb#157
- def to_d(*args); end
-end
-
-# source://bigdecimal//lib/bigdecimal/util.rb#171
-class NilClass
- # call-seq:
- # nil.to_d -> bigdecimal
- #
- # Returns nil represented as a BigDecimal.
- #
- # require 'bigdecimal'
- # require 'bigdecimal/util'
- #
- # nil.to_d # => 0.0
- #
- # source://bigdecimal//lib/bigdecimal/util.rb#182
- def to_d; end
-end
diff --git a/sorbet/rbi/gems/bigdecimal@3.3.1.rbi b/sorbet/rbi/gems/bigdecimal@3.3.1.rbi
new file mode 100644
index 000000000..9631ae3e2
--- /dev/null
+++ b/sorbet/rbi/gems/bigdecimal@3.3.1.rbi
@@ -0,0 +1,206 @@
+# typed: false
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `bigdecimal` gem.
+# Please instead update this file by running `bin/tapioca gem bigdecimal`.
+
+
+# source://bigdecimal//lib/bigdecimal.rb#13
+class BigDecimal < ::Numeric
+ # call-seq:
+ # self ** other -> bigdecimal
+ #
+ # Returns the \BigDecimal value of +self+ raised to power +other+:
+ #
+ # b = BigDecimal('3.14')
+ # b ** 2 # => 0.98596e1
+ # b ** 2.0 # => 0.98596e1
+ # b ** Rational(2, 1) # => 0.98596e1
+ #
+ # Related: BigDecimal#power.
+ #
+ # source://bigdecimal//lib/bigdecimal.rb#77
+ def **(y); end
+
+ # call-seq:
+ # power(n)
+ # power(n, prec)
+ #
+ # Returns the value raised to the power of n.
+ #
+ # Also available as the operator **.
+ #
+ # source://bigdecimal//lib/bigdecimal.rb#97
+ def power(y, prec = T.unsafe(nil)); end
+
+ # Returns the square root of the value.
+ #
+ # Result has at least prec significant digits.
+ #
+ # @raise [FloatDomainError]
+ #
+ # source://bigdecimal//lib/bigdecimal.rb#211
+ def sqrt(prec); end
+
+ # call-seq:
+ # a.to_d -> bigdecimal
+ #
+ # Returns self.
+ #
+ # require 'bigdecimal/util'
+ #
+ # d = BigDecimal("3.14")
+ # d.to_d # => 0.314e1
+ #
+ # source://bigdecimal//lib/bigdecimal/util.rb#110
+ def to_d; end
+
+ # call-seq:
+ # a.to_digits -> string
+ #
+ # Converts a BigDecimal to a String of the form "nnnnnn.mmm".
+ # This method is deprecated; use BigDecimal#to_s("F") instead.
+ #
+ # require 'bigdecimal/util'
+ #
+ # d = BigDecimal("3.14")
+ # d.to_digits # => "3.14"
+ #
+ # source://bigdecimal//lib/bigdecimal/util.rb#90
+ def to_digits; end
+end
+
+# source://bigdecimal//lib/bigdecimal.rb#14
+module BigDecimal::Internal
+ class << self
+ # Coerce x to BigDecimal with the specified precision.
+ # TODO: some methods (example: BigMath.exp) require more precision than specified to coerce.
+ #
+ # @raise [ArgumentError]
+ #
+ # source://bigdecimal//lib/bigdecimal.rb#18
+ def coerce_to_bigdecimal(x, prec, method_name); end
+
+ # source://bigdecimal//lib/bigdecimal.rb#30
+ def coerce_validate_prec(prec, method_name, accept_zero: T.unsafe(nil)); end
+
+ # source://bigdecimal//lib/bigdecimal.rb#50
+ def infinity_computation_result; end
+
+ # source://bigdecimal//lib/bigdecimal.rb#57
+ def nan_computation_result; end
+ end
+end
+
+BigDecimal::VERSION = T.let(T.unsafe(nil), String)
+
+# Core BigMath methods for BigDecimal (log, exp) are defined here.
+# Other methods (sin, cos, atan) are defined in 'bigdecimal/math.rb'.
+#
+# source://bigdecimal//lib/bigdecimal.rb#237
+module BigMath
+ class << self
+ # call-seq:
+ # BigMath.exp(decimal, numeric) -> BigDecimal
+ #
+ # Computes the value of e (the base of natural logarithms) raised to the
+ # power of +decimal+, to the specified number of digits of precision.
+ #
+ # If +decimal+ is infinity, returns Infinity.
+ #
+ # If +decimal+ is NaN, returns NaN.
+ #
+ # source://bigdecimal//lib/bigdecimal.rb#328
+ def exp(x, prec); end
+
+ # call-seq:
+ # BigMath.log(decimal, numeric) -> BigDecimal
+ #
+ # Computes the natural logarithm of +decimal+ to the specified number of
+ # digits of precision, +numeric+.
+ #
+ # If +decimal+ is zero or negative, raises Math::DomainError.
+ #
+ # If +decimal+ is positive infinity, returns Infinity.
+ #
+ # If +decimal+ is NaN, returns NaN.
+ #
+ # @raise [Math::DomainError]
+ #
+ # source://bigdecimal//lib/bigdecimal.rb#251
+ def log(x, prec); end
+
+ private
+
+ # source://bigdecimal//lib/bigdecimal.rb#306
+ def _exp_taylor(x, prec); end
+ end
+end
+
+# source://bigdecimal//lib/bigdecimal/util.rb#141
+class Complex < ::Numeric
+ # call-seq:
+ # cmp.to_d -> bigdecimal
+ # cmp.to_d(precision) -> bigdecimal
+ #
+ # Returns the value as a BigDecimal.
+ # If the imaginary part is not +0+, an error is raised
+ #
+ # The +precision+ parameter is used to determine the number of
+ # significant digits for the result. When +precision+ is set to +0+,
+ # the number of digits to represent the float being converted is determined
+ # automatically.
+ # The default +precision+ is +0+.
+ #
+ # require 'bigdecimal'
+ # require 'bigdecimal/util'
+ #
+ # Complex(0.1234567, 0).to_d(4) # => 0.1235e0
+ # Complex(Rational(22, 7), 0).to_d(3) # => 0.314e1
+ # Complex(1, 1).to_d # raises ArgumentError
+ #
+ # See also Kernel.BigDecimal.
+ #
+ # source://bigdecimal//lib/bigdecimal/util.rb#164
+ def to_d(precision = T.unsafe(nil)); end
+end
+
+# source://bigdecimal//lib/bigdecimal/util.rb#172
+class NilClass
+ # call-seq:
+ # nil.to_d -> bigdecimal
+ #
+ # Returns nil represented as a BigDecimal.
+ #
+ # require 'bigdecimal'
+ # require 'bigdecimal/util'
+ #
+ # nil.to_d # => 0.0
+ #
+ # source://bigdecimal//lib/bigdecimal/util.rb#183
+ def to_d; end
+end
+
+# source://bigdecimal//lib/bigdecimal/util.rb#116
+class Rational < ::Numeric
+ # call-seq:
+ # rat.to_d(precision) -> bigdecimal
+ #
+ # Returns the value as a BigDecimal.
+ #
+ # The +precision+ parameter is used to determine the number of
+ # significant digits for the result. When +precision+ is set to +0+,
+ # the number of digits to represent the float being converted is determined
+ # automatically.
+ # The default +precision+ is +0+.
+ #
+ # require 'bigdecimal'
+ # require 'bigdecimal/util'
+ #
+ # Rational(22, 7).to_d(3) # => 0.314e1
+ #
+ # See also Kernel.BigDecimal.
+ #
+ # source://bigdecimal//lib/bigdecimal/util.rb#135
+ def to_d(precision = T.unsafe(nil)); end
+end
diff --git a/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi b/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi
similarity index 99%
rename from sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi
rename to sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi
index e6a82d005..1f32266f7 100644
--- a/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi
+++ b/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi
@@ -11,7 +11,6 @@
module Concurrent
extend ::Concurrent::Utility::EngineDetector
extend ::Concurrent::Utility::NativeExtensionLoader
- extend ::Logger::Severity
extend ::Concurrent::Concern::Logging
extend ::Concurrent::Concern::Deprecation
@@ -189,15 +188,17 @@ module Concurrent
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#217
def cpu_shares; end
- # @return [Logger] Logger with provided level and output.
+ # Create a simple logger with provided level and output.
#
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#37
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#38
def create_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
+ # Create a stdlib logger with provided level and output.
+ # If you use this deprecated method you might need to add logger to your Gemfile to avoid warnings from Ruby 3.3.5+.
+ #
# @deprecated
- # @return [Logger] Logger with provided level and output.
#
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#69
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#73
def create_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
# Dataflow allows you to create a task that will be scheduled when all of its data dependencies are available.
@@ -269,10 +270,10 @@ module Concurrent
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#62
def global_io_executor; end
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#109
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#114
def global_logger; end
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#113
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#118
def global_logger=(value); end
# Global thread pool user for global *timers*.
@@ -354,14 +355,14 @@ module Concurrent
# Use logger created by #create_simple_logger to log concurrent-ruby messages.
#
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#63
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#66
def use_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
# Use logger created by #create_stdlib_logger to log concurrent-ruby messages.
#
# @deprecated
#
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#96
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#101
def use_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end
end
end
@@ -466,7 +467,6 @@ Concurrent::AbstractExchanger::CANCEL = T.let(T.unsafe(nil), Object)
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#10
class Concurrent::AbstractExecutorService < ::Concurrent::Synchronization::LockableObject
- include ::Logger::Severity
include ::Concurrent::Concern::Logging
include ::Concurrent::ExecutorService
include ::Concurrent::Concern::Deprecation
@@ -884,7 +884,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject
# hopelessly deadlock the Agent with no possibility of recovery.
#
# @param timeout [Float] the maximum number of seconds to wait
- # @raise [Concurrent::TimeoutError] when timout is reached
+ # @raise [Concurrent::TimeoutError] when timeout is reached
# @return [Boolean] true if all actions complete before timeout
#
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#377
@@ -1286,7 +1286,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject
#
# @param timeout [Float] the maximum number of seconds to wait
# @param agents [Array] the Agents on which to wait
- # @raise [Concurrent::TimeoutError] when timout is reached
+ # @raise [Concurrent::TimeoutError] when timeout is reached
# @return [Boolean] true if all actions complete before timeout
#
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#482
@@ -3163,9 +3163,7 @@ module Concurrent::Concern; end
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/deprecation.rb#8
module Concurrent::Concern::Deprecation
- include ::Logger::Severity
include ::Concurrent::Concern::Logging
- extend ::Logger::Severity
extend ::Concurrent::Concern::Logging
extend ::Concurrent::Concern::Deprecation
@@ -3243,21 +3241,40 @@ end
# Include where logging is needed
#
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#10
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#9
module Concurrent::Concern::Logging
- include ::Logger::Severity
-
# Logs through {Concurrent.global_logger}, it can be overridden by setting @logger
#
- # @param level [Integer] one of Logger::Severity constants
+ # @param level [Integer] one of Concurrent::Concern::Logging constants
# @param progname [String] e.g. a path of an Actor
# @param message [String, nil] when nil block is used to generate the message
# @yieldreturn [String] a message
#
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#18
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#19
def log(level, progname, message = T.unsafe(nil), &block); end
end
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
+Concurrent::Concern::Logging::DEBUG = T.let(T.unsafe(nil), Integer)
+
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
+Concurrent::Concern::Logging::ERROR = T.let(T.unsafe(nil), Integer)
+
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
+Concurrent::Concern::Logging::FATAL = T.let(T.unsafe(nil), Integer)
+
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
+Concurrent::Concern::Logging::INFO = T.let(T.unsafe(nil), Integer)
+
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#12
+Concurrent::Concern::Logging::SEV_LABEL = T.let(T.unsafe(nil), Array)
+
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
+Concurrent::Concern::Logging::UNKNOWN = T.let(T.unsafe(nil), Integer)
+
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11
+Concurrent::Concern::Logging::WARN = T.let(T.unsafe(nil), Integer)
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#10
module Concurrent::Concern::Obligation
include ::Concurrent::Concern::Dereferenceable
@@ -3710,7 +3727,7 @@ end
#
# When a `Delay` is created its state is set to `pending`. The value and
# reason are both `nil`. The first time the `#value` method is called the
-# enclosed opration will be run and the calling thread will block. Other
+# enclosed operation will be run and the calling thread will block. Other
# threads attempting to call `#value` will block as well. Once the operation
# is complete the *value* will be set to the result of the operation or the
# *reason* will be set to the raised exception, as appropriate. All threads
@@ -3976,7 +3993,6 @@ Concurrent::ExchangerImplementation = Concurrent::RubyExchanger
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#157
module Concurrent::ExecutorService
- include ::Logger::Severity
include ::Concurrent::Concern::Logging
# Submit a task to the executor for asynchronous processing.
@@ -4281,7 +4297,7 @@ Concurrent::GLOBAL_IMMEDIATE_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Immedia
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#22
Concurrent::GLOBAL_IO_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Delay)
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#106
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#111
Concurrent::GLOBAL_LOGGER = T.let(T.unsafe(nil), Concurrent::AtomicReference)
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#26
@@ -6043,7 +6059,7 @@ Concurrent::NULL = T.let(T.unsafe(nil), Object)
# Suppresses all output when used for logging.
#
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#103
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#108
Concurrent::NULL_LOGGER = T.let(T.unsafe(nil), Proc)
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/options.rb#6
@@ -6154,7 +6170,7 @@ end
# - if parent is *rejected* the child will be *pending* (but will ultimately be *rejected*)
#
# Promises are executed asynchronously from the main thread. By the time a
-# child Promise finishes intialization it may be in a different state than its
+# child Promise finishes initialization it may be in a different state than its
# parent (by the time a child is created its parent may have completed
# execution and changed state). Despite being asynchronous, however, the order
# of execution of Promise objects in a chain (or tree) is strictly defined.
@@ -9037,7 +9053,7 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService
#
# This is a no-op on some pool implementation (e.g. the Java one). The Ruby
# pool will auto-prune each time a new job is posted. You will need to call
- # this method explicitely in case your application post jobs in bursts (a
+ # this method explicitly in case your application post jobs in bursts (a
# lot of jobs and then nothing for long periods)
#
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#118
@@ -9177,7 +9193,6 @@ Concurrent::RubyThreadPoolExecutor::DEFAULT_THREAD_IDLETIMEOUT = T.let(T.unsafe(
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#310
class Concurrent::RubyThreadPoolExecutor::Worker
- include ::Logger::Severity
include ::Concurrent::Concern::Logging
# @return [Worker] a new instance of Worker
@@ -9410,7 +9425,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#163
def executor; end
- # The `delay` value given at instanciation.
+ # The `delay` value given at instantiation.
#
# @return [Float] the initial delay.
#
@@ -9575,7 +9590,6 @@ Concurrent::SemaphoreImplementation = Concurrent::MutexSemaphore
#
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb#24
module Concurrent::SerialExecutorService
- include ::Logger::Severity
include ::Concurrent::Concern::Logging
include ::Concurrent::ExecutorService
@@ -9594,7 +9608,6 @@ end
#
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#8
class Concurrent::SerializedExecution < ::Concurrent::Synchronization::LockableObject
- include ::Logger::Severity
include ::Concurrent::Concern::Logging
# @return [SerializedExecution] a new instance of SerializedExecution
@@ -9692,7 +9705,6 @@ end
#
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb#12
class Concurrent::SerializedExecutionDelegator < ::SimpleDelegator
- include ::Logger::Severity
include ::Concurrent::Concern::Logging
include ::Concurrent::ExecutorService
include ::Concurrent::SerialExecutorService
@@ -10030,7 +10042,7 @@ end
# is received. This pattern has several issues. The thread itself is highly
# susceptible to errors during processing. Also, the thread itself must be
# constantly monitored and restarted should it die. `SingleThreadExecutor`
-# encapsulates all these bahaviors. The task processor is highly resilient
+# encapsulates all these behaviors. The task processor is highly resilient
# to errors from within tasks. Also, should the thread die it will
# automatically be restarted.
#
@@ -10492,7 +10504,7 @@ class Concurrent::Synchronization::Object < ::Concurrent::Synchronization::Abstr
# Creates methods for reading and writing to a instance variable with
# volatile (Java) semantic as {.attr_volatile} does.
- # The instance variable should be accessed oly through generated methods.
+ # The instance variable should be accessed only through generated methods.
# This method generates following methods: `value`, `value=(new_value) #=> new_value`,
# `swap_value(new_value) #=> old_value`,
# `compare_and_set_value(expected, value) #=> true || false`, `update_value(&block)`.
diff --git a/sorbet/rbi/gems/connection_pool@2.4.1.rbi b/sorbet/rbi/gems/connection_pool@2.5.5.rbi
similarity index 65%
rename from sorbet/rbi/gems/connection_pool@2.4.1.rbi
rename to sorbet/rbi/gems/connection_pool@2.5.5.rbi
index 4d55a13f2..a30b72d92 100644
--- a/sorbet/rbi/gems/connection_pool@2.4.1.rbi
+++ b/sorbet/rbi/gems/connection_pool@2.5.5.rbi
@@ -44,43 +44,84 @@ class ConnectionPool
# Automatically drop all connections after fork
#
- # source://connection_pool//lib/connection_pool.rb#166
+ # source://connection_pool//lib/connection_pool.rb#219
def auto_reload_after_fork; end
# Number of pool entries available for checkout at this instant.
#
- # source://connection_pool//lib/connection_pool.rb#169
+ # source://connection_pool//lib/connection_pool.rb#222
def available; end
- # source://connection_pool//lib/connection_pool.rb#129
+ # source://connection_pool//lib/connection_pool.rb#167
def checkin(force: T.unsafe(nil)); end
- # source://connection_pool//lib/connection_pool.rb#119
+ # source://connection_pool//lib/connection_pool.rb#157
def checkout(options = T.unsafe(nil)); end
+ # Marks the current thread's checked-out connection for discard.
+ #
+ # When a connection is marked for discard, it will not be returned to the pool
+ # when checked in. Instead, the connection will be discarded.
+ # This is useful when a connection has become invalid or corrupted
+ # and should not be reused.
+ #
+ # Takes an optional block that will be called with the connection to be discarded.
+ # The block should perform any necessary clean-up on the connection.
+ #
+ # Note: This only affects the connection currently checked out by the calling thread.
+ # The connection will be discarded when +checkin+ is called.
+ #
+ # @example
+ # pool.with do |conn|
+ # begin
+ # conn.execute("SELECT 1")
+ # rescue SomeConnectionError
+ # pool.discard_current_connection # Mark connection as bad
+ # raise
+ # end
+ # end
+ # @return [void]
+ # @yield [conn]
+ # @yieldparam conn [Object] The connection to be discarded.
+ # @yieldreturn [void]
+ #
+ # source://connection_pool//lib/connection_pool.rb#153
+ def discard_current_connection(&block); end
+
+ # Number of pool entries created and idle in the pool.
+ #
+ # source://connection_pool//lib/connection_pool.rb#227
+ def idle; end
+
+ # Reaps idle connections that have been idle for over +idle_seconds+.
+ # +idle_seconds+ defaults to 60.
+ #
+ # source://connection_pool//lib/connection_pool.rb#212
+ def reap(idle_seconds = T.unsafe(nil), &block); end
+
# Reloads the ConnectionPool by passing each connection to +block+ and then
# removing it the pool. Subsequent checkouts will create new connections as
# needed.
#
- # source://connection_pool//lib/connection_pool.rb#159
+ # source://connection_pool//lib/connection_pool.rb#206
def reload(&block); end
# Shuts down the ConnectionPool by passing each connection to +block+ and
# then removing it from the pool. Attempting to checkout a connection after
# shutdown will raise +ConnectionPool::PoolShuttingDownError+.
#
- # source://connection_pool//lib/connection_pool.rb#150
+ # source://connection_pool//lib/connection_pool.rb#198
def shutdown(&block); end
# Size of this connection pool
#
- # source://connection_pool//lib/connection_pool.rb#164
+ # source://connection_pool//lib/connection_pool.rb#217
def size; end
- # source://connection_pool//lib/connection_pool.rb#105
+ # source://connection_pool//lib/connection_pool.rb#106
def then(options = T.unsafe(nil)); end
- # source://connection_pool//lib/connection_pool.rb#105
+ # source://connection_pool//lib/connection_pool.rb#106
def with(options = T.unsafe(nil)); end
class << self
@@ -110,6 +151,10 @@ ConnectionPool::INSTANCES = T.let(T.unsafe(nil), ObjectSpace::WeakMap)
# source://connection_pool//lib/connection_pool.rb#7
class ConnectionPool::PoolShuttingDownError < ::ConnectionPool::Error; end
+# The TimedStack manages a pool of homogeneous connections (or any resource
+# you wish to manage). Connections are created lazily up to a given maximum
+# number.
+#
# Examples:
#
# ts = TimedStack.new(1) { MyConnection.new }
@@ -124,56 +169,76 @@ class ConnectionPool::PoolShuttingDownError < ::ConnectionPool::Error; end
# ts.pop timeout: 5
# #=> raises ConnectionPool::TimeoutError after 5 seconds
#
-# source://connection_pool//lib/connection_pool/timed_stack.rb#20
+# source://connection_pool//lib/connection_pool/timed_stack.rb#19
class ConnectionPool::TimedStack
# Creates a new pool with +size+ connections that are created from the given
# +block+.
#
# @return [TimedStack] a new instance of TimedStack
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#27
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#25
def initialize(size = T.unsafe(nil), &block); end
- # Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be
+ # Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be
# used by subclasses that extend TimedStack.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#41
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#38
def <<(obj, options = T.unsafe(nil)); end
+ # Reduce the created count
+ #
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#149
+ def decrement_created; end
+
# Returns +true+ if there are no available connections.
#
# @return [Boolean]
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#104
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#131
def empty?; end
+ # The number of connections created and available on the stack.
+ #
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#143
+ def idle; end
+
# The number of connections available on the stack.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#111
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#137
def length; end
# Returns the value of attribute max.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#21
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#20
def max; end
- # Retrieves a connection from the stack. If a connection is available it is
- # immediately returned. If no connection is available within the given
+ # Retrieves a connection from the stack. If a connection is available it is
+ # immediately returned. If no connection is available within the given
# timeout a ConnectionPool::TimeoutError is raised.
#
- # +:timeout+ is the only checked entry in +options+ and is preferred over
- # the +timeout+ argument (which will be removed in a future release). Other
- # options may be used by subclasses that extend TimedStack.
+ # The +timeout+ argument will be removed in 3.0.
+ # Other options may be used by subclasses that extend TimedStack.
+ #
+ # @option options
+ # @option options
+ # @param options [Hash] a customizable set of options
#
# source://connection_pool//lib/connection_pool/timed_stack.rb#63
def pop(timeout = T.unsafe(nil), options = T.unsafe(nil)); end
- # Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be
+ # Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be
# used by subclasses that extend TimedStack.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#41
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#38
def push(obj, options = T.unsafe(nil)); end
+ # Reaps connections that were checked in more than +idle_seconds+ ago.
+ #
+ # @raise [ArgumentError]
+ #
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#111
+ def reap(idle_seconds, &block); end
+
# Shuts down the TimedStack by passing each connection to +block+ and then
# removing it from the pool. Attempting to checkout a connection after
# shutdown will raise +ConnectionPool::PoolShuttingDownError+ unless
@@ -181,7 +246,7 @@ class ConnectionPool::TimedStack
#
# @raise [ArgumentError]
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#89
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#97
def shutdown(reload: T.unsafe(nil), &block); end
private
@@ -192,31 +257,48 @@ class ConnectionPool::TimedStack
#
# @return [Boolean]
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#126
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#173
def connection_stored?(options = T.unsafe(nil)); end
- # source://connection_pool//lib/connection_pool/timed_stack.rb#117
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#155
def current_time; end
# This is an extension point for TimedStack and is called with a mutex.
#
# This method must return a connection from the stack.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#135
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#181
def fetch_connection(options = T.unsafe(nil)); end
+ # This is an extension point for TimedStack and is called with a mutex.
+ #
+ # Returns true if the first connection in the stack has been idle for more than idle_seconds
+ #
+ # @return [Boolean]
+ #
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#213
+ def idle_connections?(idle_seconds); end
+
+ # This is an extension point for TimedStack and is called with a mutex.
+ #
+ # This method returns the oldest idle connection if it has been idle for more than idle_seconds.
+ # This requires that the stack is kept in order of checked in time (oldest first).
+ #
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#201
+ def reserve_idle_connection(idle_seconds); end
+
# This is an extension point for TimedStack and is called with a mutex.
#
# This method must shut down all connections on the stack.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#144
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#189
def shutdown_connections(options = T.unsafe(nil)); end
# This is an extension point for TimedStack and is called with a mutex.
#
# This method must return +obj+ to the stack.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#157
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#221
def store_connection(obj, options = T.unsafe(nil)); end
# This is an extension point for TimedStack and is called with a mutex.
@@ -224,8 +306,17 @@ class ConnectionPool::TimedStack
# This method must create a connection if and only if the total number of
# connections allowed has not been met.
#
- # source://connection_pool//lib/connection_pool/timed_stack.rb#167
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#230
def try_create(options = T.unsafe(nil)); end
+
+ # This is an extension point for TimedStack and is called with a mutex.
+ #
+ # This method must returns a connection from the stack if one exists. Allows
+ # subclasses with expensive match/search algorithms to avoid double-handling
+ # their stack.
+ #
+ # source://connection_pool//lib/connection_pool/timed_stack.rb#165
+ def try_fetch_connection(options = T.unsafe(nil)); end
end
# source://connection_pool//lib/connection_pool.rb#9
diff --git a/sorbet/rbi/gems/drb@2.2.1.rbi b/sorbet/rbi/gems/drb@2.2.3.rbi
similarity index 63%
rename from sorbet/rbi/gems/drb@2.2.1.rbi
rename to sorbet/rbi/gems/drb@2.2.3.rbi
index d97695d9a..f0b2bc6dd 100644
--- a/sorbet/rbi/gems/drb@2.2.1.rbi
+++ b/sorbet/rbi/gems/drb@2.2.3.rbi
@@ -5,7 +5,291 @@
# Please instead update this file by running `bin/tapioca gem drb`.
-# for ruby-1.8.0
+# == Overview
+#
+# dRuby is a distributed object system for Ruby. It is written in
+# pure Ruby and uses its own protocol. No add-in services are needed
+# beyond those provided by the Ruby runtime, such as TCP sockets. It
+# does not rely on or interoperate with other distributed object
+# systems such as CORBA, RMI, or .NET.
+#
+# dRuby allows methods to be called in one Ruby process upon a Ruby
+# object located in another Ruby process, even on another machine.
+# References to objects can be passed between processes. Method
+# arguments and return values are dumped and loaded in marshalled
+# format. All of this is done transparently to both the caller of the
+# remote method and the object that it is called upon.
+#
+# An object in a remote process is locally represented by a
+# DRb::DRbObject instance. This acts as a sort of proxy for the
+# remote object. Methods called upon this DRbObject instance are
+# forwarded to its remote object. This is arranged dynamically at run
+# time. There are no statically declared interfaces for remote
+# objects, such as CORBA's IDL.
+#
+# dRuby calls made into a process are handled by a DRb::DRbServer
+# instance within that process. This reconstitutes the method call,
+# invokes it upon the specified local object, and returns the value to
+# the remote caller. Any object can receive calls over dRuby. There
+# is no need to implement a special interface, or mixin special
+# functionality. Nor, in the general case, does an object need to
+# explicitly register itself with a DRbServer in order to receive
+# dRuby calls.
+#
+# One process wishing to make dRuby calls upon another process must
+# somehow obtain an initial reference to an object in the remote
+# process by some means other than as the return value of a remote
+# method call, as there is initially no remote object reference it can
+# invoke a method upon. This is done by attaching to the server by
+# URI. Each DRbServer binds itself to a URI such as
+# 'druby://example.com:8787'. A DRbServer can have an object attached
+# to it that acts as the server's *front* *object*. A DRbObject can
+# be explicitly created from the server's URI. This DRbObject's
+# remote object will be the server's front object. This front object
+# can then return references to other Ruby objects in the DRbServer's
+# process.
+#
+# Method calls made over dRuby behave largely the same as normal Ruby
+# method calls made within a process. Method calls with blocks are
+# supported, as are raising exceptions. In addition to a method's
+# standard errors, a dRuby call may also raise one of the
+# dRuby-specific errors, all of which are subclasses of DRb::DRbError.
+#
+# Any type of object can be passed as an argument to a dRuby call or
+# returned as its return value. By default, such objects are dumped
+# or marshalled at the local end, then loaded or unmarshalled at the
+# remote end. The remote end therefore receives a copy of the local
+# object, not a distributed reference to it; methods invoked upon this
+# copy are executed entirely in the remote process, not passed on to
+# the local original. This has semantics similar to pass-by-value.
+#
+# However, if an object cannot be marshalled, a dRuby reference to it
+# is passed or returned instead. This will turn up at the remote end
+# as a DRbObject instance. All methods invoked upon this remote proxy
+# are forwarded to the local object, as described in the discussion of
+# DRbObjects. This has semantics similar to the normal Ruby
+# pass-by-reference.
+#
+# The easiest way to signal that we want an otherwise marshallable
+# object to be passed or returned as a DRbObject reference, rather
+# than marshalled and sent as a copy, is to include the
+# DRb::DRbUndumped mixin module.
+#
+# dRuby supports calling remote methods with blocks. As blocks (or
+# rather the Proc objects that represent them) are not marshallable,
+# the block executes in the local, not the remote, context. Each
+# value yielded to the block is passed from the remote object to the
+# local block, then the value returned by each block invocation is
+# passed back to the remote execution context to be collected, before
+# the collected values are finally returned to the local context as
+# the return value of the method invocation.
+#
+# == Examples of usage
+#
+# For more dRuby samples, see the +samples+ directory in the full
+# dRuby distribution.
+#
+# === dRuby in client/server mode
+#
+# This illustrates setting up a simple client-server drb
+# system. Run the server and client code in different terminals,
+# starting the server code first.
+#
+# ==== Server code
+#
+# require 'drb/drb'
+#
+# # The URI for the server to connect to
+# URI="druby://localhost:8787"
+#
+# class TimeServer
+#
+# def get_current_time
+# return Time.now
+# end
+#
+# end
+#
+# # The object that handles requests on the server
+# FRONT_OBJECT=TimeServer.new
+#
+# DRb.start_service(URI, FRONT_OBJECT)
+# # Wait for the drb server thread to finish before exiting.
+# DRb.thread.join
+#
+# ==== Client code
+#
+# require 'drb/drb'
+#
+# # The URI to connect to
+# SERVER_URI="druby://localhost:8787"
+#
+# # Start a local DRbServer to handle callbacks.
+# #
+# # Not necessary for this small example, but will be required
+# # as soon as we pass a non-marshallable object as an argument
+# # to a dRuby call.
+# #
+# # Note: this must be called at least once per process to take any effect.
+# # This is particularly important if your application forks.
+# DRb.start_service
+#
+# timeserver = DRbObject.new_with_uri(SERVER_URI)
+# puts timeserver.get_current_time
+#
+# === Remote objects under dRuby
+#
+# This example illustrates returning a reference to an object
+# from a dRuby call. The Logger instances live in the server
+# process. References to them are returned to the client process,
+# where methods can be invoked upon them. These methods are
+# executed in the server process.
+#
+# ==== Server code
+#
+# require 'drb/drb'
+#
+# URI="druby://localhost:8787"
+#
+# class Logger
+#
+# # Make dRuby send Logger instances as dRuby references,
+# # not copies.
+# include DRb::DRbUndumped
+#
+# def initialize(n, fname)
+# @name = n
+# @filename = fname
+# end
+#
+# def log(message)
+# File.open(@filename, "a") do |f|
+# f.puts("#{Time.now}: #{@name}: #{message}")
+# end
+# end
+#
+# end
+#
+# # We have a central object for creating and retrieving loggers.
+# # This retains a local reference to all loggers created. This
+# # is so an existing logger can be looked up by name, but also
+# # to prevent loggers from being garbage collected. A dRuby
+# # reference to an object is not sufficient to prevent it being
+# # garbage collected!
+# class LoggerFactory
+#
+# def initialize(bdir)
+# @basedir = bdir
+# @loggers = {}
+# end
+#
+# def get_logger(name)
+# if !@loggers.has_key? name
+# # make the filename safe, then declare it to be so
+# fname = name.gsub(/[.\/\\\:]/, "_")
+# @loggers[name] = Logger.new(name, @basedir + "/" + fname)
+# end
+# return @loggers[name]
+# end
+#
+# end
+#
+# FRONT_OBJECT=LoggerFactory.new("/tmp/dlog")
+#
+# DRb.start_service(URI, FRONT_OBJECT)
+# DRb.thread.join
+#
+# ==== Client code
+#
+# require 'drb/drb'
+#
+# SERVER_URI="druby://localhost:8787"
+#
+# DRb.start_service
+#
+# log_service=DRbObject.new_with_uri(SERVER_URI)
+#
+# ["loga", "logb", "logc"].each do |logname|
+#
+# logger=log_service.get_logger(logname)
+#
+# logger.log("Hello, world!")
+# logger.log("Goodbye, world!")
+# logger.log("=== EOT ===")
+#
+# end
+#
+# == Security
+#
+# As with all network services, security needs to be considered when
+# using dRuby. By allowing external access to a Ruby object, you are
+# not only allowing outside clients to call the methods you have
+# defined for that object, but by default to execute arbitrary Ruby
+# code on your server. Consider the following:
+#
+# # !!! UNSAFE CODE !!!
+# ro = DRbObject::new_with_uri("druby://your.server.com:8989")
+# class << ro
+# undef :instance_eval # force call to be passed to remote object
+# end
+# ro.instance_eval("`rm -rf *`")
+#
+# The dangers posed by instance_eval and friends are such that a
+# DRbServer should only be used when clients are trusted.
+#
+# A DRbServer can be configured with an access control list to
+# selectively allow or deny access from specified IP addresses. The
+# main druby distribution provides the ACL class for this purpose. In
+# general, this mechanism should only be used alongside, rather than
+# as a replacement for, a good firewall.
+#
+# == dRuby internals
+#
+# dRuby is implemented using three main components: a remote method
+# call marshaller/unmarshaller; a transport protocol; and an
+# ID-to-object mapper. The latter two can be directly, and the first
+# indirectly, replaced, in order to provide different behaviour and
+# capabilities.
+#
+# Marshalling and unmarshalling of remote method calls is performed by
+# a DRb::DRbMessage instance. This uses the Marshal module to dump
+# the method call before sending it over the transport layer, then
+# reconstitute it at the other end. There is normally no need to
+# replace this component, and no direct way is provided to do so.
+# However, it is possible to implement an alternative marshalling
+# scheme as part of an implementation of the transport layer.
+#
+# The transport layer is responsible for opening client and server
+# network connections and forwarding dRuby request across them.
+# Normally, it uses DRb::DRbMessage internally to manage marshalling
+# and unmarshalling. The transport layer is managed by
+# DRb::DRbProtocol. Multiple protocols can be installed in
+# DRbProtocol at the one time; selection between them is determined by
+# the scheme of a dRuby URI. The default transport protocol is
+# selected by the scheme 'druby:', and implemented by
+# DRb::DRbTCPSocket. This uses plain TCP/IP sockets for
+# communication. An alternative protocol, using UNIX domain sockets,
+# is implemented by DRb::DRbUNIXSocket in the file drb/unix.rb, and
+# selected by the scheme 'drbunix:'. A sample implementation over
+# HTTP can be found in the samples accompanying the main dRuby
+# distribution.
+#
+# The ID-to-object mapping component maps dRuby object ids to the
+# objects they refer to, and vice versa. The implementation to use
+# can be specified as part of a DRb::DRbServer's configuration. The
+# default implementation is provided by DRb::DRbIdConv. It uses an
+# object's ObjectSpace id as its dRuby id. This means that the dRuby
+# reference to that object only remains meaningful for the lifetime of
+# the object's process and the lifetime of the object within that
+# process. A modified implementation is provided by DRb::TimerIdConv
+# in the file drb/timeridconv.rb. This implementation retains a local
+# reference to all objects exported over dRuby for a configurable
+# period of time (defaulting to ten minutes), to prevent them being
+# garbage-collected within this time. Another sample implementation
+# is provided in sample/name.rb in the main dRuby distribution. This
+# allows objects to specify their own id or "name". A dRuby reference
+# can be made persistent across processes by having each process
+# register an object using the same dRuby name.
#
# source://drb//lib/drb/eq.rb#2
module DRb
@@ -16,7 +300,7 @@ module DRb
# If there is no current server, this returns the default configuration.
# See #current_server and DRbServer::make_config.
#
- # source://drb//lib/drb/drb.rb#1832
+ # source://drb//lib/drb/drb.rb#1882
def config; end
# Get the 'current' server.
@@ -32,14 +316,14 @@ module DRb
#
# @raise [DRbServerNotFound]
#
- # source://drb//lib/drb/drb.rb#1789
+ # source://drb//lib/drb/drb.rb#1839
def current_server; end
# Retrieves the server with the given +uri+.
#
# See also regist_server and remove_server.
#
- # source://drb//lib/drb/drb.rb#1934
+ # source://drb//lib/drb/drb.rb#1984
def fetch_server(uri); end
# Get the front object of the current server.
@@ -47,21 +331,21 @@ module DRb
# This raises a DRbServerNotFound error if there is no current server.
# See #current_server.
#
- # source://drb//lib/drb/drb.rb#1843
+ # source://drb//lib/drb/drb.rb#1893
def front; end
# Is +uri+ the URI for the current local server?
#
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1822
+ # source://drb//lib/drb/drb.rb#1872
def here?(uri); end
# Set the default ACL to +acl+.
#
# See DRb::DRbServer.default_acl.
#
- # source://drb//lib/drb/drb.rb#1888
+ # source://drb//lib/drb/drb.rb#1938
def install_acl(acl); end
# Set the default id conversion object.
@@ -71,24 +355,24 @@ module DRb
#
# See DRbServer#default_id_conv.
#
- # source://drb//lib/drb/drb.rb#1880
+ # source://drb//lib/drb/drb.rb#1930
def install_id_conv(idconv); end
- # source://drb//lib/drb/drb.rb#1894
+ # source://drb//lib/drb/drb.rb#1944
def mutex; end
# The primary local dRuby server.
#
# This is the server created by the #start_service call.
#
- # source://drb//lib/drb/drb.rb#1776
+ # source://drb//lib/drb/drb.rb#1826
def primary_server; end
# The primary local dRuby server.
#
# This is the server created by the #start_service call.
#
- # source://drb//lib/drb/drb.rb#1776
+ # source://drb//lib/drb/drb.rb#1826
def primary_server=(_arg0); end
# Registers +server+ with DRb.
@@ -104,12 +388,12 @@ module DRb
# s = DRb::DRbServer.new # automatically calls regist_server
# DRb.fetch_server s.uri #=> #
#
- # source://drb//lib/drb/drb.rb#1912
+ # source://drb//lib/drb/drb.rb#1962
def regist_server(server); end
# Removes +server+ from the list of registered servers.
#
- # source://drb//lib/drb/drb.rb#1921
+ # source://drb//lib/drb/drb.rb#1971
def remove_server(server); end
# Start a dRuby server locally.
@@ -128,7 +412,7 @@ module DRb
#
# See DRbServer::new.
#
- # source://drb//lib/drb/drb.rb#1768
+ # source://drb//lib/drb/drb.rb#1818
def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end
# Stop the local dRuby server.
@@ -136,14 +420,14 @@ module DRb
# This operates on the primary server. If there is no primary
# server currently running, it is a noop.
#
- # source://drb//lib/drb/drb.rb#1801
+ # source://drb//lib/drb/drb.rb#1851
def stop_service; end
# Get the thread of the primary server.
#
# This returns nil if there is no primary server. See #primary_server.
#
- # source://drb//lib/drb/drb.rb#1869
+ # source://drb//lib/drb/drb.rb#1919
def thread; end
# Get a reference id for an object using the current server.
@@ -151,7 +435,7 @@ module DRb
# This raises a DRbServerNotFound error if there is no current server.
# See #current_server.
#
- # source://drb//lib/drb/drb.rb#1860
+ # source://drb//lib/drb/drb.rb#1910
def to_id(obj); end
# Convert a reference into an object using the current server.
@@ -159,14 +443,14 @@ module DRb
# This raises a DRbServerNotFound error if there is no current server.
# See #current_server.
#
- # source://drb//lib/drb/drb.rb#1852
+ # source://drb//lib/drb/drb.rb#1902
def to_obj(ref); end
# Get the URI defining the local dRuby space.
#
# This is the URI of the current server. See #current_server.
#
- # source://drb//lib/drb/drb.rb#1810
+ # source://drb//lib/drb/drb.rb#1860
def uri; end
class << self
@@ -175,7 +459,7 @@ module DRb
# If there is no current server, this returns the default configuration.
# See #current_server and DRbServer::make_config.
#
- # source://drb//lib/drb/drb.rb#1832
+ # source://drb//lib/drb/drb.rb#1882
def config; end
# Get the 'current' server.
@@ -191,14 +475,14 @@ module DRb
#
# @raise [DRbServerNotFound]
#
- # source://drb//lib/drb/drb.rb#1789
+ # source://drb//lib/drb/drb.rb#1839
def current_server; end
# Retrieves the server with the given +uri+.
#
# See also regist_server and remove_server.
#
- # source://drb//lib/drb/drb.rb#1934
+ # source://drb//lib/drb/drb.rb#1984
def fetch_server(uri); end
# Get the front object of the current server.
@@ -206,21 +490,21 @@ module DRb
# This raises a DRbServerNotFound error if there is no current server.
# See #current_server.
#
- # source://drb//lib/drb/drb.rb#1843
+ # source://drb//lib/drb/drb.rb#1893
def front; end
# Is +uri+ the URI for the current local server?
#
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1822
+ # source://drb//lib/drb/drb.rb#1872
def here?(uri); end
# Set the default ACL to +acl+.
#
# See DRb::DRbServer.default_acl.
#
- # source://drb//lib/drb/drb.rb#1888
+ # source://drb//lib/drb/drb.rb#1938
def install_acl(acl); end
# Set the default id conversion object.
@@ -230,24 +514,24 @@ module DRb
#
# See DRbServer#default_id_conv.
#
- # source://drb//lib/drb/drb.rb#1880
+ # source://drb//lib/drb/drb.rb#1930
def install_id_conv(idconv); end
- # source://drb//lib/drb/drb.rb#1894
+ # source://drb//lib/drb/drb.rb#1944
def mutex; end
# The primary local dRuby server.
#
# This is the server created by the #start_service call.
#
- # source://drb//lib/drb/drb.rb#1776
+ # source://drb//lib/drb/drb.rb#1826
def primary_server; end
# The primary local dRuby server.
#
# This is the server created by the #start_service call.
#
- # source://drb//lib/drb/drb.rb#1776
+ # source://drb//lib/drb/drb.rb#1826
def primary_server=(_arg0); end
# Registers +server+ with DRb.
@@ -263,12 +547,12 @@ module DRb
# s = DRb::DRbServer.new # automatically calls regist_server
# DRb.fetch_server s.uri #=> #
#
- # source://drb//lib/drb/drb.rb#1912
+ # source://drb//lib/drb/drb.rb#1962
def regist_server(server); end
# Removes +server+ from the list of registered servers.
#
- # source://drb//lib/drb/drb.rb#1921
+ # source://drb//lib/drb/drb.rb#1971
def remove_server(server); end
# Start a dRuby server locally.
@@ -287,7 +571,7 @@ module DRb
#
# See DRbServer::new.
#
- # source://drb//lib/drb/drb.rb#1768
+ # source://drb//lib/drb/drb.rb#1818
def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end
# Stop the local dRuby server.
@@ -295,14 +579,14 @@ module DRb
# This operates on the primary server. If there is no primary
# server currently running, it is a noop.
#
- # source://drb//lib/drb/drb.rb#1801
+ # source://drb//lib/drb/drb.rb#1851
def stop_service; end
# Get the thread of the primary server.
#
# This returns nil if there is no primary server. See #primary_server.
#
- # source://drb//lib/drb/drb.rb#1869
+ # source://drb//lib/drb/drb.rb#1919
def thread; end
# Get a reference id for an object using the current server.
@@ -310,7 +594,7 @@ module DRb
# This raises a DRbServerNotFound error if there is no current server.
# See #current_server.
#
- # source://drb//lib/drb/drb.rb#1860
+ # source://drb//lib/drb/drb.rb#1910
def to_id(obj); end
# Convert a reference into an object using the current server.
@@ -318,38 +602,45 @@ module DRb
# This raises a DRbServerNotFound error if there is no current server.
# See #current_server.
#
- # source://drb//lib/drb/drb.rb#1852
+ # source://drb//lib/drb/drb.rb#1902
def to_obj(ref); end
# Get the URI defining the local dRuby space.
#
# This is the URI of the current server. See #current_server.
#
- # source://drb//lib/drb/drb.rb#1810
+ # source://drb//lib/drb/drb.rb#1860
def uri; end
end
end
+#
+# This is an internal singleton instance. This must not be used
+# by users.
+#
+# source://drb//lib/drb/drb.rb#382
+DRb::DRB_OBJECT_SPACE = T.let(T.unsafe(nil), DRb::DRbObjectSpace)
+
# An Array wrapper that can be sent to another server via DRb.
#
# All entries in the array will be dumped or be references that point to
# the local server.
#
-# source://drb//lib/drb/drb.rb#518
+# source://drb//lib/drb/drb.rb#546
class DRb::DRbArray
# Creates a new DRbArray that either dumps or wraps all the items in the
# Array +ary+ so they can be loaded by a remote DRb server.
#
# @return [DRbArray] a new instance of DRbArray
#
- # source://drb//lib/drb/drb.rb#523
+ # source://drb//lib/drb/drb.rb#551
def initialize(ary); end
- # source://drb//lib/drb/drb.rb#542
+ # source://drb//lib/drb/drb.rb#570
def _dump(lv); end
class << self
- # source://drb//lib/drb/drb.rb#538
+ # source://drb//lib/drb/drb.rb#566
def _load(s); end
end
end
@@ -364,35 +655,35 @@ end
# This class is used internally by DRbObject. The user does
# not normally need to deal with it directly.
#
-# source://drb//lib/drb/drb.rb#1256
+# source://drb//lib/drb/drb.rb#1284
class DRb::DRbConn
# @return [DRbConn] a new instance of DRbConn
#
- # source://drb//lib/drb/drb.rb#1317
+ # source://drb//lib/drb/drb.rb#1345
def initialize(remote_uri); end
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1333
+ # source://drb//lib/drb/drb.rb#1361
def alive?; end
- # source://drb//lib/drb/drb.rb#1328
+ # source://drb//lib/drb/drb.rb#1356
def close; end
- # source://drb//lib/drb/drb.rb#1323
+ # source://drb//lib/drb/drb.rb#1351
def send_message(ref, msg_id, arg, block); end
- # source://drb//lib/drb/drb.rb#1321
+ # source://drb//lib/drb/drb.rb#1349
def uri; end
class << self
- # source://drb//lib/drb/drb.rb#1259
+ # source://drb//lib/drb/drb.rb#1287
def make_pool; end
- # source://drb//lib/drb/drb.rb#1297
+ # source://drb//lib/drb/drb.rb#1325
def open(remote_uri); end
- # source://drb//lib/drb/drb.rb#1292
+ # source://drb//lib/drb/drb.rb#1320
def stop_pool; end
end
end
@@ -407,14 +698,14 @@ end
# For alternative mechanisms, see DRb::TimerIdConv in drb/timeridconv.rb
# and DRbNameIdConv in sample/name.rb in the full drb distribution.
#
-# source://drb//lib/drb/drb.rb#360
+# source://drb//lib/drb/drb.rb#393
class DRb::DRbIdConv
# Convert an object into a reference id.
#
# This implementation returns the object's __id__ in the local
# object space.
#
- # source://drb//lib/drb/drb.rb#374
+ # source://drb//lib/drb/drb.rb#407
def to_id(obj); end
# Convert an object reference id to an object.
@@ -422,7 +713,7 @@ class DRb::DRbIdConv
# This implementation looks up the reference id in the local object
# space and returns the object it refers to.
#
- # source://drb//lib/drb/drb.rb#366
+ # source://drb//lib/drb/drb.rb#399
def to_obj(ref); end
end
@@ -436,38 +727,38 @@ end
# The user does not have to directly deal with this object in
# normal use.
#
-# source://drb//lib/drb/drb.rb#556
+# source://drb//lib/drb/drb.rb#584
class DRb::DRbMessage
# @return [DRbMessage] a new instance of DRbMessage
#
- # source://drb//lib/drb/drb.rb#557
+ # source://drb//lib/drb/drb.rb#585
def initialize(config); end
- # source://drb//lib/drb/drb.rb#562
+ # source://drb//lib/drb/drb.rb#590
def dump(obj, error = T.unsafe(nil)); end
# @raise [DRbConnError]
#
- # source://drb//lib/drb/drb.rb#579
+ # source://drb//lib/drb/drb.rb#607
def load(soc); end
- # source://drb//lib/drb/drb.rb#639
+ # source://drb//lib/drb/drb.rb#667
def recv_reply(stream); end
# @raise [DRbConnError]
#
- # source://drb//lib/drb/drb.rb#619
+ # source://drb//lib/drb/drb.rb#647
def recv_request(stream); end
- # source://drb//lib/drb/drb.rb#633
+ # source://drb//lib/drb/drb.rb#661
def send_reply(stream, succ, result); end
- # source://drb//lib/drb/drb.rb#605
+ # source://drb//lib/drb/drb.rb#633
def send_request(stream, ref, msg_id, arg, b); end
private
- # source://drb//lib/drb/drb.rb#646
+ # source://drb//lib/drb/drb.rb#674
def make_proxy(obj, error = T.unsafe(nil)); end
end
@@ -481,7 +772,7 @@ class DRb::DRbObject
#
# @return [DRbObject] a new instance of DRbObject
#
- # source://drb//lib/drb/drb.rb#1089
+ # source://drb//lib/drb/drb.rb#1117
def initialize(obj, uri = T.unsafe(nil)); end
# source://drb//lib/drb/eq.rb#4
@@ -489,19 +780,19 @@ class DRb::DRbObject
# Get the reference of the object, if local.
#
- # source://drb//lib/drb/drb.rb#1115
+ # source://drb//lib/drb/drb.rb#1143
def __drbref; end
# Get the URI of the remote object.
#
- # source://drb//lib/drb/drb.rb#1110
+ # source://drb//lib/drb/drb.rb#1138
def __drburi; end
# Marshall this object.
#
# The URI and ref of the object are marshalled.
#
- # source://drb//lib/drb/drb.rb#1080
+ # source://drb//lib/drb/drb.rb#1108
def _dump(lv); end
# source://drb//lib/drb/eq.rb#4
@@ -510,20 +801,20 @@ class DRb::DRbObject
# source://drb//lib/drb/eq.rb#9
def hash; end
- # source://drb//lib/drb/drb.rb#1135
+ # source://drb//lib/drb/drb.rb#1163
def method_missing(msg_id, *a, **_arg2, &b); end
- # source://drb//lib/drb/drb.rb#1187
+ # source://drb//lib/drb/drb.rb#1215
def pretty_print(q); end
- # source://drb//lib/drb/drb.rb#1191
+ # source://drb//lib/drb/drb.rb#1219
def pretty_print_cycle(q); end
# Routes respond_to? to the referenced remote object.
#
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1123
+ # source://drb//lib/drb/drb.rb#1151
def respond_to?(msg_id, priv = T.unsafe(nil)); end
class << self
@@ -533,33 +824,49 @@ class DRb::DRbObject
# the object itself is returned. Otherwise, a new DRbObject is
# created to act as a stub for the remote referenced object.
#
- # source://drb//lib/drb/drb.rb#1051
+ # source://drb//lib/drb/drb.rb#1079
def _load(s); end
# Creates a DRb::DRbObject given the reference information to the remote
# host +uri+ and object +ref+.
#
- # source://drb//lib/drb/drb.rb#1065
+ # source://drb//lib/drb/drb.rb#1093
def new_with(uri, ref); end
# Create a new DRbObject from a URI alone.
#
- # source://drb//lib/drb/drb.rb#1073
+ # source://drb//lib/drb/drb.rb#1101
def new_with_uri(uri); end
# Returns a modified backtrace from +result+ with the +uri+ where each call
# in the backtrace came from.
#
- # source://drb//lib/drb/drb.rb#1173
+ # source://drb//lib/drb/drb.rb#1201
def prepare_backtrace(uri, result); end
# Given the +uri+ of another host executes the block provided.
#
- # source://drb//lib/drb/drb.rb#1160
+ # source://drb//lib/drb/drb.rb#1188
def with_friend(uri); end
end
end
+# source://drb//lib/drb/drb.rb#351
+class DRb::DRbObjectSpace
+ include ::MonitorMixin
+
+ # @return [DRbObjectSpace] a new instance of DRbObjectSpace
+ #
+ # source://drb//lib/drb/drb.rb#357
+ def initialize; end
+
+ # source://drb//lib/drb/drb.rb#362
+ def to_id(obj); end
+
+ # source://drb//lib/drb/drb.rb#369
+ def to_obj(ref); end
+end
+
# Module managing the underlying network protocol(s) used by drb.
#
# By default, drb uses the DRbTCPSocket protocol. Other protocols
@@ -627,16 +934,16 @@ end
# and HTTP0 in sample/http0.rb and sample/http0serv.rb in the full
# drb distribution.
#
-# source://drb//lib/drb/drb.rb#721
+# source://drb//lib/drb/drb.rb#749
module DRb::DRbProtocol
private
# Add a new protocol to the DRbProtocol module.
#
- # source://drb//lib/drb/drb.rb#724
+ # source://drb//lib/drb/drb.rb#752
def add_protocol(prot); end
- # source://drb//lib/drb/drb.rb#802
+ # source://drb//lib/drb/drb.rb#830
def auto_load(uri); end
# Open a client connection to +uri+ with the configuration +config+.
@@ -649,7 +956,7 @@ module DRb::DRbProtocol
#
# @raise [DRbBadURI]
#
- # source://drb//lib/drb/drb.rb#736
+ # source://drb//lib/drb/drb.rb#764
def open(uri, config, first = T.unsafe(nil)); end
# Open a server listening for connections at +uri+ with
@@ -664,7 +971,7 @@ module DRb::DRbProtocol
#
# @raise [DRbBadURI]
#
- # source://drb//lib/drb/drb.rb#764
+ # source://drb//lib/drb/drb.rb#792
def open_server(uri, config, first = T.unsafe(nil)); end
# Parse +uri+ into a [uri, option] pair.
@@ -676,16 +983,16 @@ module DRb::DRbProtocol
#
# @raise [DRbBadURI]
#
- # source://drb//lib/drb/drb.rb#785
+ # source://drb//lib/drb/drb.rb#813
def uri_option(uri, config, first = T.unsafe(nil)); end
class << self
# Add a new protocol to the DRbProtocol module.
#
- # source://drb//lib/drb/drb.rb#724
+ # source://drb//lib/drb/drb.rb#752
def add_protocol(prot); end
- # source://drb//lib/drb/drb.rb#802
+ # source://drb//lib/drb/drb.rb#830
def auto_load(uri); end
# Open a client connection to +uri+ with the configuration +config+.
@@ -698,7 +1005,7 @@ module DRb::DRbProtocol
#
# @raise [DRbBadURI]
#
- # source://drb//lib/drb/drb.rb#736
+ # source://drb//lib/drb/drb.rb#764
def open(uri, config, first = T.unsafe(nil)); end
# Open a server listening for connections at +uri+ with
@@ -713,7 +1020,7 @@ module DRb::DRbProtocol
#
# @raise [DRbBadURI]
#
- # source://drb//lib/drb/drb.rb#764
+ # source://drb//lib/drb/drb.rb#792
def open_server(uri, config, first = T.unsafe(nil)); end
# Parse +uri+ into a [uri, option] pair.
@@ -725,29 +1032,41 @@ module DRb::DRbProtocol
#
# @raise [DRbBadURI]
#
- # source://drb//lib/drb/drb.rb#785
+ # source://drb//lib/drb/drb.rb#813
def uri_option(uri, config, first = T.unsafe(nil)); end
end
end
# An exception wrapping an error object
#
-# source://drb//lib/drb/drb.rb#431
+# source://drb//lib/drb/drb.rb#459
class DRb::DRbRemoteError < ::DRb::DRbError
# Creates a new remote error that wraps the Exception +error+
#
# @return [DRbRemoteError] a new instance of DRbRemoteError
#
- # source://drb//lib/drb/drb.rb#434
+ # source://drb//lib/drb/drb.rb#462
def initialize(error); end
# the class of the error, as a string.
#
- # source://drb//lib/drb/drb.rb#441
+ # source://drb//lib/drb/drb.rb#469
def reason; end
end
-# source://drb//lib/drb/drb.rb#1350
+# Class representing a drb server instance.
+#
+# A DRbServer must be running in the local process before any incoming
+# dRuby calls can be accepted, or any local objects can be passed as
+# dRuby references to remote processes, even if those local objects are
+# never actually called remotely. You do not need to start a DRbServer
+# in the local process if you are only making outgoing dRuby calls
+# passing marshalled parameters.
+#
+# Unless multiple servers are being used, the local DRbServer is normally
+# started by calling DRb.start_service.
+#
+# source://drb//lib/drb/drb.rb#1378
class DRb::DRbServer
# Create a new DRbServer instance.
#
@@ -794,14 +1113,14 @@ class DRb::DRbServer
#
# @return [DRbServer] a new instance of DRbServer
#
- # source://drb//lib/drb/drb.rb#1451
+ # source://drb//lib/drb/drb.rb#1479
def initialize(uri = T.unsafe(nil), front = T.unsafe(nil), config_or_acl = T.unsafe(nil)); end
# Is this server alive?
#
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1506
+ # source://drb//lib/drb/drb.rb#1534
def alive?; end
# Check that a method is callable via dRuby.
@@ -815,12 +1134,12 @@ class DRb::DRbServer
#
# @raise [ArgumentError]
#
- # source://drb//lib/drb/drb.rb#1594
+ # source://drb//lib/drb/drb.rb#1622
def check_insecure_method(obj, msg_id); end
# The configuration of this DRbServer
#
- # source://drb//lib/drb/drb.rb#1493
+ # source://drb//lib/drb/drb.rb#1521
def config; end
# The front object of the DRbServer.
@@ -828,19 +1147,19 @@ class DRb::DRbServer
# This object receives remote method calls made on the server's
# URI alone, with an object id.
#
- # source://drb//lib/drb/drb.rb#1490
+ # source://drb//lib/drb/drb.rb#1518
def front; end
# Is +uri+ the URI for this server?
#
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1511
+ # source://drb//lib/drb/drb.rb#1539
def here?(uri); end
# Stop this server.
#
- # source://drb//lib/drb/drb.rb#1516
+ # source://drb//lib/drb/drb.rb#1544
def stop_service; end
# The main thread of this DRbServer.
@@ -849,36 +1168,36 @@ class DRb::DRbServer
# from clients, not that handles each client's request-response
# session.
#
- # source://drb//lib/drb/drb.rb#1484
+ # source://drb//lib/drb/drb.rb#1512
def thread; end
# Convert a local object to a dRuby reference.
#
- # source://drb//lib/drb/drb.rb#1533
+ # source://drb//lib/drb/drb.rb#1561
def to_id(obj); end
# Convert a dRuby reference to the local object it refers to.
#
- # source://drb//lib/drb/drb.rb#1526
+ # source://drb//lib/drb/drb.rb#1554
def to_obj(ref); end
# The URI of this DRbServer.
#
- # source://drb//lib/drb/drb.rb#1477
+ # source://drb//lib/drb/drb.rb#1505
def uri; end
# Get whether the server is in verbose mode.
#
# In verbose mode, failed calls are logged to stdout.
#
- # source://drb//lib/drb/drb.rb#1503
+ # source://drb//lib/drb/drb.rb#1531
def verbose; end
# Set whether to operate in verbose mode.
#
# In verbose mode, failed calls are logged to stdout.
#
- # source://drb//lib/drb/drb.rb#1498
+ # source://drb//lib/drb/drb.rb#1526
def verbose=(v); end
private
@@ -886,17 +1205,17 @@ class DRb::DRbServer
# Coerce an object to a string, providing our own representation if
# to_s is not defined for the object.
#
- # source://drb//lib/drb/drb.rb#1580
+ # source://drb//lib/drb/drb.rb#1608
def any_to_s(obj); end
- # source://drb//lib/drb/drb.rb#1696
+ # source://drb//lib/drb/drb.rb#1746
def error_print(exception); end
# Has a method been included in the list of insecure methods?
#
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1574
+ # source://drb//lib/drb/drb.rb#1602
def insecure_method?(msg_id); end
# The main loop performed by a DRbServer's internal thread.
@@ -907,15 +1226,15 @@ class DRb::DRbServer
# returning responses, until the client closes the connection
# or a local method call fails.
#
- # source://drb//lib/drb/drb.rb#1714
+ # source://drb//lib/drb/drb.rb#1764
def main_loop; end
# Starts the DRb main loop in a new thread.
#
- # source://drb//lib/drb/drb.rb#1555
+ # source://drb//lib/drb/drb.rb#1583
def run; end
- # source://drb//lib/drb/drb.rb#1540
+ # source://drb//lib/drb/drb.rb#1568
def shutdown; end
class << self
@@ -923,89 +1242,84 @@ class DRb::DRbServer
#
# See also DRb::ACL and #new()
#
- # source://drb//lib/drb/drb.rb#1375
+ # source://drb//lib/drb/drb.rb#1403
def default_acl(acl); end
# Set the default value for the :argc_limit option.
#
# See #new(). The initial default value is 256.
#
- # source://drb//lib/drb/drb.rb#1361
+ # source://drb//lib/drb/drb.rb#1389
def default_argc_limit(argc); end
# Set the default value for the :id_conv option.
#
# See #new(). The initial default value is a DRbIdConv instance.
#
- # source://drb//lib/drb/drb.rb#1382
+ # source://drb//lib/drb/drb.rb#1410
def default_id_conv(idconv); end
# Set the default value for the :load_limit option.
#
# See #new(). The initial default value is 25 MB.
#
- # source://drb//lib/drb/drb.rb#1368
+ # source://drb//lib/drb/drb.rb#1396
def default_load_limit(sz); end
- # source://drb//lib/drb/drb.rb#1398
+ # source://drb//lib/drb/drb.rb#1426
def make_config(hash = T.unsafe(nil)); end
# Get the default value of the :verbose option.
#
- # source://drb//lib/drb/drb.rb#1394
+ # source://drb//lib/drb/drb.rb#1422
def verbose; end
# Set the default value of the :verbose option.
#
# See #new(). The initial default value is false.
#
- # source://drb//lib/drb/drb.rb#1389
+ # source://drb//lib/drb/drb.rb#1417
def verbose=(on); end
end
end
-# source://drb//lib/drb/drb.rb#1624
+# source://drb//lib/drb/drb.rb#1652
class DRb::DRbServer::InvokeMethod
- include ::DRb::DRbServer::InvokeMethod18Mixin
-
# @return [InvokeMethod] a new instance of InvokeMethod
#
- # source://drb//lib/drb/drb.rb#1625
+ # source://drb//lib/drb/drb.rb#1653
def initialize(drb_server, client); end
- # source://drb//lib/drb/drb.rb#1630
+ # source://drb//lib/drb/drb.rb#1658
def perform; end
private
- # source://drb//lib/drb/drb.rb#1667
+ # source://drb//lib/drb/drb.rb#1704
+ def block_yield(x); end
+
+ # source://drb//lib/drb/drb.rb#1695
def check_insecure_method; end
- # source://drb//lib/drb/drb.rb#1659
+ # source://drb//lib/drb/drb.rb#1687
def init_with_client; end
- # source://drb//lib/drb/drb.rb#1676
+ # source://drb//lib/drb/drb.rb#1711
+ def perform_with_block; end
+
+ # source://drb//lib/drb/drb.rb#1731
def perform_without_block; end
- # source://drb//lib/drb/drb.rb#1671
+ # source://drb//lib/drb/drb.rb#1699
def setup_message; end
end
-# source://drb//lib/drb/invokemethod.rb#6
-module DRb::DRbServer::InvokeMethod18Mixin
- # source://drb//lib/drb/invokemethod.rb#7
- def block_yield(x); end
-
- # source://drb//lib/drb/invokemethod.rb#14
- def perform_with_block; end
-end
-
# The default drb protocol which communicates over a TCP socket.
#
# The DRb TCP protocol URI looks like:
# druby://:?. The option is optional.
#
-# source://drb//lib/drb/drb.rb#815
+# source://drb//lib/drb/drb.rb#843
class DRb::DRbTCPSocket
# Create a new DRbTCPSocket instance.
#
@@ -1015,21 +1329,21 @@ class DRb::DRbTCPSocket
#
# @return [DRbTCPSocket] a new instance of DRbTCPSocket
#
- # source://drb//lib/drb/drb.rb#903
+ # source://drb//lib/drb/drb.rb#931
def initialize(uri, soc, config = T.unsafe(nil)); end
# On the server side, for an instance returned by #open_server,
# accept a client connection and return a new instance to handle
# the server's side of this client-server session.
#
- # source://drb//lib/drb/drb.rb#971
+ # source://drb//lib/drb/drb.rb#999
def accept; end
# Check to see if this connection is alive.
#
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1001
+ # source://drb//lib/drb/drb.rb#1029
def alive?; end
# Close the connection.
@@ -1039,65 +1353,65 @@ class DRb::DRbTCPSocket
# returned by #open or by #accept, then it closes this particular
# client-server session.
#
- # source://drb//lib/drb/drb.rb#953
+ # source://drb//lib/drb/drb.rb#981
def close; end
# Get the address of our TCP peer (the other end of the socket
# we are bound to.
#
- # source://drb//lib/drb/drb.rb#918
+ # source://drb//lib/drb/drb.rb#946
def peeraddr; end
# On the client side, receive a reply from the server.
#
- # source://drb//lib/drb/drb.rb#941
+ # source://drb//lib/drb/drb.rb#969
def recv_reply; end
# On the server side, receive a request from the client.
#
- # source://drb//lib/drb/drb.rb#931
+ # source://drb//lib/drb/drb.rb#959
def recv_request; end
# On the server side, send a reply to the client.
#
- # source://drb//lib/drb/drb.rb#936
+ # source://drb//lib/drb/drb.rb#964
def send_reply(succ, result); end
# On the client side, send a request to the server.
#
- # source://drb//lib/drb/drb.rb#926
+ # source://drb//lib/drb/drb.rb#954
def send_request(ref, msg_id, arg, b); end
- # source://drb//lib/drb/drb.rb#1010
+ # source://drb//lib/drb/drb.rb#1038
def set_sockopt(soc); end
# Graceful shutdown
#
- # source://drb//lib/drb/drb.rb#996
+ # source://drb//lib/drb/drb.rb#1024
def shutdown; end
# Get the socket.
#
- # source://drb//lib/drb/drb.rb#923
+ # source://drb//lib/drb/drb.rb#951
def stream; end
# Get the URI that we are connected to.
#
- # source://drb//lib/drb/drb.rb#914
+ # source://drb//lib/drb/drb.rb#942
def uri; end
private
- # source://drb//lib/drb/drb.rb#986
+ # source://drb//lib/drb/drb.rb#1014
def accept_or_shutdown; end
- # source://drb//lib/drb/drb.rb#962
+ # source://drb//lib/drb/drb.rb#990
def close_shutdown_pipe; end
class << self
# Returns the hostname of this server
#
- # source://drb//lib/drb/drb.rb#845
+ # source://drb//lib/drb/drb.rb#873
def getservername; end
# Open a client connection to +uri+ (DRb URI string) using configuration
@@ -1107,28 +1421,28 @@ class DRb::DRbTCPSocket
# recognized protocol. See DRb::DRbServer.new for information on built-in
# URI protocols.
#
- # source://drb//lib/drb/drb.rb#838
+ # source://drb//lib/drb/drb.rb#866
def open(uri, config); end
# Open a server listening for connections at +uri+ using
# configuration +config+.
#
- # source://drb//lib/drb/drb.rb#876
+ # source://drb//lib/drb/drb.rb#904
def open_server(uri, config); end
# For the families available for +host+, returns a TCPServer on +port+.
# If +port+ is 0 the first available port is used. IPv4 servers are
# preferred over IPv6 servers.
#
- # source://drb//lib/drb/drb.rb#861
+ # source://drb//lib/drb/drb.rb#889
def open_server_inaddr_any(host, port); end
- # source://drb//lib/drb/drb.rb#818
+ # source://drb//lib/drb/drb.rb#846
def parse_uri(uri); end
# Parse +uri+ into a [uri, option] pair.
#
- # source://drb//lib/drb/drb.rb#893
+ # source://drb//lib/drb/drb.rb#921
def uri_option(uri, config); end
end
end
@@ -1179,28 +1493,28 @@ end
# source://drb//lib/drb/unix.rb#70
DRb::DRbUNIXSocket::Max_try = T.let(T.unsafe(nil), Integer)
-# source://drb//lib/drb/drb.rb#1021
+# source://drb//lib/drb/drb.rb#1049
class DRb::DRbURIOption
# @return [DRbURIOption] a new instance of DRbURIOption
#
- # source://drb//lib/drb/drb.rb#1022
+ # source://drb//lib/drb/drb.rb#1050
def initialize(option); end
- # source://drb//lib/drb/drb.rb#1028
+ # source://drb//lib/drb/drb.rb#1056
def ==(other); end
- # source://drb//lib/drb/drb.rb#1028
+ # source://drb//lib/drb/drb.rb#1056
def eql?(other); end
- # source://drb//lib/drb/drb.rb#1033
+ # source://drb//lib/drb/drb.rb#1061
def hash; end
# Returns the value of attribute option.
#
- # source://drb//lib/drb/drb.rb#1025
+ # source://drb//lib/drb/drb.rb#1053
def option; end
- # source://drb//lib/drb/drb.rb#1026
+ # source://drb//lib/drb/drb.rb#1054
def to_s; end
end
@@ -1211,11 +1525,11 @@ end
# and a reference to the object is returned, rather than the
# object being marshalled and moved into the client space.
#
-# source://drb//lib/drb/drb.rb#390
+# source://drb//lib/drb/drb.rb#418
module DRb::DRbUndumped
# @raise [TypeError]
#
- # source://drb//lib/drb/drb.rb#391
+ # source://drb//lib/drb/drb.rb#419
def _dump(dummy); end
end
@@ -1233,7 +1547,7 @@ end
# +name+ attribute. The marshalled object is held in the +buf+
# attribute.
#
-# source://drb//lib/drb/drb.rb#457
+# source://drb//lib/drb/drb.rb#485
class DRb::DRbUnknown
# Create a new DRbUnknown object.
#
@@ -1244,20 +1558,20 @@ class DRb::DRbUnknown
#
# @return [DRbUnknown] a new instance of DRbUnknown
#
- # source://drb//lib/drb/drb.rb#465
+ # source://drb//lib/drb/drb.rb#493
def initialize(err, buf); end
- # source://drb//lib/drb/drb.rb#494
+ # source://drb//lib/drb/drb.rb#522
def _dump(lv); end
# Buffer contained the marshalled, unknown object.
#
- # source://drb//lib/drb/drb.rb#484
+ # source://drb//lib/drb/drb.rb#512
def buf; end
# Create a DRbUnknownError exception containing this object.
#
- # source://drb//lib/drb/drb.rb#508
+ # source://drb//lib/drb/drb.rb#536
def exception; end
# The name of the unknown thing.
@@ -1265,7 +1579,7 @@ class DRb::DRbUnknown
# Class name for unknown objects; variable name for unknown
# constants.
#
- # source://drb//lib/drb/drb.rb#481
+ # source://drb//lib/drb/drb.rb#509
def name; end
# Attempt to load the wrapped marshalled object again.
@@ -1274,74 +1588,74 @@ class DRb::DRbUnknown
# will be unmarshalled and returned. Otherwise, a new
# but identical DRbUnknown object will be returned.
#
- # source://drb//lib/drb/drb.rb#503
+ # source://drb//lib/drb/drb.rb#531
def reload; end
class << self
- # source://drb//lib/drb/drb.rb#486
+ # source://drb//lib/drb/drb.rb#514
def _load(s); end
end
end
# An exception wrapping a DRb::DRbUnknown object
#
-# source://drb//lib/drb/drb.rb#410
+# source://drb//lib/drb/drb.rb#438
class DRb::DRbUnknownError < ::DRb::DRbError
# Create a new DRbUnknownError for the DRb::DRbUnknown object +unknown+
#
# @return [DRbUnknownError] a new instance of DRbUnknownError
#
- # source://drb//lib/drb/drb.rb#413
+ # source://drb//lib/drb/drb.rb#441
def initialize(unknown); end
- # source://drb//lib/drb/drb.rb#425
+ # source://drb//lib/drb/drb.rb#453
def _dump(lv); end
# Get the wrapped DRb::DRbUnknown object.
#
- # source://drb//lib/drb/drb.rb#419
+ # source://drb//lib/drb/drb.rb#447
def unknown; end
class << self
- # source://drb//lib/drb/drb.rb#421
+ # source://drb//lib/drb/drb.rb#449
def _load(s); end
end
end
-# source://drb//lib/drb/drb.rb#1199
+# source://drb//lib/drb/drb.rb#1227
class DRb::ThreadObject
include ::MonitorMixin
# @return [ThreadObject] a new instance of ThreadObject
#
- # source://drb//lib/drb/drb.rb#1202
+ # source://drb//lib/drb/drb.rb#1230
def initialize(&blk); end
- # source://drb//lib/drb/drb.rb#1237
+ # source://drb//lib/drb/drb.rb#1265
def _execute; end
# @return [Boolean]
#
- # source://drb//lib/drb/drb.rb#1213
+ # source://drb//lib/drb/drb.rb#1241
def alive?; end
- # source://drb//lib/drb/drb.rb#1217
+ # source://drb//lib/drb/drb.rb#1245
def kill; end
- # source://drb//lib/drb/drb.rb#1222
+ # source://drb//lib/drb/drb.rb#1250
def method_missing(msg, *arg, &blk); end
end
# source://drb//lib/drb/version.rb#2
DRb::VERSION = T.let(T.unsafe(nil), String)
-# source://drb//lib/drb/drb.rb#1943
+# source://drb//lib/drb/drb.rb#1993
DRbIdConv = DRb::DRbIdConv
# :stopdoc:
#
-# source://drb//lib/drb/drb.rb#1941
+# source://drb//lib/drb/drb.rb#1991
DRbObject = DRb::DRbObject
-# source://drb//lib/drb/drb.rb#1942
+# source://drb//lib/drb/drb.rb#1992
DRbUndumped = DRb::DRbUndumped
diff --git a/sorbet/rbi/gems/erubi@1.13.0.rbi b/sorbet/rbi/gems/erubi@1.13.1.rbi
similarity index 94%
rename from sorbet/rbi/gems/erubi@1.13.0.rbi
rename to sorbet/rbi/gems/erubi@1.13.1.rbi
index 16d45faf0..a291c13da 100644
--- a/sorbet/rbi/gems/erubi@1.13.0.rbi
+++ b/sorbet/rbi/gems/erubi@1.13.1.rbi
@@ -67,44 +67,49 @@ class Erubi::Engine
private
+ # :nocov:
+ #
+ # source://erubi//lib/erubi.rb#209
+ def _dup_string_if_frozen(string); end
+
# Add ruby code to the template
#
- # source://erubi//lib/erubi.rb#223
+ # source://erubi//lib/erubi.rb#232
def add_code(code); end
# Add the given ruby expression result to the template,
# escaping it based on the indicator given and escape flag.
#
- # source://erubi//lib/erubi.rb#232
+ # source://erubi//lib/erubi.rb#241
def add_expression(indicator, code); end
# Add the result of Ruby expression to the template
#
- # source://erubi//lib/erubi.rb#241
+ # source://erubi//lib/erubi.rb#250
def add_expression_result(code); end
# Add the escaped result of Ruby expression to the template
#
- # source://erubi//lib/erubi.rb#246
+ # source://erubi//lib/erubi.rb#255
def add_expression_result_escaped(code); end
# Add the given postamble to the src. Can be overridden in subclasses
# to make additional changes to src that depend on the current state.
#
- # source://erubi//lib/erubi.rb#252
+ # source://erubi//lib/erubi.rb#261
def add_postamble(postamble); end
# Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
# Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
#
- # source://erubi//lib/erubi.rb#210
+ # source://erubi//lib/erubi.rb#222
def add_text(text); end
# Raise an exception, as the base engine class does not support handling other indicators.
#
# @raise [ArgumentError]
#
- # source://erubi//lib/erubi.rb#258
+ # source://erubi//lib/erubi.rb#267
def handle(indicator, code, tailch, rspace, lspace); end
# Make sure that any current expression has been terminated.
@@ -112,7 +117,7 @@ class Erubi::Engine
# the chain_appends option is used, expressions may not be
# terminated.
#
- # source://erubi//lib/erubi.rb#286
+ # source://erubi//lib/erubi.rb#295
def terminate_expression; end
# Make sure the buffer variable is the target of the next append
@@ -122,7 +127,7 @@ class Erubi::Engine
# This method should only be called if the block will result in
# code where << will append to the bufvar.
#
- # source://erubi//lib/erubi.rb#268
+ # source://erubi//lib/erubi.rb#277
def with_buffer; end
end
diff --git a/sorbet/rbi/gems/globalid@1.2.1.rbi b/sorbet/rbi/gems/globalid@1.3.0.rbi
similarity index 86%
rename from sorbet/rbi/gems/globalid@1.2.1.rbi
rename to sorbet/rbi/gems/globalid@1.3.0.rbi
index 5b22464c7..a9a91f114 100644
--- a/sorbet/rbi/gems/globalid@1.2.1.rbi
+++ b/sorbet/rbi/gems/globalid@1.3.0.rbi
@@ -11,51 +11,51 @@ class GlobalID
# @return [GlobalID] a new instance of GlobalID
#
- # source://globalid//lib/global_id/global_id.rb#44
+ # source://globalid//lib/global_id/global_id.rb#48
def initialize(gid, options = T.unsafe(nil)); end
- # source://globalid//lib/global_id/global_id.rb#63
+ # source://globalid//lib/global_id/global_id.rb#67
def ==(other); end
- # source://globalid//lib/global_id/global_id.rb#42
+ # source://globalid//lib/global_id/global_id.rb#46
def app(*_arg0, **_arg1, &_arg2); end
- # source://globalid//lib/global_id/global_id.rb#76
+ # source://globalid//lib/global_id/global_id.rb#80
def as_json(*_arg0); end
- # source://globalid//lib/global_id/global_id.rb#42
+ # source://globalid//lib/global_id/global_id.rb#46
def deconstruct_keys(*_arg0, **_arg1, &_arg2); end
- # source://globalid//lib/global_id/global_id.rb#63
+ # source://globalid//lib/global_id/global_id.rb#67
def eql?(other); end
- # source://globalid//lib/global_id/global_id.rb#48
+ # source://globalid//lib/global_id/global_id.rb#52
def find(options = T.unsafe(nil)); end
- # source://globalid//lib/global_id/global_id.rb#68
+ # source://globalid//lib/global_id/global_id.rb#72
def hash; end
- # source://globalid//lib/global_id/global_id.rb#52
+ # source://globalid//lib/global_id/global_id.rb#56
def model_class; end
- # source://globalid//lib/global_id/global_id.rb#42
+ # source://globalid//lib/global_id/global_id.rb#46
def model_id(*_arg0, **_arg1, &_arg2); end
- # source://globalid//lib/global_id/global_id.rb#42
+ # source://globalid//lib/global_id/global_id.rb#46
def model_name(*_arg0, **_arg1, &_arg2); end
- # source://globalid//lib/global_id/global_id.rb#42
+ # source://globalid//lib/global_id/global_id.rb#46
def params(*_arg0, **_arg1, &_arg2); end
- # source://globalid//lib/global_id/global_id.rb#72
+ # source://globalid//lib/global_id/global_id.rb#76
def to_param; end
- # source://globalid//lib/global_id/global_id.rb#42
+ # source://globalid//lib/global_id/global_id.rb#46
def to_s(*_arg0, **_arg1, &_arg2); end
# Returns the value of attribute uri.
#
- # source://globalid//lib/global_id/global_id.rb#41
+ # source://globalid//lib/global_id/global_id.rb#45
def uri; end
class << self
@@ -70,6 +70,9 @@ class GlobalID
# source://globalid//lib/global_id/global_id.rb#11
def create(model, options = T.unsafe(nil)); end
+ # source://globalid//lib/global_id/global_id.rb#35
+ def default_locator(default_locator); end
+
# source://globalid//lib/global_id.rb#20
def deprecator; end
@@ -84,7 +87,7 @@ class GlobalID
private
- # source://globalid//lib/global_id/global_id.rb#36
+ # source://globalid//lib/global_id/global_id.rb#40
def parse_encoded_gid(gid, options); end
end
end
@@ -122,8 +125,8 @@ module GlobalID::Identification
#
# model = Person.new id: 1
# global_id = model.to_global_id
- # global_id.modal_class # => Person
- # global_id.modal_id # => "1"
+ # global_id.model_class # => Person
+ # global_id.model_id # => "1"
# global_id.to_param # => "Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x"
#
# source://globalid//lib/global_id/identification.rb#37
@@ -141,8 +144,8 @@ module GlobalID::Identification
#
# model = Person.new id: 1
# global_id = model.to_global_id
- # global_id.modal_class # => Person
- # global_id.modal_id # => "1"
+ # global_id.model_class # => Person
+ # global_id.model_id # => "1"
# global_id.to_param # => "Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x"
#
# source://globalid//lib/global_id/identification.rb#37
@@ -153,8 +156,8 @@ module GlobalID::Identification
#
# model = Person.new id: 1
# signed_global_id = model.to_signed_global_id
- # signed_global_id.modal_class # => Person
- # signed_global_id.modal_id # => "1"
+ # signed_global_id.model_class # => Person
+ # signed_global_id.model_id # => "1"
# signed_global_id.to_param # => "BAh7CEkiCGdpZAY6BkVUSSIiZ2..."
#
# ==== Expiration
@@ -222,8 +225,8 @@ module GlobalID::Identification
#
# model = Person.new id: 1
# signed_global_id = model.to_signed_global_id
- # signed_global_id.modal_class # => Person
- # signed_global_id.modal_id # => "1"
+ # signed_global_id.model_class # => Person
+ # signed_global_id.model_id # => "1"
# signed_global_id.to_param # => "BAh7CEkiCGdpZAY6BkVUSSIiZ2..."
#
# ==== Expiration
@@ -282,6 +285,16 @@ end
# source://globalid//lib/global_id/locator.rb#4
module GlobalID::Locator
class << self
+ # The default locator used when no app-specific locator is found.
+ #
+ # source://globalid//lib/global_id/locator.rb#9
+ def default_locator; end
+
+ # The default locator used when no app-specific locator is found.
+ #
+ # source://globalid//lib/global_id/locator.rb#9
+ def default_locator=(_arg0); end
+
# Takes either a GlobalID or a string that can be turned into a GlobalID
#
# Options:
@@ -295,7 +308,7 @@ module GlobalID::Locator
# instances of returned classes to those including that module. If no classes or
# modules match, +nil+ is returned.
#
- # source://globalid//lib/global_id/locator.rb#20
+ # source://globalid//lib/global_id/locator.rb#23
def locate(gid, options = T.unsafe(nil)); end
# Takes an array of GlobalIDs or strings that can be turned into a GlobalIDs.
@@ -324,7 +337,7 @@ module GlobalID::Locator
# #find will raise an exception if a named ID can't be found. When you set this option to true,
# we will use #where(id: ids) instead, which does not raise on missing records.
#
- # source://globalid//lib/global_id/locator.rb#60
+ # source://globalid//lib/global_id/locator.rb#63
def locate_many(gids, options = T.unsafe(nil)); end
# Takes an array of SignedGlobalIDs or strings that can be turned into a SignedGlobalIDs.
@@ -346,7 +359,7 @@ module GlobalID::Locator
# instances of returned classes to those including that module. If no classes or
# modules match, +nil+ is returned.
#
- # source://globalid//lib/global_id/locator.rb#103
+ # source://globalid//lib/global_id/locator.rb#106
def locate_many_signed(sgids, options = T.unsafe(nil)); end
# Takes either a SignedGlobalID or a string that can be turned into a SignedGlobalID
@@ -362,7 +375,7 @@ module GlobalID::Locator
# instances of returned classes to those including that module. If no classes or
# modules match, +nil+ is returned.
#
- # source://globalid//lib/global_id/locator.rb#81
+ # source://globalid//lib/global_id/locator.rb#84
def locate_signed(sgid, options = T.unsafe(nil)); end
# Tie a locator to an app.
@@ -388,80 +401,77 @@ module GlobalID::Locator
#
# @raise [ArgumentError]
#
- # source://globalid//lib/global_id/locator.rb#127
+ # source://globalid//lib/global_id/locator.rb#130
def use(app, locator = T.unsafe(nil), &locator_block); end
private
# @return [Boolean]
#
- # source://globalid//lib/global_id/locator.rb#140
+ # source://globalid//lib/global_id/locator.rb#143
def find_allowed?(model_class, only = T.unsafe(nil)); end
- # source://globalid//lib/global_id/locator.rb#136
+ # source://globalid//lib/global_id/locator.rb#139
def locator_for(gid); end
- # source://globalid//lib/global_id/locator.rb#148
+ # source://globalid//lib/global_id/locator.rb#151
def normalize_app(app); end
- # source://globalid//lib/global_id/locator.rb#144
+ # source://globalid//lib/global_id/locator.rb#147
def parse_allowed(gids, only = T.unsafe(nil)); end
end
end
-# source://globalid//lib/global_id/locator.rb#156
+# source://globalid//lib/global_id/locator.rb#159
class GlobalID::Locator::BaseLocator
- # source://globalid//lib/global_id/locator.rb#157
+ # source://globalid//lib/global_id/locator.rb#160
def locate(gid, options = T.unsafe(nil)); end
- # source://globalid//lib/global_id/locator.rb#165
+ # source://globalid//lib/global_id/locator.rb#168
def locate_many(gids, options = T.unsafe(nil)); end
private
- # source://globalid//lib/global_id/locator.rb#189
+ # source://globalid//lib/global_id/locator.rb#192
def find_records(model_class, ids, options); end
# @return [Boolean]
#
- # source://globalid//lib/global_id/locator.rb#199
+ # source://globalid//lib/global_id/locator.rb#202
def model_id_is_valid?(gid); end
- # source://globalid//lib/global_id/locator.rb#203
+ # source://globalid//lib/global_id/locator.rb#206
def primary_key(model_class); end
end
-# source://globalid//lib/global_id/locator.rb#228
+# source://globalid//lib/global_id/locator.rb#232
class GlobalID::Locator::BlockLocator
# @return [BlockLocator] a new instance of BlockLocator
#
- # source://globalid//lib/global_id/locator.rb#229
+ # source://globalid//lib/global_id/locator.rb#233
def initialize(block); end
- # source://globalid//lib/global_id/locator.rb#233
+ # source://globalid//lib/global_id/locator.rb#237
def locate(gid, options = T.unsafe(nil)); end
- # source://globalid//lib/global_id/locator.rb#237
+ # source://globalid//lib/global_id/locator.rb#241
def locate_many(gids, options = T.unsafe(nil)); end
end
-# source://globalid//lib/global_id/locator.rb#226
-GlobalID::Locator::DEFAULT_LOCATOR = T.let(T.unsafe(nil), GlobalID::Locator::UnscopedLocator)
-
# source://globalid//lib/global_id/locator.rb#5
class GlobalID::Locator::InvalidModelIdError < ::StandardError; end
-# source://globalid//lib/global_id/locator.rb#208
+# source://globalid//lib/global_id/locator.rb#211
class GlobalID::Locator::UnscopedLocator < ::GlobalID::Locator::BaseLocator
- # source://globalid//lib/global_id/locator.rb#209
+ # source://globalid//lib/global_id/locator.rb#212
def locate(gid, options = T.unsafe(nil)); end
private
- # source://globalid//lib/global_id/locator.rb#214
+ # source://globalid//lib/global_id/locator.rb#217
def find_records(model_class, ids, options); end
- # source://globalid//lib/global_id/locator.rb#218
+ # source://globalid//lib/global_id/locator.rb#221
def unscoped(model_class); end
end
@@ -600,7 +610,7 @@ class URI::GID < ::URI::Generic
# source://uri/0.13.0/uri/generic.rb#243
def app; end
- # source://globalid//lib/global_id/uri/gid.rb#107
+ # source://globalid//lib/global_id/uri/gid.rb#109
def deconstruct_keys(_keys); end
# Returns the value of attribute model_id.
@@ -618,57 +628,57 @@ class URI::GID < ::URI::Generic
# source://globalid//lib/global_id/uri/gid.rb#29
def params; end
- # source://globalid//lib/global_id/uri/gid.rb#102
+ # source://globalid//lib/global_id/uri/gid.rb#104
def to_s; end
protected
# Ruby 2.2 uses #query= instead of #set_query
#
- # source://globalid//lib/global_id/uri/gid.rb#118
+ # source://globalid//lib/global_id/uri/gid.rb#120
def query=(query); end
- # source://globalid//lib/global_id/uri/gid.rb#129
+ # source://globalid//lib/global_id/uri/gid.rb#131
def set_params(params); end
- # source://globalid//lib/global_id/uri/gid.rb#112
+ # source://globalid//lib/global_id/uri/gid.rb#114
def set_path(path); end
# Ruby 2.1 or less uses #set_query to assign the query
#
- # source://globalid//lib/global_id/uri/gid.rb#124
+ # source://globalid//lib/global_id/uri/gid.rb#126
def set_query(query); end
private
- # source://globalid//lib/global_id/uri/gid.rb#136
+ # source://globalid//lib/global_id/uri/gid.rb#138
def check_host(host); end
- # source://globalid//lib/global_id/uri/gid.rb#141
+ # source://globalid//lib/global_id/uri/gid.rb#143
def check_path(path); end
- # source://globalid//lib/global_id/uri/gid.rb#146
+ # source://globalid//lib/global_id/uri/gid.rb#148
def check_scheme(scheme); end
- # source://globalid//lib/global_id/uri/gid.rb#195
+ # source://globalid//lib/global_id/uri/gid.rb#197
def parse_query_params(query); end
- # source://globalid//lib/global_id/uri/gid.rb#154
+ # source://globalid//lib/global_id/uri/gid.rb#156
def set_model_components(path, validate = T.unsafe(nil)); end
# @raise [URI::InvalidComponentError]
#
- # source://globalid//lib/global_id/uri/gid.rb#174
+ # source://globalid//lib/global_id/uri/gid.rb#176
def validate_component(component); end
# @raise [InvalidModelIdError]
#
- # source://globalid//lib/global_id/uri/gid.rb#188
+ # source://globalid//lib/global_id/uri/gid.rb#190
def validate_model_id(model_id_part); end
# @raise [MissingModelIdError]
#
- # source://globalid//lib/global_id/uri/gid.rb#181
+ # source://globalid//lib/global_id/uri/gid.rb#183
def validate_model_id_section(model_id, model_name); end
class << self
@@ -685,14 +695,14 @@ class URI::GID < ::URI::Generic
#
# URI::GID.build(['bcx', 'Person', '1', key: 'value'])
#
- # source://globalid//lib/global_id/uri/gid.rb#88
+ # source://globalid//lib/global_id/uri/gid.rb#90
def build(args); end
# Shorthand to build a URI::GID from an app, a model and optional params.
#
# URI::GID.create('bcx', Person.find(5), database: 'superhumans')
#
- # source://globalid//lib/global_id/uri/gid.rb#72
+ # source://globalid//lib/global_id/uri/gid.rb#74
def create(app, model, params = T.unsafe(nil)); end
# Create a new URI::GID by parsing a gid string with argument check.
@@ -705,7 +715,7 @@ class URI::GID < ::URI::Generic
# URI.parse('gid://bcx') # => URI::GID instance
# URI::GID.parse('gid://bcx/') # => raises URI::InvalidComponentError
#
- # source://globalid//lib/global_id/uri/gid.rb#64
+ # source://globalid//lib/global_id/uri/gid.rb#66
def parse(uri); end
# Validates +app+'s as URI hostnames containing only alphanumeric characters
@@ -717,12 +727,12 @@ class URI::GID < ::URI::Generic
# URI::GID.validate_app(nil) # => ArgumentError
# URI::GID.validate_app('foo/bar') # => ArgumentError
#
- # source://globalid//lib/global_id/uri/gid.rb#48
+ # source://globalid//lib/global_id/uri/gid.rb#50
def validate_app(app); end
end
end
-# source://globalid//lib/global_id/uri/gid.rb#134
+# source://globalid//lib/global_id/uri/gid.rb#136
URI::GID::COMPONENT = T.let(T.unsafe(nil), Array)
# source://globalid//lib/global_id/uri/gid.rb#37
@@ -740,3 +750,6 @@ class URI::GID::InvalidModelIdError < ::URI::InvalidComponentError; end
#
# source://globalid//lib/global_id/uri/gid.rb#32
class URI::GID::MissingModelIdError < ::URI::InvalidComponentError; end
+
+# source://globalid//lib/global_id/uri/gid.rb#39
+URI::GID::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
diff --git a/sorbet/rbi/gems/i18n@1.14.5.rbi b/sorbet/rbi/gems/i18n@1.14.7.rbi
similarity index 96%
rename from sorbet/rbi/gems/i18n@1.14.5.rbi
rename to sorbet/rbi/gems/i18n@1.14.7.rbi
index e28614aef..bd5c9e5d2 100644
--- a/sorbet/rbi/gems/i18n@1.14.5.rbi
+++ b/sorbet/rbi/gems/i18n@1.14.7.rbi
@@ -88,7 +88,7 @@ module I18n
# source://i18n//lib/i18n/interpolate/ruby.rb#29
def interpolate_hash(string, values); end
- # source://i18n//lib/i18n.rb#37
+ # source://i18n//lib/i18n.rb#38
def new_double_nested_cache; end
# @return [Boolean]
@@ -101,10 +101,10 @@ module I18n
# extra keys as I18n options, you should call I18n.reserve_key
# before any I18n.translate (etc) calls are made.
#
- # source://i18n//lib/i18n.rb#45
+ # source://i18n//lib/i18n.rb#46
def reserve_key(key); end
- # source://i18n//lib/i18n.rb#50
+ # source://i18n//lib/i18n.rb#51
def reserved_keys_pattern; end
end
end
@@ -124,15 +124,15 @@ module I18n::Backend::Base
#
# @raise [NotImplementedError]
#
- # source://i18n//lib/i18n/backend/base.rb#96
+ # source://i18n//lib/i18n/backend/base.rb#97
def available_locales; end
- # source://i18n//lib/i18n/backend/base.rb#104
+ # source://i18n//lib/i18n/backend/base.rb#105
def eager_load!; end
# @return [Boolean]
#
- # source://i18n//lib/i18n/backend/base.rb#70
+ # source://i18n//lib/i18n/backend/base.rb#71
def exists?(locale, key, options = T.unsafe(nil)); end
# Accepts a list of paths to translation files. Loads translations from
@@ -148,10 +148,10 @@ module I18n::Backend::Base
#
# @raise [ArgumentError]
#
- # source://i18n//lib/i18n/backend/base.rb#77
+ # source://i18n//lib/i18n/backend/base.rb#78
def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
- # source://i18n//lib/i18n/backend/base.rb#100
+ # source://i18n//lib/i18n/backend/base.rb#101
def reload!; end
# This method receives a locale, a data hash and options for storing translations.
@@ -175,7 +175,7 @@ module I18n::Backend::Base
# ann: 'good', john: 'big'
# #=> { people: { ann: "Ann is good", john: "John is big" } }
#
- # source://i18n//lib/i18n/backend/base.rb#209
+ # source://i18n//lib/i18n/backend/base.rb#217
def deep_interpolate(locale, data, values = T.unsafe(nil)); end
# Evaluates defaults.
@@ -183,12 +183,12 @@ module I18n::Backend::Base
# first translation that can be resolved. Otherwise it tries to resolve
# the translation directly.
#
- # source://i18n//lib/i18n/backend/base.rb#127
+ # source://i18n//lib/i18n/backend/base.rb#128
def default(locale, object, subject, options = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://i18n//lib/i18n/backend/base.rb#110
+ # source://i18n//lib/i18n/backend/base.rb#111
def eager_loaded?; end
# Interpolates values into a given subject.
@@ -202,7 +202,7 @@ module I18n::Backend::Base
# method interpolates ["yes, %{user}", ["maybe no, %{user}", "no, %{user}"]], :user => "bartuz"
# # => ["yes, bartuz", ["maybe no, bartuz", "no, bartuz"]]
#
- # source://i18n//lib/i18n/backend/base.rb#193
+ # source://i18n//lib/i18n/backend/base.rb#201
def interpolate(locale, subject, values = T.unsafe(nil)); end
# Loads a single translations file by delegating to #load_rb or
@@ -212,41 +212,41 @@ module I18n::Backend::Base
#
# @raise [UnknownFileType]
#
- # source://i18n//lib/i18n/backend/base.rb#232
+ # source://i18n//lib/i18n/backend/base.rb#240
def load_file(filename); end
# Loads a JSON translations file. The data must have locales as
# toplevel keys.
#
- # source://i18n//lib/i18n/backend/base.rb#268
+ # source://i18n//lib/i18n/backend/base.rb#276
def load_json(filename); end
# Loads a plain Ruby translations file. eval'ing the file must yield
# a Hash containing translation data with locales as toplevel keys.
#
- # source://i18n//lib/i18n/backend/base.rb#246
+ # source://i18n//lib/i18n/backend/base.rb#254
def load_rb(filename); end
# Loads a YAML translations file. The data must have locales as
# toplevel keys.
#
- # source://i18n//lib/i18n/backend/base.rb#253
+ # source://i18n//lib/i18n/backend/base.rb#261
def load_yaml(filename); end
# Loads a YAML translations file. The data must have locales as
# toplevel keys.
#
- # source://i18n//lib/i18n/backend/base.rb#253
+ # source://i18n//lib/i18n/backend/base.rb#261
def load_yml(filename); end
# The method which actually looks up for the translation in the store.
#
# @raise [NotImplementedError]
#
- # source://i18n//lib/i18n/backend/base.rb#115
+ # source://i18n//lib/i18n/backend/base.rb#116
def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
- # source://i18n//lib/i18n/backend/base.rb#300
+ # source://i18n//lib/i18n/backend/base.rb#308
def pluralization_key(entry, count); end
# Picks a translation from a pluralized mnemonic subkey according to English
@@ -260,7 +260,7 @@ module I18n::Backend::Base
#
# @raise [InvalidPluralizationData]
#
- # source://i18n//lib/i18n/backend/base.rb#174
+ # source://i18n//lib/i18n/backend/base.rb#182
def pluralize(locale, entry, count); end
# Resolves a translation.
@@ -268,7 +268,7 @@ module I18n::Backend::Base
# given options. If it is a Proc then it will be evaluated. All other
# subjects will be returned directly.
#
- # source://i18n//lib/i18n/backend/base.rb#149
+ # source://i18n//lib/i18n/backend/base.rb#150
def resolve(locale, object, subject, options = T.unsafe(nil)); end
# Resolves a translation.
@@ -276,15 +276,15 @@ module I18n::Backend::Base
# given options. If it is a Proc then it will be evaluated. All other
# subjects will be returned directly.
#
- # source://i18n//lib/i18n/backend/base.rb#149
+ # source://i18n//lib/i18n/backend/base.rb#150
def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://i18n//lib/i18n/backend/base.rb#119
+ # source://i18n//lib/i18n/backend/base.rb#120
def subtrees?; end
- # source://i18n//lib/i18n/backend/base.rb#281
+ # source://i18n//lib/i18n/backend/base.rb#289
def translate_localization_format(locale, object, format, options); end
end
@@ -448,10 +448,10 @@ end
module I18n::Backend::Fallbacks
# @return [Boolean]
#
- # source://i18n//lib/i18n/backend/fallbacks.rb#94
+ # source://i18n//lib/i18n/backend/fallbacks.rb#98
def exists?(locale, key, options = T.unsafe(nil)); end
- # source://i18n//lib/i18n/backend/fallbacks.rb#85
+ # source://i18n//lib/i18n/backend/fallbacks.rb#89
def extract_non_symbol_default!(options); end
# source://i18n//lib/i18n/backend/fallbacks.rb#67
@@ -475,7 +475,7 @@ module I18n::Backend::Fallbacks
# Overwrite on_fallback to add specified logic when the fallback succeeds.
#
- # source://i18n//lib/i18n/backend/fallbacks.rb#110
+ # source://i18n//lib/i18n/backend/fallbacks.rb#114
def on_fallback(_original_locale, _fallback_locale, _key, _options); end
end
@@ -1061,14 +1061,14 @@ end
# The implementation is provided by a Implementation module allowing to easily
# extend Simple backend's behavior by including modules. E.g.:
#
-# module I18n::Backend::Pluralization
-# def pluralize(*args)
-# # extended pluralization logic
-# super
-# end
-# end
+# module I18n::Backend::Pluralization
+# def pluralize(*args)
+# # extended pluralization logic
+# super
+# end
+# end
#
-# I18n::Backend::Simple.include(I18n::Backend::Pluralization)
+# I18n::Backend::Simple.include(I18n::Backend::Pluralization)
#
# source://i18n//lib/i18n/backend/simple.rb#21
class I18n::Backend::Simple
@@ -1193,69 +1193,69 @@ class I18n::Backend::Transliterator::ProcTransliterator
def transliterate(string, replacement = T.unsafe(nil)); end
end
-# source://i18n//lib/i18n.rb#54
+# source://i18n//lib/i18n.rb#55
module I18n::Base
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def available_locales; end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def available_locales=(value); end
# @return [Boolean]
#
- # source://i18n//lib/i18n.rb#384
+ # source://i18n//lib/i18n.rb#386
def available_locales_initialized?; end
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def backend; end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def backend=(value); end
# Gets I18n configuration object.
#
- # source://i18n//lib/i18n.rb#56
+ # source://i18n//lib/i18n.rb#57
def config; end
# Sets I18n configuration object.
#
- # source://i18n//lib/i18n.rb#61
+ # source://i18n//lib/i18n.rb#62
def config=(value); end
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def default_locale; end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def default_locale=(value); end
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def default_separator; end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def default_separator=(value); end
# Tells the backend to load translations now. Used in situations like the
# Rails production environment. Backends can implement whatever strategy
# is useful.
#
- # source://i18n//lib/i18n.rb#90
+ # source://i18n//lib/i18n.rb#91
def eager_load!; end
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def enforce_available_locales; end
# Raises an InvalidLocale exception when the passed locale is not available.
#
- # source://i18n//lib/i18n.rb#378
+ # source://i18n//lib/i18n.rb#380
def enforce_available_locales!(locale); end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def enforce_available_locales=(value); end
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def exception_handler; end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def exception_handler=(value); end
# Returns true if a translation exists for a given key, otherwise returns false.
@@ -1263,7 +1263,7 @@ module I18n::Base
# @raise [Disabled]
# @return [Boolean]
#
- # source://i18n//lib/i18n.rb#264
+ # source://i18n//lib/i18n.rb#265
def exists?(key, _locale = T.unsafe(nil), locale: T.unsafe(nil), **options); end
# Returns an array of interpolation keys for the given translation key
@@ -1288,26 +1288,26 @@ module I18n::Base
#
# @raise [I18n::ArgumentError]
#
- # source://i18n//lib/i18n.rb#253
+ # source://i18n//lib/i18n.rb#254
def interpolation_keys(key, **options); end
# Localizes certain objects, such as dates and numbers to local formatting.
#
# @raise [Disabled]
#
- # source://i18n//lib/i18n.rb#333
+ # source://i18n//lib/i18n.rb#335
def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def load_path; end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def load_path=(value); end
- # source://i18n//lib/i18n.rb#69
+ # source://i18n//lib/i18n.rb#70
def locale; end
- # source://i18n//lib/i18n.rb#73
+ # source://i18n//lib/i18n.rb#74
def locale=(value); end
# Returns true when the passed locale, which can be either a String or a
@@ -1315,28 +1315,28 @@ module I18n::Base
#
# @return [Boolean]
#
- # source://i18n//lib/i18n.rb#373
+ # source://i18n//lib/i18n.rb#375
def locale_available?(locale); end
# Localizes certain objects, such as dates and numbers to local formatting.
#
# @raise [Disabled]
#
- # source://i18n//lib/i18n.rb#333
+ # source://i18n//lib/i18n.rb#335
def localize(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
# Merges the given locale, key and scope into a single array of keys.
# Splits keys that contain dots into multiple keys. Makes sure all
# keys are Symbols.
#
- # source://i18n//lib/i18n.rb#361
+ # source://i18n//lib/i18n.rb#363
def normalize_keys(locale, key, scope, separator = T.unsafe(nil)); end
# Tells the backend to reload translations. Used in situations like the
# Rails development environment. Backends can implement whatever strategy
# is useful.
#
- # source://i18n//lib/i18n.rb#82
+ # source://i18n//lib/i18n.rb#83
def reload!; end
# Translates, pluralizes and interpolates a given key using a given locale,
@@ -1409,7 +1409,7 @@ module I18n::Base
# or default if no translations for :foo and :bar were found.
# I18n.t :foo, :default => [:bar, 'default']
#
- # *BULK LOOKUP*
+ # BULK LOOKUP
#
# This returns an array with the translations for :foo and :bar.
# I18n.t [:foo, :bar]
@@ -1428,7 +1428,7 @@ module I18n::Base
# E.g. assuming the key :salutation resolves to:
# lambda { |key, options| options[:gender] == 'm' ? "Mr. #{options[:name]}" : "Mrs. #{options[:name]}" }
#
- # Then I18n.t(:salutation, :gender => 'w', :name => 'Smith') will result in "Mrs. Smith".
+ # Then I18n.t(:salutation, :gender => 'w', :name => 'Smith') will result in "Mrs. Smith".
#
# Note that the string returned by lambda will go through string interpolation too,
# so the following lambda would give the same result:
@@ -1440,7 +1440,7 @@ module I18n::Base
# always return the same translations/values per unique combination of argument
# values.
#
- # *Ruby 2.7+ keyword arguments warning*
+ # Ruby 2.7+ keyword arguments warning
#
# This method uses keyword arguments.
# There is a breaking change in ruby that produces warning with ruby 2.7 and won't work as expected with ruby 3.0
@@ -1457,13 +1457,13 @@ module I18n::Base
#
# @raise [Disabled]
#
- # source://i18n//lib/i18n.rb#210
+ # source://i18n//lib/i18n.rb#211
def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
# Wrapper for translate that adds :raise => true. With
# this option, if no translation is found, it will raise I18n::MissingTranslationData
#
- # source://i18n//lib/i18n.rb#229
+ # source://i18n//lib/i18n.rb#230
def t!(key, **options); end
# Translates, pluralizes and interpolates a given key using a given locale,
@@ -1536,7 +1536,7 @@ module I18n::Base
# or default if no translations for :foo and :bar were found.
# I18n.t :foo, :default => [:bar, 'default']
#
- # *BULK LOOKUP*
+ # BULK LOOKUP
#
# This returns an array with the translations for :foo and :bar.
# I18n.t [:foo, :bar]
@@ -1555,7 +1555,7 @@ module I18n::Base
# E.g. assuming the key :salutation resolves to:
# lambda { |key, options| options[:gender] == 'm' ? "Mr. #{options[:name]}" : "Mrs. #{options[:name]}" }
#
- # Then I18n.t(:salutation, :gender => 'w', :name => 'Smith') will result in "Mrs. Smith".
+ # Then I18n.t(:salutation, :gender => 'w', :name => 'Smith') will result in "Mrs. Smith".
#
# Note that the string returned by lambda will go through string interpolation too,
# so the following lambda would give the same result:
@@ -1567,7 +1567,7 @@ module I18n::Base
# always return the same translations/values per unique combination of argument
# values.
#
- # *Ruby 2.7+ keyword arguments warning*
+ # Ruby 2.7+ keyword arguments warning
#
# This method uses keyword arguments.
# There is a breaking change in ruby that produces warning with ruby 2.7 and won't work as expected with ruby 3.0
@@ -1584,13 +1584,13 @@ module I18n::Base
#
# @raise [Disabled]
#
- # source://i18n//lib/i18n.rb#210
+ # source://i18n//lib/i18n.rb#211
def translate(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
# Wrapper for translate that adds :raise => true. With
# this option, if no translation is found, it will raise I18n::MissingTranslationData
#
- # source://i18n//lib/i18n.rb#229
+ # source://i18n//lib/i18n.rb#230
def translate!(key, **options); end
# Transliterates UTF-8 characters to ASCII. By default this method will
@@ -1645,12 +1645,12 @@ module I18n::Base
# I18n.transliterate("Jürgen", :locale => :en) # => "Jurgen"
# I18n.transliterate("Jürgen", :locale => :de) # => "Juergen"
#
- # source://i18n//lib/i18n.rb#322
+ # source://i18n//lib/i18n.rb#324
def transliterate(key, throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), replacement: T.unsafe(nil), **options); end
# Executes block with given I18n.locale set.
#
- # source://i18n//lib/i18n.rb#344
+ # source://i18n//lib/i18n.rb#346
def with_locale(tmp_locale = T.unsafe(nil)); end
private
@@ -1674,16 +1674,16 @@ module I18n::Base
# I18n.exception_handler = I18nExceptionHandler.new # an object
# I18n.exception_handler.call(exception, locale, key, options) # will be called like this
#
- # source://i18n//lib/i18n.rb#420
+ # source://i18n//lib/i18n.rb#422
def handle_exception(handling, exception, locale, key, options); end
- # source://i18n//lib/i18n.rb#462
+ # source://i18n//lib/i18n.rb#464
def interpolation_keys_from_translation(translation); end
- # source://i18n//lib/i18n.rb#438
+ # source://i18n//lib/i18n.rb#440
def normalize_key(key, separator); end
- # source://i18n//lib/i18n.rb#390
+ # source://i18n//lib/i18n.rb#392
def translate_key(key, throw, raise, locale, backend, options); end
end
@@ -1845,7 +1845,7 @@ class I18n::Disabled < ::I18n::ArgumentError
def initialize(method); end
end
-# source://i18n//lib/i18n.rb#35
+# source://i18n//lib/i18n.rb#36
I18n::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
# source://i18n//lib/i18n/exceptions.rb#6
diff --git a/sorbet/rbi/gems/loofah@2.22.0.rbi b/sorbet/rbi/gems/loofah@2.24.1.rbi
similarity index 92%
rename from sorbet/rbi/gems/loofah@2.22.0.rbi
rename to sorbet/rbi/gems/loofah@2.24.1.rbi
index 58c1bb312..652e0b1ef 100644
--- a/sorbet/rbi/gems/loofah@2.22.0.rbi
+++ b/sorbet/rbi/gems/loofah@2.24.1.rbi
@@ -235,21 +235,21 @@ Loofah::HTML5::SafeList::ACCEPTABLE_ATTRIBUTES = T.let(T.unsafe(nil), Set)
# https://www.w3.org/TR/css-color-3/#html4
#
-# source://loofah//lib/loofah/html5/safelist.rb#735
+# source://loofah//lib/loofah/html5/safelist.rb#738
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_COLORS = T.let(T.unsafe(nil), Set)
# https://www.w3.org/TR/css-color-3/#svg-color
#
-# source://loofah//lib/loofah/html5/safelist.rb#755
+# source://loofah//lib/loofah/html5/safelist.rb#758
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_EXTENDED_COLORS = T.let(T.unsafe(nil), Set)
# see https://www.quackit.com/css/functions/
# omit `url` and `image` from that list
#
-# source://loofah//lib/loofah/html5/safelist.rb#907
+# source://loofah//lib/loofah/html5/safelist.rb#910
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#696
+# source://loofah//lib/loofah/html5/safelist.rb#699
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_KEYWORDS = T.let(T.unsafe(nil), Set)
# source://loofah//lib/loofah/html5/safelist.rb#626
@@ -258,42 +258,42 @@ Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
# source://loofah//lib/loofah/html5/safelist.rb#50
Loofah::HTML5::SafeList::ACCEPTABLE_ELEMENTS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#980
+# source://loofah//lib/loofah/html5/safelist.rb#983
Loofah::HTML5::SafeList::ACCEPTABLE_PROTOCOLS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#967
+# source://loofah//lib/loofah/html5/safelist.rb#970
Loofah::HTML5::SafeList::ACCEPTABLE_SVG_PROPERTIES = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1011
+# source://loofah//lib/loofah/html5/safelist.rb#1014
Loofah::HTML5::SafeList::ACCEPTABLE_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1021
+# source://loofah//lib/loofah/html5/safelist.rb#1024
Loofah::HTML5::SafeList::ALLOWED_ATTRIBUTES = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1024
+# source://loofah//lib/loofah/html5/safelist.rb#1027
Loofah::HTML5::SafeList::ALLOWED_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1023
+# source://loofah//lib/loofah/html5/safelist.rb#1026
Loofah::HTML5::SafeList::ALLOWED_CSS_KEYWORDS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1022
+# source://loofah//lib/loofah/html5/safelist.rb#1025
Loofah::HTML5::SafeList::ALLOWED_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
# subclasses may define their own versions of these constants
#
-# source://loofah//lib/loofah/html5/safelist.rb#1020
+# source://loofah//lib/loofah/html5/safelist.rb#1023
Loofah::HTML5::SafeList::ALLOWED_ELEMENTS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1045
+# source://loofah//lib/loofah/html5/safelist.rb#1048
Loofah::HTML5::SafeList::ALLOWED_ELEMENTS_WITH_LIBXML2 = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1026
+# source://loofah//lib/loofah/html5/safelist.rb#1029
Loofah::HTML5::SafeList::ALLOWED_PROTOCOLS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1025
+# source://loofah//lib/loofah/html5/safelist.rb#1028
Loofah::HTML5::SafeList::ALLOWED_SVG_PROPERTIES = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#1027
+# source://loofah//lib/loofah/html5/safelist.rb#1030
Loofah::HTML5::SafeList::ALLOWED_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set)
# source://loofah//lib/loofah/html5/safelist.rb#526
@@ -308,10 +308,10 @@ Loofah::HTML5::SafeList::MATHML_ATTRIBUTES = T.let(T.unsafe(nil), Set)
# source://loofah//lib/loofah/html5/safelist.rb#147
Loofah::HTML5::SafeList::MATHML_ELEMENTS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/safelist.rb#978
+# source://loofah//lib/loofah/html5/safelist.rb#981
Loofah::HTML5::SafeList::PROTOCOL_SEPARATOR = T.let(T.unsafe(nil), Regexp)
-# source://loofah//lib/loofah/html5/safelist.rb#960
+# source://loofah//lib/loofah/html5/safelist.rb#963
Loofah::HTML5::SafeList::SHORTHAND_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
# source://loofah//lib/loofah/html5/safelist.rb#608
@@ -328,82 +328,82 @@ Loofah::HTML5::SafeList::SVG_ELEMENTS = T.let(T.unsafe(nil), Set)
# additional tags we should consider safe since we have libxml2 fixing up our documents.
#
-# source://loofah//lib/loofah/html5/safelist.rb#1040
+# source://loofah//lib/loofah/html5/safelist.rb#1043
Loofah::HTML5::SafeList::TAGS_SAFE_WITH_LIBXML2 = T.let(T.unsafe(nil), Set)
# TODO: remove VOID_ELEMENTS in a future major release
# and put it in the tests (it is used only for testing, not for functional behavior)
#
-# source://loofah//lib/loofah/html5/safelist.rb#1031
+# source://loofah//lib/loofah/html5/safelist.rb#1034
Loofah::HTML5::SafeList::VOID_ELEMENTS = T.let(T.unsafe(nil), Set)
-# source://loofah//lib/loofah/html5/scrub.rb#8
+# source://loofah//lib/loofah/html5/scrub.rb#9
module Loofah::HTML5::Scrub
class << self
# @return [Boolean]
#
- # source://loofah//lib/loofah/html5/scrub.rb#18
+ # source://loofah//lib/loofah/html5/scrub.rb#19
def allowed_element?(element_name); end
- # source://loofah//lib/loofah/html5/scrub.rb#192
+ # source://loofah//lib/loofah/html5/scrub.rb#193
def cdata_escape(node); end
# @return [Boolean]
#
- # source://loofah//lib/loofah/html5/scrub.rb#187
+ # source://loofah//lib/loofah/html5/scrub.rb#188
def cdata_needs_escaping?(node); end
- # source://loofah//lib/loofah/html5/scrub.rb#207
+ # source://loofah//lib/loofah/html5/scrub.rb#208
def escape_tags(string); end
# libxml2 >= 2.9.2 fails to escape comments within some attributes.
#
# see comments about CVE-2018-8048 within the tests for more information
#
- # source://loofah//lib/loofah/html5/scrub.rb#166
+ # source://loofah//lib/loofah/html5/scrub.rb#167
def force_correct_attribute_escaping!(node); end
- # source://loofah//lib/loofah/html5/scrub.rb#123
+ # source://loofah//lib/loofah/html5/scrub.rb#124
def scrub_attribute_that_allows_local_ref(attr_node); end
# alternative implementation of the html5lib attribute scrubbing algorithm
#
- # source://loofah//lib/loofah/html5/scrub.rb#23
+ # source://loofah//lib/loofah/html5/scrub.rb#24
def scrub_attributes(node); end
- # source://loofah//lib/loofah/html5/scrub.rb#72
+ # source://loofah//lib/loofah/html5/scrub.rb#73
def scrub_css(style); end
- # source://loofah//lib/loofah/html5/scrub.rb#67
+ # source://loofah//lib/loofah/html5/scrub.rb#68
def scrub_css_attribute(node); end
- # source://loofah//lib/loofah/html5/scrub.rb#142
+ # source://loofah//lib/loofah/html5/scrub.rb#143
def scrub_uri_attribute(attr_node); end
end
end
-# source://loofah//lib/loofah/html5/scrub.rb#9
+# source://loofah//lib/loofah/html5/scrub.rb#10
Loofah::HTML5::Scrub::CONTROL_CHARACTERS = T.let(T.unsafe(nil), Regexp)
-# source://loofah//lib/loofah/html5/scrub.rb#11
+# source://loofah//lib/loofah/html5/scrub.rb#12
Loofah::HTML5::Scrub::CRASS_SEMICOLON = T.let(T.unsafe(nil), Hash)
-# source://loofah//lib/loofah/html5/scrub.rb#12
+# source://loofah//lib/loofah/html5/scrub.rb#13
Loofah::HTML5::Scrub::CSS_IMPORTANT = T.let(T.unsafe(nil), String)
-# source://loofah//lib/loofah/html5/scrub.rb#10
+# source://loofah//lib/loofah/html5/scrub.rb#11
Loofah::HTML5::Scrub::CSS_KEYWORDISH = T.let(T.unsafe(nil), Regexp)
-# source://loofah//lib/loofah/html5/scrub.rb#14
+# source://loofah//lib/loofah/html5/scrub.rb#15
Loofah::HTML5::Scrub::CSS_PROPERTY_STRING_WITHOUT_EMBEDDED_QUOTES = T.let(T.unsafe(nil), Regexp)
-# source://loofah//lib/loofah/html5/scrub.rb#13
+# source://loofah//lib/loofah/html5/scrub.rb#14
Loofah::HTML5::Scrub::CSS_WHITESPACE = T.let(T.unsafe(nil), String)
-# source://loofah//lib/loofah/html5/scrub.rb#15
+# source://loofah//lib/loofah/html5/scrub.rb#16
Loofah::HTML5::Scrub::DATA_ATTRIBUTE_NAME = T.let(T.unsafe(nil), Regexp)
-# source://loofah//lib/loofah/html5/safelist.rb#1048
+# source://loofah//lib/loofah/html5/safelist.rb#1051
Loofah::HTML5::WhiteList = Loofah::HTML5::SafeList
# source://loofah//lib/loofah/concerns.rb#133
@@ -754,11 +754,35 @@ module Loofah::Scrubbers
class << self
# Returns an array of symbols representing the built-in scrubbers
#
- # source://loofah//lib/loofah/scrubbers.rb#371
+ # source://loofah//lib/loofah/scrubbers.rb#425
def scrubber_symbols; end
end
end
+# === scrub!(:double_breakpoint)
+#
+# +:double_breakpoint+ replaces double-break tags with closing/opening paragraph tags.
+#
+# markup = "
"
+#
+# source://loofah//lib/loofah/scrubbers.rb#362
+class Loofah::Scrubbers::DoubleBreakpoint < ::Loofah::Scrubber
+ # @return [DoubleBreakpoint] a new instance of DoubleBreakpoint
+ #
+ # source://loofah//lib/loofah/scrubbers.rb#363
+ def initialize; end
+
+ # source://loofah//lib/loofah/scrubbers.rb#367
+ def scrub(node); end
+
+ private
+
+ # source://loofah//lib/loofah/scrubbers.rb#400
+ def remove_blank_text_nodes(node); end
+end
+
# === scrub!(:escape)
#
# +:escape+ performs HTML entity escaping on the unknown/unsafe tags:
@@ -780,19 +804,19 @@ end
# A hash that maps a symbol (like +:prune+) to the appropriate Scrubber (Loofah::Scrubbers::Prune).
#
-# source://loofah//lib/loofah/scrubbers.rb#354
+# source://loofah//lib/loofah/scrubbers.rb#407
Loofah::Scrubbers::MAP = T.let(T.unsafe(nil), Hash)
# This class probably isn't useful publicly, but is used for #to_text's current implemention
#
-# source://loofah//lib/loofah/scrubbers.rb#305
+# source://loofah//lib/loofah/scrubbers.rb#307
class Loofah::Scrubbers::NewlineBlockElements < ::Loofah::Scrubber
# @return [NewlineBlockElements] a new instance of NewlineBlockElements
#
- # source://loofah//lib/loofah/scrubbers.rb#306
+ # source://loofah//lib/loofah/scrubbers.rb#308
def initialize; end
- # source://loofah//lib/loofah/scrubbers.rb#310
+ # source://loofah//lib/loofah/scrubbers.rb#312
def scrub(node); end
end
@@ -823,14 +847,14 @@ end
# Loofah.html5_fragment(link_farmers_markup).scrub!(:noopener)
# => "ohai! I like your blog post"
#
-# source://loofah//lib/loofah/scrubbers.rb#269
+# source://loofah//lib/loofah/scrubbers.rb#271
class Loofah::Scrubbers::NoOpener < ::Loofah::Scrubber
# @return [NoOpener] a new instance of NoOpener
#
- # source://loofah//lib/loofah/scrubbers.rb#270
+ # source://loofah//lib/loofah/scrubbers.rb#272
def initialize; end
- # source://loofah//lib/loofah/scrubbers.rb#274
+ # source://loofah//lib/loofah/scrubbers.rb#276
def scrub(node); end
end
@@ -842,14 +866,14 @@ end
# Loofah.html5_fragment(link_farmers_markup).scrub!(:noreferrer)
# => "ohai! I like your blog post"
#
-# source://loofah//lib/loofah/scrubbers.rb#291
+# source://loofah//lib/loofah/scrubbers.rb#293
class Loofah::Scrubbers::NoReferrer < ::Loofah::Scrubber
# @return [NoReferrer] a new instance of NoReferrer
#
- # source://loofah//lib/loofah/scrubbers.rb#292
+ # source://loofah//lib/loofah/scrubbers.rb#294
def initialize; end
- # source://loofah//lib/loofah/scrubbers.rb#296
+ # source://loofah//lib/loofah/scrubbers.rb#298
def scrub(node); end
end
@@ -928,14 +952,14 @@ end
#
# http://timelessrepo.com/json-isnt-a-javascript-subset
#
-# source://loofah//lib/loofah/scrubbers.rb#338
+# source://loofah//lib/loofah/scrubbers.rb#340
class Loofah::Scrubbers::Unprintable < ::Loofah::Scrubber
# @return [Unprintable] a new instance of Unprintable
#
- # source://loofah//lib/loofah/scrubbers.rb#339
+ # source://loofah//lib/loofah/scrubbers.rb#341
def initialize; end
- # source://loofah//lib/loofah/scrubbers.rb#343
+ # source://loofah//lib/loofah/scrubbers.rb#345
def scrub(node); end
end
diff --git a/sorbet/rbi/gems/marcel@1.0.4.rbi b/sorbet/rbi/gems/marcel@1.1.0.rbi
similarity index 97%
rename from sorbet/rbi/gems/marcel@1.0.4.rbi
rename to sorbet/rbi/gems/marcel@1.1.0.rbi
index 861f2c1c8..2970bf08e 100644
--- a/sorbet/rbi/gems/marcel@1.0.4.rbi
+++ b/sorbet/rbi/gems/marcel@1.1.0.rbi
@@ -18,7 +18,7 @@ Marcel::EXTENSIONS = T.let(T.unsafe(nil), Hash)
# @private
#
-# source://marcel//lib/marcel/tables.rb#2394
+# source://marcel//lib/marcel/tables.rb#2513
Marcel::MAGIC = T.let(T.unsafe(nil), Array)
# Mime type detection
@@ -227,12 +227,12 @@ Marcel::MimeType::BINARY = T.let(T.unsafe(nil), String)
# @private
#
-# source://marcel//lib/marcel/tables.rb#1260
+# source://marcel//lib/marcel/tables.rb#1310
Marcel::TYPE_EXTS = T.let(T.unsafe(nil), Hash)
# Cooltalk Audio
#
-# source://marcel//lib/marcel/tables.rb#2151
+# source://marcel//lib/marcel/tables.rb#2239
Marcel::TYPE_PARENTS = T.let(T.unsafe(nil), Hash)
# source://marcel//lib/marcel/version.rb#4
diff --git a/sorbet/rbi/gems/minitest@5.24.1.rbi b/sorbet/rbi/gems/minitest@5.26.2.rbi
similarity index 73%
rename from sorbet/rbi/gems/minitest@5.24.1.rbi
rename to sorbet/rbi/gems/minitest@5.26.2.rbi
index eca0b9510..65823a6c3 100644
--- a/sorbet/rbi/gems/minitest@5.24.1.rbi
+++ b/sorbet/rbi/gems/minitest@5.26.2.rbi
@@ -5,15 +5,16 @@
# Please instead update this file by running `bin/tapioca gem minitest`.
-# :include: README.rdoc
+# The top-level namespace for Minitest. Also the location of the main
+# runtime. See +Minitest.run+ for more information.
#
-# source://minitest//lib/minitest/parallel.rb#1
+# source://minitest//lib/minitest/parallel.rb#3
module Minitest
class << self
# Internal run method. Responsible for telling all Runnable
# sub-classes to run.
#
- # source://minitest//lib/minitest.rb#323
+ # source://minitest//lib/minitest.rb#338
def __run(reporter, options); end
# A simple hook allowing you to run a block of code after everything
@@ -24,45 +25,45 @@ module Minitest
# source://minitest//lib/minitest.rb#97
def after_run(&block); end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def allow_fork; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def allow_fork=(_arg0); end
# Registers Minitest to run at process exit
#
- # source://minitest//lib/minitest.rb#69
+ # source://minitest//lib/minitest.rb#70
def autorun; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def backtrace_filter; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def backtrace_filter=(_arg0); end
- # source://minitest//lib/minitest.rb#18
+ # source://minitest//lib/minitest.rb#19
def cattr_accessor(name); end
- # source://minitest//lib/minitest.rb#1208
+ # source://minitest//lib/minitest.rb#1232
def clock_time; end
- # source://minitest//lib/minitest.rb#303
+ # source://minitest//lib/minitest.rb#318
def empty_run!(options); end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def extensions; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def extensions=(_arg0); end
- # source://minitest//lib/minitest.rb#336
+ # source://minitest//lib/minitest.rb#351
def filter_backtrace(bt); end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def info_signal; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def info_signal=(_arg0); end
# source://minitest//lib/minitest.rb#125
@@ -71,10 +72,10 @@ module Minitest
# source://minitest//lib/minitest.rb#109
def load_plugins; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def parallel_executor; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def parallel_executor=(_arg0); end
# source://minitest//lib/minitest.rb#143
@@ -85,10 +86,10 @@ module Minitest
# source://minitest//lib/minitest.rb#104
def register_plugin(name_or_mod); end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def reporter; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def reporter=(_arg0); end
# This is the top-level run method. Everything starts from here. It
@@ -103,23 +104,24 @@ module Minitest
# Minitest.process_args
# Minitest.init_plugins
# Minitest.__run(reporter, options)
- # Runnable.runnables.each
+ # Runnable.runnables.each |runnable_klass|
# runnable_klass.run(reporter, options)
- # self.runnable_methods.each
- # self.run_one_method(self, runnable_method, reporter)
- # Minitest.run_one_method(klass, runnable_method)
- # klass.new(runnable_method).run
+ # filtered_methods = runnable_methods.select {...}.reject {...}
+ # filtered_methods.each |runnable_method|
+ # runnable_klass.run_one_method(self, runnable_method, reporter)
+ # Minitest.run_one_method(runnable_klass, runnable_method)
+ # runnable_klass.new(runnable_method).run
#
- # source://minitest//lib/minitest.rb#269
+ # source://minitest//lib/minitest.rb#283
def run(args = T.unsafe(nil)); end
- # source://minitest//lib/minitest.rb#1199
+ # source://minitest//lib/minitest.rb#1223
def run_one_method(klass, method_name); end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def seed; end
- # source://minitest//lib/minitest.rb#19
+ # source://minitest//lib/minitest.rb#20
def seed=(_arg0); end
end
end
@@ -127,24 +129,24 @@ end
# Defines the API for Reporters. Subclass this and override whatever
# you want. Go nuts.
#
-# source://minitest//lib/minitest.rb#682
+# source://minitest//lib/minitest.rb#703
class Minitest::AbstractReporter
# @return [AbstractReporter] a new instance of AbstractReporter
#
- # source://minitest//lib/minitest.rb#684
+ # source://minitest//lib/minitest.rb#705
def initialize; end
# Did this run pass?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#719
+ # source://minitest//lib/minitest.rb#740
def passed?; end
# About to start running a test. This allows a reporter to show
# that it is starting or that we are in the middle of a test run.
#
- # source://minitest//lib/minitest.rb#698
+ # source://minitest//lib/minitest.rb#719
def prerecord(klass, name); end
# Output and record the result of the test. Call
@@ -152,43 +154,43 @@ class Minitest::AbstractReporter
# result character string. Stores the result of the run if the run
# did not pass.
#
- # source://minitest//lib/minitest.rb#707
+ # source://minitest//lib/minitest.rb#728
def record(result); end
# Outputs the summary of the run.
#
- # source://minitest//lib/minitest.rb#713
+ # source://minitest//lib/minitest.rb#734
def report; end
# Starts reporting on the run.
#
- # source://minitest//lib/minitest.rb#691
+ # source://minitest//lib/minitest.rb#712
def start; end
- # source://minitest//lib/minitest.rb#723
+ # source://minitest//lib/minitest.rb#744
def synchronize(&block); end
end
# Represents run failures.
#
-# source://minitest//lib/minitest.rb#1015
+# source://minitest//lib/minitest.rb#1036
class Minitest::Assertion < ::Exception
- # source://minitest//lib/minitest.rb#1018
+ # source://minitest//lib/minitest.rb#1039
def error; end
# Where was this run before an assertion was raised?
#
- # source://minitest//lib/minitest.rb#1025
+ # source://minitest//lib/minitest.rb#1046
def location; end
- # source://minitest//lib/minitest.rb#1033
+ # source://minitest//lib/minitest.rb#1054
def result_code; end
- # source://minitest//lib/minitest.rb#1037
+ # source://minitest//lib/minitest.rb#1058
def result_label; end
end
-# source://minitest//lib/minitest.rb#1016
+# source://minitest//lib/minitest.rb#1037
Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp)
# Minitest Assertions. All assertion methods accept a +msg+ which is
@@ -200,22 +202,22 @@ Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp)
# provided by the thing including Assertions. See Minitest::Runnable
# for an example.
#
-# source://minitest//lib/minitest/assertions.rb#18
+# source://minitest//lib/minitest/assertions.rb#16
module Minitest::Assertions
- # source://minitest//lib/minitest/assertions.rb#188
+ # source://minitest//lib/minitest/assertions.rb#181
def _synchronize; end
- # source://minitest//lib/minitest/assertions.rb#201
+ # source://minitest//lib/minitest/assertions.rb#194
def _where; end
# Fails unless +test+ is truthy.
#
- # source://minitest//lib/minitest/assertions.rb#178
+ # source://minitest//lib/minitest/assertions.rb#171
def assert(test, msg = T.unsafe(nil)); end
# Fails unless +obj+ is empty.
#
- # source://minitest//lib/minitest/assertions.rb#195
+ # source://minitest//lib/minitest/assertions.rb#188
def assert_empty(obj, msg = T.unsafe(nil)); end
# Fails unless exp == act printing the difference between
@@ -230,7 +232,7 @@ module Minitest::Assertions
#
# See also: Minitest::Assertions.diff
#
- # source://minitest//lib/minitest/assertions.rb#221
+ # source://minitest//lib/minitest/assertions.rb#214
def assert_equal(exp, act, msg = T.unsafe(nil)); end
# For comparing Floats. Fails unless +exp+ and +act+ are within +delta+
@@ -238,45 +240,45 @@ module Minitest::Assertions
#
# assert_in_delta Math::PI, (22.0 / 7.0), 0.01
#
- # source://minitest//lib/minitest/assertions.rb#242
+ # source://minitest//lib/minitest/assertions.rb#235
def assert_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
# For comparing Floats. Fails unless +exp+ and +act+ have a relative
# error less than +epsilon+.
#
- # source://minitest//lib/minitest/assertions.rb#254
+ # source://minitest//lib/minitest/assertions.rb#247
def assert_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
# Fails unless +collection+ includes +obj+.
#
- # source://minitest//lib/minitest/assertions.rb#261
+ # source://minitest//lib/minitest/assertions.rb#254
def assert_includes(collection, obj, msg = T.unsafe(nil)); end
# Fails unless +obj+ is an instance of +cls+.
#
- # source://minitest//lib/minitest/assertions.rb#272
+ # source://minitest//lib/minitest/assertions.rb#265
def assert_instance_of(cls, obj, msg = T.unsafe(nil)); end
# Fails unless +obj+ is a kind of +cls+.
#
- # source://minitest//lib/minitest/assertions.rb#283
+ # source://minitest//lib/minitest/assertions.rb#276
def assert_kind_of(cls, obj, msg = T.unsafe(nil)); end
# Fails unless +matcher+ =~ +obj+.
#
- # source://minitest//lib/minitest/assertions.rb#293
+ # source://minitest//lib/minitest/assertions.rb#287
def assert_match(matcher, obj, msg = T.unsafe(nil)); end
# Fails unless +obj+ is nil
#
- # source://minitest//lib/minitest/assertions.rb#305
+ # source://minitest//lib/minitest/assertions.rb#299
def assert_nil(obj, msg = T.unsafe(nil)); end
# For testing with binary operators. Eg:
#
# assert_operator 5, :<=, 4
#
- # source://minitest//lib/minitest/assertions.rb#315
+ # source://minitest//lib/minitest/assertions.rb#309
def assert_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
# Fails if stdout or stderr do not output the expected results.
@@ -290,12 +292,12 @@ module Minitest::Assertions
#
# See also: #assert_silent
#
- # source://minitest//lib/minitest/assertions.rb#333
+ # source://minitest//lib/minitest/assertions.rb#327
def assert_output(stdout = T.unsafe(nil), stderr = T.unsafe(nil)); end
# Fails unless +path+ exists.
#
- # source://minitest//lib/minitest/assertions.rb#357
+ # source://minitest//lib/minitest/assertions.rb#351
def assert_path_exists(path, msg = T.unsafe(nil)); end
# For testing with pattern matching (only supported with Ruby 3.0 and later)
@@ -313,7 +315,7 @@ module Minitest::Assertions
#
# @raise [NotImplementedError]
#
- # source://minitest//lib/minitest/assertions.rb#376
+ # source://minitest//lib/minitest/assertions.rb#370
def assert_pattern; end
# For testing with predicates. Eg:
@@ -324,7 +326,7 @@ module Minitest::Assertions
#
# str.must_be :empty?
#
- # source://minitest//lib/minitest/assertions.rb#397
+ # source://minitest//lib/minitest/assertions.rb#391
def assert_predicate(o1, op, msg = T.unsafe(nil)); end
# Fails unless the block raises one of +exp+. Returns the
@@ -348,37 +350,37 @@ module Minitest::Assertions
#
# assert_equal 'This is really bad', error.message
#
- # source://minitest//lib/minitest/assertions.rb#424
+ # source://minitest//lib/minitest/assertions.rb#418
def assert_raises(*exp); end
# Fails unless +obj+ responds to +meth+.
# include_all defaults to false to match Object#respond_to?
#
- # source://minitest//lib/minitest/assertions.rb#456
+ # source://minitest//lib/minitest/assertions.rb#450
def assert_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
# Fails unless +exp+ and +act+ are #equal?
#
- # source://minitest//lib/minitest/assertions.rb#466
+ # source://minitest//lib/minitest/assertions.rb#460
def assert_same(exp, act, msg = T.unsafe(nil)); end
# +send_ary+ is a receiver, message and arguments.
#
# Fails unless the call returns a true value
#
- # source://minitest//lib/minitest/assertions.rb#479
+ # source://minitest//lib/minitest/assertions.rb#473
def assert_send(send_ary, m = T.unsafe(nil)); end
# Fails if the block outputs anything to stderr or stdout.
#
# See also: #assert_output
#
- # source://minitest//lib/minitest/assertions.rb#493
+ # source://minitest//lib/minitest/assertions.rb#488
def assert_silent; end
# Fails unless the block throws +sym+
#
- # source://minitest//lib/minitest/assertions.rb#502
+ # source://minitest//lib/minitest/assertions.rb#497
def assert_throws(sym, msg = T.unsafe(nil)); end
# Captures $stdout and $stderr into strings:
@@ -395,7 +397,7 @@ module Minitest::Assertions
# capture IO for subprocesses. Use #capture_subprocess_io for
# that.
#
- # source://minitest//lib/minitest/assertions.rb#543
+ # source://minitest//lib/minitest/assertions.rb#533
def capture_io; end
# Captures $stdout and $stderr into strings, using Tempfile to
@@ -412,7 +414,7 @@ module Minitest::Assertions
# NOTE: This method is approximately 10x slower than #capture_io so
# only use it when you need to test the output of a subprocess.
#
- # source://minitest//lib/minitest/assertions.rb#576
+ # source://minitest//lib/minitest/assertions.rb#566
def capture_subprocess_io; end
# Returns a diff between +exp+ and +act+. If there is no known
@@ -422,29 +424,29 @@ module Minitest::Assertions
#
# See +things_to_diff+ for more info.
#
- # source://minitest//lib/minitest/assertions.rb#59
+ # source://minitest//lib/minitest/assertions.rb#57
def diff(exp, act); end
# Returns details for exception +e+
#
- # source://minitest//lib/minitest/assertions.rb#608
+ # source://minitest//lib/minitest/assertions.rb#598
def exception_details(e, msg); end
# Fails after a given date (in the local time zone). This allows
# you to put time-bombs in your tests if you need to keep
# something around until a later date lest you forget about it.
#
- # source://minitest//lib/minitest/assertions.rb#624
+ # source://minitest//lib/minitest/assertions.rb#614
def fail_after(y, m, d, msg); end
# Fails with +msg+.
#
- # source://minitest//lib/minitest/assertions.rb#631
+ # source://minitest//lib/minitest/assertions.rb#621
def flunk(msg = T.unsafe(nil)); end
# Returns a proc that will output +msg+ along with the default message.
#
- # source://minitest//lib/minitest/assertions.rb#639
+ # source://minitest//lib/minitest/assertions.rb#629
def message(msg = T.unsafe(nil), ending = T.unsafe(nil), &default); end
# This returns a human-readable version of +obj+. By default
@@ -453,7 +455,7 @@ module Minitest::Assertions
#
# See Minitest::Test.make_my_diffs_pretty!
#
- # source://minitest//lib/minitest/assertions.rb#129
+ # source://minitest//lib/minitest/assertions.rb#127
def mu_pp(obj); end
# This returns a diff-able more human-readable version of +obj+.
@@ -461,67 +463,67 @@ module Minitest::Assertions
# newlines and makes hex-values (like object_ids) generic. This
# uses mu_pp to do the first pass and then cleans it up.
#
- # source://minitest//lib/minitest/assertions.rb#152
+ # source://minitest//lib/minitest/assertions.rb#145
def mu_pp_for_diff(obj); end
# used for counting assertions
#
- # source://minitest//lib/minitest/assertions.rb#650
+ # source://minitest//lib/minitest/assertions.rb#640
def pass(_msg = T.unsafe(nil)); end
# Fails if +test+ is truthy.
#
- # source://minitest//lib/minitest/assertions.rb#657
+ # source://minitest//lib/minitest/assertions.rb#647
def refute(test, msg = T.unsafe(nil)); end
# Fails if +obj+ is empty.
#
- # source://minitest//lib/minitest/assertions.rb#665
+ # source://minitest//lib/minitest/assertions.rb#655
def refute_empty(obj, msg = T.unsafe(nil)); end
# Fails if exp == act.
#
# For floats use refute_in_delta.
#
- # source://minitest//lib/minitest/assertions.rb#676
+ # source://minitest//lib/minitest/assertions.rb#666
def refute_equal(exp, act, msg = T.unsafe(nil)); end
# For comparing Floats. Fails if +exp+ is within +delta+ of +act+.
#
# refute_in_delta Math::PI, (22.0 / 7.0)
#
- # source://minitest//lib/minitest/assertions.rb#688
+ # source://minitest//lib/minitest/assertions.rb#678
def refute_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
# For comparing Floats. Fails if +exp+ and +act+ have a relative error
# less than +epsilon+.
#
- # source://minitest//lib/minitest/assertions.rb#700
- def refute_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
+ # source://minitest//lib/minitest/assertions.rb#690
+ def refute_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
# Fails if +collection+ includes +obj+.
#
- # source://minitest//lib/minitest/assertions.rb#707
+ # source://minitest//lib/minitest/assertions.rb#697
def refute_includes(collection, obj, msg = T.unsafe(nil)); end
# Fails if +obj+ is an instance of +cls+.
#
- # source://minitest//lib/minitest/assertions.rb#718
+ # source://minitest//lib/minitest/assertions.rb#708
def refute_instance_of(cls, obj, msg = T.unsafe(nil)); end
# Fails if +obj+ is a kind of +cls+.
#
- # source://minitest//lib/minitest/assertions.rb#728
+ # source://minitest//lib/minitest/assertions.rb#718
def refute_kind_of(cls, obj, msg = T.unsafe(nil)); end
# Fails if +matcher+ =~ +obj+.
#
- # source://minitest//lib/minitest/assertions.rb#736
+ # source://minitest//lib/minitest/assertions.rb#726
def refute_match(matcher, obj, msg = T.unsafe(nil)); end
# Fails if +obj+ is nil.
#
- # source://minitest//lib/minitest/assertions.rb#746
+ # source://minitest//lib/minitest/assertions.rb#736
def refute_nil(obj, msg = T.unsafe(nil)); end
# Fails if +o1+ is not +op+ +o2+. Eg:
@@ -529,12 +531,12 @@ module Minitest::Assertions
# refute_operator 1, :>, 2 #=> pass
# refute_operator 1, :<, 2 #=> fail
#
- # source://minitest//lib/minitest/assertions.rb#781
+ # source://minitest//lib/minitest/assertions.rb#771
def refute_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
# Fails if +path+ exists.
#
- # source://minitest//lib/minitest/assertions.rb#790
+ # source://minitest//lib/minitest/assertions.rb#780
def refute_path_exists(path, msg = T.unsafe(nil)); end
# For testing with pattern matching (only supported with Ruby 3.0 and later)
@@ -550,7 +552,7 @@ module Minitest::Assertions
#
# @raise [NotImplementedError]
#
- # source://minitest//lib/minitest/assertions.rb#763
+ # source://minitest//lib/minitest/assertions.rb#753
def refute_pattern; end
# For testing with predicates.
@@ -561,18 +563,18 @@ module Minitest::Assertions
#
# str.wont_be :empty?
#
- # source://minitest//lib/minitest/assertions.rb#804
+ # source://minitest//lib/minitest/assertions.rb#794
def refute_predicate(o1, op, msg = T.unsafe(nil)); end
# Fails if +obj+ responds to the message +meth+.
# include_all defaults to false to match Object#respond_to?
#
- # source://minitest//lib/minitest/assertions.rb#813
+ # source://minitest//lib/minitest/assertions.rb#803
def refute_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
# Fails if +exp+ is the same (by object identity) as +act+.
#
- # source://minitest//lib/minitest/assertions.rb#822
+ # source://minitest//lib/minitest/assertions.rb#812
def refute_same(exp, act, msg = T.unsafe(nil)); end
# Skips the current run. If run in verbose-mode, the skipped run
@@ -581,7 +583,7 @@ module Minitest::Assertions
#
# @raise [Minitest::Skip]
#
- # source://minitest//lib/minitest/assertions.rb#835
+ # source://minitest//lib/minitest/assertions.rb#825
def skip(msg = T.unsafe(nil), _ignored = T.unsafe(nil)); end
# Skips the current run until a given date (in the local time
@@ -589,14 +591,14 @@ module Minitest::Assertions
# date, but still holds you accountable and prevents you from
# forgetting it.
#
- # source://minitest//lib/minitest/assertions.rb#847
+ # source://minitest//lib/minitest/assertions.rb#837
def skip_until(y, m, d, msg); end
# Was this testcase skipped? Meant for #teardown.
#
# @return [Boolean]
#
- # source://minitest//lib/minitest/assertions.rb#856
+ # source://minitest//lib/minitest/assertions.rb#846
def skipped?; end
# Returns things to diff [expect, butwas], or [nil, nil] if nothing to diff.
@@ -608,104 +610,102 @@ module Minitest::Assertions
# 3. or: Strings are equal to each other (but maybe different encodings?).
# 4. and: we found a diff executable.
#
- # source://minitest//lib/minitest/assertions.rb#104
+ # source://minitest//lib/minitest/assertions.rb#102
def things_to_diff(exp, act); end
class << self
# Returns the diff command to use in #diff. Tries to intelligently
# figure out what diff to use.
#
- # source://minitest//lib/minitest/assertions.rb#29
+ # source://minitest//lib/minitest/assertions.rb#27
def diff; end
# Set the diff command to use in #diff.
#
- # source://minitest//lib/minitest/assertions.rb#47
+ # source://minitest//lib/minitest/assertions.rb#45
def diff=(o); end
end
end
-# source://minitest//lib/minitest/assertions.rb#206
+# source://minitest//lib/minitest/assertions.rb#199
Minitest::Assertions::E = T.let(T.unsafe(nil), String)
-# source://minitest//lib/minitest/assertions.rb#19
+# source://minitest//lib/minitest/assertions.rb#17
Minitest::Assertions::UNDEFINED = T.let(T.unsafe(nil), Object)
# The standard backtrace filter for minitest.
#
# See Minitest.backtrace_filter=.
#
-# source://minitest//lib/minitest.rb#1170
+# source://minitest//lib/minitest.rb#1191
class Minitest::BacktraceFilter
# @return [BacktraceFilter] a new instance of BacktraceFilter
#
- # source://minitest//lib/minitest.rb#1176
+ # source://minitest//lib/minitest.rb#1200
def initialize(regexp = T.unsafe(nil)); end
# Filter +bt+ to something useful. Returns the whole thing if
# $DEBUG (ruby) or $MT_DEBUG (env).
#
- # source://minitest//lib/minitest.rb#1184
+ # source://minitest//lib/minitest.rb#1208
def filter(bt); end
- # Returns the value of attribute regexp.
+ # The regular expression to use to filter backtraces. Defaults to +MT_RE+.
#
- # source://minitest//lib/minitest.rb#1174
+ # source://minitest//lib/minitest.rb#1198
def regexp; end
- # Sets the attribute regexp
- #
- # @param value the value to set the attribute regexp to.
+ # The regular expression to use to filter backtraces. Defaults to +MT_RE+.
#
- # source://minitest//lib/minitest.rb#1174
+ # source://minitest//lib/minitest.rb#1198
def regexp=(_arg0); end
end
-# source://minitest//lib/minitest.rb#1172
+# source://minitest//lib/minitest.rb#1193
Minitest::BacktraceFilter::MT_RE = T.let(T.unsafe(nil), Regexp)
# Dispatch to multiple reporters as one.
#
-# source://minitest//lib/minitest.rb#964
+# source://minitest//lib/minitest.rb#985
class Minitest::CompositeReporter < ::Minitest::AbstractReporter
# @return [CompositeReporter] a new instance of CompositeReporter
#
- # source://minitest//lib/minitest.rb#970
+ # source://minitest//lib/minitest.rb#991
def initialize(*reporters); end
# Add another reporter to the mix.
#
- # source://minitest//lib/minitest.rb#982
+ # source://minitest//lib/minitest.rb#1003
def <<(reporter); end
- # source://minitest//lib/minitest.rb#975
+ # source://minitest//lib/minitest.rb#996
def io; end
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#986
+ # source://minitest//lib/minitest.rb#1007
def passed?; end
- # source://minitest//lib/minitest.rb#994
+ # source://minitest//lib/minitest.rb#1015
def prerecord(klass, name); end
- # source://minitest//lib/minitest.rb#1001
+ # source://minitest//lib/minitest.rb#1022
def record(result); end
- # source://minitest//lib/minitest.rb#1007
+ # source://minitest//lib/minitest.rb#1028
def report; end
# The list of reporters to dispatch to.
#
- # source://minitest//lib/minitest.rb#968
+ # source://minitest//lib/minitest.rb#989
def reporters; end
# The list of reporters to dispatch to.
#
- # source://minitest//lib/minitest.rb#968
+ # source://minitest//lib/minitest.rb#989
def reporters=(_arg0); end
- # source://minitest//lib/minitest.rb#990
+ # source://minitest//lib/minitest.rb#1011
def start; end
end
@@ -734,100 +734,100 @@ end
# # ... lots of test methods ...
# end
#
-# source://minitest//lib/minitest.rb#1114
+# source://minitest//lib/minitest.rb#1135
module Minitest::Guard
# Is this running on jruby?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#1119
+ # source://minitest//lib/minitest.rb#1140
def jruby?(platform = T.unsafe(nil)); end
# Is this running on maglev?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#1126
+ # source://minitest//lib/minitest.rb#1147
def maglev?(platform = T.unsafe(nil)); end
# Is this running on mri?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#1136
+ # source://minitest//lib/minitest.rb#1157
def mri?(platform = T.unsafe(nil)); end
# Is this running on macOS?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#1143
+ # source://minitest//lib/minitest.rb#1164
def osx?(platform = T.unsafe(nil)); end
# Is this running on rubinius?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#1150
+ # source://minitest//lib/minitest.rb#1171
def rubinius?(platform = T.unsafe(nil)); end
# Is this running on windows?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#1160
+ # source://minitest//lib/minitest.rb#1181
def windows?(platform = T.unsafe(nil)); end
end
-# source://minitest//lib/minitest/parallel.rb#2
+# source://minitest//lib/minitest/parallel.rb#4
module Minitest::Parallel; end
# The engine used to run multiple tests in parallel.
#
-# source://minitest//lib/minitest/parallel.rb#7
+# source://minitest//lib/minitest/parallel.rb#9
class Minitest::Parallel::Executor
# Create a parallel test executor of with +size+ workers.
#
# @return [Executor] a new instance of Executor
#
- # source://minitest//lib/minitest/parallel.rb#17
+ # source://minitest//lib/minitest/parallel.rb#19
def initialize(size); end
# Add a job to the queue
#
- # source://minitest//lib/minitest/parallel.rb#43
+ # source://minitest//lib/minitest/parallel.rb#45
def <<(work); end
# Shuts down the pool of workers by signalling them to quit and
# waiting for them all to finish what they're currently working
# on.
#
- # source://minitest//lib/minitest/parallel.rb#50
+ # source://minitest//lib/minitest/parallel.rb#52
def shutdown; end
# The size of the pool of workers.
#
- # source://minitest//lib/minitest/parallel.rb#12
+ # source://minitest//lib/minitest/parallel.rb#14
def size; end
# Start the executor
#
- # source://minitest//lib/minitest/parallel.rb#26
+ # source://minitest//lib/minitest/parallel.rb#28
def start; end
end
-# source://minitest//lib/minitest/parallel.rb#56
+# source://minitest//lib/minitest/parallel.rb#58
module Minitest::Parallel::Test
- # source://minitest//lib/minitest/parallel.rb#57
+ # source://minitest//lib/minitest/parallel.rb#59
def _synchronize; end
end
-# source://minitest//lib/minitest/parallel.rb#59
+# source://minitest//lib/minitest/parallel.rb#61
module Minitest::Parallel::Test::ClassMethods
- # source://minitest//lib/minitest/parallel.rb#60
+ # source://minitest//lib/minitest/parallel.rb#62
def run_one_method(klass, method_name, reporter); end
- # source://minitest//lib/minitest/parallel.rb#64
+ # source://minitest//lib/minitest/parallel.rb#66
def test_order; end
end
@@ -838,36 +838,36 @@ end
# plugin, pull this out of the composite and replace it with your
# own.
#
-# source://minitest//lib/minitest.rb#754
+# source://minitest//lib/minitest.rb#775
class Minitest::ProgressReporter < ::Minitest::Reporter
- # source://minitest//lib/minitest.rb#755
+ # source://minitest//lib/minitest.rb#776
def prerecord(klass, name); end
- # source://minitest//lib/minitest.rb#762
+ # source://minitest//lib/minitest.rb#783
def record(result); end
end
# Shared code for anything that can get passed to a Reporter. See
# Minitest::Test & Minitest::Result.
#
-# source://minitest//lib/minitest.rb#576
+# source://minitest//lib/minitest.rb#597
module Minitest::Reportable
# @raise [NotImplementedError]
#
- # source://minitest//lib/minitest.rb#598
+ # source://minitest//lib/minitest.rb#619
def class_name; end
# Did this run error?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#619
+ # source://minitest//lib/minitest.rb#640
def error?; end
# The location identifier of this test. Depends on a method
# existing called class_name.
#
- # source://minitest//lib/minitest.rb#593
+ # source://minitest//lib/minitest.rb#614
def location; end
# Did this run pass?
@@ -877,50 +877,52 @@ module Minitest::Reportable
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#583
+ # source://minitest//lib/minitest.rb#604
def passed?; end
# Returns ".", "F", or "E" based on the result of the run.
#
- # source://minitest//lib/minitest.rb#605
+ # source://minitest//lib/minitest.rb#626
def result_code; end
# Was this run skipped?
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#612
+ # source://minitest//lib/minitest.rb#633
def skipped?; end
end
-# source://minitest//lib/minitest.rb#587
+# source://minitest//lib/minitest.rb#608
Minitest::Reportable::BASE_DIR = T.let(T.unsafe(nil), String)
-# source://minitest//lib/minitest.rb#730
+# AbstractReportera
+#
+# source://minitest//lib/minitest.rb#751
class Minitest::Reporter < ::Minitest::AbstractReporter
# @return [Reporter] a new instance of Reporter
#
- # source://minitest//lib/minitest.rb#739
+ # source://minitest//lib/minitest.rb#760
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
# The IO used to report.
#
- # source://minitest//lib/minitest.rb#732
+ # source://minitest//lib/minitest.rb#753
def io; end
# The IO used to report.
#
- # source://minitest//lib/minitest.rb#732
+ # source://minitest//lib/minitest.rb#753
def io=(_arg0); end
# Command-line options for this run.
#
- # source://minitest//lib/minitest.rb#737
+ # source://minitest//lib/minitest.rb#758
def options; end
# Command-line options for this run.
#
- # source://minitest//lib/minitest.rb#737
+ # source://minitest//lib/minitest.rb#758
def options=(_arg0); end
end
@@ -930,80 +932,80 @@ end
# blow up. By using Result.from(a_test) you can be reasonably sure
# that the test result can be marshalled.
#
-# source://minitest//lib/minitest.rb#631
+# source://minitest//lib/minitest.rb#652
class Minitest::Result < ::Minitest::Runnable
include ::Minitest::Reportable
- # source://minitest//lib/minitest.rb#665
+ # source://minitest//lib/minitest.rb#686
def class_name; end
# The class name of the test result.
#
- # source://minitest//lib/minitest.rb#640
+ # source://minitest//lib/minitest.rb#661
def klass; end
# The class name of the test result.
#
- # source://minitest//lib/minitest.rb#640
+ # source://minitest//lib/minitest.rb#661
def klass=(_arg0); end
# The location of the test method.
#
- # source://minitest//lib/minitest.rb#645
+ # source://minitest//lib/minitest.rb#666
def source_location; end
# The location of the test method.
#
- # source://minitest//lib/minitest.rb#645
+ # source://minitest//lib/minitest.rb#666
def source_location=(_arg0); end
- # source://minitest//lib/minitest.rb#669
+ # source://minitest//lib/minitest.rb#690
def to_s; end
class << self
# Create a new test result from a Runnable instance.
#
- # source://minitest//lib/minitest.rb#650
+ # source://minitest//lib/minitest.rb#671
def from(runnable); end
end
end
# re-open
#
-# source://minitest//lib/minitest.rb#349
+# source://minitest//lib/minitest.rb#364
class Minitest::Runnable
# @return [Runnable] a new instance of Runnable
#
- # source://minitest//lib/minitest.rb#507
+ # source://minitest//lib/minitest.rb#528
def initialize(name); end
# Number of assertions executed in this run.
#
- # source://minitest//lib/minitest.rb#353
+ # source://minitest//lib/minitest.rb#368
def assertions; end
# Number of assertions executed in this run.
#
- # source://minitest//lib/minitest.rb#353
+ # source://minitest//lib/minitest.rb#368
def assertions=(_arg0); end
- # source://minitest//lib/minitest.rb#503
+ # source://minitest//lib/minitest.rb#524
def failure; end
# An assertion raised during the run, if any.
#
- # source://minitest//lib/minitest.rb#358
+ # source://minitest//lib/minitest.rb#373
def failures; end
# An assertion raised during the run, if any.
#
- # source://minitest//lib/minitest.rb#358
+ # source://minitest//lib/minitest.rb#373
def failures=(_arg0); end
- # source://minitest//lib/minitest.rb#489
+ # source://minitest//lib/minitest.rb#510
def marshal_dump; end
- # source://minitest//lib/minitest.rb#499
+ # source://minitest//lib/minitest.rb#520
def marshal_load(ary); end
# Metadata you attach to the test results that get sent to the reporter.
@@ -1013,29 +1015,29 @@ class Minitest::Runnable
# NOTE: this data *must* be plain (read: marshal-able) data!
# Hashes! Arrays! Strings!
#
- # source://minitest//lib/minitest.rb#522
+ # source://minitest//lib/minitest.rb#543
def metadata; end
# Sets metadata, mainly used for +Result.from+.
#
- # source://minitest//lib/minitest.rb#529
+ # source://minitest//lib/minitest.rb#550
def metadata=(_arg0); end
# Returns true if metadata exists.
#
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#534
+ # source://minitest//lib/minitest.rb#555
def metadata?; end
# Name of the run.
#
- # source://minitest//lib/minitest.rb#376
+ # source://minitest//lib/minitest.rb#391
def name; end
# Set the name of the run.
#
- # source://minitest//lib/minitest.rb#383
+ # source://minitest//lib/minitest.rb#398
def name=(o); end
# Did this run pass?
@@ -1046,7 +1048,7 @@ class Minitest::Runnable
# @raise [NotImplementedError]
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#551
+ # source://minitest//lib/minitest.rb#572
def passed?; end
# Returns a single character string to print based on the result
@@ -1055,14 +1057,14 @@ class Minitest::Runnable
#
# @raise [NotImplementedError]
#
- # source://minitest//lib/minitest.rb#560
+ # source://minitest//lib/minitest.rb#581
def result_code; end
# Runs a single method. Needs to return self.
#
# @raise [NotImplementedError]
#
- # source://minitest//lib/minitest.rb#541
+ # source://minitest//lib/minitest.rb#562
def run; end
# Was this run skipped? See #passed? for more information.
@@ -1070,42 +1072,42 @@ class Minitest::Runnable
# @raise [NotImplementedError]
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#567
+ # source://minitest//lib/minitest.rb#588
def skipped?; end
# The time it took to run.
#
- # source://minitest//lib/minitest.rb#363
+ # source://minitest//lib/minitest.rb#378
def time; end
# The time it took to run.
#
- # source://minitest//lib/minitest.rb#363
+ # source://minitest//lib/minitest.rb#378
def time=(_arg0); end
- # source://minitest//lib/minitest.rb#365
+ # source://minitest//lib/minitest.rb#380
def time_it; end
class << self
- # source://minitest//lib/minitest.rb#1218
+ # source://minitest//lib/minitest.rb#1242
def inherited(klass); end
# Returns all instance methods matching the pattern +re+.
#
- # source://minitest//lib/minitest.rb#390
+ # source://minitest//lib/minitest.rb#405
def methods_matching(re); end
- # source://minitest//lib/minitest.rb#459
+ # source://minitest//lib/minitest.rb#480
def on_signal(name, action); end
- # source://minitest//lib/minitest.rb#394
+ # source://minitest//lib/minitest.rb#409
def reset; end
# Responsible for running all runnable methods in a given class,
# each in its own instance. Each instance is passed to the
# reporter to record.
#
- # source://minitest//lib/minitest.rb#405
+ # source://minitest//lib/minitest.rb#420
def run(reporter, options = T.unsafe(nil)); end
# Runs a single method and has the reporter record the result.
@@ -1113,7 +1115,7 @@ class Minitest::Runnable
# that subclasses can specialize the running of an individual
# test. See Minitest::ParallelTest::ClassMethods for an example.
#
- # source://minitest//lib/minitest.rb#431
+ # source://minitest//lib/minitest.rb#461
def run_one_method(klass, method_name, reporter); end
# Each subclass of Runnable is responsible for overriding this
@@ -1121,33 +1123,33 @@ class Minitest::Runnable
#
# @raise [NotImplementedError]
#
- # source://minitest//lib/minitest.rb#476
+ # source://minitest//lib/minitest.rb#497
def runnable_methods; end
# Returns all subclasses of Runnable.
#
- # source://minitest//lib/minitest.rb#483
+ # source://minitest//lib/minitest.rb#504
def runnables; end
# Defines the order to run tests (:random by default). Override
# this or use a convenience method to change it for your tests.
#
- # source://minitest//lib/minitest.rb#440
+ # source://minitest//lib/minitest.rb#470
def test_order; end
- # source://minitest//lib/minitest.rb#444
+ # source://minitest//lib/minitest.rb#474
def with_info_handler(reporter, &block); end
end
end
-# source://minitest//lib/minitest.rb#457
+# source://minitest//lib/minitest.rb#478
Minitest::Runnable::SIGNALS = T.let(T.unsafe(nil), Hash)
# Assertion raised when skipping a run.
#
-# source://minitest//lib/minitest.rb#1045
+# source://minitest//lib/minitest.rb#1066
class Minitest::Skip < ::Minitest::Assertion
- # source://minitest//lib/minitest.rb#1046
+ # source://minitest//lib/minitest.rb#1067
def result_label; end
end
@@ -1171,123 +1173,123 @@ end
# end
# end
#
-# source://minitest//lib/minitest.rb#790
+# source://minitest//lib/minitest.rb#811
class Minitest::StatisticsReporter < ::Minitest::Reporter
# @return [StatisticsReporter] a new instance of StatisticsReporter
#
- # source://minitest//lib/minitest.rb#839
+ # source://minitest//lib/minitest.rb#860
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
# Total number of assertions.
#
- # source://minitest//lib/minitest.rb#794
+ # source://minitest//lib/minitest.rb#815
def assertions; end
# Total number of assertions.
#
- # source://minitest//lib/minitest.rb#794
+ # source://minitest//lib/minitest.rb#815
def assertions=(_arg0); end
# Total number of test cases.
#
- # source://minitest//lib/minitest.rb#799
+ # source://minitest//lib/minitest.rb#820
def count; end
# Total number of test cases.
#
- # source://minitest//lib/minitest.rb#799
+ # source://minitest//lib/minitest.rb#820
def count=(_arg0); end
# Total number of tests that erred.
#
- # source://minitest//lib/minitest.rb#827
+ # source://minitest//lib/minitest.rb#848
def errors; end
# Total number of tests that erred.
#
- # source://minitest//lib/minitest.rb#827
+ # source://minitest//lib/minitest.rb#848
def errors=(_arg0); end
# Total number of tests that failed.
#
- # source://minitest//lib/minitest.rb#822
+ # source://minitest//lib/minitest.rb#843
def failures; end
# Total number of tests that failed.
#
- # source://minitest//lib/minitest.rb#822
+ # source://minitest//lib/minitest.rb#843
def failures=(_arg0); end
# @return [Boolean]
#
- # source://minitest//lib/minitest.rb#853
+ # source://minitest//lib/minitest.rb#874
def passed?; end
- # source://minitest//lib/minitest.rb#861
+ # source://minitest//lib/minitest.rb#882
def record(result); end
# Report on the tracked statistics.
#
- # source://minitest//lib/minitest.rb#871
+ # source://minitest//lib/minitest.rb#892
def report; end
# An +Array+ of test cases that failed or were skipped.
#
- # source://minitest//lib/minitest.rb#804
+ # source://minitest//lib/minitest.rb#825
def results; end
# An +Array+ of test cases that failed or were skipped.
#
- # source://minitest//lib/minitest.rb#804
+ # source://minitest//lib/minitest.rb#825
def results=(_arg0); end
# Total number of tests that where skipped.
#
- # source://minitest//lib/minitest.rb#837
+ # source://minitest//lib/minitest.rb#858
def skips; end
# Total number of tests that where skipped.
#
- # source://minitest//lib/minitest.rb#837
+ # source://minitest//lib/minitest.rb#858
def skips=(_arg0); end
- # source://minitest//lib/minitest.rb#857
+ # source://minitest//lib/minitest.rb#878
def start; end
# Time the test run started. If available, the monotonic clock is
# used and this is a +Float+, otherwise it's an instance of
# +Time+.
#
- # source://minitest//lib/minitest.rb#811
+ # source://minitest//lib/minitest.rb#832
def start_time; end
# Time the test run started. If available, the monotonic clock is
# used and this is a +Float+, otherwise it's an instance of
# +Time+.
#
- # source://minitest//lib/minitest.rb#811
+ # source://minitest//lib/minitest.rb#832
def start_time=(_arg0); end
# Test run time. If available, the monotonic clock is used and
# this is a +Float+, otherwise it's an instance of +Time+.
#
- # source://minitest//lib/minitest.rb#817
+ # source://minitest//lib/minitest.rb#838
def total_time; end
# Test run time. If available, the monotonic clock is used and
# this is a +Float+, otherwise it's an instance of +Time+.
#
- # source://minitest//lib/minitest.rb#817
+ # source://minitest//lib/minitest.rb#838
def total_time=(_arg0); end
# Total number of tests that warned.
#
- # source://minitest//lib/minitest.rb#832
+ # source://minitest//lib/minitest.rb#853
def warnings; end
# Total number of tests that warned.
#
- # source://minitest//lib/minitest.rb#832
+ # source://minitest//lib/minitest.rb#853
def warnings=(_arg0); end
end
@@ -1299,48 +1301,36 @@ end
# plugin, pull this out of the composite and replace it with your
# own.
#
-# source://minitest//lib/minitest.rb#892
+# source://minitest//lib/minitest.rb#913
class Minitest::SummaryReporter < ::Minitest::StatisticsReporter
- # source://minitest//lib/minitest.rb#927
+ # source://minitest//lib/minitest.rb#946
def aggregated_results(io); end
- # Returns the value of attribute old_sync.
- #
- # source://minitest//lib/minitest.rb#895
+ # source://minitest//lib/minitest.rb#915
def old_sync; end
- # Sets the attribute old_sync
- #
- # @param value the value to set the attribute old_sync to.
- #
- # source://minitest//lib/minitest.rb#895
+ # source://minitest//lib/minitest.rb#915
def old_sync=(_arg0); end
- # source://minitest//lib/minitest.rb#910
+ # source://minitest//lib/minitest.rb#929
def report; end
- # :startdoc:
- #
- # source://minitest//lib/minitest.rb#898
+ # source://minitest//lib/minitest.rb#917
def start; end
- # source://minitest//lib/minitest.rb#922
+ # source://minitest//lib/minitest.rb#941
def statistics; end
- # source://minitest//lib/minitest.rb#947
+ # source://minitest//lib/minitest.rb#966
def summary; end
- # :stopdoc:
- #
- # source://minitest//lib/minitest.rb#894
+ # source://minitest//lib/minitest.rb#914
def sync; end
- # :stopdoc:
- #
- # source://minitest//lib/minitest.rb#894
+ # source://minitest//lib/minitest.rb#914
def sync=(_arg0); end
- # source://minitest//lib/minitest.rb#943
+ # source://minitest//lib/minitest.rb#962
def to_s; end
end
@@ -1351,37 +1341,34 @@ end
#
# source://minitest//lib/minitest/test.rb#10
class Minitest::Test < ::Minitest::Runnable
- include ::Minitest::Assertions
include ::Minitest::Reportable
+ include ::Minitest::Assertions
include ::Minitest::Test::LifecycleHooks
include ::Minitest::Guard
extend ::Minitest::Guard
# LifecycleHooks
#
- # source://minitest//lib/minitest/test.rb#191
+ # source://minitest//lib/minitest/test.rb#190
def capture_exceptions; end
# source://minitest//lib/minitest/test.rb#15
def class_name; end
- # source://minitest//lib/minitest/test.rb#208
+ # source://minitest//lib/minitest/test.rb#207
def neuter_exception(e); end
- # source://minitest//lib/minitest/test.rb#219
+ # source://minitest//lib/minitest/test.rb#218
def new_exception(klass, msg, bt, kill = T.unsafe(nil)); end
# Runs a single test with setup/teardown hooks.
#
- # source://minitest//lib/minitest/test.rb#87
+ # source://minitest//lib/minitest/test.rb#88
def run; end
- # source://minitest//lib/minitest/test.rb#201
+ # source://minitest//lib/minitest/test.rb#200
def sanitize_exception(e); end
- # source://minitest//lib/minitest/test.rb#233
- def with_info_handler(&block); end
-
class << self
# Call this at the top of your tests when you absolutely
# positively need to have ordered tests. In doing so, you're
@@ -1422,7 +1409,7 @@ class Minitest::Test < ::Minitest::Runnable
# #test_order, the methods are either sorted, randomized
# (default), or run in parallel.
#
- # source://minitest//lib/minitest/test.rb#70
+ # source://minitest//lib/minitest/test.rb#71
def runnable_methods; end
end
end
@@ -1431,7 +1418,7 @@ end
# meant for library writers, NOT for regular test authors. See
# #before_setup for an example.
#
-# source://minitest//lib/minitest/test.rb#114
+# source://minitest//lib/minitest/test.rb#113
module Minitest::Test::LifecycleHooks
# Runs before every test, after setup. This hook is meant for
# libraries to extend minitest. It is not meant to be used by
@@ -1439,7 +1426,7 @@ module Minitest::Test::LifecycleHooks
#
# See #before_setup for an example.
#
- # source://minitest//lib/minitest/test.rb#164
+ # source://minitest//lib/minitest/test.rb#163
def after_setup; end
# Runs after every test, after teardown. This hook is meant for
@@ -1448,7 +1435,7 @@ module Minitest::Test::LifecycleHooks
#
# See #before_setup for an example.
#
- # source://minitest//lib/minitest/test.rb#188
+ # source://minitest//lib/minitest/test.rb#187
def after_teardown; end
# Runs before every test, before setup. This hook is meant for
@@ -1483,7 +1470,7 @@ module Minitest::Test::LifecycleHooks
# include MyMinitestPlugin
# end
#
- # source://minitest//lib/minitest/test.rb#149
+ # source://minitest//lib/minitest/test.rb#148
def before_setup; end
# Runs after every test, before teardown. This hook is meant for
@@ -1492,19 +1479,19 @@ module Minitest::Test::LifecycleHooks
#
# See #before_setup for an example.
#
- # source://minitest//lib/minitest/test.rb#173
+ # source://minitest//lib/minitest/test.rb#172
def before_teardown; end
# Runs before every test. Use this to set up before each test
# run.
#
- # source://minitest//lib/minitest/test.rb#155
+ # source://minitest//lib/minitest/test.rb#154
def setup; end
# Runs after every test. Use this to clean up after each test
# run.
#
- # source://minitest//lib/minitest/test.rb#179
+ # source://minitest//lib/minitest/test.rb#178
def teardown; end
end
@@ -1519,45 +1506,45 @@ Minitest::Test::TEARDOWN_METHODS = T.let(T.unsafe(nil), Array)
# Assertion wrapping an unexpected error that was raised during a run.
#
-# source://minitest//lib/minitest.rb#1054
+# source://minitest//lib/minitest.rb#1075
class Minitest::UnexpectedError < ::Minitest::Assertion
include ::Minitest::Compress
# @return [UnexpectedError] a new instance of UnexpectedError
#
- # source://minitest//lib/minitest.rb#1060
+ # source://minitest//lib/minitest.rb#1081
def initialize(error); end
- # source://minitest//lib/minitest.rb#1073
+ # source://minitest//lib/minitest.rb#1094
def backtrace; end
# TODO: figure out how to use `cause` instead
#
- # source://minitest//lib/minitest.rb#1058
+ # source://minitest//lib/minitest.rb#1079
def error; end
# TODO: figure out how to use `cause` instead
#
- # source://minitest//lib/minitest.rb#1058
+ # source://minitest//lib/minitest.rb#1079
def error=(_arg0); end
- # source://minitest//lib/minitest.rb#1079
+ # source://minitest//lib/minitest.rb#1100
def message; end
- # source://minitest//lib/minitest.rb#1085
+ # source://minitest//lib/minitest.rb#1106
def result_label; end
end
-# source://minitest//lib/minitest.rb#1077
+# source://minitest//lib/minitest.rb#1098
Minitest::UnexpectedError::BASE_RE = T.let(T.unsafe(nil), Regexp)
# Assertion raised on warning when running in -Werror mode.
#
-# source://minitest//lib/minitest.rb#1093
+# source://minitest//lib/minitest.rb#1114
class Minitest::UnexpectedWarning < ::Minitest::Assertion
- # source://minitest//lib/minitest.rb#1094
+ # source://minitest//lib/minitest.rb#1115
def result_label; end
end
-# source://minitest//lib/minitest.rb#12
+# source://minitest//lib/minitest.rb#13
Minitest::VERSION = T.let(T.unsafe(nil), String)
diff --git a/sorbet/rbi/gems/mustermann@3.0.3.rbi b/sorbet/rbi/gems/mustermann@3.0.3.rbi
deleted file mode 100644
index e162fbf05..000000000
--- a/sorbet/rbi/gems/mustermann@3.0.3.rbi
+++ /dev/null
@@ -1,9 +0,0 @@
-# typed: true
-
-# DO NOT EDIT MANUALLY
-# This is an autogenerated file for types exported from the `mustermann` gem.
-# Please instead update this file by running `bin/tapioca gem mustermann`.
-
-
-# THIS IS AN EMPTY RBI FILE.
-# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
diff --git a/sorbet/rbi/gems/mustermann@3.0.4.rbi b/sorbet/rbi/gems/mustermann@3.0.4.rbi
new file mode 100644
index 000000000..90d8c7e16
--- /dev/null
+++ b/sorbet/rbi/gems/mustermann@3.0.4.rbi
@@ -0,0 +1,2537 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `mustermann` gem.
+# Please instead update this file by running `bin/tapioca gem mustermann`.
+
+
+# Namespace and main entry point for the Mustermann library.
+#
+# Under normal circumstances the only external API entry point you should be using is {Mustermann.new}.
+#
+# source://mustermann//lib/mustermann/error.rb#2
+module Mustermann
+ class << self
+ # Maps a type to its factory.
+ #
+ # @example
+ # Mustermann[:sinatra] # => Mustermann::Sinatra
+ # @param name [Symbol] a pattern type identifier
+ # @raise [ArgumentError] if the type is not supported
+ # @return [Class, #new] pattern factory
+ #
+ # source://mustermann//lib/mustermann.rb#89
+ def [](name); end
+
+ # source://mustermann//lib/mustermann.rb#120
+ def extend_object(object); end
+
+ # Creates a new pattern based on input.
+ #
+ # * From {Mustermann::Pattern}: returns given pattern.
+ # * From String: creates a pattern from the string, depending on type option (defaults to {Mustermann::Sinatra})
+ # * From Regexp: creates a {Mustermann::Regular} pattern.
+ # * From Symbol: creates a {Mustermann::Sinatra} pattern with a single named capture named after the input.
+ # * From an Array or multiple inputs: creates a new pattern from each element, combines them to a {Mustermann::Composite}.
+ # * From anything else: Will try to call to_pattern on it or raise a TypeError.
+ #
+ # Note that if the input is a {Mustermann::Pattern}, Regexp or Symbol, the type option is ignored and if to_pattern is
+ # called on the object, the type will be handed on but might be ignored by the input object.
+ #
+ # If you want to enforce the pattern type, you should create them via their expected class.
+ #
+ # @example creating patterns
+ # require 'mustermann'
+ #
+ # Mustermann.new("/:name") # => #
+ # Mustermann.new("/{name}", type: :template) # => #
+ # Mustermann.new(/.*/) # => #
+ # Mustermann.new(:name, capture: :word) # => #
+ # Mustermann.new("/", "/*.jpg", type: :shell) # => #
+ # @example using custom #to_pattern
+ # require 'mustermann'
+ #
+ # class MyObject
+ # def to_pattern(**options)
+ # Mustermann.new("/:name", **options)
+ # end
+ # end
+ #
+ # Mustermann.new(MyObject.new, type: :rails) # => #
+ # @example enforcing type
+ # require 'mustermann/sinatra'
+ #
+ # Mustermann::Sinatra.new("/:name")
+ # @param input [String, Pattern, Regexp, Symbol, #to_pattern, Array] The representation of the pattern
+ # @param options [Hash] The options hash
+ # @raise [TypeError] if the passed object cannot be converted to a pattern
+ # @raise [ArgumentError] if the type is not supported
+ # @raise [ArgumentError] if some option is not supported
+ # @raise [Mustermann::Error] if the pattern can't be generated from the string
+ # @return [Mustermann::Pattern] pattern corresponding to string.
+ # @see file:README.md#Types_and_Options "Types and Options" in the README
+ #
+ # source://mustermann//lib/mustermann.rb#62
+ def new(*input, type: T.unsafe(nil), operator: T.unsafe(nil), **options); end
+
+ # source://mustermann//lib/mustermann.rb#115
+ def normalized_type(type); end
+
+ # source://mustermann//lib/mustermann.rb#110
+ def register(name, type); end
+
+ # @return [LoadError, nil]
+ #
+ # source://mustermann//lib/mustermann.rb#101
+ def try_require(path); end
+ end
+end
+
+# @see Mustermann::AST::Pattern
+#
+# source://mustermann//lib/mustermann/ast/node.rb#3
+module Mustermann::AST; end
+
+# Make sure #start and #stop is set on every node and within its parents #start and #stop.
+#
+# source://mustermann//lib/mustermann/ast/boundaries.rb#8
+class Mustermann::AST::Boundaries < ::Mustermann::AST::Translator
+ # Checks that a node is within the given boundaries.
+ #
+ # source://mustermann//lib/mustermann/ast/boundaries.rb#38
+ def set_boundaries(node, start, stop); end
+
+ class << self
+ # @return [Mustermann::AST::Node] the ast passed as first argument
+ #
+ # source://mustermann//lib/mustermann/ast/boundaries.rb#11
+ def set_boundaries(ast, string: T.unsafe(nil), start: T.unsafe(nil), stop: T.unsafe(nil)); end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/boundaries.rb#0
+class Mustermann::AST::Boundaries::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
+
+# Regexp compilation logic.
+#
+# source://mustermann//lib/mustermann/ast/compiler.rb#9
+class Mustermann::AST::Compiler < ::Mustermann::AST::Translator
+ # Compiles an AST to a regular expression.
+ #
+ # @param ast [Mustermann::AST::Node] the tree
+ # @return [Regexp] corresponding regular expression.
+ #
+ # source://mustermann//lib/mustermann/ast/compiler.rb#151
+ def compile(ast, except: T.unsafe(nil), **options); end
+
+ # @return [String] Regular expression for matching the given character in all representations
+ #
+ # source://mustermann//lib/mustermann/ast/compiler.rb#126
+ def encoded(char, uri_decode: T.unsafe(nil), space_matches_plus: T.unsafe(nil), **options); end
+
+ # source://mustermann//lib/mustermann/ast/translator.rb#70
+ def error_class; end
+
+ class << self
+ # Compiles an AST to a regular expression.
+ #
+ # @param ast [Mustermann::AST::Node] the tree
+ # @return [Regexp] corresponding regular expression.
+ #
+ # source://mustermann//lib/mustermann/ast/compiler.rb#142
+ def compile(ast, **options); end
+ end
+end
+
+# Capture compilation is complex. :(
+#
+# source://mustermann//lib/mustermann/ast/compiler.rb#38
+class Mustermann::AST::Compiler::Capture < ::Mustermann::AST::Compiler::NodeTranslator
+ # @return [String] regexp without the named capture
+ #
+ # source://mustermann//lib/mustermann/ast/compiler.rb#49
+ def pattern(capture: T.unsafe(nil), **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#42
+ def translate(**options); end
+
+ private
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#68
+ def default(**options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#64
+ def from_array(array, **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#63
+ def from_hash(hash, **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#67
+ def from_nil(**options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#66
+ def from_string(string, **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#65
+ def from_symbol(symbol, **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#61
+ def qualified(string, greedy: T.unsafe(nil), **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#62
+ def with_lookahead(string, lookahead: T.unsafe(nil), **options); end
+end
+
+# source://mustermann//lib/mustermann/ast/compiler.rb#0
+class Mustermann::AST::Compiler::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/compiler.rb#72
+class Mustermann::AST::Compiler::Splat < ::Mustermann::AST::Compiler::Capture
+ # splats are always non-greedy
+ #
+ # source://mustermann//lib/mustermann/ast/compiler.rb#76
+ def pattern(**options); end
+end
+
+# source://mustermann//lib/mustermann/ast/compiler.rb#82
+class Mustermann::AST::Compiler::Variable < ::Mustermann::AST::Compiler::Capture
+ # source://mustermann//lib/mustermann/ast/compiler.rb#113
+ def default(allow_reserved: T.unsafe(nil), **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#103
+ def parametric(string); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#94
+ def pattern(parametric: T.unsafe(nil), separator: T.unsafe(nil), **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#108
+ def qualified(string, **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#118
+ def register_param(parametric: T.unsafe(nil), split_params: T.unsafe(nil), separator: T.unsafe(nil), **options); end
+
+ # source://mustermann//lib/mustermann/ast/compiler.rb#86
+ def translate(**options); end
+end
+
+# Looks at an AST, remembers the important bits of information to do an
+# ultra fast expansion.
+#
+# source://mustermann//lib/mustermann/ast/expander.rb#12
+class Mustermann::AST::Expander < ::Mustermann::AST::Translator
+ # add a tree for expansion
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#80
+ def add(ast); end
+
+ # Creates the product of two of our secret internal data structures.
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#141
+ def add_to(list, result); end
+
+ # source://mustermann//lib/mustermann/ast/translator.rb#70
+ def error_class; end
+
+ # helper method for raising an error for unexpandable values
+ #
+ # @raise [error_class]
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#119
+ def error_for(values); end
+
+ # @see Mustermann::AST::Translator#expand
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#126
+ def escape(string, *args, **_arg2); end
+
+ # @see Mustermann::Pattern#expand
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#95
+ def expand(values); end
+
+ # @return [Boolean]
+ # @see Mustermann::Pattern#expandable?
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#105
+ def expandable?(values); end
+
+ # @see Mustermann::Expander#with_rest
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#113
+ def expandable_keys(keys); end
+
+ # helper method for captures
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#61
+ def for_capture(node, **options); end
+
+ # all the known keys
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#74
+ def keys; end
+
+ # maps sorted key list to sprintf patterns and filters
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#68
+ def mappings; end
+
+ # Turns a sprintf pattern into our secret internal data structure.
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#135
+ def pattern(string = T.unsafe(nil), *keys, **filters); end
+
+ # helper method for getting a capture's pattern.
+ #
+ # source://mustermann//lib/mustermann/ast/expander.rb#89
+ def pattern_for(node, **options); end
+end
+
+# source://mustermann//lib/mustermann/ast/expander.rb#0
+class Mustermann::AST::Expander::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#5
+class Mustermann::AST::Node
+ # @return [Node] a new instance of Node
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#43
+ def initialize(payload = T.unsafe(nil), **options); end
+
+ # Loop through all nodes that don't have child nodes.
+ #
+ # @yield [_self]
+ # @yieldparam _self [Mustermann::AST::Node] the object that the method was called on
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#65
+ def each_leaf(&block); end
+
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#49
+ def is_a?(type); end
+
+ # @return [Integer] length of the substring
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#78
+ def length; end
+
+ # @return [Integer] minimum size for a node
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#84
+ def min_size; end
+
+ # Double dispatch helper for reading from the buffer into the payload.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#56
+ def parse; end
+
+ # Returns the value of attribute payload.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def payload; end
+
+ # Sets the attribute payload
+ #
+ # @param value the value to set the attribute payload to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def payload=(_arg0); end
+
+ # Returns the value of attribute start.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def start; end
+
+ # Sets the attribute start
+ #
+ # @param value the value to set the attribute start to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def start=(_arg0); end
+
+ # Returns the value of attribute stop.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def stop; end
+
+ # Sets the attribute stop
+ #
+ # @param value the value to set the attribute stop to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def stop=(_arg0); end
+
+ # Turns a class name into a node identifier.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#90
+ def type; end
+
+ class << self
+ # @param name [Symbol] of the node
+ # @return [Class] factory for the node
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#12
+ def [](name); end
+
+ # @param name [Symbol] of the node
+ # @return [String] qualified name of factory for the node
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#29
+ def constant_name(name); end
+
+ # Helper for creating a new instance and calling #parse on it.
+ #
+ # @return [Mustermann::AST::Node]
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#38
+ def parse(payload = T.unsafe(nil), **options, &block); end
+
+ # Turns a class name into a node identifier.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#22
+ def type; end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#95
+class Mustermann::AST::Node::Capture < ::Mustermann::AST::Node
+ # @see Mustermann::AST::Compiler::Capture#default
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#98
+ def constraint; end
+
+ # @see Mustermann::AST::Compiler::Capture#default
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#98
+ def constraint=(_arg0); end
+
+ # @see Mustermann::AST::Pattern#map_param
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#106
+ def convert; end
+
+ # @see Mustermann::AST::Pattern#map_param
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#106
+ def convert=(_arg0); end
+
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def name; end
+
+ # @see Mustermann::AST::Node#parse
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#110
+ def parse; end
+
+ # @see Mustermann::AST::Compiler::Capture#qualified
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#102
+ def qualifier; end
+
+ # @see Mustermann::AST::Compiler::Capture#qualified
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#102
+ def qualifier=(_arg0); end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#120
+class Mustermann::AST::Node::Char < ::Mustermann::AST::Node
+ # @return [Integer] minimum size for a node
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#123
+ def min_size; end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#136
+class Mustermann::AST::Node::Composition < ::Mustermann::AST::Node
+ # @return [Composition] a new instance of Composition
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#138
+ def initialize(payload = T.unsafe(nil), **options); end
+end
+
+# AST node for template expressions.
+#
+# source://mustermann//lib/mustermann/ast/node.rb#130
+class Mustermann::AST::Node::Expression < ::Mustermann::AST::Node
+ # Returns the value of attribute operator.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#132
+ def operator; end
+
+ # Sets the attribute operator
+ #
+ # @param value the value to set the attribute operator to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#132
+ def operator=(_arg0); end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#144
+class Mustermann::AST::Node::Group < ::Mustermann::AST::Node::Composition; end
+
+# source://mustermann//lib/mustermann/ast/node.rb#195
+class Mustermann::AST::Node::NamedSplat < ::Mustermann::AST::Node::Splat
+ # @see Mustermann::AST::Node::Capture#name
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#7
+ def name; end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#152
+class Mustermann::AST::Node::Optional < ::Mustermann::AST::Node; end
+
+# source://mustermann//lib/mustermann/ast/node.rb#156
+class Mustermann::AST::Node::Or < ::Mustermann::AST::Node; end
+
+# source://mustermann//lib/mustermann/ast/node.rb#160
+class Mustermann::AST::Node::Root < ::Mustermann::AST::Node
+ # Returns the value of attribute pattern.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#162
+ def pattern; end
+
+ # Sets the attribute pattern
+ #
+ # @param value the value to set the attribute pattern to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#162
+ def pattern=(_arg0); end
+
+ class << self
+ # Will trigger transform.
+ #
+ # @see Mustermann::AST::Node.parse
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#168
+ def parse(string, &block); end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#177
+class Mustermann::AST::Node::Separator < ::Mustermann::AST::Node
+ # @return [Integer] minimum size for a node
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#180
+ def min_size; end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#186
+class Mustermann::AST::Node::Splat < ::Mustermann::AST::Node::Capture
+ # @see Mustermann::AST::Node::Capture#name
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#189
+ def name; end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#148
+class Mustermann::AST::Node::Union < ::Mustermann::AST::Node::Composition; end
+
+# AST node for template variables.
+#
+# source://mustermann//lib/mustermann/ast/node.rb#203
+class Mustermann::AST::Node::Variable < ::Mustermann::AST::Node::Capture
+ # Returns the value of attribute explode.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#205
+ def explode; end
+
+ # Sets the attribute explode
+ #
+ # @param value the value to set the attribute explode to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#205
+ def explode=(_arg0); end
+
+ # Returns the value of attribute prefix.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#205
+ def prefix; end
+
+ # Sets the attribute prefix
+ #
+ # @param value the value to set the attribute prefix to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#205
+ def prefix=(_arg0); end
+end
+
+# source://mustermann//lib/mustermann/ast/node.rb#209
+class Mustermann::AST::Node::WithLookAhead < ::Mustermann::AST::Node
+ # @return [WithLookAhead] a new instance of WithLookAhead
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#214
+ def initialize(payload, at_end, **options); end
+
+ # Returns the value of attribute at_end.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#211
+ def at_end; end
+
+ # Sets the attribute at_end
+ #
+ # @param value the value to set the attribute at_end to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#211
+ def at_end=(_arg0); end
+
+ # Returns the value of attribute head.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#211
+ def head; end
+
+ # Sets the attribute head
+ #
+ # @param value the value to set the attribute head to.
+ #
+ # source://mustermann//lib/mustermann/ast/node.rb#211
+ def head=(_arg0); end
+end
+
+# Scans an AST for param converters.
+#
+# @see Mustermann::AST::Pattern#to_templates
+#
+# source://mustermann//lib/mustermann/ast/param_scanner.rb#9
+class Mustermann::AST::ParamScanner < ::Mustermann::AST::Translator
+ class << self
+ # source://mustermann//lib/mustermann/ast/param_scanner.rb#11
+ def scan_params(ast); end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/param_scanner.rb#0
+class Mustermann::AST::ParamScanner::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
+
+# Simple, StringScanner based parser.
+#
+# source://mustermann//lib/mustermann/ast/parser.rb#12
+class Mustermann::AST::Parser
+ extend ::Forwardable
+
+ # @return [Parser] a new instance of Parser
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#49
+ def initialize(pattern: T.unsafe(nil), **options); end
+
+ # Returns the value of attribute buffer.
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#43
+ def buffer; end
+
+ # Create a node for a character we don't have an explicit rule for.
+ #
+ # @param char [String] the character
+ # @return [Mustermann::AST::Node] the node
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#80
+ def default_node(char); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def eos?(*args, **_arg1, &block); end
+
+ # Asserts a regular expression matches what's next on the buffer.
+ # Will return corresponding MatchData if regexp includes named captures.
+ #
+ # @param regexp [Regexp] expected to match
+ # @raise [Mustermann::ParseError] if expectation wasn't met
+ # @return [String, MatchData] the match
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#141
+ def expect(regexp, char: T.unsafe(nil), **options); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def getch(*args, **_arg1, &block); end
+
+ # sets start on node to start if it's not set to a lower value.
+ # sets stop on node to stop if it's not set to a higher value.
+ #
+ # @return [Mustermann::AST::Node] the node passed as third argument
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#100
+ def min_size(start, stop, node); end
+
+ # @example
+ # node(:char, 'x').compile =~ 'x' # => true
+ # @param type [Symbol] node type
+ # @return [Mustermann::AST::Node]
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#68
+ def node(type, *args, **_arg2, &block); end
+
+ # @param string [String] to be parsed
+ # @return [Mustermann::AST::Node] parse tree for string
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#56
+ def parse(string); end
+
+ # Returns the value of attribute pattern.
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#43
+ def pattern; end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def pos(*args, **_arg1, &block); end
+
+ # Reads the next element from the buffer.
+ #
+ # @return [Mustermann::AST::Node] next element
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#87
+ def read; end
+
+ # Reads an argument string of the format arg1,args2,key:value
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#172
+ def read_args(key_separator, close, separator: T.unsafe(nil), symbol_keys: T.unsafe(nil), **options); end
+
+ # Allows to read a string inside brackets. It does not expect the string
+ # to start with an opening bracket.
+ #
+ # @example
+ # buffer.string = "fo>ba"
+ # read_brackets(?<, ?>) # => "fo"
+ # buffer.rest # => "ba"
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#154
+ def read_brackets(open, close, char: T.unsafe(nil), escape: T.unsafe(nil), quote: T.unsafe(nil), **options); end
+
+ # Read a string until a terminating character, ignoring escaped versions of said character.
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#210
+ def read_escaped(close, escape: T.unsafe(nil), **options); end
+
+ # Reads a separated list with the ability to quote, escape and add spaces.
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#191
+ def read_list(*close, separator: T.unsafe(nil), escape: T.unsafe(nil), quotes: T.unsafe(nil), ignore: T.unsafe(nil), **options); end
+
+ # Checks for a potential suffix on the buffer.
+ #
+ # @param element [Mustermann::AST::Node] node without suffix
+ # @return [Mustermann::AST::Node] node with suffix
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#112
+ def read_suffix(element); end
+
+ # Wrapper around {StringScanner#scan} that turns strings into escaped
+ # regular expressions and returns a MatchData if the regexp has any
+ # named captures.
+ #
+ # @param regexp [Regexp, String]
+ # @return [String, MatchData, nil]
+ # @see StringScanner#scan
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#128
+ def scan(regexp); end
+
+ # Returns the value of attribute string.
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#43
+ def string; end
+
+ # Helper for raising an exception for an unexpected character.
+ # Will read character from buffer if buffer is passed in.
+ #
+ # @param char [String, nil] the unexpected character
+ # @raise [Mustermann::ParseError, Exception]
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#228
+ def unexpected(char = T.unsafe(nil), exception: T.unsafe(nil)); end
+
+ class << self
+ # Defines another grammar rule for first character.
+ #
+ # @see Mustermann::Rails
+ # @see Mustermann::Sinatra
+ # @see Mustermann::Template
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#26
+ def on(*chars, &block); end
+
+ # @param string [String] to be parsed
+ # @return [Mustermann::AST::Node] parse tree for string
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#16
+ def parse(string, **options); end
+
+ # Defines another grammar rule for a suffix.
+ #
+ # @see Mustermann::Sinatra
+ #
+ # source://mustermann//lib/mustermann/ast/parser.rb#36
+ def suffix(pattern = T.unsafe(nil), after: T.unsafe(nil), &block); end
+ end
+end
+
+# Superclass for pattern styles that parse an AST from the string pattern.
+#
+# @abstract
+#
+# source://mustermann//lib/mustermann/ast/pattern.rb#18
+class Mustermann::AST::Pattern < ::Mustermann::RegexpBased
+ extend ::SingleForwardable
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def boundaries(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def compiler(*args, **_arg1, &block); end
+
+ # All AST-based pattern implementations support expanding.
+ #
+ # @example Expanding a pattern
+ # pattern = Mustermann.new('/:name(.:ext)?')
+ # pattern.expand(name: 'hello') # => "/hello"
+ # pattern.expand(name: 'hello', ext: 'png') # => "/hello.png"
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :expand
+ # pattern.expand(name: "foo")
+ # else
+ # warn "does not support expanding"
+ # end
+ # @param behavior [Symbol] What to do with additional key/value pairs not present in the values hash.
+ # Possible options: :raise, :ignore, :append.
+ # @param values [Hash{Symbol: #to_s, Array<#to_s>}] Values to use for expansion.
+ # @raise [NotImplementedError] raised if expand is not supported.
+ # @raise [Mustermann::ExpandError] raised if a value is missing or unknown
+ # @return [String] expanded string
+ # @see Mustermann::Pattern#expand
+ # @see Mustermann::Expander
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#106
+ def expand(behavior = T.unsafe(nil), values = T.unsafe(nil)); end
+
+ # @see Mustermann::Pattern#map_param
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#123
+ def map_param(key, value); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def param_scanner(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def parser(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def template_generator(*args, **_arg1, &block); end
+
+ # Internal AST representation of pattern.
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#88
+ def to_ast; end
+
+ # All AST-based pattern implementations support generating templates.
+ #
+ # @example generating templates
+ # Mustermann.new("/:name").to_templates # => ["/{name}"]
+ # Mustermann.new("/:foo(@:bar)?/*baz").to_templates # => ["/{foo}@{bar}/{+baz}", "/{foo}/{+baz}"]
+ # Mustermann.new("/{name}", type: :template).to_templates # => ["/{name}"]
+ # @example generating templates from composite patterns
+ # pattern = Mustermann.new('/:name')
+ # pattern |= Mustermann.new('/{name}', type: :template)
+ # pattern |= Mustermann.new('/example/*nested')
+ # pattern.to_templates # => ["/{name}", "/example/{+nested}"]
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :to_templates
+ # pattern.to_templates
+ # else
+ # warn "does not support template generation"
+ # end
+ # @return [Array] list of URI templates
+ # @see Mustermann::Pattern#to_templates
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#117
+ def to_templates; end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def transformer(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def validation(*args, **_arg1, &block); end
+
+ private
+
+ # source://mustermann//lib/mustermann/ast/pattern.rb#79
+ def compile(**options); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def generate_templates(*args, **_arg1, &block); end
+
+ # source://mustermann//lib/mustermann/ast/pattern.rb#129
+ def param_converters; end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def parse(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def scan_params(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def set_boundaries(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def transform(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def validate(*args, **_arg1, &block); end
+
+ class << self
+ # @api private
+ # @return [#set_boundaries] translator making sure start and stop is set on all nodes
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#46
+ def boundaries; end
+
+ # @api private
+ # @return [#compile] compiler object for pattern
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#39
+ def compiler; end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def on(*args, **_arg1, &block); end
+
+ # @api private
+ # @return [#scan_params] param scanner for pattern
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#74
+ def param_scanner; end
+
+ # @api private
+ # @return [#parse] parser object for pattern
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#30
+ def parser; end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def suffix(*args, **_arg1, &block); end
+
+ # @api private
+ # @return [#generate_templates] generates URI templates for pattern
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#67
+ def template_generator; end
+
+ # @api private
+ # @return [#transform] transformer object for pattern
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#53
+ def transformer; end
+
+ # @api private
+ # @return [#validate] validation object for pattern
+ #
+ # source://mustermann//lib/mustermann/ast/pattern.rb#60
+ def validation; end
+ end
+end
+
+# Turns an AST into an Array of URI templates representing the AST.
+#
+# @see Mustermann::AST::Pattern#to_templates
+#
+# source://mustermann//lib/mustermann/ast/template_generator.rb#9
+class Mustermann::AST::TemplateGenerator < ::Mustermann::AST::Translator
+ class << self
+ # source://mustermann//lib/mustermann/ast/template_generator.rb#11
+ def generate_templates(ast); end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/template_generator.rb#0
+class Mustermann::AST::TemplateGenerator::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
+
+# Takes a tree, turns it into an even better tree.
+#
+# source://mustermann//lib/mustermann/ast/transformer.rb#8
+class Mustermann::AST::Transformer < ::Mustermann::AST::Translator
+ class << self
+ # Transforms a tree.
+ #
+ # @note might mutate handed in tree instead of creating a new one
+ # @param tree [Mustermann::AST::Node] to be transformed
+ # @return [Mustermann::AST::Node] transformed tree
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#15
+ def transform(tree); end
+ end
+end
+
+# Inserts with_look_ahead nodes wherever appropriate
+#
+# source://mustermann//lib/mustermann/ast/transformer.rb#105
+class Mustermann::AST::Transformer::ArrayTransform < ::Mustermann::AST::Transformer::NodeTranslator
+ # turn look ahead buffer into look ahead node
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#142
+ def create_lookahead(elements, *args); end
+
+ # can the current element deal with a look-ahead?
+ #
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#166
+ def expect_lookahead?(element); end
+
+ # helper method for deciding where to put an element for now
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#173
+ def list_for(element); end
+
+ # can the given element be used in a look-ahead?
+ #
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#149
+ def lookahead?(element, in_lookahead = T.unsafe(nil)); end
+
+ # buffer for potential look ahead
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#116
+ def lookahead_buffer; end
+
+ # does the list of elements look look-ahead-ish to you?
+ #
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#159
+ def lookahead_payload?(payload, in_lookahead); end
+
+ # the new array
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#110
+ def payload; end
+
+ # handle a single element from the array
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#129
+ def track(element); end
+
+ # transform the array
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#122
+ def translate; end
+end
+
+# URI expression transformations depending on operator
+#
+# source://mustermann//lib/mustermann/ast/transformer.rb#76
+class Mustermann::AST::Transformer::ExpressionTransform < ::Mustermann::AST::Transformer::NodeTranslator
+ # Sets operator and inserts separators in between variables.
+ #
+ # source://mustermann//lib/mustermann/ast/transformer.rb#93
+ def translate; end
+end
+
+# source://mustermann//lib/mustermann/ast/transformer.rb#84
+Mustermann::AST::Transformer::ExpressionTransform::OPERATORS = T.let(T.unsafe(nil), Hash)
+
+# source://mustermann//lib/mustermann/ast/transformer.rb#80
+class Mustermann::AST::Transformer::ExpressionTransform::Operator < ::Struct
+ def allow_reserved; end
+ def allow_reserved=(_); end
+ def parametric; end
+ def parametric=(_); end
+ def prefix; end
+ def prefix=(_); end
+ def separator; end
+ def separator=(_); end
+
+ class << self
+ def [](*_arg0); end
+ def inspect; end
+ def keyword_init?; end
+ def members; end
+ def new(*_arg0); end
+ end
+end
+
+# turn a group containing or nodes into a union
+#
+# source://mustermann//lib/mustermann/ast/transformer.rb#30
+class Mustermann::AST::Transformer::GroupTransformer < ::Mustermann::AST::Transformer::NodeTranslator
+ # source://mustermann//lib/mustermann/ast/transformer.rb#48
+ def group(elements); end
+
+ # source://mustermann//lib/mustermann/ast/transformer.rb#55
+ def split_payload; end
+
+ # source://mustermann//lib/mustermann/ast/transformer.rb#34
+ def translate; end
+
+ # source://mustermann//lib/mustermann/ast/transformer.rb#42
+ def union; end
+end
+
+# source://mustermann//lib/mustermann/ast/transformer.rb#0
+class Mustermann::AST::Transformer::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
+
+# inject a union node right inside the root node if it contains or nodes
+#
+# source://mustermann//lib/mustermann/ast/transformer.rb#64
+class Mustermann::AST::Transformer::RootTransformer < ::Mustermann::AST::Transformer::GroupTransformer
+ # source://mustermann//lib/mustermann/ast/transformer.rb#68
+ def union; end
+end
+
+# Implements translator pattern
+#
+# @abstract
+#
+# source://mustermann//lib/mustermann/ast/translator.rb#13
+class Mustermann::AST::Translator
+ # @param node [Mustermann::AST::Node, Object] to translate
+ # @raise [error_class]
+ # @return decorator encapsulating translation
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#108
+ def decorator_for(node); end
+
+ # source://mustermann//lib/mustermann/ast/translator.rb#70
+ def error_class; end
+
+ # @return [String] escaped character
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#124
+ def escape(char, parser: T.unsafe(nil), escape: T.unsafe(nil), also_escape: T.unsafe(nil)); end
+
+ # Start the translation dance for a (sub)tree.
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#116
+ def translate(node, *args, **_arg2, &block); end
+
+ class << self
+ # Enables quick creation of a translator object.
+ #
+ # @example
+ # require 'mustermann'
+ # require 'mustermann/ast/translator'
+ #
+ # translator = Mustermann::AST::Translator.create do
+ # translate(:node) { [type, *t(payload)].flatten.compact }
+ # translate(Array) { map { |e| t(e) } }
+ # translate(Object) { }
+ # end
+ #
+ # ast = Mustermann.new('/:name').to_ast
+ # translator.translate(ast) # => [:root, :separator, :capture]
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#98
+ def create(&block); end
+
+ # maps types to translations
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#54
+ def dispatch_table; end
+
+ # some magic sauce so {NodeTranslator}s know whom to talk to for {#register}
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#60
+ def inherited(subclass); end
+
+ # DSL-ish method for specifying the exception class to use.
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#69
+ def raises(error); end
+
+ # DSL method for defining single method translations.
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#75
+ def translate(*types, &block); end
+ end
+end
+
+# Encapsulates a single node translation
+#
+# source://mustermann//lib/mustermann/ast/translator.rb#19
+class Mustermann::AST::Translator::NodeTranslator
+ # @param node [Mustermann::AST::Node, Object]
+ # @param translator [Mustermann::AST::Translator]
+ # @return [NodeTranslator] a new instance of NodeTranslator
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#33
+ def initialize(node, translator); end
+
+ # source://delegate/0.3.1/delegate.rb#402
+ def node; end
+
+ # shorthand for translating a nested object
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#43
+ def t(*args, **_arg1, &block); end
+
+ # Returns the value of attribute translator.
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#39
+ def translator; end
+
+ class << self
+ # @param types [Array] list of types to register for.
+ #
+ # source://mustermann//lib/mustermann/ast/translator.rb#22
+ def register(*types); end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/translator.rb#15
+Mustermann::AST::Translator::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
+
+# Checks the AST for certain validations, like correct capture names.
+#
+# Internally a poor man's visitor (abusing translator to not have to implement a visitor).
+#
+# source://mustermann//lib/mustermann/ast/validation.rb#10
+class Mustermann::AST::Validation < ::Mustermann::AST::Translator
+ # @raise [Mustermann::CompileError] if name is not acceptable
+ #
+ # source://mustermann//lib/mustermann/ast/validation.rb#30
+ def check_name(name, forbidden: T.unsafe(nil)); end
+
+ # @return [Array] list of capture names in tree
+ #
+ # source://mustermann//lib/mustermann/ast/validation.rb#40
+ def names; end
+
+ class << self
+ # Runs validations.
+ #
+ # @param ast [Mustermann::AST::Node] to be validated
+ # @raise [Mustermann::AST::CompileError] if validation fails
+ # @return [Mustermann::AST::Node] the validated ast
+ #
+ # source://mustermann//lib/mustermann/ast/validation.rb#17
+ def validate(ast); end
+ end
+end
+
+# source://mustermann//lib/mustermann/ast/validation.rb#0
+class Mustermann::AST::Validation::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
+
+# Class for defining and running simple Hash transformations.
+#
+# @example
+# caster = Mustermann::Caster.new
+# caster.register(:foo) { |value| { bar: value.upcase } }
+# caster.cast(foo: "hello", baz: "world") # => { bar: "HELLO", baz: "world" }
+# @see Mustermann::Expander#cast
+#
+# source://mustermann//lib/mustermann/caster.rb#15
+class Mustermann::Caster
+ # @param types [Array] identifier for cast type (some need block)
+ # @return [Caster] a new instance of Caster
+ #
+ # source://mustermann//lib/mustermann/caster.rb#18
+ def initialize(*types, &block); end
+
+ # Transforms a Hash.
+ #
+ # @param hash [Hash] pre-transform Hash
+ # @return [Hash] post-transform Hash
+ #
+ # source://mustermann//lib/mustermann/caster.rb#45
+ def cast(hash); end
+
+ # @param type [Symbol, Regexp, #cast, #===] identifier for cast type (some need block)
+ # @return [#cast] specific cast operation
+ #
+ # source://mustermann//lib/mustermann/caster.rb#34
+ def caster_for(type, &block); end
+
+ # @param types [Array] identifier for cast type (some need block)
+ #
+ # source://mustermann//lib/mustermann/caster.rb#25
+ def register(*types, &block); end
+end
+
+# Class for block based casts that are triggered for every key/value pair.
+#
+# source://mustermann//lib/mustermann/caster.rb#58
+class Mustermann::Caster::Any
+ # @return [Any] a new instance of Any
+ #
+ # source://mustermann//lib/mustermann/caster.rb#60
+ def initialize(&block); end
+
+ # @see Mustermann::Caster#cast
+ #
+ # source://mustermann//lib/mustermann/caster.rb#66
+ def cast(key, value); end
+end
+
+# Class for block based casts that are triggered for key/value pairs with a matching key.
+#
+# source://mustermann//lib/mustermann/caster.rb#94
+class Mustermann::Caster::Key < ::Mustermann::Caster::Any
+ # @param type [#===] used for matching keys
+ # @return [Key] a new instance of Key
+ #
+ # source://mustermann//lib/mustermann/caster.rb#97
+ def initialize(type, &block); end
+
+ # @see Mustermann::Caster#cast
+ #
+ # source://mustermann//lib/mustermann/caster.rb#104
+ def cast(key, value); end
+end
+
+# Class for block based casts that are triggered for key/value pairs with a matching value.
+#
+# source://mustermann//lib/mustermann/caster.rb#77
+class Mustermann::Caster::Value < ::Mustermann::Caster::Any
+ # @param type [#===] used for matching values
+ # @return [Value] a new instance of Value
+ #
+ # source://mustermann//lib/mustermann/caster.rb#80
+ def initialize(type, &block); end
+
+ # @see Mustermann::Caster#cast
+ #
+ # source://mustermann//lib/mustermann/caster.rb#87
+ def cast(key, value); end
+end
+
+# Raised if anything goes wrong while compiling a {Pattern}.
+#
+# source://mustermann//lib/mustermann/error.rb#5
+class Mustermann::CompileError < ::Mustermann::Error; end
+
+# Class for pattern objects composed of multiple patterns using binary logic.
+#
+# @see Mustermann::Pattern#&
+# @see Mustermann::Pattern#|
+# @see Mustermann::Pattern#^
+#
+# source://mustermann//lib/mustermann/composite.rb#7
+class Mustermann::Composite < ::Mustermann::Pattern
+ # @return [Composite] a new instance of Composite
+ #
+ # source://mustermann//lib/mustermann/composite.rb#27
+ def initialize(patterns, operator: T.unsafe(nil), **options); end
+
+ # @see Mustermann::Pattern#==
+ #
+ # source://mustermann//lib/mustermann/composite.rb#33
+ def ==(pattern); end
+
+ # @see Mustermann::Pattern#===
+ #
+ # source://mustermann//lib/mustermann/composite.rb#48
+ def ===(string); end
+
+ # @return [Boolean]
+ # @see Mustermann::Pattern#eql?
+ #
+ # source://mustermann//lib/mustermann/composite.rb#38
+ def eql?(pattern); end
+
+ # Expanding is supported by almost all patterns (notable exceptions are {Mustermann::Shell},
+ # {Mustermann::Regular} and {Mustermann::Simple}).
+ #
+ # Union {Mustermann::Composite} patterns (with the | operator) support expanding if all
+ # patterns they are composed of also support it.
+ #
+ # @example Expanding a pattern
+ # pattern = Mustermann.new('/:name(.:ext)?')
+ # pattern.expand(name: 'hello') # => "/hello"
+ # pattern.expand(name: 'hello', ext: 'png') # => "/hello.png"
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :expand
+ # pattern.expand(name: "foo")
+ # else
+ # warn "does not support expanding"
+ # end
+ # @note This method is only implemented by certain subclasses.
+ # @param behavior [Symbol] What to do with additional key/value pairs not present in the values hash.
+ # Possible options: :raise, :ignore, :append.
+ # @param values [Hash{Symbol: #to_s, Array<#to_s>}] Values to use for expansion.
+ # @raise [NotImplementedError] raised if expand is not supported.
+ # @raise [Mustermann::ExpandError] raised if a value is missing or unknown
+ # @return [String] expanded string
+ # @see Mustermann::Expander
+ #
+ # source://mustermann//lib/mustermann/composite.rb#69
+ def expand(behavior = T.unsafe(nil), values = T.unsafe(nil)); end
+
+ # @see Mustermann::Pattern#hash
+ #
+ # source://mustermann//lib/mustermann/composite.rb#43
+ def hash; end
+
+ # source://mustermann//lib/mustermann/composite.rb#87
+ def inspect; end
+
+ # @see Mustermann::Pattern#match
+ #
+ # source://mustermann//lib/mustermann/composite.rb#58
+ def match(string); end
+
+ # Returns the value of attribute operator.
+ #
+ # source://mustermann//lib/mustermann/composite.rb#8
+ def operator; end
+
+ # @see Mustermann::Pattern#params
+ #
+ # source://mustermann//lib/mustermann/composite.rb#53
+ def params(string); end
+
+ # Returns the value of attribute patterns.
+ #
+ # source://mustermann//lib/mustermann/composite.rb#8
+ def patterns; end
+
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/composite.rb#63
+ def respond_to_special?(method); end
+
+ # source://mustermann//lib/mustermann/composite.rb#92
+ def simple_inspect; end
+
+ # @return [String] the string representation of the pattern
+ #
+ # source://mustermann//lib/mustermann/composite.rb#82
+ def to_s; end
+
+ # Generates a list of URI template strings representing the pattern.
+ #
+ # Note that this transformation is lossy and the strings matching these
+ # templates might not match the pattern (and vice versa).
+ #
+ # This comes in quite handy since URI templates are not made for pattern matching.
+ # That way you can easily use a more precise template syntax and have it automatically
+ # generate hypermedia links for you.
+ #
+ # Template generation is supported by almost all patterns (notable exceptions are
+ # {Mustermann::Shell}, {Mustermann::Regular} and {Mustermann::Simple}).
+ # Union {Mustermann::Composite} patterns (with the | operator) support template generation
+ # if all patterns they are composed of also support it.
+ #
+ # @example generating templates
+ # Mustermann.new("/:name").to_templates # => ["/{name}"]
+ # Mustermann.new("/:foo(@:bar)?/*baz").to_templates # => ["/{foo}@{bar}/{+baz}", "/{foo}/{+baz}"]
+ # Mustermann.new("/{name}", type: :template).to_templates # => ["/{name}"]
+ # @example generating templates from composite patterns
+ # pattern = Mustermann.new('/:name')
+ # pattern |= Mustermann.new('/{name}', type: :template)
+ # pattern |= Mustermann.new('/example/*nested')
+ # pattern.to_templates # => ["/{name}", "/example/{+nested}"]
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :to_templates
+ # pattern.to_templates
+ # else
+ # warn "does not support template generation"
+ # end
+ # @note This method is only implemented by certain subclasses.
+ # @return [Array] list of URI templates
+ #
+ # source://mustermann//lib/mustermann/composite.rb#76
+ def to_templates; end
+
+ private
+
+ # source://mustermann//lib/mustermann/composite.rb#105
+ def patterns_from(pattern, **options); end
+
+ # source://mustermann//lib/mustermann/composite.rb#98
+ def with_matching(string, method); end
+
+ class << self
+ # @return [Mustermann::Pattern] a new composite pattern
+ #
+ # source://mustermann//lib/mustermann/composite.rb#18
+ def new(*patterns, **options); end
+
+ # @return [Boolean]
+ # @see Mustermann::Pattern.supported?
+ #
+ # source://mustermann//lib/mustermann/composite.rb#12
+ def supported?(option, type: T.unsafe(nil), **options); end
+ end
+end
+
+# Class for pattern objects that are a concatenation of other patterns.
+#
+# @see Mustermann::Pattern#+
+#
+# source://mustermann//lib/mustermann/concat.rb#5
+class Mustermann::Concat < ::Mustermann::Composite
+ # Should not be used directly.
+ #
+ # @return [Concat] a new instance of Concat
+ #
+ # source://mustermann//lib/mustermann/concat.rb#43
+ def initialize(*_arg0, **_arg1); end
+
+ # @see Mustermann::Pattern#===
+ #
+ # source://mustermann//lib/mustermann/concat.rb#55
+ def ===(string); end
+
+ # Expanding is supported by almost all patterns (notable exceptions are {Mustermann::Shell},
+ # {Mustermann::Regular} and {Mustermann::Simple}).
+ #
+ # Union {Mustermann::Composite} patterns (with the | operator) support expanding if all
+ # patterns they are composed of also support it.
+ #
+ # @example Expanding a pattern
+ # pattern = Mustermann.new('/:name(.:ext)?')
+ # pattern.expand(name: 'hello') # => "/hello"
+ # pattern.expand(name: 'hello', ext: 'png') # => "/hello.png"
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :expand
+ # pattern.expand(name: "foo")
+ # else
+ # warn "does not support expanding"
+ # end
+ # @note This method is only implemented by certain subclasses.
+ # @param behavior [Symbol] What to do with additional key/value pairs not present in the values hash.
+ # Possible options: :raise, :ignore, :append.
+ # @param values [Hash{Symbol: #to_s, Array<#to_s>}] Values to use for expansion.
+ # @raise [NotImplementedError] raised if expand is not supported.
+ # @raise [Mustermann::ExpandError] raised if a value is missing or unknown
+ # @return [String] expanded string
+ # @see Mustermann::Expander
+ #
+ # source://mustermann//lib/mustermann/concat.rb#90
+ def expand(behavior = T.unsafe(nil), values = T.unsafe(nil)); end
+
+ # @see Mustermann::Pattern#match
+ #
+ # source://mustermann//lib/mustermann/concat.rb#60
+ def match(string); end
+
+ # @return [Symbol] always :+
+ # @see Mustermann::Composite#operator
+ #
+ # source://mustermann//lib/mustermann/concat.rb#50
+ def operator; end
+
+ # @see Mustermann::Pattern#params
+ #
+ # source://mustermann//lib/mustermann/concat.rb#66
+ def params(string); end
+
+ # @see Mustermann::Pattern#peek_match
+ #
+ # source://mustermann//lib/mustermann/concat.rb#77
+ def peek_match(string); end
+
+ # @see Mustermann::Pattern#peek_params
+ #
+ # source://mustermann//lib/mustermann/concat.rb#85
+ def peek_params(string); end
+
+ # @see Mustermann::Pattern#peek_size
+ #
+ # source://mustermann//lib/mustermann/concat.rb#72
+ def peek_size(string); end
+
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/concat.rb#103
+ def respond_to_special?(method); end
+
+ # Generates a list of URI template strings representing the pattern.
+ #
+ # Note that this transformation is lossy and the strings matching these
+ # templates might not match the pattern (and vice versa).
+ #
+ # This comes in quite handy since URI templates are not made for pattern matching.
+ # That way you can easily use a more precise template syntax and have it automatically
+ # generate hypermedia links for you.
+ #
+ # Template generation is supported by almost all patterns (notable exceptions are
+ # {Mustermann::Shell}, {Mustermann::Regular} and {Mustermann::Simple}).
+ # Union {Mustermann::Composite} patterns (with the | operator) support template generation
+ # if all patterns they are composed of also support it.
+ #
+ # @example generating templates
+ # Mustermann.new("/:name").to_templates # => ["/{name}"]
+ # Mustermann.new("/:foo(@:bar)?/*baz").to_templates # => ["/{foo}@{bar}/{+baz}", "/{foo}/{+baz}"]
+ # Mustermann.new("/{name}", type: :template).to_templates # => ["/{name}"]
+ # @example generating templates from composite patterns
+ # pattern = Mustermann.new('/:name')
+ # pattern |= Mustermann.new('/{name}', type: :template)
+ # pattern |= Mustermann.new('/example/*nested')
+ # pattern.to_templates # => ["/{name}", "/example/{+nested}"]
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :to_templates
+ # pattern.to_templates
+ # else
+ # warn "does not support template generation"
+ # end
+ # @note This method is only implemented by certain subclasses.
+ # @return [Array] list of URI templates
+ #
+ # source://mustermann//lib/mustermann/concat.rb#97
+ def to_templates; end
+
+ private
+
+ # generates one big AST from all patterns
+ # will not check if patterns support AST generation
+ #
+ # source://mustermann//lib/mustermann/concat.rb#129
+ def combined_ast; end
+
+ # used to generate results for various methods by scanning through an input string
+ #
+ # source://mustermann//lib/mustermann/concat.rb#110
+ def pump(string, inject_with: T.unsafe(nil), initial: T.unsafe(nil), with_size: T.unsafe(nil)); end
+end
+
+# Mixin for patterns to support native concatenation.
+#
+# source://mustermann//lib/mustermann/concat.rb#8
+module Mustermann::Concat::Native
+ # @see Mustermann::Pattern#+
+ #
+ # source://mustermann//lib/mustermann/concat.rb#11
+ def +(other); end
+
+ # source://mustermann//lib/mustermann/concat.rb#23
+ def look_ahead(other); end
+
+ private
+
+ # source://mustermann//lib/mustermann/concat.rb#29
+ def native_concat(other); end
+
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/concat.rb#34
+ def native_concat?(other); end
+end
+
+# Type to use if no type is given.
+#
+# @api private
+#
+# source://mustermann//lib/mustermann.rb#13
+Mustermann::DEFAULT_TYPE = T.let(T.unsafe(nil), Symbol)
+
+# A simple wrapper around ObjectSpace::WeakMap that allows matching keys by equality rather than identity.
+# Used for caching. Note that `fetch` is not guaranteed to return the object, even if it has not been
+# garbage collected yet, especially when used concurrently. Therefore, the block passed to `fetch` has to
+# be idempotent.
+#
+# @example
+# class ExpensiveComputation
+# @map = Mustermann::EqualityMap.new
+#
+# def self.new(*args)
+# @map.fetch(args) { super }
+# end
+# end
+# @see #fetch
+#
+# source://mustermann//lib/mustermann/equality_map.rb#18
+class Mustermann::EqualityMap
+ # @return [EqualityMap] a new instance of EqualityMap
+ #
+ # source://mustermann//lib/mustermann/equality_map.rb#25
+ def initialize; end
+
+ # @param key [#hash] for caching
+ # @return value stored in map or result of block
+ # @yield block that will be called to populate entry if missing (has to be idempotent)
+ #
+ # source://mustermann//lib/mustermann/equality_map.rb#33
+ def fetch(key); end
+
+ # Returns the value of attribute map.
+ #
+ # source://mustermann//lib/mustermann/equality_map.rb#19
+ def map; end
+
+ private
+
+ # Finalizer proc needs to be generated in different scope so it doesn't keep a reference to the object.
+ #
+ # @param hash [Integer] for key
+ # @return [Proc] finalizer callback
+ #
+ # source://mustermann//lib/mustermann/equality_map.rb#60
+ def finalizer(hash); end
+
+ # @param key [#hash] for identifying the object
+ # @param object [Object] to be stored
+ # @return [Object] same as the second parameter
+ #
+ # source://mustermann//lib/mustermann/equality_map.rb#49
+ def track(key, object); end
+
+ class << self
+ # source://mustermann//lib/mustermann/equality_map.rb#21
+ def new; end
+ end
+end
+
+# Raised if anything goes wrong while generating a {Pattern}.
+#
+# source://mustermann//lib/mustermann/error.rb#4
+class Mustermann::Error < ::StandardError; end
+
+# Raised if anything goes wrong while expanding a {Pattern}.
+#
+# source://mustermann//lib/mustermann/error.rb#7
+class Mustermann::ExpandError < ::Mustermann::Error; end
+
+# Allows fine-grained control over pattern expansion.
+#
+# @example
+# expander = Mustermann::Expander.new(additional_values: :append)
+# expander << "/users/:user_id"
+# expander << "/pages/:page_id"
+#
+# expander.expand(page_id: 58, format: :html5) # => "/pages/58?format=html5"
+#
+# source://mustermann//lib/mustermann/expander.rb#15
+class Mustermann::Expander
+ # @param patterns [Array<#to_str, Mustermann::Pattern>] list of patterns to expand, see {#add}.
+ # @param additional_values [Symbol] behavior when encountering additional values, see {#expand}.
+ # @param options [Hash] used when creating/expanding patterns, see {Mustermann.new}.
+ # @return [Expander] a new instance of Expander
+ #
+ # source://mustermann//lib/mustermann/expander.rb#21
+ def initialize(*patterns, additional_values: T.unsafe(nil), **options, &block); end
+
+ # Add patterns to expand.
+ #
+ # @example
+ # expander = Mustermann::Expander.new
+ # expander.add("/:a.jpg", "/:b.png")
+ # expander.expand(a: "pony") # => "/pony.jpg"
+ # @param patterns [Array<#to_str, Mustermann::Pattern>] list of to add for expansion, Strings will be compiled to patterns.
+ # @return [Mustermann::Expander] the expander
+ #
+ # source://mustermann//lib/mustermann/expander.rb#43
+ def <<(*patterns); end
+
+ # @see Object#==
+ #
+ # source://mustermann//lib/mustermann/expander.rb#158
+ def ==(other); end
+
+ # Add patterns to expand.
+ #
+ # @example
+ # expander = Mustermann::Expander.new
+ # expander.add("/:a.jpg", "/:b.png")
+ # expander.expand(a: "pony") # => "/pony.jpg"
+ # @param patterns [Array<#to_str, Mustermann::Pattern>] list of to add for expansion, Strings will be compiled to patterns.
+ # @return [Mustermann::Expander] the expander
+ #
+ # source://mustermann//lib/mustermann/expander.rb#43
+ def add(*patterns); end
+
+ # Returns the value of attribute additional_values.
+ #
+ # source://mustermann//lib/mustermann/expander.rb#16
+ def additional_values; end
+
+ # Register a block as simple hash transformation that runs before expanding the pattern.
+ #
+ # @overload cast
+ # @overload cast
+ # @overload cast
+ # @return [Mustermann::Expander] the expander
+ #
+ # source://mustermann//lib/mustermann/expander.rb#115
+ def cast(*types, &block); end
+
+ # @return [Boolean]
+ # @see Object#eql?
+ #
+ # source://mustermann//lib/mustermann/expander.rb#164
+ def eql?(other); end
+
+ # @example Expanding a pattern
+ # pattern = Mustermann::Expander.new('/:name', '/:name.:ext')
+ # pattern.expand(name: 'hello') # => "/hello"
+ # pattern.expand(name: 'hello', ext: 'png') # => "/hello.png"
+ # @example Handling additional values
+ # pattern = Mustermann::Expander.new('/:name', '/:name.:ext')
+ # pattern.expand(:ignore, name: 'hello', ext: 'png', scale: '2x') # => "/hello.png"
+ # pattern.expand(:append, name: 'hello', ext: 'png', scale: '2x') # => "/hello.png?scale=2x"
+ # pattern.expand(:raise, name: 'hello', ext: 'png', scale: '2x') # raises Mustermann::ExpandError
+ # @example Setting additional values behavior for the expander object
+ # pattern = Mustermann::Expander.new('/:name', '/:name.:ext', additional_values: :append)
+ # pattern.expand(name: 'hello', ext: 'png', scale: '2x') # => "/hello.png?scale=2x"
+ # @param behavior [Symbol] What to do with additional key/value pairs not present in the values hash.
+ # Possible options: :raise, :ignore, :append.
+ # @param values [Hash{Symbol: #to_s, Array<#to_s>}] Values to use for expansion.
+ # @raise [NotImplementedError] raised if expand is not supported.
+ # @raise [Mustermann::ExpandError] raised if a value is missing or unknown
+ # @return [String] expanded string
+ #
+ # source://mustermann//lib/mustermann/expander.rb#145
+ def expand(behavior = T.unsafe(nil), values = T.unsafe(nil)); end
+
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/expander.rb#174
+ def expandable?(values); end
+
+ # @see Object#hash
+ #
+ # source://mustermann//lib/mustermann/expander.rb#170
+ def hash; end
+
+ # Returns the value of attribute patterns.
+ #
+ # source://mustermann//lib/mustermann/expander.rb#16
+ def patterns; end
+
+ private
+
+ # source://mustermann//lib/mustermann/expander.rb#195
+ def append(uri, values); end
+
+ # Returns the value of attribute caster.
+ #
+ # source://mustermann//lib/mustermann/expander.rb#16
+ def caster; end
+
+ # source://mustermann//lib/mustermann/expander.rb#201
+ def map_values(values); end
+
+ # source://mustermann//lib/mustermann/expander.rb#191
+ def slice(hash, keys); end
+
+ # source://mustermann//lib/mustermann/expander.rb#185
+ def split_values(values); end
+
+ # @yield [expand(:raise, slice(values, expandable)), slice(values, non_expandable)]
+ #
+ # source://mustermann//lib/mustermann/expander.rb#180
+ def with_rest(values); end
+end
+
+# Matches strings that are identical to the pattern.
+#
+# @example
+# Mustermann.new('/:foo', type: :identity) === '/bar' # => false
+# @see Mustermann::Pattern
+# @see file:README.md#identity Syntax description in the README
+#
+# source://mustermann//lib/mustermann/identity.rb#14
+class Mustermann::Identity < ::Mustermann::Pattern
+ include ::Mustermann::Concat::Native
+
+ # @param string [String] The string to match against
+ # @return [Boolean] Whether or not the pattern matches the given string
+ # @see http://ruby-doc.org/core-2.0/Regexp.html#method-i-3D-3D-3D Regexp#===
+ #
+ # source://mustermann//lib/mustermann/identity.rb#21
+ def ===(string); end
+
+ # Identity patterns support expanding.
+ #
+ # This implementation does not use {Mustermann::Expander} internally to save memory and
+ # compilation time.
+ #
+ # @example Expanding a pattern
+ # pattern = Mustermann.new('/:name(.:ext)?')
+ # pattern.expand(name: 'hello') # => "/hello"
+ # pattern.expand(name: 'hello', ext: 'png') # => "/hello.png"
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :expand
+ # pattern.expand(name: "foo")
+ # else
+ # warn "does not support expanding"
+ # end
+ # @param behavior [Symbol] What to do with additional key/value pairs not present in the values hash.
+ # Possible options: :raise, :ignore, :append.
+ # @param values [Hash{Symbol: #to_s, Array<#to_s>}] Values to use for expansion.
+ # @raise [ExpandError]
+ # @raise [NotImplementedError] raised if expand is not supported.
+ # @raise [Mustermann::ExpandError] raised if a value is missing or unknown
+ # @return [String] expanded string
+ # @see Mustermann::Pattern#expand
+ # @see Mustermann::Expander
+ #
+ # source://mustermann//lib/mustermann/identity.rb#68
+ def expand(behavior = T.unsafe(nil), values = T.unsafe(nil)); end
+
+ # @param string [String] The string to match against
+ # @return [Integer, nil] the number of characters that match
+ #
+ # source://mustermann//lib/mustermann/identity.rb#28
+ def peek_size(string); end
+
+ # Generates an AST so it's compatible with {Mustermann::AST::Pattern}.
+ # Not used internally by {Mustermann::Identity}.
+ #
+ # source://mustermann//lib/mustermann/identity.rb#52
+ def to_ast; end
+
+ # URI templates support generating templates (the logic is quite complex, though).
+ #
+ # @example generating templates
+ # Mustermann.new("/:name").to_templates # => ["/{name}"]
+ # Mustermann.new("/:foo(@:bar)?/*baz").to_templates # => ["/{foo}@{bar}/{+baz}", "/{foo}/{+baz}"]
+ # Mustermann.new("/{name}", type: :template).to_templates # => ["/{name}"]
+ # @example generating templates from composite patterns
+ # pattern = Mustermann.new('/:name')
+ # pattern |= Mustermann.new('/{name}', type: :template)
+ # pattern |= Mustermann.new('/example/*nested')
+ # pattern.to_templates # => ["/{name}", "/example/{+nested}"]
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :to_templates
+ # pattern.to_templates
+ # else
+ # warn "does not support template generation"
+ # end
+ # @return [Array] list of URI templates
+ # @see Mustermann::Pattern#to_templates
+ #
+ # source://mustermann//lib/mustermann/identity.rb#45
+ def to_templates; end
+end
+
+# Raised if anything goes wrong while parsing a {Pattern}.
+#
+# source://mustermann//lib/mustermann/error.rb#6
+class Mustermann::ParseError < ::Mustermann::Error; end
+
+# Superclass for all pattern implementations.
+#
+# @abstract
+#
+# source://mustermann//lib/mustermann/pattern.rb#10
+class Mustermann::Pattern
+ include ::Mustermann
+
+ # @overload initialize
+ # @param string [String] the string representation of the pattern
+ # @param options [Hash] options for fine-tuning the pattern behavior
+ # @raise [Mustermann::Error] if the pattern can't be generated from the string
+ # @return [Pattern] a new instance of Pattern
+ # @see file:README.md#Types_and_Options "Types and Options" in the README
+ # @see Mustermann.new
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#75
+ def initialize(string, uri_decode: T.unsafe(nil), **options); end
+
+ # @overload |
+ # @overload &
+ # @overload ^
+ # @param other [Mustermann::Pattern, String] the other pattern
+ # @return [Mustermann::Pattern] a composite pattern
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#315
+ def &(other); end
+
+ # Creates a concatenated pattern by combingin self with the other pattern supplied.
+ # Patterns of different types can be mixed. The availability of `to_templates` and
+ # `expand` depends on the patterns being concatenated.
+ #
+ # String input is treated as identity pattern.
+ #
+ # @example
+ # require 'mustermann'
+ # prefix = Mustermann.new("/:prefix")
+ # about = prefix + "/about"
+ # about.params("/main/about") # => {"prefix" => "main"}
+ # @param other [Mustermann::Pattern, String] pattern to be appended
+ # @return [Mustermann::Pattern] concatenated pattern
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#336
+ def +(other); end
+
+ # Two patterns are considered equal if they are of the same type, have the same pattern string
+ # and the same options.
+ #
+ # @return [true, false]
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#119
+ def ==(other); end
+
+ # @note Needs to be overridden by subclass.
+ # @param string [String] The string to match against
+ # @raise [NotImplementedError]
+ # @return [Boolean] Whether or not the pattern matches the given string
+ # @see http://ruby-doc.org/core-2.0/Regexp.html#method-i-3D-3D-3D Regexp#===
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#106
+ def ===(string); end
+
+ # @param string [String] The string to match against
+ # @return [Integer, nil] nil if pattern does not match the string, zero if it does.
+ # @see http://ruby-doc.org/core-2.0/Regexp.html#method-i-3D-7E Regexp#=~
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#98
+ def =~(string); end
+
+ # @overload |
+ # @overload &
+ # @overload ^
+ # @param other [Mustermann::Pattern, String] the other pattern
+ # @return [Mustermann::Pattern] a composite pattern
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#315
+ def ^(other); end
+
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#391
+ def always_array?(key); end
+
+ # Two patterns are considered equal if they are of the same type, have the same pattern string
+ # and the same options.
+ #
+ # @return [true, false]
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#126
+ def eql?(other); end
+
+ # Expanding is supported by almost all patterns (notable exceptions are {Mustermann::Shell},
+ # {Mustermann::Regular} and {Mustermann::Simple}).
+ #
+ # Union {Mustermann::Composite} patterns (with the | operator) support expanding if all
+ # patterns they are composed of also support it.
+ #
+ # @example Expanding a pattern
+ # pattern = Mustermann.new('/:name(.:ext)?')
+ # pattern.expand(name: 'hello') # => "/hello"
+ # pattern.expand(name: 'hello', ext: 'png') # => "/hello.png"
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :expand
+ # pattern.expand(name: "foo")
+ # else
+ # warn "does not support expanding"
+ # end
+ # @note This method is only implemented by certain subclasses.
+ # @param behavior [Symbol] What to do with additional key/value pairs not present in the values hash.
+ # Possible options: :raise, :ignore, :append.
+ # @param values [Hash{Symbol: #to_s, Array<#to_s>}] Values to use for expansion.
+ # @raise [NotImplementedError] raised if expand is not supported.
+ # @raise [Mustermann::ExpandError] raised if a value is missing or unknown
+ # @return [String] expanded string
+ # @see Mustermann::Expander
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#240
+ def expand(behavior = T.unsafe(nil), values = T.unsafe(nil)); end
+
+ # Used by Ruby internally for hashing.
+ #
+ # @return [Integer] same has value for patterns that are equal
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#112
+ def hash; end
+
+ # source://mustermann//lib/mustermann/pattern.rb#366
+ def inspect; end
+
+ # @param string [String] The string to match against
+ # @return [MatchData, Mustermann::SimpleMatch, nil] MatchData or similar object if the pattern matches.
+ # @see http://ruby-doc.org/core-2.0/Regexp.html#method-i-match Regexp#match
+ # @see http://ruby-doc.org/core-2.0/MatchData.html MatchData
+ # @see Mustermann::SimpleMatch
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#91
+ def match(string); end
+
+ # @return [Hash{String: Array}] capture names mapped to capture index.
+ # @see http://ruby-doc.org/core-2.0/Regexp.html#method-i-named_captures Regexp#named_captures
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#192
+ def named_captures; end
+
+ # @return [Array] capture names.
+ # @see http://ruby-doc.org/core-2.0/Regexp.html#method-i-names Regexp#names
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#198
+ def names; end
+
+ # options hash passed to new (with unsupported options removed)
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#67
+ def options; end
+
+ # @param string [String] the string to match against
+ # @return [Hash{String: String, Array}, nil] Sinatra style params if pattern matches.
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#204
+ def params(string = T.unsafe(nil), captures: T.unsafe(nil), offset: T.unsafe(nil)); end
+
+ # Tries to match the pattern against the beginning of the string (as opposed to the full string).
+ # Will return the substring if it matches.
+ #
+ # @example
+ # pattern = Mustermann.new('/:name')
+ # pattern.peek("/Frank/Sinatra") # => "/Frank"
+ # @param string [String] The string to match against
+ # @return [String, nil] matched subsctring
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#153
+ def peek(string); end
+
+ # Tries to match the pattern against the beginning of the string (as opposed to the full string).
+ # Will return a MatchData or similar instance for the matched substring.
+ #
+ # @example
+ # pattern = Mustermann.new('/:name')
+ # pattern.peek("/Frank/Sinatra") # => #
+ # @param string [String] The string to match against
+ # @return [MatchData, Mustermann::SimpleMatch, nil] MatchData or similar object if the pattern matches.
+ # @see #peek_params
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#168
+ def peek_match(string); end
+
+ # Tries to match the pattern against the beginning of the string (as opposed to the full string).
+ # Will return a two element Array with the params parsed from the substring as first entry and the length of
+ # the substring as second.
+ #
+ # @example
+ # pattern = Mustermann.new('/:name')
+ # params, _ = pattern.peek_params("/Frank/Sinatra")
+ #
+ # puts "Hello, #{params['name']}!" # Hello, Frank!
+ # @param string [String] The string to match against
+ # @return [Array, nil] Array with params hash and length of substing if matched, nil otherwise
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#185
+ def peek_params(string); end
+
+ # Tries to match the pattern against the beginning of the string (as opposed to the full string).
+ # Will return the count of the matching characters if it matches.
+ #
+ # @example
+ # pattern = Mustermann.new('/:name')
+ # pattern.size("/Frank/Sinatra") # => 6
+ # @param string [String] The string to match against
+ # @return [Integer, nil] the number of characters that match
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#139
+ def peek_size(string); end
+
+ # @return [Boolean]
+ # @see Object#respond_to?
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#353
+ def respond_to?(method, *args); end
+
+ # source://mustermann//lib/mustermann/pattern.rb#371
+ def simple_inspect; end
+
+ # @example
+ # pattern = Mustermann.new('/:a/:b')
+ # strings = ["foo/bar", "/foo/bar", "/foo/bar/"]
+ # strings.detect(&pattern) # => "/foo/bar"
+ # @return [Proc] proc wrapping {#===}
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#346
+ def to_proc; end
+
+ # @return [String] the string representation of the pattern
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#82
+ def to_s; end
+
+ # Generates a list of URI template strings representing the pattern.
+ #
+ # Note that this transformation is lossy and the strings matching these
+ # templates might not match the pattern (and vice versa).
+ #
+ # This comes in quite handy since URI templates are not made for pattern matching.
+ # That way you can easily use a more precise template syntax and have it automatically
+ # generate hypermedia links for you.
+ #
+ # Template generation is supported by almost all patterns (notable exceptions are
+ # {Mustermann::Shell}, {Mustermann::Regular} and {Mustermann::Simple}).
+ # Union {Mustermann::Composite} patterns (with the | operator) support template generation
+ # if all patterns they are composed of also support it.
+ #
+ # @example generating templates
+ # Mustermann.new("/:name").to_templates # => ["/{name}"]
+ # Mustermann.new("/:foo(@:bar)?/*baz").to_templates # => ["/{foo}@{bar}/{+baz}", "/{foo}/{+baz}"]
+ # Mustermann.new("/{name}", type: :template).to_templates # => ["/{name}"]
+ # @example generating templates from composite patterns
+ # pattern = Mustermann.new('/:name')
+ # pattern |= Mustermann.new('/{name}', type: :template)
+ # pattern |= Mustermann.new('/example/*nested')
+ # pattern.to_templates # => ["/{name}", "/example/{+nested}"]
+ # @example Checking if a pattern supports expanding
+ # if pattern.respond_to? :to_templates
+ # pattern.to_templates
+ # else
+ # warn "does not support template generation"
+ # end
+ # @note This method is only implemented by certain subclasses.
+ # @raise [NotImplementedError]
+ # @return [Array] list of URI templates
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#279
+ def to_templates; end
+
+ # Returns the value of attribute uri_decode.
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#63
+ def uri_decode; end
+
+ # @overload |
+ # @overload &
+ # @overload ^
+ # @param other [Mustermann::Pattern, String] the other pattern
+ # @return [Mustermann::Pattern] a composite pattern
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#315
+ def |(other); end
+
+ private
+
+ # source://mustermann//lib/mustermann/pattern.rb#377
+ def map_param(key, value); end
+
+ # @return [Boolean]
+ # @see #respond_to?
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#361
+ def respond_to_special?(method); end
+
+ # source://mustermann//lib/mustermann/pattern.rb#382
+ def unescape(string, decode = T.unsafe(nil)); end
+
+ class << self
+ # @overload new
+ # @param string [String] the string representation of the pattern
+ # @param options [Hash] options for fine-tuning the pattern behavior
+ # @raise [ArgumentError] if some option is not supported
+ # @raise [Mustermann::Error] if the pattern can't be generated from the string
+ # @return [Mustermann::Pattern] a new instance of Mustermann::Pattern
+ # @see #initialize
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#50
+ def new(string, ignore_unknown_options: T.unsafe(nil), **options); end
+
+ # Registers the pattern with Mustermann.
+ #
+ # @see Mustermann.register
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#34
+ def register(*names); end
+
+ # @param option [Symbol] The option to check.
+ # @return [Boolean] Whether or not option is supported.
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#40
+ def supported?(option, **options); end
+
+ # List of supported options.
+ #
+ # @overload supported_options
+ # @overload supported_options
+ #
+ # source://mustermann//lib/mustermann/pattern.rb#24
+ def supported_options(*list); end
+ end
+end
+
+# source://mustermann//lib/mustermann/pattern.rb#388
+Mustermann::Pattern::ALWAYS_ARRAY = T.let(T.unsafe(nil), Array)
+
+# Superclass for patterns that internally compile to a regular expression.
+#
+# @abstract
+# @see Mustermann::Pattern
+#
+# source://mustermann//lib/mustermann/regexp_based.rb#9
+class Mustermann::RegexpBased < ::Mustermann::Pattern
+ extend ::Forwardable
+
+ # @param string [String] the string representation of the pattern
+ # @param options [Hash] options for fine-tuning the pattern behavior
+ # @return [Pattern] a new instance of Pattern
+ # @see file:README.md#Types_and_Options "Types and Options" in the README
+ # @see Mustermann.new
+ #
+ # source://mustermann//lib/mustermann/regexp_based.rb#17
+ def initialize(string, **options); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def ===(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def =~(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def match(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def named_captures(*args, **_arg1, &block); end
+
+ # source://forwardable/1.3.3/forwardable.rb#231
+ def names(*args, **_arg1, &block); end
+
+ # @param string [String] The string to match against
+ # @return [MatchData, Mustermann::SimpleMatch, nil] MatchData or similar object if the pattern matches.
+ # @see #peek_params
+ #
+ # source://mustermann//lib/mustermann/regexp_based.rb#35
+ def peek_match(string); end
+
+ # @param string [String] The string to match against
+ # @return [Integer, nil] the number of characters that match
+ #
+ # source://mustermann//lib/mustermann/regexp_based.rb#27
+ def peek_size(string); end
+
+ # @return [Regexp] regular expression equivalent to the pattern.
+ #
+ # source://mustermann//lib/mustermann/regexp_based.rb#11
+ def regexp; end
+
+ # @return [Regexp] regular expression equivalent to the pattern.
+ #
+ # source://mustermann//lib/mustermann/regexp_based.rb#11
+ def to_regexp; end
+
+ private
+
+ # @raise [NotImplementedError]
+ #
+ # source://mustermann//lib/mustermann/regexp_based.rb#42
+ def compile(**options); end
+end
+
+# Regexp pattern implementation.
+#
+# @example
+# Mustermann.new('/.*', type: :regexp) === '/bar' # => true
+# @see Mustermann::Pattern
+# @see file:README.md#simple Syntax description in the README
+#
+# source://mustermann//lib/mustermann/regular.rb#14
+class Mustermann::Regular < ::Mustermann::RegexpBased
+ include ::Mustermann::Concat::Native
+
+ # @param string [String] the string representation of the pattern
+ # @param options [Hash] options for fine-tuning the pattern behavior
+ # @return [Pattern] a new instance of Pattern
+ # @see file:README.md#Types_and_Options "Types and Options" in the README
+ # @see Mustermann.new
+ #
+ # source://mustermann//lib/mustermann/regular.rb#22
+ def initialize(string, check_anchors: T.unsafe(nil), **options); end
+
+ private
+
+ # @raise [CompileError]
+ #
+ # source://mustermann//lib/mustermann/regular.rb#38
+ def check_anchors(scanner); end
+
+ # source://mustermann//lib/mustermann/regular.rb#29
+ def compile(**options); end
+
+ # @return [Boolean]
+ #
+ # source://mustermann//lib/mustermann/regular.rb#44
+ def extended_regexp?(string); end
+end
+
+# Fakes MatchData for patterns that do not support capturing.
+#
+# @see http://ruby-doc.org/core-2.0/MatchData.html MatchData
+#
+# source://mustermann//lib/mustermann/simple_match.rb#5
+class Mustermann::SimpleMatch
+ # @api private
+ # @return [SimpleMatch] a new instance of SimpleMatch
+ #
+ # source://mustermann//lib/mustermann/simple_match.rb#7
+ def initialize(string = T.unsafe(nil), names: T.unsafe(nil), captures: T.unsafe(nil)); end
+
+ # source://mustermann//lib/mustermann/simple_match.rb#38
+ def +(other); end
+
+ # @return [nil] imitates MatchData interface
+ #
+ # source://mustermann//lib/mustermann/simple_match.rb#29
+ def [](*args); end
+
+ # @return [Array] empty array for imitating MatchData interface
+ #
+ # source://mustermann//lib/mustermann/simple_match.rb#24
+ def captures; end
+
+ # @return [String] string representation
+ #
+ # source://mustermann//lib/mustermann/simple_match.rb#45
+ def inspect; end
+
+ # @return [Array] empty array for imitating MatchData interface
+ #
+ # source://mustermann//lib/mustermann/simple_match.rb#19
+ def names; end
+
+ # @return [String] the string that was matched against
+ #
+ # source://mustermann//lib/mustermann/simple_match.rb#14
+ def to_s; end
+end
+
+# Sinatra 2.0 style pattern implementation.
+#
+# @example
+# Mustermann.new('/:foo') === '/bar' # => true
+# @see Mustermann::Pattern
+# @see file:README.md#sinatra Syntax description in the README
+#
+# source://mustermann//lib/mustermann/sinatra/parser.rb#3
+class Mustermann::Sinatra < ::Mustermann::AST::Pattern
+ include ::Mustermann::Concat::Native
+
+ # Generates a string represenation of the pattern that can safely be used for def interpolation
+ # without changing its semantics.
+ #
+ # @example
+ # require 'mustermann'
+ # unsafe = Mustermann.new("/:name")
+ #
+ # Mustermann.new("#{unsafe}bar").params("/foobar") # => { "namebar" => "foobar" }
+ # Mustermann.new("#{unsafe.safe_string}bar").params("/foobar") # => { "name" => "bar" }
+ # @return [String] string representatin of the pattern
+ #
+ # source://mustermann//lib/mustermann/sinatra.rb#76
+ def safe_string; end
+
+ # Creates a pattern that matches any string matching either one of the patterns.
+ # If a string is supplied, it is treated as a fully escaped Sinatra pattern.
+ #
+ # If the other pattern is also a Sintara pattern, it might join the two to a third
+ # sinatra pattern instead of generating a composite for efficiency reasons.
+ #
+ # This only happens if the sinatra pattern behaves exactly the same as a composite
+ # would in regards to matching, parsing, expanding and template generation.
+ #
+ # @example
+ # pattern = Mustermann.new('/foo/:name') | Mustermann.new('/:first/:second')
+ # pattern === '/foo/bar' # => true
+ # pattern === '/fox/bar' # => true
+ # pattern === '/foo' # => false
+ # @param other [Mustermann::Pattern, String] the other pattern
+ # @return [Mustermann::Pattern] a composite pattern
+ # @see Mustermann::Pattern#|
+ #
+ # source://mustermann//lib/mustermann/sinatra.rb#59
+ def |(other); end
+
+ private
+
+ # source://mustermann//lib/mustermann/sinatra.rb#81
+ def native_concat(other); end
+
+ class << self
+ # Takes a string and espaces any characters that have special meaning for Sinatra patterns.
+ #
+ # @example
+ # require 'mustermann/sinatra'
+ # Mustermann::Sinatra.escape("/:name") # => "/\\:name"
+ # @param string [#to_s] the input string
+ # @return [String] the escaped string
+ #
+ # source://mustermann//lib/mustermann/sinatra.rb#29
+ def escape(string); end
+
+ # Tries to convert the given input object to a Sinatra pattern with the given options, without
+ # changing its parsing semantics.
+ #
+ # @return [Mustermann::Sinatra, nil] the converted pattern, if possible
+ #
+ # source://mustermann//lib/mustermann/sinatra.rb#37
+ def try_convert(input, **options); end
+ end
+end
+
+# Sinatra syntax definition.
+#
+# source://mustermann//lib/mustermann/sinatra/parser.rb#6
+class Mustermann::Sinatra::Parser < ::Mustermann::AST::Parser; end
+
+# Generates a string that can safely be concatenated with other strings
+# without chaning its semantics
+#
+# @see #safe_string
+#
+# source://mustermann//lib/mustermann/sinatra/safe_renderer.rb#8
+Mustermann::Sinatra::SafeRenderer = T.let(T.unsafe(nil), T.untyped)
+
+# Tries to translate objects to Sinatra patterns.
+#
+# source://mustermann//lib/mustermann/sinatra/try_convert.rb#6
+class Mustermann::Sinatra::TryConvert < ::Mustermann::AST::Translator
+ # @return [TryConvert] a new instance of TryConvert
+ #
+ # source://mustermann//lib/mustermann/sinatra/try_convert.rb#18
+ def initialize(options); end
+
+ # @return [Mustermann::Sinatra]
+ #
+ # source://mustermann//lib/mustermann/sinatra/try_convert.rb#24
+ def new(input, escape = T.unsafe(nil)); end
+
+ # Expected options for the resulting pattern.
+ #
+ # source://mustermann//lib/mustermann/sinatra/try_convert.rb#15
+ def options; end
+
+ # @return [true, false] whether or not expected pattern should have uri_decode option set
+ #
+ # source://mustermann//lib/mustermann/sinatra/try_convert.rb#31
+ def uri_decode; end
+
+ class << self
+ # @return [Mustermann::Sinatra, nil]
+ #
+ # source://mustermann//lib/mustermann/sinatra/try_convert.rb#9
+ def convert(input, **options); end
+ end
+end
+
+# source://mustermann//lib/mustermann/sinatra/try_convert.rb#0
+class Mustermann::Sinatra::TryConvert::NodeTranslator < ::Mustermann::AST::Translator::NodeTranslator
+ class << self
+ # source://mustermann//lib/mustermann/ast/translator.rb#62
+ def translator; end
+ end
+end
diff --git a/sorbet/rbi/gems/mutex_m@0.2.0.rbi b/sorbet/rbi/gems/mutex_m@0.3.0.rbi
similarity index 69%
rename from sorbet/rbi/gems/mutex_m@0.2.0.rbi
rename to sorbet/rbi/gems/mutex_m@0.3.0.rbi
index 50aa69893..1fde43f7a 100644
--- a/sorbet/rbi/gems/mutex_m@0.2.0.rbi
+++ b/sorbet/rbi/gems/mutex_m@0.3.0.rbi
@@ -12,7 +12,7 @@
#
# Start by requiring the standard library Mutex_m:
#
-# require "mutex_m.rb"
+# require "mutex_m"
#
# From here you can extend an object with Mutex instance methods:
#
@@ -32,61 +32,66 @@
# end
# obj = Foo.new
# # this obj can be handled like Mutex
+#
+# source://mutex_m//lib/mutex_m.rb#41
module Mutex_m
- # source://mutex_m//mutex_m.rb#111
+ # source://mutex_m//lib/mutex_m.rb#116
def initialize(*args, **_arg1); end
- # source://mutex_m//mutex_m.rb#64
+ # source://mutex_m//lib/mutex_m.rb#69
def mu_extended; end
# See Thread::Mutex#lock
#
- # source://mutex_m//mutex_m.rb#91
+ # source://mutex_m//lib/mutex_m.rb#96
def mu_lock; end
# See Thread::Mutex#locked?
#
# @return [Boolean]
#
- # source://mutex_m//mutex_m.rb#81
+ # source://mutex_m//lib/mutex_m.rb#86
def mu_locked?; end
# See Thread::Mutex#synchronize
#
- # source://mutex_m//mutex_m.rb#76
+ # source://mutex_m//lib/mutex_m.rb#81
def mu_synchronize(&block); end
# See Thread::Mutex#try_lock
#
- # source://mutex_m//mutex_m.rb#86
+ # source://mutex_m//lib/mutex_m.rb#91
def mu_try_lock; end
# See Thread::Mutex#unlock
#
- # source://mutex_m//mutex_m.rb#96
+ # source://mutex_m//lib/mutex_m.rb#101
def mu_unlock; end
# See Thread::Mutex#sleep
#
- # source://mutex_m//mutex_m.rb#101
+ # source://mutex_m//lib/mutex_m.rb#106
def sleep(timeout = T.unsafe(nil)); end
private
- # source://mutex_m//mutex_m.rb#107
+ # source://mutex_m//lib/mutex_m.rb#112
def mu_initialize; end
class << self
- # source://mutex_m//mutex_m.rb#54
+ # source://mutex_m//lib/mutex_m.rb#59
def append_features(cl); end
- # source://mutex_m//mutex_m.rb#46
+ # source://mutex_m//lib/mutex_m.rb#46
def define_aliases(cl); end
- # source://mutex_m//mutex_m.rb#59
+ # source://mutex_m//lib/mutex_m.rb#64
def extend_object(obj); end
+
+ # source://mutex_m//lib/mutex_m.rb#54
+ def prepend_features(cl); end
end
end
-# source://mutex_m//mutex_m.rb#43
+# source://mutex_m//lib/mutex_m.rb#43
Mutex_m::VERSION = T.let(T.unsafe(nil), String)
diff --git a/sorbet/rbi/gems/rack-protection@4.0.0.rbi b/sorbet/rbi/gems/rack-protection@4.2.0.rbi
similarity index 86%
rename from sorbet/rbi/gems/rack-protection@4.0.0.rbi
rename to sorbet/rbi/gems/rack-protection@4.2.0.rbi
index 33f7c0d41..7dfbed368 100644
--- a/sorbet/rbi/gems/rack-protection@4.0.0.rbi
+++ b/sorbet/rbi/gems/rack-protection@4.2.0.rbi
@@ -8,7 +8,7 @@
# source://rack-protection//lib/rack/protection/version.rb#3
module Rack
class << self
- # source://rack/3.1.7/lib/rack/version.rb#18
+ # source://rack/3.2.4/lib/rack/version.rb#14
def release; end
end
end
@@ -16,7 +16,7 @@ end
# source://rack-protection//lib/rack/protection/version.rb#4
module Rack::Protection
class << self
- # source://rack-protection//lib/rack/protection.rb#26
+ # source://rack-protection//lib/rack/protection.rb#27
def new(app, options = T.unsafe(nil)); end
end
end
@@ -59,15 +59,15 @@ end
# Install the gem, then run the program:
#
# gem install 'rack-protection'
-# ruby server.rb
+# puma server.ru
#
-# Here is server.rb:
+# Here is server.ru:
#
# require 'rack/protection'
# require 'rack/session'
#
# app = Rack::Builder.app do
-# use Rack::Session::Cookie, secret: 'secret'
+# use Rack::Session::Cookie, secret: 'CHANGEMEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
# use Rack::Protection::AuthenticityToken
#
# run -> (env) do
@@ -101,7 +101,7 @@ end
# end
# end
#
-# Rack::Handler::WEBrick.run app
+# run app
#
# == Example: Customize which POST parameter holds the token
#
@@ -223,27 +223,30 @@ class Rack::Protection::Base
# source://rack-protection//lib/rack/protection/base.rb#48
def call(env); end
+ # source://rack-protection//lib/rack/protection/base.rb#61
+ def debug(env, message); end
+
# source://rack-protection//lib/rack/protection/base.rb#31
def default_options; end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def default_reaction(env); end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def deny(env); end
- # source://rack-protection//lib/rack/protection/base.rb#95
+ # source://rack-protection//lib/rack/protection/base.rb#102
def drop_session(env); end
- # source://rack-protection//lib/rack/protection/base.rb#123
+ # source://rack-protection//lib/rack/protection/base.rb#130
def encrypt(value); end
# @return [Boolean]
#
- # source://rack-protection//lib/rack/protection/base.rb#133
+ # source://rack-protection//lib/rack/protection/base.rb#140
def html?(headers); end
- # source://rack-protection//lib/rack/protection/base.rb#68
+ # source://rack-protection//lib/rack/protection/base.rb#75
def instrument(env); end
# Returns the value of attribute options.
@@ -251,19 +254,19 @@ class Rack::Protection::Base
# source://rack-protection//lib/rack/protection/base.rb#21
def options; end
- # source://rack-protection//lib/rack/protection/base.rb#113
+ # source://rack-protection//lib/rack/protection/base.rb#120
def origin(env); end
- # source://rack-protection//lib/rack/protection/base.rb#117
+ # source://rack-protection//lib/rack/protection/base.rb#124
def random_string(secure = T.unsafe(nil)); end
# source://rack-protection//lib/rack/protection/base.rb#56
def react(env); end
- # source://rack-protection//lib/rack/protection/base.rb#105
+ # source://rack-protection//lib/rack/protection/base.rb#112
def referrer(env); end
- # source://rack-protection//lib/rack/protection/base.rb#80
+ # source://rack-protection//lib/rack/protection/base.rb#87
def report(env); end
# @return [Boolean]
@@ -271,18 +274,18 @@ class Rack::Protection::Base
# source://rack-protection//lib/rack/protection/base.rb#40
def safe?(env); end
- # source://rack-protection//lib/rack/protection/base.rb#127
+ # source://rack-protection//lib/rack/protection/base.rb#134
def secure_compare(a, b); end
- # source://rack-protection//lib/rack/protection/base.rb#89
+ # source://rack-protection//lib/rack/protection/base.rb#96
def session(env); end
# @return [Boolean]
#
- # source://rack-protection//lib/rack/protection/base.rb#85
+ # source://rack-protection//lib/rack/protection/base.rb#92
def session?(env); end
- # source://rack-protection//lib/rack/protection/base.rb#61
+ # source://rack-protection//lib/rack/protection/base.rb#68
def warn(env, message); end
class << self
@@ -373,7 +376,7 @@ class Rack::Protection::CookieTossing < ::Rack::Protection::Base
# source://rack-protection//lib/rack/protection/cookie_tossing.rb#61
def cookie_paths(path); end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def default_reaction(env); end
# source://rack-protection//lib/rack/protection/cookie_tossing.rb#68
@@ -432,7 +435,7 @@ class Rack::Protection::EscapedParams < ::Rack::Protection::Base
private
- # source://rack/3.1.7/lib/rack/utils.rb#39
+ # source://rack/3.2.4/lib/rack/utils.rb#40
def escape_url(s); end
end
end
@@ -483,6 +486,73 @@ class Rack::Protection::FrameOptions < ::Rack::Protection::Base
def frame_options; end
end
+# Prevented attack:: DNS rebinding and other Host header attacks
+# Supported browsers:: all
+# More infos:: https://en.wikipedia.org/wiki/DNS_rebinding
+# https://portswigger.net/web-security/host-header
+#
+# Blocks HTTP requests with an unrecognized hostname in any of the following
+# HTTP headers: Host, X-Forwarded-Host, Forwarded
+#
+# If you want to permit a specific hostname, you can pass in as the `:permitted_hosts` option:
+#
+# use Rack::Protection::HostAuthorization, permitted_hosts: ["www.example.org", "sinatrarb.com"]
+#
+# The `:allow_if` option can also be set to a proc to use custom allow/deny logic.
+#
+# source://rack-protection//lib/rack/protection/host_authorization.rb#22
+class Rack::Protection::HostAuthorization < ::Rack::Protection::Base
+ # @return [HostAuthorization] a new instance of HostAuthorization
+ #
+ # source://rack-protection//lib/rack/protection/host_authorization.rb#33
+ def initialize(*_arg0); end
+
+ # @return [Boolean]
+ #
+ # source://rack-protection//lib/rack/protection/host_authorization.rb#55
+ def accepts?(env); end
+
+ # source://rack-protection//lib/rack/protection/base.rb#24
+ def default_options; end
+
+ # source://rack-protection//lib/rack/protection/base.rb#82
+ def default_reaction(env); end
+
+ private
+
+ # @return [Boolean]
+ #
+ # source://rack-protection//lib/rack/protection/host_authorization.rb#96
+ def domain_match?(host); end
+
+ # @return [Boolean]
+ #
+ # source://rack-protection//lib/rack/protection/host_authorization.rb#92
+ def exact_match?(host); end
+
+ # source://rack-protection//lib/rack/protection/host_authorization.rb#84
+ def extract_host(authority); end
+
+ # @return [Boolean]
+ #
+ # source://rack-protection//lib/rack/protection/host_authorization.rb#88
+ def host_permitted?(host); end
+
+ # @return [Boolean]
+ #
+ # source://rack-protection//lib/rack/protection/host_authorization.rb#103
+ def ip_match?(host); end
+end
+
+# source://rack-protection//lib/rack/protection/host_authorization.rb#23
+Rack::Protection::HostAuthorization::DOT = T.let(T.unsafe(nil), String)
+
+# source://rack-protection//lib/rack/protection/host_authorization.rb#24
+Rack::Protection::HostAuthorization::PORT_REGEXP = T.let(T.unsafe(nil), Regexp)
+
+# source://rack-protection//lib/rack/protection/host_authorization.rb#25
+Rack::Protection::HostAuthorization::SUBDOMAINS = T.let(T.unsafe(nil), Regexp)
+
# Prevented attack:: CSRF
# Supported browsers:: Google Chrome 2, Safari 4 and later
# More infos:: http://en.wikipedia.org/wiki/Cross-site_request_forgery
@@ -510,7 +580,7 @@ class Rack::Protection::HttpOrigin < ::Rack::Protection::Base
# source://rack-protection//lib/rack/protection/base.rb#24
def default_options; end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def default_reaction(env); end
end
@@ -530,7 +600,7 @@ class Rack::Protection::IPSpoofing < ::Rack::Protection::Base
# source://rack-protection//lib/rack/protection/ip_spoofing.rb#16
def accepts?(env); end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def default_reaction(env); end
end
@@ -564,7 +634,7 @@ class Rack::Protection::JsonCsrf < ::Rack::Protection::Base
# source://rack-protection//lib/rack/protection/json_csrf.rb#39
def has_vector?(request, headers); end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def react(env); end
# source://rack-protection//lib/rack/protection/json_csrf.rb#47
@@ -620,7 +690,7 @@ class Rack::Protection::RemoteReferrer < ::Rack::Protection::Base
# source://rack-protection//lib/rack/protection/remote_referrer.rb#17
def accepts?(env); end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def default_reaction(env); end
end
@@ -640,7 +710,7 @@ class Rack::Protection::RemoteToken < ::Rack::Protection::AuthenticityToken
# source://rack-protection//lib/rack/protection/remote_token.rb#19
def accepts?(env); end
- # source://rack-protection//lib/rack/protection/base.rb#75
+ # source://rack-protection//lib/rack/protection/base.rb#82
def default_reaction(env); end
end
@@ -663,7 +733,7 @@ class Rack::Protection::SessionHijacking < ::Rack::Protection::Base
# source://rack-protection//lib/rack/protection/base.rb#24
def default_options; end
- # source://rack-protection//lib/rack/protection/base.rb#95
+ # source://rack-protection//lib/rack/protection/base.rb#102
def default_reaction(env); end
# source://rack-protection//lib/rack/protection/session_hijacking.rb#32
diff --git a/sorbet/rbi/gems/rack-test@2.1.0.rbi b/sorbet/rbi/gems/rack-test@2.2.0.rbi
similarity index 93%
rename from sorbet/rbi/gems/rack-test@2.1.0.rbi
rename to sorbet/rbi/gems/rack-test@2.2.0.rbi
index 426807abb..0bef60f5e 100644
--- a/sorbet/rbi/gems/rack-test@2.1.0.rbi
+++ b/sorbet/rbi/gems/rack-test@2.2.0.rbi
@@ -8,7 +8,7 @@
# source://rack-test//lib/rack/test/cookie_jar.rb#6
module Rack
class << self
- # source://rack/3.1.7/lib/rack/version.rb#18
+ # source://rack/3.2.4/lib/rack/version.rb#14
def release; end
end
end
@@ -44,7 +44,7 @@ class Rack::Test::Cookie
# Order cookies by name, path, and domain.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#107
+ # source://rack-test//lib/rack/test/cookie_jar.rb#106
def <=>(other); end
# The explicit or implicit domain for the cookie.
@@ -83,7 +83,7 @@ class Rack::Test::Cookie
#
# @return [Boolean]
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#102
+ # source://rack-test//lib/rack/test/cookie_jar.rb#101
def matches?(uri); end
# The name of the cookie, will be a string
@@ -119,12 +119,12 @@ class Rack::Test::Cookie
# A hash of cookie options, including the cookie value, but excluding the cookie name.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#112
+ # source://rack-test//lib/rack/test/cookie_jar.rb#111
def to_h; end
# A hash of cookie options, including the cookie value, but excluding the cookie name.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#112
+ # source://rack-test//lib/rack/test/cookie_jar.rb#111
def to_hash; end
# Whether the cookie is valid for the given URI.
@@ -143,7 +143,7 @@ class Rack::Test::Cookie
# The default URI to use for the cookie, including just the host.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#124
+ # source://rack-test//lib/rack/test/cookie_jar.rb#125
def default_uri; end
end
@@ -152,57 +152,57 @@ end
# request. This is considered private API and behavior of this
# class can change at any time.
#
-# source://rack-test//lib/rack/test/cookie_jar.rb#133
+# source://rack-test//lib/rack/test/cookie_jar.rb#134
class Rack::Test::CookieJar
# @return [CookieJar] a new instance of CookieJar
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#136
+ # source://rack-test//lib/rack/test/cookie_jar.rb#137
def initialize(cookies = T.unsafe(nil), default_host = T.unsafe(nil)); end
# Add a Cookie to the cookie jar.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#198
+ # source://rack-test//lib/rack/test/cookie_jar.rb#197
def <<(new_cookie); end
# Return the value for first cookie with the given name, or nil
# if no such cookie exists.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#149
+ # source://rack-test//lib/rack/test/cookie_jar.rb#150
def [](name); end
# Set a cookie with the given name and value in the
# cookie jar.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#159
+ # source://rack-test//lib/rack/test/cookie_jar.rb#160
def []=(name, value); end
# Delete all cookies with the given name from the cookie jar.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#173
+ # source://rack-test//lib/rack/test/cookie_jar.rb#174
def delete(name); end
# Return a raw cookie string for the cookie header to
# use for the given URI.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#209
+ # source://rack-test//lib/rack/test/cookie_jar.rb#208
def for(uri); end
# Return the first cookie with the given name, or nil if
# no such cookie exists.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#165
+ # source://rack-test//lib/rack/test/cookie_jar.rb#166
def get_cookie(name); end
# Add a string of raw cookie information to the cookie jar,
# if the cookie is valid for the given URI.
# Cookies should be separated with a newline.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#183
+ # source://rack-test//lib/rack/test/cookie_jar.rb#184
def merge(raw_cookies, uri = T.unsafe(nil)); end
# Return a hash cookie names and cookie values for cookies in the jar.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#226
+ # source://rack-test//lib/rack/test/cookie_jar.rb#225
def to_hash; end
private
@@ -215,16 +215,16 @@ class Rack::Test::CookieJar
# so that when we are done, the cookies will be unique by name and
# we'll have grabbed the most specific to the URI.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#245
+ # source://rack-test//lib/rack/test/cookie_jar.rb#244
def each_cookie_for(uri); end
# Ensure the copy uses a distinct cookies array.
#
- # source://rack-test//lib/rack/test/cookie_jar.rb#142
+ # source://rack-test//lib/rack/test/cookie_jar.rb#143
def initialize_copy(other); end
end
-# source://rack-test//lib/rack/test/cookie_jar.rb#134
+# source://rack-test//lib/rack/test/cookie_jar.rb#135
Rack::Test::CookieJar::DELIMITER = T.let(T.unsafe(nil), String)
# The default host to use for requests, when a full URI is not
@@ -667,33 +667,20 @@ class Rack::Test::UploadedFile
# Create a tempfile and copy the content from the given path into the tempfile, optionally renaming if
# original_filename has been set.
#
- # source://rack-test//lib/rack/test/uploaded_file.rb#98
+ # source://rack-test//lib/rack/test/uploaded_file.rb#86
def initialize_from_file_path(path); end
# Use the StringIO as the tempfile.
#
# @raise [ArgumentError]
#
- # source://rack-test//lib/rack/test/uploaded_file.rb#90
+ # source://rack-test//lib/rack/test/uploaded_file.rb#78
def initialize_from_stringio(stringio); end
# @return [Boolean]
#
# source://rack-test//lib/rack/test/uploaded_file.rb#71
def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
-
- class << self
- # Close and unlink the given file, used as a finalizer for the tempfile,
- # if the tempfile is backed by a file in the filesystem.
- #
- # source://rack-test//lib/rack/test/uploaded_file.rb#82
- def actually_finalize(file); end
-
- # A proc that can be used as a finalizer to close and unlink the tempfile.
- #
- # source://rack-test//lib/rack/test/uploaded_file.rb#76
- def finalize(file); end
- end
end
# source://rack-test//lib/rack/test/utils.rb#5
diff --git a/sorbet/rbi/gems/rack@3.2.3.rbi b/sorbet/rbi/gems/rack@3.2.4.rbi
similarity index 100%
rename from sorbet/rbi/gems/rack@3.2.3.rbi
rename to sorbet/rbi/gems/rack@3.2.4.rbi
diff --git a/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi b/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi
similarity index 84%
rename from sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi
rename to sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi
index bfacc4869..d24b62cae 100644
--- a/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi
+++ b/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi
@@ -8,70 +8,70 @@
# source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#3
module Rails
class << self
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def app_class; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def app_class=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#43
+ # source://railties/7.1.5.2/lib/rails.rb#43
def application; end
- # source://railties/7.1.3.4/lib/rails.rb#41
+ # source://railties/7.1.5.2/lib/rails.rb#41
def application=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#123
+ # source://railties/7.1.5.2/lib/rails.rb#123
def autoloaders; end
- # source://railties/7.1.3.4/lib/rails.rb#54
+ # source://railties/7.1.5.2/lib/rails.rb#54
def backtrace_cleaner; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def cache; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def cache=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#50
+ # source://railties/7.1.5.2/lib/rails.rb#50
def configuration; end
- # source://railties/7.1.3.4/lib/rails/deprecator.rb#4
+ # source://railties/7.1.5.2/lib/rails/deprecator.rb#4
def deprecator; end
- # source://railties/7.1.3.4/lib/rails.rb#72
+ # source://railties/7.1.5.2/lib/rails.rb#72
def env; end
- # source://railties/7.1.3.4/lib/rails.rb#79
+ # source://railties/7.1.5.2/lib/rails.rb#79
def env=(environment); end
- # source://railties/7.1.3.4/lib/rails.rb#90
+ # source://railties/7.1.5.2/lib/rails.rb#90
def error; end
- # source://railties/7.1.3.4/lib/rails/gem_version.rb#5
+ # source://railties/7.1.5.2/lib/rails/gem_version.rb#5
def gem_version; end
- # source://railties/7.1.3.4/lib/rails.rb#103
+ # source://railties/7.1.5.2/lib/rails.rb#103
def groups(*groups); end
- # source://railties/7.1.3.4/lib/rails.rb#47
+ # source://railties/7.1.5.2/lib/rails.rb#47
def initialize!(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.3.4/lib/rails.rb#47
+ # source://railties/7.1.5.2/lib/rails.rb#47
def initialized?(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def logger; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def logger=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#119
+ # source://railties/7.1.5.2/lib/rails.rb#119
def public_path; end
- # source://railties/7.1.3.4/lib/rails.rb#63
+ # source://railties/7.1.5.2/lib/rails.rb#63
def root; end
- # source://railties/7.1.3.4/lib/rails/version.rb#7
+ # source://railties/7.1.5.2/lib/rails/version.rb#7
def version; end
end
end
@@ -180,37 +180,67 @@ module Rails::Dom::Testing::Assertions::DomAssertions
# source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#68
def assert_dom_not_equal(expected, actual, message = T.unsafe(nil), strict: T.unsafe(nil), html_version: T.unsafe(nil)); end
+ # The negated form of +assert_dom_equal+.
+ #
+ # # assert that the referenced method does not generate the specified HTML string
+ # assert_dom_not_equal(
+ # 'Apples',
+ # link_to("Oranges", "http://www.example.com"),
+ # )
+ #
+ # By default, the matcher will not pay attention to whitespace in text nodes (e.g., spaces
+ # and newlines). If you want stricter matching with exact matching for whitespace, pass
+ # strict: true:
+ #
+ # # these assertions will both pass
+ # assert_dom_equal "
\nfoo\n\
", "
foo
", strict: false
+ # assert_dom_not_equal "
\nfoo\n\
", "
foo
", strict: true
+ #
+ # The DOMs are created using an HTML parser specified by
+ # Rails::Dom::Testing.default_html_version (either :html4 or :html5).
+ #
+ # When testing in a Rails application, the parser default can also be set by setting
+ # +Rails.application.config.dom_testing_default_html_version+.
+ #
+ # If you want to specify the HTML parser just for a particular assertion, pass
+ # html_version: :html4 or html_version: :html5 keyword arguments:
+ #
+ # assert_dom_not_equal expected, actual, html_version: :html5
+ #
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#68
+ def refute_dom_equal(expected, actual, message = T.unsafe(nil), strict: T.unsafe(nil), html_version: T.unsafe(nil)); end
+
protected
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#75
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#76
def compare_doms(expected, actual, strict); end
# @return [Boolean]
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#128
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#129
def equal_attribute?(attr, other_attr); end
# @return [Boolean]
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#115
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#116
def equal_attribute_nodes?(nodes, other_nodes); end
# @return [Boolean]
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#107
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#108
def equal_child?(child, other_child, strict); end
# @return [Boolean]
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#95
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#96
def equal_children?(child, other_child, strict); end
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#87
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#88
def extract_children(node, strict); end
private
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#133
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#134
def fragment(text, html_version: T.unsafe(nil)); end
end
@@ -361,7 +391,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions
# assert_dom "h1", "Email alert"
# end
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#285
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#318
def assert_dom_email(html_version: T.unsafe(nil), &block); end
# Extracts the content of an element, treats it as encoded HTML and runs
@@ -414,9 +444,41 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions
# end
# end
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#232
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#265
def assert_dom_encoded(element = T.unsafe(nil), html_version: T.unsafe(nil), &block); end
+ # The negated form of +assert_dom+.
+ #
+ # === Equality Tests
+ #
+ # Supports the same equality tests as +assert_dom+ except for:
+ # * true
+ # * false
+ # * Integer
+ # * Range
+ # * :count
+ # * :minimum
+ # * :maximum
+ #
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#183
+ def assert_not_dom(*args, &block); end
+
+ # The negated form of +assert_dom+.
+ #
+ # === Equality Tests
+ #
+ # Supports the same equality tests as +assert_dom+ except for:
+ # * true
+ # * false
+ # * Integer
+ # * Range
+ # * :count
+ # * :minimum
+ # * :maximum
+ #
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#183
+ def assert_not_select(*args, &block); end
+
# An assertion that selects elements and makes one or more equality tests.
#
# If the first argument is an element, selects all matching elements
@@ -549,7 +611,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions
# assert_dom "h1", "Email alert"
# end
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#285
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#318
def assert_select_email(html_version: T.unsafe(nil), &block); end
# Extracts the content of an element, treats it as encoded HTML and runs
@@ -602,7 +664,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions
# end
# end
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#232
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#265
def assert_select_encoded(element = T.unsafe(nil), html_version: T.unsafe(nil), &block); end
# Select and return all matching elements.
@@ -647,28 +709,63 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions
# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#58
def css_select(*args); end
+ # The negated form of +assert_dom+.
+ #
+ # === Equality Tests
+ #
+ # Supports the same equality tests as +assert_dom+ except for:
+ # * true
+ # * false
+ # * Integer
+ # * Range
+ # * :count
+ # * :minimum
+ # * :maximum
+ #
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#183
+ def refute_dom(*args, &block); end
+
+ # The negated form of +assert_dom+.
+ #
+ # === Equality Tests
+ #
+ # Supports the same equality tests as +assert_dom+ except for:
+ # * true
+ # * false
+ # * Integer
+ # * Range
+ # * :count
+ # * :minimum
+ # * :maximum
+ #
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#183
+ def refute_select(*args, &block); end
+
private
# +equals+ must contain :minimum, :maximum and :count keys
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#307
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#340
def assert_size_match!(size, equals, css_selector, message = T.unsafe(nil)); end
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#319
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#352
def count_description(min, max, count); end
# @raise [NotImplementedError]
#
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#301
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#334
def document_root_element; end
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#335
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#193
+ def dom_assertions(selector, &block); end
+
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#368
def nest_selection(selection); end
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#344
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#377
def nodeset(node); end
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#331
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#364
def pluralize_element(quantity); end
end
@@ -679,7 +776,7 @@ class Rails::Dom::Testing::Assertions::SelectorAssertions::HTMLSelector
# @return [HTMLSelector] a new instance of HTMLSelector
#
# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#17
- def initialize(values, previous_selection = T.unsafe(nil), &root_fallback); end
+ def initialize(values, previous_selection = T.unsafe(nil), refute: T.unsafe(nil), &root_fallback); end
# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#46
def context; end
@@ -709,13 +806,16 @@ class Rails::Dom::Testing::Assertions::SelectorAssertions::HTMLSelector
private
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#100
- def extract_equality_tests; end
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#146
+ def collapse_html_whitespace!(text); end
+
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#102
+ def extract_equality_tests(refute); end
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#72
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#74
def extract_root(previous_selection, root_fallback); end
- # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#89
+ # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#91
def extract_selectors; end
# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#48
diff --git a/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi b/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi
similarity index 86%
rename from sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi
rename to sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi
index ab7a3fdfd..14c1ed4cd 100644
--- a/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi
+++ b/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi
@@ -8,16 +8,16 @@
# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#14
module ActionView
class << self
- # source://actionview/7.1.3.4/lib/action_view/deprecator.rb#4
+ # source://actionview/7.1.5.2/lib/action_view/deprecator.rb#4
def deprecator; end
- # source://actionview/7.1.3.4/lib/action_view.rb#93
+ # source://actionview/7.1.5.2/lib/action_view.rb#93
def eager_load!; end
- # source://actionview/7.1.3.4/lib/action_view/gem_version.rb#5
+ # source://actionview/7.1.5.2/lib/action_view/gem_version.rb#5
def gem_version; end
- # source://actionview/7.1.3.4/lib/action_view/version.rb#7
+ # source://actionview/7.1.5.2/lib/action_view/version.rb#7
def version; end
end
end
@@ -37,7 +37,7 @@ module ActionView::Helpers
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
class << self
- # source://actionview/7.1.3.4/lib/action_view/helpers.rb#35
+ # source://actionview/7.1.5.2/lib/action_view/helpers.rb#35
def eager_load!; end
end
end
@@ -46,54 +46,54 @@ end
module ActionView::Helpers::SanitizeHelper
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#111
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#111
def sanitize(html, options = T.unsafe(nil)); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#116
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#116
def sanitize_css(style); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#12
def sanitizer_vendor; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#12
def sanitizer_vendor=(val); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#150
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#150
def strip_links(html); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#133
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#133
def strip_tags(html); end
class << self
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#12
def sanitizer_vendor; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#12
def sanitizer_vendor=(val); end
end
end
# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#17
module ActionView::Helpers::SanitizeHelper::ClassMethods
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#175
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#175
def full_sanitizer; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#155
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#155
def full_sanitizer=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#185
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#185
def link_sanitizer; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#155
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#155
def link_sanitizer=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#195
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#195
def safe_list_sanitizer; end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#155
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#155
def safe_list_sanitizer=(_arg0); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#165
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#165
def sanitized_allowed_attributes; end
# Replaces the allowed HTML attributes for the +sanitize+ helper.
@@ -123,7 +123,7 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48
def sanitized_allowed_protocols=(_); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#161
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#161
def sanitized_allowed_tags; end
# Replaces the allowed tags for the +sanitize+ helper.
@@ -159,7 +159,7 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48
def sanitized_uri_attributes=(_); end
- # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#157
+ # source://actionview/7.1.5.2/lib/action_view/helpers/sanitize_helper.rb#157
def sanitizer_vendor; end
private
@@ -171,70 +171,70 @@ end
# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#3
module Rails
class << self
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def app_class; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def app_class=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#43
+ # source://railties/7.1.5.2/lib/rails.rb#43
def application; end
- # source://railties/7.1.3.4/lib/rails.rb#41
+ # source://railties/7.1.5.2/lib/rails.rb#41
def application=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#123
+ # source://railties/7.1.5.2/lib/rails.rb#123
def autoloaders; end
- # source://railties/7.1.3.4/lib/rails.rb#54
+ # source://railties/7.1.5.2/lib/rails.rb#54
def backtrace_cleaner; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def cache; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def cache=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#50
+ # source://railties/7.1.5.2/lib/rails.rb#50
def configuration; end
- # source://railties/7.1.3.4/lib/rails/deprecator.rb#4
+ # source://railties/7.1.5.2/lib/rails/deprecator.rb#4
def deprecator; end
- # source://railties/7.1.3.4/lib/rails.rb#72
+ # source://railties/7.1.5.2/lib/rails.rb#72
def env; end
- # source://railties/7.1.3.4/lib/rails.rb#79
+ # source://railties/7.1.5.2/lib/rails.rb#79
def env=(environment); end
- # source://railties/7.1.3.4/lib/rails.rb#90
+ # source://railties/7.1.5.2/lib/rails.rb#90
def error; end
- # source://railties/7.1.3.4/lib/rails/gem_version.rb#5
+ # source://railties/7.1.5.2/lib/rails/gem_version.rb#5
def gem_version; end
- # source://railties/7.1.3.4/lib/rails.rb#103
+ # source://railties/7.1.5.2/lib/rails.rb#103
def groups(*groups); end
- # source://railties/7.1.3.4/lib/rails.rb#47
+ # source://railties/7.1.5.2/lib/rails.rb#47
def initialize!(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.3.4/lib/rails.rb#47
+ # source://railties/7.1.5.2/lib/rails.rb#47
def initialized?(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def logger; end
- # source://railties/7.1.3.4/lib/rails.rb#42
+ # source://railties/7.1.5.2/lib/rails.rb#42
def logger=(_arg0); end
- # source://railties/7.1.3.4/lib/rails.rb#119
+ # source://railties/7.1.5.2/lib/rails.rb#119
def public_path; end
- # source://railties/7.1.3.4/lib/rails.rb#63
+ # source://railties/7.1.5.2/lib/rails.rb#63
def root; end
- # source://railties/7.1.3.4/lib/rails/version.rb#7
+ # source://railties/7.1.5.2/lib/rails/version.rb#7
def version; end
end
end
@@ -242,7 +242,7 @@ end
# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#4
module Rails::HTML; end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#193
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#194
module Rails::HTML4; end
# == Rails::HTML4::FullSanitizer
@@ -253,7 +253,7 @@ module Rails::HTML4; end
# full_sanitizer.sanitize("Bold no more! See more here...")
# # => "Bold no more! See more here..."
#
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#224
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#225
class Rails::HTML4::FullSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::ComposedSanitize
include ::Rails::HTML::Concern::Parser::HTML4
@@ -269,7 +269,7 @@ end
# link_sanitizer.sanitize('Only the link text will be kept.')
# # => "Only the link text will be kept."
#
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#239
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#240
class Rails::HTML4::LinkSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::ComposedSanitize
include ::Rails::HTML::Concern::Parser::HTML4
@@ -328,7 +328,7 @@ end
# # the sanitizer can also sanitize CSS
# safe_list_sanitizer.sanitize_css('background-color: #000;')
#
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#297
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#298
class Rails::HTML4::SafeListSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::ComposedSanitize
include ::Rails::HTML::Concern::Parser::HTML4
@@ -336,41 +336,41 @@ class Rails::HTML4::SafeListSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::Serializer::UTF8Encode
class << self
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145
def allowed_attributes; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145
def allowed_attributes=(_arg0); end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#143
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
def allowed_tags; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#143
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
def allowed_tags=(_arg0); end
end
end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#194
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#195
module Rails::HTML4::Sanitizer
extend ::Rails::HTML4::Sanitizer::VendorMethods
end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#195
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#196
module Rails::HTML4::Sanitizer::VendorMethods
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#196
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#197
def full_sanitizer; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#200
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#201
def link_sanitizer; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#204
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#205
def safe_list_sanitizer; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#208
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#209
def white_list_sanitizer; end
end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#305
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#306
module Rails::HTML5; end
# == Rails::HTML5::FullSanitizer
@@ -381,7 +381,7 @@ module Rails::HTML5; end
# full_sanitizer.sanitize("Bold no more! See more here...")
# # => "Bold no more! See more here..."
#
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#334
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#335
class Rails::HTML5::FullSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::ComposedSanitize
include ::Rails::HTML::Concern::Parser::HTML5
@@ -397,7 +397,7 @@ end
# link_sanitizer.sanitize('Only the link text will be kept.')
# # => "Only the link text will be kept."
#
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#349
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#350
class Rails::HTML5::LinkSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::ComposedSanitize
include ::Rails::HTML::Concern::Parser::HTML5
@@ -456,7 +456,7 @@ end
# # the sanitizer can also sanitize CSS
# safe_list_sanitizer.sanitize_css('background-color: #000;')
#
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#407
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#408
class Rails::HTML5::SafeListSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::ComposedSanitize
include ::Rails::HTML::Concern::Parser::HTML5
@@ -464,33 +464,33 @@ class Rails::HTML5::SafeListSanitizer < ::Rails::HTML::Sanitizer
include ::Rails::HTML::Concern::Serializer::UTF8Encode
class << self
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145
def allowed_attributes; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145
def allowed_attributes=(_arg0); end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#143
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
def allowed_tags; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#143
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144
def allowed_tags=(_arg0); end
end
end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#306
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#307
class Rails::HTML5::Sanitizer
class << self
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#308
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#309
def full_sanitizer; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#312
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#313
def link_sanitizer; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#316
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#317
def safe_list_sanitizer; end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#320
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#321
def white_list_sanitizer; end
end
end
@@ -539,34 +539,34 @@ end
# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#77
module Rails::HTML::Concern::Scrubber::SafeList
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#151
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#152
def initialize(prune: T.unsafe(nil)); end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#168
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#169
def sanitize_css(style_string); end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#155
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#156
def scrub(fragment, options = T.unsafe(nil)); end
private
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#177
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#178
def allowed_attributes(options); end
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#173
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#174
def allowed_tags(options); end
class << self
# @private
#
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#141
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#142
def included(klass); end
end
end
# The default safe list for attributes
#
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#125
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#126
Rails::HTML::Concern::Scrubber::SafeList::DEFAULT_ALLOWED_ATTRIBUTES = T.let(T.unsafe(nil), Set)
# The default safe list for tags
@@ -574,19 +574,19 @@ Rails::HTML::Concern::Scrubber::SafeList::DEFAULT_ALLOWED_ATTRIBUTES = T.let(T.u
# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#79
Rails::HTML::Concern::Scrubber::SafeList::DEFAULT_ALLOWED_TAGS = T.let(T.unsafe(nil), Set)
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#183
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#184
module Rails::HTML::Concern::Serializer; end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#184
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#185
module Rails::HTML::Concern::Serializer::UTF8Encode
- # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#185
+ # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#186
def serialize(fragment); end
end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#417
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#418
Rails::HTML::FullSanitizer = Rails::HTML4::FullSanitizer
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#418
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#419
Rails::HTML::LinkSanitizer = Rails::HTML4::LinkSanitizer
# === Rails::HTML::PermitScrubber
@@ -669,41 +669,41 @@ class Rails::HTML::PermitScrubber < ::Loofah::Scrubber
# @return [Boolean]
#
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#82
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#83
def allowed_node?(node); end
# @return [Boolean]
#
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#94
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#95
def keep_node?(node); end
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#136
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#162
def scrub_attribute(node, attr_node); end
# @return [Boolean]
#
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#90
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#91
def scrub_attribute?(name); end
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#107
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#112
def scrub_attributes(node); end
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#120
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#128
def scrub_css_attribute(node); end
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#102
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#103
def scrub_node(node); end
# @return [Boolean]
#
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#86
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#87
def skip_node?(node); end
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#129
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#137
def validate!(var, name); end
end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#419
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#420
Rails::HTML::SafeListSanitizer = Rails::HTML4::SafeListSanitizer
# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#5
@@ -748,16 +748,16 @@ Rails::HTML::Sanitizer::VERSION = T.let(T.unsafe(nil), String)
# +attributes=+
# If set, attributes included will be removed.
#
-# source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#171
+# source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#195
class Rails::HTML::TargetScrubber < ::Rails::HTML::PermitScrubber
# @return [Boolean]
#
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#172
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#196
def allowed_node?(node); end
# @return [Boolean]
#
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#176
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#200
def scrub_attribute?(name); end
end
@@ -767,18 +767,18 @@ end
#
# Unallowed elements will be stripped, i.e. element is removed but its subtree kept.
#
-# source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#186
+# source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#210
class Rails::HTML::TextOnlyScrubber < ::Loofah::Scrubber
# @return [TextOnlyScrubber] a new instance of TextOnlyScrubber
#
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#187
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#211
def initialize; end
- # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#191
+ # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#215
def scrub(node); end
end
-# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#420
+# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#421
Rails::HTML::WhiteListSanitizer = Rails::HTML4::SafeListSanitizer
# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#11
diff --git a/sorbet/rbi/gems/rails@7.1.3.4.rbi b/sorbet/rbi/gems/rails@7.1.5.2.rbi
similarity index 100%
rename from sorbet/rbi/gems/rails@7.1.3.4.rbi
rename to sorbet/rbi/gems/rails@7.1.5.2.rbi
diff --git a/sorbet/rbi/gems/railties@7.1.3.4.rbi b/sorbet/rbi/gems/railties@7.1.5.2.rbi
similarity index 96%
rename from sorbet/rbi/gems/railties@7.1.3.4.rbi
rename to sorbet/rbi/gems/railties@7.1.5.2.rbi
index 7282baa96..357c1980d 100644
--- a/sorbet/rbi/gems/railties@7.1.3.4.rbi
+++ b/sorbet/rbi/gems/railties@7.1.5.2.rbi
@@ -5,7 +5,7 @@
# Please instead update this file by running `bin/tapioca gem railties`.
-# :include: railties/README.rdoc
+# :include: ../README.rdoc
#
# source://railties//lib/rails/gem_version.rb#3
module Rails
@@ -304,7 +304,7 @@ class Rails::Application < ::Rails::Engine
# config/credentials/#{environment}.key for the current
# environment, or +config/master.key+ if that file does not exist.
#
- # source://railties//lib/rails/application.rb#516
+ # source://railties//lib/rails/application.rb#519
def credentials; end
# Sets the attribute credentials
@@ -330,7 +330,7 @@ class Rails::Application < ::Rails::Engine
# Eager loads the application code.
#
- # source://railties//lib/rails/application.rb#574
+ # source://railties//lib/rails/application.rb#577
def eager_load!; end
# Returns an ActiveSupport::EncryptedConfiguration instance for an encrypted
@@ -349,7 +349,7 @@ class Rails::Application < ::Rails::Engine
# command. (See the output of bin/rails encrypted:edit --help for
# more information.)
#
- # source://railties//lib/rails/application.rb#535
+ # source://railties//lib/rails/application.rb#538
def encrypted(path, key_path: T.unsafe(nil), env_key: T.unsafe(nil)); end
# Stores some of the \Rails initial environment parameters which
@@ -369,7 +369,7 @@ class Rails::Application < ::Rails::Engine
# source://railties//lib/rails/application.rb#363
def generators(&blk); end
- # source://railties//lib/rails/application.rb#548
+ # source://railties//lib/rails/application.rb#551
def helpers_paths; end
# Initialize the application passing the given group. By default, the
@@ -408,7 +408,7 @@ class Rails::Application < ::Rails::Engine
# source://railties//lib/rails/application.rb#161
def key_generator(secret_key_base = T.unsafe(nil)); end
- # source://railties//lib/rails/application.rb#568
+ # source://railties//lib/rails/application.rb#571
def load_generators(app = T.unsafe(nil)); end
# Returns a message verifier object.
@@ -471,7 +471,7 @@ class Rails::Application < ::Rails::Engine
# copying migrations from railties ; we need them in the order given by
# +railties_order+.
#
- # source://railties//lib/rails/application.rb#564
+ # source://railties//lib/rails/application.rb#567
def migration_railties; end
# source://sprockets-rails/3.5.2/lib/sprockets/railtie.rb#52
@@ -566,7 +566,7 @@ class Rails::Application < ::Rails::Engine
# source://railties//lib/rails/application.rb#369
def server(&blk); end
- # source://railties//lib/rails/application.rb#544
+ # source://railties//lib/rails/application.rb#547
def to_app; end
# Returns an array of file paths appended with a hash of
@@ -578,56 +578,56 @@ class Rails::Application < ::Rails::Engine
protected
- # source://railties//lib/rails/application.rb#647
+ # source://railties//lib/rails/application.rb#650
def default_middleware_stack; end
- # source://railties//lib/rails/application.rb#662
+ # source://railties//lib/rails/application.rb#665
def ensure_generator_templates_added; end
# Returns the ordered railties for this application considering railties_order.
#
- # source://railties//lib/rails/application.rb#613
+ # source://railties//lib/rails/application.rb#616
def ordered_railties; end
- # source://railties//lib/rails/application.rb#635
+ # source://railties//lib/rails/application.rb#638
def railties_initializers(current); end
- # source://railties//lib/rails/application.rb#602
+ # source://railties//lib/rails/application.rb#605
def run_console_blocks(app); end
- # source://railties//lib/rails/application.rb#592
+ # source://railties//lib/rails/application.rb#595
def run_generators_blocks(app); end
- # source://railties//lib/rails/application.rb#597
+ # source://railties//lib/rails/application.rb#600
def run_runner_blocks(app); end
- # source://railties//lib/rails/application.rb#607
+ # source://railties//lib/rails/application.rb#610
def run_server_blocks(app); end
- # source://railties//lib/rails/application.rb#581
+ # source://railties//lib/rails/application.rb#584
def run_tasks_blocks(app); end
- # source://railties//lib/rails/application.rb#652
+ # source://railties//lib/rails/application.rb#655
def validate_secret_key_base(secret_key_base); end
private
- # source://railties//lib/rails/application.rb#700
+ # source://railties//lib/rails/application.rb#703
def build_middleware; end
- # source://railties//lib/rails/application.rb#693
+ # source://railties//lib/rails/application.rb#696
def build_request(env); end
- # source://railties//lib/rails/application.rb#704
+ # source://railties//lib/rails/application.rb#707
def coerce_same_site_protection(protection); end
- # source://railties//lib/rails/application.rb#708
+ # source://railties//lib/rails/application.rb#711
def filter_parameters; end
- # source://railties//lib/rails/application.rb#668
+ # source://railties//lib/rails/application.rb#671
def generate_local_secret; end
- # source://railties//lib/rails/application.rb#687
+ # source://railties//lib/rails/application.rb#690
def secrets_secret_key_base; end
class << self
@@ -1453,10 +1453,10 @@ class Rails::Application::RoutesReloader
# source://railties//lib/rails/application/routes_reloader.rb#15
def initialize; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
# Returns the value of attribute eager_load.
@@ -1522,13 +1522,13 @@ class Rails::Application::RoutesReloader
def updater; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
end
end
@@ -1537,7 +1537,7 @@ end
class Rails::ApplicationController < ::ActionController::Base
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/application_controller.rb#25
@@ -1552,16 +1552,16 @@ class Rails::ApplicationController < ::ActionController::Base
def require_local!; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2175,16 +2175,16 @@ class Rails::Engine < ::Rails::Railtie
# source://railties//lib/rails/engine.rb#439
def initialize; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#963
def _load_seed_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#951
def _run_load_seed_callbacks(&block); end
# Returns the underlying Rack application for this engine.
@@ -2332,19 +2332,19 @@ class Rails::Engine < ::Rails::Railtie
def load_config_initializer(initializer); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#955
def _load_seed_callbacks; end
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#959
def _load_seed_callbacks=(value); end
# Returns the value of attribute called_from.
@@ -2600,7 +2600,7 @@ class Rails::HealthController < ::ActionController::Base
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/health_controller.rb#51
@@ -2613,10 +2613,10 @@ class Rails::HealthController < ::ActionController::Base
def render_up; end
class << self
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
- # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.5.2/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -2656,41 +2656,44 @@ end
# source://railties//lib/rails/info_controller.rb#6
class Rails::InfoController < ::Rails::ApplicationController
- # source://railties//lib/rails/info_controller.rb#12
+ # source://railties//lib/rails/info_controller.rb#14
def index; end
- # source://railties//lib/rails/info_controller.rb#16
+ # source://railties//lib/rails/info_controller.rb#18
def properties; end
- # source://railties//lib/rails/info_controller.rb#21
+ # source://railties//lib/rails/info_controller.rb#23
def routes; end
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/info_controller.rb#8
def _layout_from_proc; end
- # source://railties//lib/rails/info_controller.rb#36
+ # source://railties//lib/rails/info_controller.rb#38
def matching_routes(query:, exact_match:); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
+# source://railties//lib/rails/info_controller.rb#10
+Rails::InfoController::RFC2396_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
+
# source://railties//lib/rails/initializable.rb#6
module Rails::Initializable
mixes_in_class_methods ::Rails::Initializable::ClassMethods
@@ -2794,7 +2797,7 @@ class Rails::MailersController < ::Rails::ApplicationController
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/mailers_controller.rb#90
@@ -2821,13 +2824,13 @@ class Rails::MailersController < ::Rails::ApplicationController
def show_previews?; end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.5.2/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -3145,8 +3148,8 @@ end
# To add an initialization step to the \Rails boot process from your railtie, just
# define the initialization code with the +initializer+ macro:
#
-# class MyRailtie < Rails::Railtie
-# initializer "my_railtie.configure_rails_initialization" do
+# class MyGem::Railtie < Rails::Railtie
+# initializer "my_gem.configure_rails_initialization" do
# # some initialization behavior
# end
# end
@@ -3154,9 +3157,9 @@ end
# If specified, the block can also receive the application object, in case you
# need to access some application-specific configuration, like middleware:
#
-# class MyRailtie < Rails::Railtie
-# initializer "my_railtie.configure_rails_initialization" do |app|
-# app.middleware.use MyRailtie::Middleware
+# class MyGem::Railtie < Rails::Railtie
+# initializer "my_gem.configure_rails_initialization" do |app|
+# app.middleware.use MyGem::Middleware
# end
# end
#
@@ -3169,14 +3172,14 @@ end
# Railties can access a config object which contains configuration shared by all
# railties and the application:
#
-# class MyRailtie < Rails::Railtie
+# class MyGem::Railtie < Rails::Railtie
# # Customize the ORM
-# config.app_generators.orm :my_railtie_orm
+# config.app_generators.orm :my_gem_orm
#
# # Add a to_prepare block which is executed once in production
# # and before each request in development.
# config.to_prepare do
-# MyRailtie.setup!
+# MyGem.setup!
# end
# end
#
@@ -3185,9 +3188,9 @@ end
# If your railtie has Rake tasks, you can tell \Rails to load them through the method
# +rake_tasks+:
#
-# class MyRailtie < Rails::Railtie
+# class MyGem::Railtie < Rails::Railtie
# rake_tasks do
-# load "path/to/my_railtie.tasks"
+# load "path/to/my_gem.tasks"
# end
# end
#
@@ -3195,9 +3198,9 @@ end
# your generators at a different location, you can specify in your railtie a block which
# will load them during normal generators lookup:
#
-# class MyRailtie < Rails::Railtie
+# class MyGem::Railtie < Rails::Railtie
# generators do
-# require "path/to/my_railtie_generator"
+# require "path/to/my_gem_generator"
# end
# end
#
@@ -3215,7 +3218,7 @@ end
# this less confusing for everyone.
# It can be used like this:
#
-# class MyRailtie < Rails::Railtie
+# class MyGem::Railtie < Rails::Railtie
# server do
# WebpackServer.start
# end
@@ -3910,20 +3913,20 @@ class Rails::WelcomeController < ::Rails::ApplicationController
private
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.5.2/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.5.2/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.5.2/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
diff --git a/sorbet/rbi/gems/rexml@3.3.7.rbi b/sorbet/rbi/gems/rexml@3.4.4.rbi
similarity index 91%
rename from sorbet/rbi/gems/rexml@3.3.7.rbi
rename to sorbet/rbi/gems/rexml@3.4.4.rbi
index f81537a5e..0216e6375 100644
--- a/sorbet/rbi/gems/rexml@3.3.7.rbi
+++ b/sorbet/rbi/gems/rexml@3.4.4.rbi
@@ -113,12 +113,15 @@ class REXML::Attribute
# Returns a copy of this attribute
#
- # source://rexml//lib/rexml/attribute.rb#164
+ # source://rexml//lib/rexml/attribute.rb#161
def clone; end
# source://rexml//lib/rexml/attribute.rb#132
def doctype; end
+ # source://rexml//lib/rexml/attribute.rb#205
+ def document; end
+
# The element to which this attribute belongs
#
# source://rexml//lib/rexml/attribute.rb#15
@@ -129,7 +132,7 @@ class REXML::Attribute
#
# Returns this attribute
#
- # source://rexml//lib/rexml/attribute.rb#172
+ # source://rexml//lib/rexml/attribute.rb#169
def element=(element); end
# Creates (and returns) a hash from both the name and value
@@ -137,7 +140,7 @@ class REXML::Attribute
# source://rexml//lib/rexml/attribute.rb#111
def hash; end
- # source://rexml//lib/rexml/attribute.rb#198
+ # source://rexml//lib/rexml/attribute.rb#195
def inspect; end
# Returns the namespace URL, if defined, or nil otherwise
@@ -165,13 +168,13 @@ class REXML::Attribute
# source://rexml//lib/rexml/attribute.rb#95
def namespace(arg = T.unsafe(nil)); end
- # source://rexml//lib/rexml/attribute.rb#194
+ # source://rexml//lib/rexml/attribute.rb#191
def node_type; end
# The normalized value of this attribute. That is, the attribute with
# entities intact.
#
- # source://rexml//lib/rexml/attribute.rb#158
+ # source://rexml//lib/rexml/attribute.rb#155
def normalized=(new_normalized); end
# Returns the namespace of the attribute.
@@ -191,12 +194,12 @@ class REXML::Attribute
#
# This method is usually not called directly.
#
- # source://rexml//lib/rexml/attribute.rb#185
+ # source://rexml//lib/rexml/attribute.rb#182
def remove; end
# Returns the attribute value, with entities replaced
#
- # source://rexml//lib/rexml/attribute.rb#140
+ # source://rexml//lib/rexml/attribute.rb#137
def to_s; end
# Returns this attribute out as XML source, expanding the name
@@ -212,22 +215,22 @@ class REXML::Attribute
# Returns the UNNORMALIZED value of this attribute. That is, entities
# have been expanded to their values
#
- # source://rexml//lib/rexml/attribute.rb#149
+ # source://rexml//lib/rexml/attribute.rb#146
def value; end
# Writes this attribute (EG, puts 'key="value"' to the output)
#
- # source://rexml//lib/rexml/attribute.rb#190
+ # source://rexml//lib/rexml/attribute.rb#187
def write(output, indent = T.unsafe(nil)); end
- # source://rexml//lib/rexml/attribute.rb#204
+ # source://rexml//lib/rexml/attribute.rb#201
def xpath; end
end
# A class that defines the set of Attributes of an Element and provides
# operations for accessing elements in that set.
#
-# source://rexml//lib/rexml/element.rb#2137
+# source://rexml//lib/rexml/element.rb#2131
class REXML::Attributes < ::Hash
# :call-seq:
# new(element)
@@ -248,7 +251,7 @@ class REXML::Attributes < ::Hash
#
# @return [Attributes] a new instance of Attributes
#
- # source://rexml//lib/rexml/element.rb#2156
+ # source://rexml//lib/rexml/element.rb#2150
def initialize(element); end
# :call-seq:
@@ -271,7 +274,7 @@ class REXML::Attributes < ::Hash
# attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
# attrs.include?('baz') # => true
#
- # source://rexml//lib/rexml/element.rb#2522
+ # source://rexml//lib/rexml/element.rb#2516
def <<(attribute); end
# :call-seq:
@@ -295,7 +298,7 @@ class REXML::Attributes < ::Hash
#
# Related: get_attribute (returns an \Attribute object).
#
- # source://rexml//lib/rexml/element.rb#2181
+ # source://rexml//lib/rexml/element.rb#2175
def [](name); end
# :call-seq:
@@ -321,7 +324,7 @@ class REXML::Attributes < ::Hash
# attrs['baz:att'] = nil
# attrs.include?('baz:att') # => false
#
- # source://rexml//lib/rexml/element.rb#2365
+ # source://rexml//lib/rexml/element.rb#2358
def []=(name, value); end
# :call-seq:
@@ -344,7 +347,7 @@ class REXML::Attributes < ::Hash
# attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
# attrs.include?('baz') # => true
#
- # source://rexml//lib/rexml/element.rb#2522
+ # source://rexml//lib/rexml/element.rb#2516
def add(attribute); end
# :call-seq:
@@ -375,7 +378,7 @@ class REXML::Attributes < ::Hash
# attrs.delete(attr) # => # =>
# attrs.delete(attr) # => # =>
#
- # source://rexml//lib/rexml/element.rb#2475
+ # source://rexml//lib/rexml/element.rb#2471
def delete(attribute); end
# :call-seq:
@@ -394,7 +397,7 @@ class REXML::Attributes < ::Hash
# attrs = ele.attributes
# attrs.delete_all('att') # => [att='<']
#
- # source://rexml//lib/rexml/element.rb#2544
+ # source://rexml//lib/rexml/element.rb#2538
def delete_all(name); end
# :call-seq:
@@ -419,7 +422,7 @@ class REXML::Attributes < ::Hash
# ["bar:att", "2"]
# ["att", "<"]
#
- # source://rexml//lib/rexml/element.rb#2283
+ # source://rexml//lib/rexml/element.rb#2276
def each; end
# :call-seq:
@@ -444,7 +447,7 @@ class REXML::Attributes < ::Hash
# [REXML::Attribute, bar:att='2']
# [REXML::Attribute, att='<']
#
- # source://rexml//lib/rexml/element.rb#2250
+ # source://rexml//lib/rexml/element.rb#2243
def each_attribute; end
# :call-seq:
@@ -466,7 +469,7 @@ class REXML::Attributes < ::Hash
# attrs.get_attribute('att') # => att='<'
# attrs.get_attribute('nosuch') # => nil
#
- # source://rexml//lib/rexml/element.rb#2309
+ # source://rexml//lib/rexml/element.rb#2302
def get_attribute(name); end
# :call-seq:
@@ -486,7 +489,7 @@ class REXML::Attributes < ::Hash
# attrs.get_attribute_ns('http://foo', 'att') # => foo:att='1'
# attrs.get_attribute_ns('http://foo', 'nosuch') # => nil
#
- # source://rexml//lib/rexml/element.rb#2570
+ # source://rexml//lib/rexml/element.rb#2564
def get_attribute_ns(namespace, name); end
# :call-seq:
@@ -503,7 +506,7 @@ class REXML::Attributes < ::Hash
# ele = d.root.elements['//ele'] # =>
# ele.attributes.length # => 3
#
- # source://rexml//lib/rexml/element.rb#2221
+ # source://rexml//lib/rexml/element.rb#2214
def length; end
# :call-seq:
@@ -515,7 +518,7 @@ class REXML::Attributes < ::Hash
# d = REXML::Document.new(xml_string)
# d.root.attributes.namespaces # => {"xmlns"=>"foo", "x"=>"bar", "y"=>"twee"}
#
- # source://rexml//lib/rexml/element.rb#2431
+ # source://rexml//lib/rexml/element.rb#2426
def namespaces; end
# :call-seq:
@@ -529,7 +532,7 @@ class REXML::Attributes < ::Hash
# d = REXML::Document.new(xml_string)
# d.root.attributes.prefixes # => ["x", "y"]
#
- # source://rexml//lib/rexml/element.rb#2406
+ # source://rexml//lib/rexml/element.rb#2400
def prefixes; end
# :call-seq:
@@ -546,7 +549,7 @@ class REXML::Attributes < ::Hash
# ele = d.root.elements['//ele'] # =>
# ele.attributes.length # => 3
#
- # source://rexml//lib/rexml/element.rb#2221
+ # source://rexml//lib/rexml/element.rb#2214
def size; end
# :call-seq:
@@ -565,7 +568,7 @@ class REXML::Attributes < ::Hash
# attrs = ele.attributes.to_a # => [foo:att='1', bar:att='2', att='<']
# attrs.first.class # => REXML::Attribute
#
- # source://rexml//lib/rexml/element.rb#2203
+ # source://rexml//lib/rexml/element.rb#2196
def to_a; end
end
@@ -648,7 +651,7 @@ class REXML::Child
# This doesn't yet handle encodings
#
- # source://rexml//lib/rexml/child.rb#91
+ # source://rexml//lib/rexml/child.rb#90
def bytes; end
# Returns:: the document this child belongs to, or nil if this child
@@ -794,20 +797,20 @@ module REXML::DClonable; end
# This is an abstract class. You never use this directly; it serves as a
# parent class for the specific declarations.
#
-# source://rexml//lib/rexml/doctype.rb#242
+# source://rexml//lib/rexml/doctype.rb#238
class REXML::Declaration < ::REXML::Child
# @return [Declaration] a new instance of Declaration
#
- # source://rexml//lib/rexml/doctype.rb#243
+ # source://rexml//lib/rexml/doctype.rb#239
def initialize(src); end
- # source://rexml//lib/rexml/doctype.rb#248
+ # source://rexml//lib/rexml/doctype.rb#244
def to_s; end
# == DEPRECATED
# See REXML::Formatters
#
- # source://rexml//lib/rexml/doctype.rb#255
+ # source://rexml//lib/rexml/doctype.rb#251
def write(output, indent); end
end
@@ -837,7 +840,7 @@ class REXML::DocType < ::REXML::Parent
# source://rexml//lib/rexml/doctype.rb#80
def initialize(first, parent = T.unsafe(nil)); end
- # source://rexml//lib/rexml/doctype.rb#185
+ # source://rexml//lib/rexml/doctype.rb#181
def add(child); end
# source://rexml//lib/rexml/doctype.rb#125
@@ -858,7 +861,7 @@ class REXML::DocType < ::REXML::Parent
# source://rexml//lib/rexml/doctype.rb#66
def entities; end
- # source://rexml//lib/rexml/doctype.rb#181
+ # source://rexml//lib/rexml/doctype.rb#177
def entity(name); end
# name is the name of the doctype
@@ -887,7 +890,7 @@ class REXML::DocType < ::REXML::Parent
#
# Method contributed by Henrik Martensson
#
- # source://rexml//lib/rexml/doctype.rb#229
+ # source://rexml//lib/rexml/doctype.rb#225
def notation(name); end
# This method returns a list of notations that have been declared in the
@@ -896,7 +899,7 @@ class REXML::DocType < ::REXML::Parent
#
# Method contributed by Henrik Martensson
#
- # source://rexml//lib/rexml/doctype.rb#221
+ # source://rexml//lib/rexml/doctype.rb#217
def notations; end
# This method retrieves the public identifier identifying the document's
@@ -904,14 +907,14 @@ class REXML::DocType < ::REXML::Parent
#
# Method contributed by Henrik Martensson
#
- # source://rexml//lib/rexml/doctype.rb#195
+ # source://rexml//lib/rexml/doctype.rb#191
def public; end
# This method retrieves the system identifier identifying the document's DTD
#
# Method contributed by Henrik Martensson
#
- # source://rexml//lib/rexml/doctype.rb#207
+ # source://rexml//lib/rexml/doctype.rb#203
def system; end
# output::
@@ -1038,7 +1041,7 @@ class REXML::Document < ::REXML::Element
# d.add(REXML::Element.new('foo'))
# d.to_s # => ""
#
- # source://rexml//lib/rexml/document.rb#172
+ # source://rexml//lib/rexml/document.rb#174
def <<(child); end
# :call-seq:
@@ -1075,7 +1078,7 @@ class REXML::Document < ::REXML::Element
# d.add(REXML::Element.new('foo'))
# d.to_s # => ""
#
- # source://rexml//lib/rexml/document.rb#172
+ # source://rexml//lib/rexml/document.rb#174
def add(child); end
# :call-seq:
@@ -1085,7 +1088,7 @@ class REXML::Document < ::REXML::Element
#
# REXML::Element.add_element(name_or_element, attributes)
#
- # source://rexml//lib/rexml/document.rb#211
+ # source://rexml//lib/rexml/document.rb#213
def add_element(arg = T.unsafe(nil), arg2 = T.unsafe(nil)); end
# :call-seq:
@@ -1094,7 +1097,7 @@ class REXML::Document < ::REXML::Element
# Returns the new document resulting from executing
# Document.new(self). See Document.new.
#
- # source://rexml//lib/rexml/document.rb#122
+ # source://rexml//lib/rexml/document.rb#124
def clone; end
# :call-seq:
@@ -1107,10 +1110,10 @@ class REXML::Document < ::REXML::Element
# d = REXML::Document.new('')
# d.doctype.class # => nil
#
- # source://rexml//lib/rexml/document.rb#243
+ # source://rexml//lib/rexml/document.rb#245
def doctype; end
- # source://rexml//lib/rexml/document.rb#446
+ # source://rexml//lib/rexml/document.rb#448
def document; end
# :call-seq:
@@ -1123,31 +1126,31 @@ class REXML::Document < ::REXML::Element
# d = REXML::Document.new('')
# d.encoding # => "UTF-8"
#
- # source://rexml//lib/rexml/document.rb#292
+ # source://rexml//lib/rexml/document.rb#294
def encoding; end
# Returns the value of attribute entity_expansion_count.
#
- # source://rexml//lib/rexml/document.rb#435
+ # source://rexml//lib/rexml/document.rb#437
def entity_expansion_count; end
# Sets the attribute entity_expansion_limit
#
# @param value the value to set the attribute entity_expansion_limit to.
#
- # source://rexml//lib/rexml/document.rb#436
+ # source://rexml//lib/rexml/document.rb#438
def entity_expansion_limit=(_arg0); end
# Returns the value of attribute entity_expansion_text_limit.
#
- # source://rexml//lib/rexml/document.rb#437
+ # source://rexml//lib/rexml/document.rb#439
def entity_expansion_text_limit; end
# Sets the attribute entity_expansion_text_limit
#
# @param value the value to set the attribute entity_expansion_text_limit to.
#
- # source://rexml//lib/rexml/document.rb#437
+ # source://rexml//lib/rexml/document.rb#439
def entity_expansion_text_limit=(_arg0); end
# :call-seq:
@@ -1155,7 +1158,7 @@ class REXML::Document < ::REXML::Element
#
# Returns an empty string.
#
- # source://rexml//lib/rexml/document.rb#131
+ # source://rexml//lib/rexml/document.rb#133
def expanded_name; end
# :call-seq:
@@ -1165,7 +1168,7 @@ class REXML::Document < ::REXML::Element
# d = doc_type
# d ? d.name : "UNDEFINED"
#
- # source://rexml//lib/rexml/document.rb#131
+ # source://rexml//lib/rexml/document.rb#133
def name; end
# :call-seq:
@@ -1173,10 +1176,10 @@ class REXML::Document < ::REXML::Element
#
# Returns the symbol +:document+.
#
- # source://rexml//lib/rexml/document.rb#112
+ # source://rexml//lib/rexml/document.rb#114
def node_type; end
- # source://rexml//lib/rexml/document.rb#439
+ # source://rexml//lib/rexml/document.rb#441
def record_entity_expansion; end
# :call-seq:
@@ -1189,7 +1192,7 @@ class REXML::Document < ::REXML::Element
# d = REXML::Document.new('')
# d.root # => nil
#
- # source://rexml//lib/rexml/document.rb#227
+ # source://rexml//lib/rexml/document.rb#229
def root; end
# :call-seq:
@@ -1205,7 +1208,7 @@ class REXML::Document < ::REXML::Element
#
# @return [Boolean]
#
- # source://rexml//lib/rexml/document.rb#307
+ # source://rexml//lib/rexml/document.rb#309
def stand_alone?; end
# :call-seq:
@@ -1219,12 +1222,12 @@ class REXML::Document < ::REXML::Element
# d = REXML::Document.new('')
# d.version # => "1.0"
#
- # source://rexml//lib/rexml/document.rb#277
+ # source://rexml//lib/rexml/document.rb#279
def version; end
# :call-seq:
- # doc.write(output=$stdout, indent=-1, transtive=false, ie_hack=false, encoding=nil)
- # doc.write(options={:output => $stdout, :indent => -1, :transtive => false, :ie_hack => false, :encoding => nil})
+ # doc.write(output=$stdout, indent=-1, transitive=false, ie_hack=false, encoding=nil)
+ # doc.write(options={:output => $stdout, :indent => -1, :transitive => false, :ie_hack => false, :encoding => nil})
#
# Write the XML tree out, optionally with indent. This writes out the
# entire XML document, including XML declarations, doctype declarations,
@@ -1278,7 +1281,7 @@ class REXML::Document < ::REXML::Element
# instead of encoding in XML declaration.
# Defaults to nil. It means encoding in XML declaration is used.
#
- # source://rexml//lib/rexml/document.rb#367
+ # source://rexml//lib/rexml/document.rb#369
def write(*arguments); end
# :call-seq:
@@ -1294,44 +1297,62 @@ class REXML::Document < ::REXML::Element
# d.xml_decl.class # => REXML::XMLDecl
# d.xml_decl.to_s # => ""
#
- # source://rexml//lib/rexml/document.rb#260
+ # source://rexml//lib/rexml/document.rb#262
def xml_decl; end
private
- # source://rexml//lib/rexml/document.rb#451
+ # source://rexml//lib/rexml/document.rb#467
def build(source); end
+ # New document level cache is created and available in this block.
+ # This API is thread unsafe. Users can't change this document in this block.
+ #
+ # source://rexml//lib/rexml/document.rb#458
+ def enable_cache; end
+
+ # Returns the value of attribute namespaces_cache.
+ #
+ # source://rexml//lib/rexml/document.rb#454
+ def namespaces_cache; end
+
+ # Sets the attribute namespaces_cache
+ #
+ # @param value the value to set the attribute namespaces_cache to.
+ #
+ # source://rexml//lib/rexml/document.rb#454
+ def namespaces_cache=(_arg0); end
+
class << self
# Get the entity expansion limit. By default the limit is set to 10000.
#
# Deprecated. Use REXML::Security.entity_expansion_limit= instead.
#
- # source://rexml//lib/rexml/document.rb#417
+ # source://rexml//lib/rexml/document.rb#419
def entity_expansion_limit; end
# Set the entity expansion limit. By default the limit is set to 10000.
#
# Deprecated. Use REXML::Security.entity_expansion_limit= instead.
#
- # source://rexml//lib/rexml/document.rb#410
+ # source://rexml//lib/rexml/document.rb#412
def entity_expansion_limit=(val); end
# Get the entity expansion limit. By default the limit is set to 10240.
#
# Deprecated. Use REXML::Security.entity_expansion_text_limit instead.
#
- # source://rexml//lib/rexml/document.rb#431
+ # source://rexml//lib/rexml/document.rb#433
def entity_expansion_text_limit; end
# Set the entity expansion limit. By default the limit is set to 10240.
#
# Deprecated. Use REXML::Security.entity_expansion_text_limit= instead.
#
- # source://rexml//lib/rexml/document.rb#424
+ # source://rexml//lib/rexml/document.rb#426
def entity_expansion_text_limit=(val); end
- # source://rexml//lib/rexml/document.rb#403
+ # source://rexml//lib/rexml/document.rb#405
def parse_stream(source, listener); end
end
end
@@ -1682,7 +1703,7 @@ class REXML::Element < ::REXML::Parent
# root[:attr] # => "value"
# root[:nosuch] # => nil
#
- # source://rexml//lib/rexml/element.rb#1246
+ # source://rexml//lib/rexml/element.rb#1238
def [](name_or_index); end
# :call-seq:
@@ -1711,7 +1732,7 @@ class REXML::Element < ::REXML::Parent
# e.add_attribute(a) # => attr='VALUE'
# e['attr'] # => "VALUE"
#
- # source://rexml//lib/rexml/element.rb#1345
+ # source://rexml//lib/rexml/element.rb#1336
def add_attribute(key, value = T.unsafe(nil)); end
# :call-seq:
@@ -1737,7 +1758,7 @@ class REXML::Element < ::REXML::Parent
# a = [['foo' => 'bar'], ['baz' => 'bat']]
# e.add_attributes(a)
#
- # source://rexml//lib/rexml/element.rb#1376
+ # source://rexml//lib/rexml/element.rb#1367
def add_attributes(hash); end
# :call-seq:
@@ -1774,7 +1795,7 @@ class REXML::Element < ::REXML::Parent
# e0.add_element(e1, {'bat' => '0', 'bam' => '1'})
# e0[1] # =>
#
- # source://rexml//lib/rexml/element.rb#732
+ # source://rexml//lib/rexml/element.rb#725
def add_element(element, attrs = T.unsafe(nil)); end
# :call-seq:
@@ -1795,7 +1816,7 @@ class REXML::Element < ::REXML::Parent
# e.add_namespace('baz', 'bat')
# e.namespaces # => {"xmlns"=>"bar", "baz"=>"bat"}
#
- # source://rexml//lib/rexml/element.rb#655
+ # source://rexml//lib/rexml/element.rb#648
def add_namespace(prefix, uri = T.unsafe(nil)); end
# :call-seq:
@@ -1837,7 +1858,7 @@ class REXML::Element < ::REXML::Parent
# a.add_text(REXML::Text.new('baz'))
# a.to_a # => ["foo", , "bar", "baz", "baz"]
#
- # source://rexml//lib/rexml/element.rb#1147
+ # source://rexml//lib/rexml/element.rb#1139
def add_text(text); end
# :call-seq:
@@ -1869,7 +1890,7 @@ class REXML::Element < ::REXML::Parent
# document.root.attribute("x") # => x='x'
# document.root.attribute("x", "a") # => a:x='a:x'
#
- # source://rexml//lib/rexml/element.rb#1287
+ # source://rexml//lib/rexml/element.rb#1279
def attribute(name, namespace = T.unsafe(nil)); end
# Mechanisms for accessing attributes and child elements of this
@@ -1894,7 +1915,7 @@ class REXML::Element < ::REXML::Parent
# cds.frozen? # => true
# cds.map {|cd| cd.class } # => [REXML::CData, REXML::CData]
#
- # source://rexml//lib/rexml/element.rb#1420
+ # source://rexml//lib/rexml/element.rb#1411
def cdatas; end
# :call-seq:
@@ -1927,7 +1948,7 @@ class REXML::Element < ::REXML::Parent
# cs.map {|c| c.class } # => [REXML::Comment, REXML::Comment]
# cs.map {|c| c.to_s } # => ["foo", "bar"]
#
- # source://rexml//lib/rexml/element.rb#1441
+ # source://rexml//lib/rexml/element.rb#1432
def comments; end
# The context holds information about the processing environment, such as
@@ -1953,7 +1974,7 @@ class REXML::Element < ::REXML::Parent
# e.delete_attribute('bar') # =>
# e.delete_attribute('bar') # => nil
#
- # source://rexml//lib/rexml/element.rb#1395
+ # source://rexml//lib/rexml/element.rb#1386
def delete_attribute(key); end
# :call-seq:
@@ -1993,7 +2014,7 @@ class REXML::Element < ::REXML::Parent
# a.delete_element('//c') # =>
# a.delete_element('//c') # => nil
#
- # source://rexml//lib/rexml/element.rb#778
+ # source://rexml//lib/rexml/element.rb#771
def delete_element(element); end
# :call-seq:
@@ -2018,7 +2039,7 @@ class REXML::Element < ::REXML::Parent
# d.root.delete_namespace('nosuch')
# d.to_s # => ""
#
- # source://rexml//lib/rexml/element.rb#687
+ # source://rexml//lib/rexml/element.rb#680
def delete_namespace(namespace = T.unsafe(nil)); end
# :call-seq:
@@ -2061,7 +2082,7 @@ class REXML::Element < ::REXML::Parent
# ... >
#
#
- # source://rexml//lib/rexml/element.rb#930
+ # source://rexml//lib/rexml/element.rb#923
def each_element(xpath = T.unsafe(nil), &block); end
# :call-seq:
@@ -2113,7 +2134,7 @@ class REXML::Element < ::REXML::Parent
#
#
#
- # source://rexml//lib/rexml/element.rb#847
+ # source://rexml//lib/rexml/element.rb#840
def each_element_with_attribute(key, value = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
# :call-seq:
@@ -2163,7 +2184,7 @@ class REXML::Element < ::REXML::Parent
#
# ... >
#
- # source://rexml//lib/rexml/element.rb#904
+ # source://rexml//lib/rexml/element.rb#897
def each_element_with_text(text = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
# Mechanisms for accessing attributes and child elements of this
@@ -2187,7 +2208,7 @@ class REXML::Element < ::REXML::Parent
# d = REXML::Document.new(xml_string)
# d.root.get_elements('//a') # => [ ... >, ]
#
- # source://rexml//lib/rexml/element.rb#949
+ # source://rexml//lib/rexml/element.rb#942
def get_elements(xpath); end
# :call-seq:
@@ -2207,7 +2228,7 @@ class REXML::Element < ::REXML::Parent
#
# d.root.get_text(1) # => "this is bold!"
#
- # source://rexml//lib/rexml/element.rb#1053
+ # source://rexml//lib/rexml/element.rb#1045
def get_text(path = T.unsafe(nil)); end
# :call-seq:
@@ -2222,7 +2243,7 @@ class REXML::Element < ::REXML::Parent
#
# @return [Boolean]
#
- # source://rexml//lib/rexml/element.rb#1315
+ # source://rexml//lib/rexml/element.rb#1306
def has_attributes?; end
# :call-seq:
@@ -2239,7 +2260,7 @@ class REXML::Element < ::REXML::Parent
#
# @return [Boolean]
#
- # source://rexml//lib/rexml/element.rb#794
+ # source://rexml//lib/rexml/element.rb#787
def has_elements?; end
# :call-seq:
@@ -2256,7 +2277,7 @@ class REXML::Element < ::REXML::Parent
#
# @return [Boolean]
#
- # source://rexml//lib/rexml/element.rb#1002
+ # source://rexml//lib/rexml/element.rb#995
def has_text?; end
# :call-seq:
@@ -2266,7 +2287,7 @@ class REXML::Element < ::REXML::Parent
#
# See {Element Context}[../doc/rexml/context_rdoc.html].
#
- # source://rexml//lib/rexml/element.rb#513
+ # source://rexml//lib/rexml/element.rb#512
def ignore_whitespace_nodes; end
# :call-seq:
@@ -2310,7 +2331,7 @@ class REXML::Element < ::REXML::Parent
# is.map {|i| i.class } # => [REXML::Instruction, REXML::Instruction]
# is.map {|i| i.to_s } # => ["", ""]
#
- # source://rexml//lib/rexml/element.rb#1462
+ # source://rexml//lib/rexml/element.rb#1453
def instructions; end
# :call-seq:
@@ -2333,7 +2354,7 @@ class REXML::Element < ::REXML::Parent
# b.namespace('y') # => "2"
# b.namespace('nosuch') # => nil
#
- # source://rexml//lib/rexml/element.rb#618
+ # source://rexml//lib/rexml/element.rb#619
def namespace(prefix = T.unsafe(nil)); end
# :call-seq:
@@ -2355,7 +2376,7 @@ class REXML::Element < ::REXML::Parent
# d.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
# d.elements['//c'].namespaces # => {"x"=>"1", "y"=>"2", "z"=>"3"}
#
- # source://rexml//lib/rexml/element.rb#591
+ # source://rexml//lib/rexml/element.rb#590
def namespaces; end
# :call-seq:
@@ -2368,7 +2389,7 @@ class REXML::Element < ::REXML::Parent
# d.root.elements['b'].next_element #->
# d.root.elements['c'].next_element #-> nil
#
- # source://rexml//lib/rexml/element.rb#963
+ # source://rexml//lib/rexml/element.rb#956
def next_element; end
# :call-seq:
@@ -2380,7 +2401,7 @@ class REXML::Element < ::REXML::Parent
# a = d.root # =>
# a.node_type # => :element
#
- # source://rexml//lib/rexml/element.rb#1168
+ # source://rexml//lib/rexml/element.rb#1160
def node_type; end
# :call-seq:
@@ -2402,7 +2423,7 @@ class REXML::Element < ::REXML::Parent
# d.elements['//b'].prefixes # => ["x", "y"]
# d.elements['//c'].prefixes # => ["x", "y", "z"]
#
- # source://rexml//lib/rexml/element.rb#565
+ # source://rexml//lib/rexml/element.rb#564
def prefixes; end
# :call-seq:
@@ -2415,7 +2436,7 @@ class REXML::Element < ::REXML::Parent
# d.root.elements['c'].previous_element #->
# d.root.elements['b'].previous_element #-> nil
#
- # source://rexml//lib/rexml/element.rb#979
+ # source://rexml//lib/rexml/element.rb#972
def previous_element; end
# :call-seq:
@@ -2428,7 +2449,7 @@ class REXML::Element < ::REXML::Parent
# The evaluation is tested against +expanded_name+, and so is namespace
# sensitive.
#
- # source://rexml//lib/rexml/element.rb#533
+ # source://rexml//lib/rexml/element.rb#532
def raw; end
# :call-seq:
@@ -2513,7 +2534,7 @@ class REXML::Element < ::REXML::Parent
# Note also that the text note is retrieved by method get_text,
# and so is always normalized text.
#
- # source://rexml//lib/rexml/element.rb#1030
+ # source://rexml//lib/rexml/element.rb#1023
def text(path = T.unsafe(nil)); end
# :call-seq:
@@ -2541,7 +2562,7 @@ class REXML::Element < ::REXML::Parent
#
# d.root.text = nil #-> ''
#
- # source://rexml//lib/rexml/element.rb#1089
+ # source://rexml//lib/rexml/element.rb#1081
def text=(text); end
# :call-seq:
@@ -2556,7 +2577,7 @@ class REXML::Element < ::REXML::Parent
# ts.map {|t| t.class } # => [REXML::Text, REXML::Text]
# ts.map {|t| t.to_s } # => ["text", "more"]
#
- # source://rexml//lib/rexml/element.rb#1478
+ # source://rexml//lib/rexml/element.rb#1469
def texts; end
# :call-seq:
@@ -2570,7 +2591,7 @@ class REXML::Element < ::REXML::Parent
# The evaluation is tested against the element's +expanded_name+,
# and so is namespace-sensitive.
#
- # source://rexml//lib/rexml/element.rb#490
+ # source://rexml//lib/rexml/element.rb#489
def whitespace; end
# == DEPRECATED
@@ -2596,7 +2617,7 @@ class REXML::Element < ::REXML::Parent
# doc.write( out ) #-> doc is written to the string 'out'
# doc.write( $stdout ) #-> doc written to the console
#
- # source://rexml//lib/rexml/element.rb#1504
+ # source://rexml//lib/rexml/element.rb#1495
def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
# :call-seq:
@@ -2619,25 +2640,28 @@ class REXML::Element < ::REXML::Parent
# e = REXML::Element.new('foo')
# e.xpath # => "foo"
#
- # source://rexml//lib/rexml/element.rb#1192
+ # source://rexml//lib/rexml/element.rb#1184
def xpath; end
private
- # source://rexml//lib/rexml/element.rb#1521
+ # source://rexml//lib/rexml/element.rb#1519
def __to_xpath_helper(node); end
+ # source://rexml//lib/rexml/element.rb#1511
+ def calculate_namespaces; end
+
# A private helper method
#
- # source://rexml//lib/rexml/element.rb#1536
+ # source://rexml//lib/rexml/element.rb#1534
def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end
end
-# source://rexml//lib/rexml/doctype.rb#261
+# source://rexml//lib/rexml/doctype.rb#257
class REXML::ElementDecl < ::REXML::Declaration
# @return [ElementDecl] a new instance of ElementDecl
#
- # source://rexml//lib/rexml/doctype.rb#262
+ # source://rexml//lib/rexml/doctype.rb#258
def initialize(src); end
end
@@ -2683,7 +2707,7 @@ end
# elements = d.root.elements
# elements # => # ... >>
#
-# source://rexml//lib/rexml/element.rb#1591
+# source://rexml//lib/rexml/element.rb#1589
class REXML::Elements
include ::Enumerable
@@ -2700,7 +2724,7 @@ class REXML::Elements
#
# @return [Elements] a new instance of Elements
#
- # source://rexml//lib/rexml/element.rb#1604
+ # source://rexml//lib/rexml/element.rb#1602
def initialize(parent); end
# :call-seq:
@@ -2765,7 +2789,7 @@ class REXML::Elements
# element.parent # => ... >
# element.context # => {:raw=>:all}
#
- # source://rexml//lib/rexml/element.rb#1921
+ # source://rexml//lib/rexml/element.rb#1915
def <<(element = T.unsafe(nil)); end
# :call-seq:
@@ -2821,7 +2845,7 @@ class REXML::Elements
# eles[4, 'book'] # => ... >
# eles[5, 'book'] # => nil
#
- # source://rexml//lib/rexml/element.rb#1676
+ # source://rexml//lib/rexml/element.rb#1674
def [](index, name = T.unsafe(nil)); end
# :call-seq:
@@ -2860,7 +2884,7 @@ class REXML::Elements
# eles[50] = REXML::Text.new('bar') # => "bar"
# eles.size # => 5
#
- # source://rexml//lib/rexml/element.rb#1731
+ # source://rexml//lib/rexml/element.rb#1725
def []=(index, element); end
# :call-seq:
@@ -2925,7 +2949,7 @@ class REXML::Elements
# element.parent # => ... >
# element.context # => {:raw=>:all}
#
- # source://rexml//lib/rexml/element.rb#1921
+ # source://rexml//lib/rexml/element.rb#1915
def add(element = T.unsafe(nil)); end
# :call-seq:
@@ -2945,7 +2969,7 @@ class REXML::Elements
# xpath = '//book [@category="web"]'
# elements.collect(xpath) {|element| element.size } # => [17, 9]
#
- # source://rexml//lib/rexml/element.rb#1984
+ # source://rexml//lib/rexml/element.rb#1978
def collect(xpath = T.unsafe(nil)); end
# :call-seq:
@@ -2989,7 +3013,7 @@ class REXML::Elements
# elements.delete('//book [@category="children"]') # => ... >
# elements.delete('//nosuch') # => nil
#
- # source://rexml//lib/rexml/element.rb#1821
+ # source://rexml//lib/rexml/element.rb#1815
def delete(element); end
# :call-seq:
@@ -3009,7 +3033,7 @@ class REXML::Elements
# elements.size # => 0
# elements.delete_all('//book') # => []
#
- # source://rexml//lib/rexml/element.rb#1847
+ # source://rexml//lib/rexml/element.rb#1841
def delete_all(xpath); end
# :call-seq:
@@ -3040,7 +3064,7 @@ class REXML::Elements
# ... >
# ... >
#
- # source://rexml//lib/rexml/element.rb#1963
+ # source://rexml//lib/rexml/element.rb#1957
def each(xpath = T.unsafe(nil)); end
# :call-seq:
@@ -3055,7 +3079,7 @@ class REXML::Elements
#
# @return [Boolean]
#
- # source://rexml//lib/rexml/element.rb#1751
+ # source://rexml//lib/rexml/element.rb#1745
def empty?; end
# :call-seq:
@@ -3072,7 +3096,7 @@ class REXML::Elements
# elements.index(ele_4) # => 3
# elements.index(ele_3) # => -1
#
- # source://rexml//lib/rexml/element.rb#1769
+ # source://rexml//lib/rexml/element.rb#1763
def index(element); end
# :call-seq:
@@ -3152,7 +3176,7 @@ class REXML::Elements
# total += element.size
# end # => 26
#
- # source://rexml//lib/rexml/element.rb#2069
+ # source://rexml//lib/rexml/element.rb#2063
def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end
# :call-seq:
@@ -3166,7 +3190,7 @@ class REXML::Elements
# elements = REXML::Elements.new(d.root)
# elements.parent == d.root # => true
#
- # source://rexml//lib/rexml/element.rb#1619
+ # source://rexml//lib/rexml/element.rb#1617
def parent; end
# :call-seq:
@@ -3178,7 +3202,7 @@ class REXML::Elements
# d.root.elements.size # => 3 # Three elements.
# d.root.size # => 6 # Three elements plus three text nodes..
#
- # source://rexml//lib/rexml/element.rb#2093
+ # source://rexml//lib/rexml/element.rb#2087
def size; end
# :call-seq:
@@ -3199,23 +3223,23 @@ class REXML::Elements
#
# elements.to_a('//c') # => []
#
- # source://rexml//lib/rexml/element.rb#2117
+ # source://rexml//lib/rexml/element.rb#2111
def to_a(xpath = T.unsafe(nil)); end
private
# Private helper class. Removes quotes from quoted strings
#
- # source://rexml//lib/rexml/element.rb#2125
+ # source://rexml//lib/rexml/element.rb#2119
def literalize(name); end
end
# source://rexml//lib/rexml/encoding.rb#4
module REXML::Encoding
- # source://rexml//lib/rexml/encoding.rb#29
+ # source://rexml//lib/rexml/encoding.rb#26
def decode(string); end
- # source://rexml//lib/rexml/encoding.rb#25
+ # source://rexml//lib/rexml/encoding.rb#22
def encode(string); end
# ID ---> Encoding name
@@ -3228,7 +3252,7 @@ module REXML::Encoding
private
- # source://rexml//lib/rexml/encoding.rb#34
+ # source://rexml//lib/rexml/encoding.rb#31
def find_encoding(name); end
end
@@ -3321,17 +3345,17 @@ class REXML::Entity < ::REXML::Child
end
end
-# source://rexml//lib/rexml/doctype.rb#267
+# source://rexml//lib/rexml/doctype.rb#263
class REXML::ExternalEntity < ::REXML::Child
# @return [ExternalEntity] a new instance of ExternalEntity
#
- # source://rexml//lib/rexml/doctype.rb#268
+ # source://rexml//lib/rexml/doctype.rb#264
def initialize(src); end
- # source://rexml//lib/rexml/doctype.rb#272
+ # source://rexml//lib/rexml/doctype.rb#268
def to_s; end
- # source://rexml//lib/rexml/doctype.rb#275
+ # source://rexml//lib/rexml/doctype.rb#271
def write(output, indent); end
end
@@ -3457,43 +3481,48 @@ end
# A Source that wraps an IO. See the Source class for method
# documentation
#
-# source://rexml//lib/rexml/source.rb#182
+# source://rexml//lib/rexml/source.rb#220
class REXML::IOSource < ::REXML::Source
# block_size has been deprecated
#
# @return [IOSource] a new instance of IOSource
#
- # source://rexml//lib/rexml/source.rb#186
+ # source://rexml//lib/rexml/source.rb#224
def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end
# @return the current line in the source
#
- # source://rexml//lib/rexml/source.rb#274
+ # source://rexml//lib/rexml/source.rb#329
def current_line; end
# @return [Boolean]
#
- # source://rexml//lib/rexml/source.rb#269
+ # source://rexml//lib/rexml/source.rb#324
def empty?; end
- # source://rexml//lib/rexml/source.rb#246
+ # source://rexml//lib/rexml/source.rb#284
def ensure_buffer; end
- # source://rexml//lib/rexml/source.rb#250
+ # source://rexml//lib/rexml/source.rb#288
def match(pattern, cons = T.unsafe(nil)); end
- # source://rexml//lib/rexml/source.rb#207
+ # @return [Boolean]
+ #
+ # source://rexml//lib/rexml/source.rb#307
+ def match?(pattern, cons = T.unsafe(nil)); end
+
+ # source://rexml//lib/rexml/source.rb#245
def read(term = T.unsafe(nil), min_bytes = T.unsafe(nil)); end
- # source://rexml//lib/rexml/source.rb#228
+ # source://rexml//lib/rexml/source.rb#266
def read_until(term); end
private
- # source://rexml//lib/rexml/source.rb#316
+ # source://rexml//lib/rexml/source.rb#376
def encoding_updated; end
- # source://rexml//lib/rexml/source.rb#296
+ # source://rexml//lib/rexml/source.rb#351
def readline(term = T.unsafe(nil)); end
end
@@ -3717,48 +3746,48 @@ end
# source://rexml//lib/rexml/namespace.rb#13
REXML::Namespace::NAME_WITHOUT_NAMESPACE = T.let(T.unsafe(nil), Regexp)
-# source://rexml//lib/rexml/doctype.rb#280
+# source://rexml//lib/rexml/doctype.rb#276
class REXML::NotationDecl < ::REXML::Child
# @return [NotationDecl] a new instance of NotationDecl
#
- # source://rexml//lib/rexml/doctype.rb#282
+ # source://rexml//lib/rexml/doctype.rb#278
def initialize(name, middle, pub, sys); end
# This method retrieves the name of the notation.
#
# Method contributed by Henrik Martensson
#
- # source://rexml//lib/rexml/doctype.rb#307
+ # source://rexml//lib/rexml/doctype.rb#302
def name; end
# Returns the value of attribute public.
#
- # source://rexml//lib/rexml/doctype.rb#281
+ # source://rexml//lib/rexml/doctype.rb#277
def public; end
# Sets the attribute public
#
# @param value the value to set the attribute public to.
#
- # source://rexml//lib/rexml/doctype.rb#281
+ # source://rexml//lib/rexml/doctype.rb#277
def public=(_arg0); end
# Returns the value of attribute system.
#
- # source://rexml//lib/rexml/doctype.rb#281
+ # source://rexml//lib/rexml/doctype.rb#277
def system; end
# Sets the attribute system
#
# @param value the value to set the attribute system to.
#
- # source://rexml//lib/rexml/doctype.rb#281
+ # source://rexml//lib/rexml/doctype.rb#277
def system=(_arg0); end
- # source://rexml//lib/rexml/doctype.rb#290
+ # source://rexml//lib/rexml/doctype.rb#286
def to_s; end
- # source://rexml//lib/rexml/doctype.rb#300
+ # source://rexml//lib/rexml/doctype.rb#295
def write(output, indent = T.unsafe(nil)); end
end
@@ -3996,51 +4025,51 @@ end
class REXML::Parsers::BaseParser
# @return [BaseParser] a new instance of BaseParser
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#162
+ # source://rexml//lib/rexml/parsers/baseparser.rb#164
def initialize(source); end
- # source://rexml//lib/rexml/parsers/baseparser.rb#171
+ # source://rexml//lib/rexml/parsers/baseparser.rb#175
def add_listener(listener); end
# Returns true if there are no more events
#
# @return [Boolean]
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#202
+ # source://rexml//lib/rexml/parsers/baseparser.rb#210
def empty?; end
- # source://rexml//lib/rexml/parsers/baseparser.rb#534
+ # source://rexml//lib/rexml/parsers/baseparser.rb#537
def entity(reference, entities); end
# Returns the value of attribute entity_expansion_count.
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#176
+ # source://rexml//lib/rexml/parsers/baseparser.rb#180
def entity_expansion_count; end
# Sets the attribute entity_expansion_limit
#
# @param value the value to set the attribute entity_expansion_limit to.
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#177
+ # source://rexml//lib/rexml/parsers/baseparser.rb#181
def entity_expansion_limit=(_arg0); end
# Sets the attribute entity_expansion_text_limit
#
# @param value the value to set the attribute entity_expansion_text_limit to.
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#178
+ # source://rexml//lib/rexml/parsers/baseparser.rb#182
def entity_expansion_text_limit=(_arg0); end
# Returns true if there are more events. Synonymous with !empty?
#
# @return [Boolean]
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#207
+ # source://rexml//lib/rexml/parsers/baseparser.rb#215
def has_next?; end
# Escapes all possible entities
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#545
+ # source://rexml//lib/rexml/parsers/baseparser.rb#548
def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
# Peek at the +depth+ event in the stack. The first element on the stack
@@ -4050,72 +4079,90 @@ class REXML::Parsers::BaseParser
# event, so you can effectively pre-parse the entire document (pull the
# entire thing into memory) using this method.
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#223
+ # source://rexml//lib/rexml/parsers/baseparser.rb#231
def peek(depth = T.unsafe(nil)); end
- # source://rexml//lib/rexml/parsers/baseparser.rb#192
+ # source://rexml//lib/rexml/parsers/baseparser.rb#200
def position; end
# Returns the next event. This is a +PullEvent+ object.
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#238
+ # source://rexml//lib/rexml/parsers/baseparser.rb#246
def pull; end
+ # source://rexml//lib/rexml/parsers/baseparser.rb#189
+ def reset; end
+
# Returns the value of attribute source.
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#175
+ # source://rexml//lib/rexml/parsers/baseparser.rb#179
def source; end
- # source://rexml//lib/rexml/parsers/baseparser.rb#180
+ # source://rexml//lib/rexml/parsers/baseparser.rb#184
def stream=(source); end
# Unescapes all possible entities
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#561
+ # source://rexml//lib/rexml/parsers/baseparser.rb#564
def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end
# Push an event back on the head of the stream. This method
# has (theoretically) infinite depth.
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#213
+ # source://rexml//lib/rexml/parsers/baseparser.rb#221
def unshift(token); end
private
- # source://rexml//lib/rexml/parsers/baseparser.rb#606
+ # source://rexml//lib/rexml/parsers/baseparser.rb#613
def add_namespace(prefix, uri); end
# @return [Boolean]
#
- # source://rexml//lib/rexml/parsers/baseparser.rb#639
+ # source://rexml//lib/rexml/parsers/baseparser.rb#646
def need_source_encoding_update?(xml_declaration_encoding); end
- # source://rexml//lib/rexml/parsers/baseparser.rb#759
+ # source://rexml//lib/rexml/parsers/baseparser.rb#652
+ def normalize_xml_declaration_encoding(xml_declaration_encoding); end
+
+ # source://rexml//lib/rexml/parsers/baseparser.rb#849
+ def parse_attribute_value_with_equal(name); end
+
+ # source://rexml//lib/rexml/parsers/baseparser.rb#868
def parse_attributes(prefixes); end
- # source://rexml//lib/rexml/parsers/baseparser.rb#658
+ # source://rexml//lib/rexml/parsers/baseparser.rb#669
def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
- # source://rexml//lib/rexml/parsers/baseparser.rb#686
+ # source://rexml//lib/rexml/parsers/baseparser.rb#697
def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
- # source://rexml//lib/rexml/parsers/baseparser.rb#645
+ # source://rexml//lib/rexml/parsers/baseparser.rb#656
def parse_name(base_error_message); end
- # source://rexml//lib/rexml/parsers/baseparser.rb#621
+ # source://rexml//lib/rexml/parsers/baseparser.rb#628
def pop_namespaces_restore; end
- # source://rexml//lib/rexml/parsers/baseparser.rb#724
+ # source://rexml//lib/rexml/parsers/baseparser.rb#735
+ def process_comment; end
+
+ # source://rexml//lib/rexml/parsers/baseparser.rb#747
def process_instruction; end
- # source://rexml//lib/rexml/parsers/baseparser.rb#248
+ # source://rexml//lib/rexml/parsers/baseparser.rb#256
def pull_event; end
- # source://rexml//lib/rexml/parsers/baseparser.rb#615
+ # source://rexml//lib/rexml/parsers/baseparser.rb#622
def push_namespaces_restore; end
- # source://rexml//lib/rexml/parsers/baseparser.rb#632
+ # source://rexml//lib/rexml/parsers/baseparser.rb#639
def record_entity_expansion(delta = T.unsafe(nil)); end
+
+ # source://rexml//lib/rexml/parsers/baseparser.rb#831
+ def scan_quote; end
+
+ # source://rexml//lib/rexml/parsers/baseparser.rb#769
+ def xml_declaration; end
end
# source://rexml//lib/rexml/parsers/baseparser.rb#130
@@ -4130,31 +4177,34 @@ REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
# source://rexml//lib/rexml/parsers/baseparser.rb#143
module REXML::Parsers::BaseParser::Private; end
-# source://rexml//lib/rexml/parsers/baseparser.rb#147
+# source://rexml//lib/rexml/parsers/baseparser.rb#148
REXML::Parsers::BaseParser::Private::ATTLISTDECL_END = T.let(T.unsafe(nil), Regexp)
-# source://rexml//lib/rexml/parsers/baseparser.rb#152
+# source://rexml//lib/rexml/parsers/baseparser.rb#153
REXML::Parsers::BaseParser::Private::CARRIAGE_RETURN_NEWLINE_PATTERN = T.let(T.unsafe(nil), Regexp)
-# source://rexml//lib/rexml/parsers/baseparser.rb#153
+# source://rexml//lib/rexml/parsers/baseparser.rb#154
REXML::Parsers::BaseParser::Private::CHARACTER_REFERENCES = T.let(T.unsafe(nil), Regexp)
# source://rexml//lib/rexml/parsers/baseparser.rb#146
REXML::Parsers::BaseParser::Private::CLOSE_PATTERN = T.let(T.unsafe(nil), Regexp)
-# source://rexml//lib/rexml/parsers/baseparser.rb#154
+# source://rexml//lib/rexml/parsers/baseparser.rb#155
REXML::Parsers::BaseParser::Private::DEFAULT_ENTITIES_PATTERNS = T.let(T.unsafe(nil), Hash)
-# source://rexml//lib/rexml/parsers/baseparser.rb#151
+# source://rexml//lib/rexml/parsers/baseparser.rb#152
REXML::Parsers::BaseParser::Private::ENTITYDECL_PATTERN = T.let(T.unsafe(nil), Regexp)
-# source://rexml//lib/rexml/parsers/baseparser.rb#149
+# source://rexml//lib/rexml/parsers/baseparser.rb#147
+REXML::Parsers::BaseParser::Private::EQUAL_PATTERN = T.let(T.unsafe(nil), Regexp)
+
+# source://rexml//lib/rexml/parsers/baseparser.rb#150
REXML::Parsers::BaseParser::Private::GEDECL_PATTERN = T.let(T.unsafe(nil), String)
-# source://rexml//lib/rexml/parsers/baseparser.rb#148
+# source://rexml//lib/rexml/parsers/baseparser.rb#149
REXML::Parsers::BaseParser::Private::NAME_PATTERN = T.let(T.unsafe(nil), Regexp)
-# source://rexml//lib/rexml/parsers/baseparser.rb#150
+# source://rexml//lib/rexml/parsers/baseparser.rb#151
REXML::Parsers::BaseParser::Private::PEDECL_PATTERN = T.let(T.unsafe(nil), String)
# source://rexml//lib/rexml/parsers/baseparser.rb#144
@@ -4163,6 +4213,9 @@ REXML::Parsers::BaseParser::Private::PEREFERENCE_PATTERN = T.let(T.unsafe(nil),
# source://rexml//lib/rexml/parsers/baseparser.rb#145
REXML::Parsers::BaseParser::Private::TAG_PATTERN = T.let(T.unsafe(nil), Regexp)
+# source://rexml//lib/rexml/parsers/baseparser.rb#160
+REXML::Parsers::BaseParser::Private::XML_PREFIXED_NAMESPACE = T.let(T.unsafe(nil), String)
+
# source://rexml//lib/rexml/parsers/baseparser.rb#66
REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
@@ -4370,7 +4423,7 @@ end
# A Source can be searched for patterns, and wraps buffers and other
# objects and provides consumption of text
#
-# source://rexml//lib/rexml/source.rb#51
+# source://rexml//lib/rexml/source.rb#61
class REXML::Source
include ::REXML::Encoding
@@ -4381,82 +4434,99 @@ class REXML::Source
# @param encoding if non-null, sets the encoding of the source to this
# @return [Source] a new instance of Source
#
- # source://rexml//lib/rexml/source.rb#71
+ # source://rexml//lib/rexml/source.rb#88
def initialize(arg, encoding = T.unsafe(nil)); end
# The current buffer (what we're going to read next)
#
- # source://rexml//lib/rexml/source.rb#83
+ # source://rexml//lib/rexml/source.rb#101
def buffer; end
- # source://rexml//lib/rexml/source.rb#93
+ # source://rexml//lib/rexml/source.rb#111
def buffer_encoding=(encoding); end
# @return the current line in the source
#
- # source://rexml//lib/rexml/source.rb#142
+ # source://rexml//lib/rexml/source.rb#180
def current_line; end
- # source://rexml//lib/rexml/source.rb#87
+ # source://rexml//lib/rexml/source.rb#105
def drop_parsed_content; end
# @return [Boolean] true if the Source is exhausted
#
- # source://rexml//lib/rexml/source.rb#137
+ # source://rexml//lib/rexml/source.rb#175
def empty?; end
# Returns the value of attribute encoding.
#
- # source://rexml//lib/rexml/source.rb#55
+ # source://rexml//lib/rexml/source.rb#65
def encoding; end
# Inherited from Encoding
# Overridden to support optimized en/decoding
#
- # source://rexml//lib/rexml/source.rb#99
+ # source://rexml//lib/rexml/source.rb#117
def encoding=(enc); end
- # source://rexml//lib/rexml/source.rb#117
+ # source://rexml//lib/rexml/source.rb#135
def ensure_buffer; end
# The line number of the last consumed text
#
- # source://rexml//lib/rexml/source.rb#54
+ # source://rexml//lib/rexml/source.rb#64
def line; end
- # source://rexml//lib/rexml/source.rb#120
+ # source://rexml//lib/rexml/source.rb#138
def match(pattern, cons = T.unsafe(nil)); end
- # source://rexml//lib/rexml/source.rb#128
+ # @return [Boolean]
+ #
+ # source://rexml//lib/rexml/source.rb#146
+ def match?(pattern, cons = T.unsafe(nil)); end
+
+ # source://rexml//lib/rexml/source.rb#166
+ def peek_byte; end
+
+ # source://rexml//lib/rexml/source.rb#158
def position; end
- # source://rexml//lib/rexml/source.rb#132
+ # source://rexml//lib/rexml/source.rb#162
def position=(pos); end
- # source://rexml//lib/rexml/source.rb#104
+ # source://rexml//lib/rexml/source.rb#122
def read(term = T.unsafe(nil)); end
- # source://rexml//lib/rexml/source.rb#107
+ # source://rexml//lib/rexml/source.rb#125
def read_until(term); end
+ # source://rexml//lib/rexml/source.rb#170
+ def scan_byte; end
+
+ # source://rexml//lib/rexml/source.rb#154
+ def skip_spaces; end
+
private
- # source://rexml//lib/rexml/source.rb#151
+ # source://rexml//lib/rexml/source.rb#189
def detect_encoding; end
- # source://rexml//lib/rexml/source.rb#169
+ # source://rexml//lib/rexml/source.rb#207
def encoding_updated; end
end
-# source://rexml//lib/rexml/source.rb#57
+# source://rexml//lib/rexml/source.rb#67
module REXML::Source::Private; end
-# source://rexml//lib/rexml/source.rb#59
+# source://rexml//lib/rexml/source.rb#70
REXML::Source::Private::PRE_DEFINED_TERM_PATTERNS = T.let(T.unsafe(nil), Hash)
-# source://rexml//lib/rexml/source.rb#58
+# source://rexml//lib/rexml/source.rb#69
REXML::Source::Private::SCANNER_RESET_SIZE = T.let(T.unsafe(nil), Integer)
+# source://rexml//lib/rexml/source.rb#68
+REXML::Source::Private::SPACES_PATTERN = T.let(T.unsafe(nil), Regexp)
+
# Represents text nodes in an XML document
#
# source://rexml//lib/rexml/text.rb#11
@@ -4502,7 +4572,7 @@ class REXML::Text < ::REXML::Child
#
# @return [Text] a new instance of Text
#
- # source://rexml//lib/rexml/text.rb#94
+ # source://rexml//lib/rexml/text.rb#79
def initialize(arg, respect_whitespace = T.unsafe(nil), parent = T.unsafe(nil), raw = T.unsafe(nil), entity_filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
# Appends text to this text node. The text is appended in the +raw+ mode
@@ -4511,36 +4581,36 @@ class REXML::Text < ::REXML::Child
# +returns+ the text itself to enable method chain like
# 'text << "XXX" << "YYY"'.
#
- # source://rexml//lib/rexml/text.rb#214
+ # source://rexml//lib/rexml/text.rb#189
def <<(to_append); end
# +other+ a String or a Text
# +returns+ the result of (to_s <=> arg.to_s)
#
- # source://rexml//lib/rexml/text.rb#223
+ # source://rexml//lib/rexml/text.rb#198
def <=>(other); end
- # source://rexml//lib/rexml/text.rb#204
+ # source://rexml//lib/rexml/text.rb#179
def clone; end
- # source://rexml//lib/rexml/text.rb#227
+ # source://rexml//lib/rexml/text.rb#202
def doctype; end
# @return [Boolean]
#
- # source://rexml//lib/rexml/text.rb#199
+ # source://rexml//lib/rexml/text.rb#174
def empty?; end
- # source://rexml//lib/rexml/text.rb#299
+ # source://rexml//lib/rexml/text.rb#271
def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
- # source://rexml//lib/rexml/text.rb#253
+ # source://rexml//lib/rexml/text.rb#225
def inspect; end
- # source://rexml//lib/rexml/text.rb#195
+ # source://rexml//lib/rexml/text.rb#170
def node_type; end
- # source://rexml//lib/rexml/text.rb#125
+ # source://rexml//lib/rexml/text.rb#110
def parent=(parent); end
# If +raw+ is true, then REXML leaves the value alone
@@ -4567,7 +4637,7 @@ class REXML::Text < ::REXML::Child
# u = Text.new( "sean russell", false, nil, true )
# u.to_s #-> "sean russell"
#
- # source://rexml//lib/rexml/text.rb#248
+ # source://rexml//lib/rexml/text.rb#220
def to_s; end
# Returns the string value of this text. This is the text without
@@ -4584,7 +4654,7 @@ class REXML::Text < ::REXML::Child
# u = Text.new( "sean russell", false, nil, true )
# u.value #-> "sean russell"
#
- # source://rexml//lib/rexml/text.rb#270
+ # source://rexml//lib/rexml/text.rb#242
def value; end
# Sets the contents of this text node. This expects the text to be
@@ -4595,16 +4665,16 @@ class REXML::Text < ::REXML::Child
# e[0].value = "bar" # bar
# e[0].value = "" # <a>
#
- # source://rexml//lib/rexml/text.rb#282
+ # source://rexml//lib/rexml/text.rb#254
def value=(val); end
- # source://rexml//lib/rexml/text.rb#288
+ # source://rexml//lib/rexml/text.rb#260
def wrap(string, width, addnewline = T.unsafe(nil)); end
# == DEPRECATED
# See REXML::Formatters
#
- # source://rexml//lib/rexml/text.rb#314
+ # source://rexml//lib/rexml/text.rb#288
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
# Writes out text, substituting special characters beforehand.
@@ -4622,42 +4692,42 @@ class REXML::Text < ::REXML::Child
# }
# puts ascOut
#
- # source://rexml//lib/rexml/text.rb#346
+ # source://rexml//lib/rexml/text.rb#318
def write_with_substitution(out, input); end
# FIXME
# This probably won't work properly
#
- # source://rexml//lib/rexml/text.rb#326
+ # source://rexml//lib/rexml/text.rb#300
def xpath; end
private
- # source://rexml//lib/rexml/text.rb#359
+ # source://rexml//lib/rexml/text.rb#331
def clear_cache; end
class << self
# check for illegal characters
#
- # source://rexml//lib/rexml/text.rb#131
- def check(string, pattern, doctype); end
+ # source://rexml//lib/rexml/text.rb#116
+ def check(string, pattern, doctype = T.unsafe(nil)); end
- # source://rexml//lib/rexml/text.rb#429
+ # source://rexml//lib/rexml/text.rb#401
def expand(ref, doctype, filter); end
# Escapes all possible entities
#
- # source://rexml//lib/rexml/text.rb#391
+ # source://rexml//lib/rexml/text.rb#363
def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
# Reads text, substituting entities
#
- # source://rexml//lib/rexml/text.rb#365
+ # source://rexml//lib/rexml/text.rb#337
def read_with_substitution(input, illegal = T.unsafe(nil)); end
# Unescapes all possible entities
#
- # source://rexml//lib/rexml/text.rb#415
+ # source://rexml//lib/rexml/text.rb#387
def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil), entity_expansion_text_limit: T.unsafe(nil)); end
end
end
@@ -4784,24 +4854,24 @@ end
# @private
#
-# source://rexml//lib/rexml/xpath_parser.rb#963
+# source://rexml//lib/rexml/xpath_parser.rb#965
class REXML::XPathNode
# @return [XPathNode] a new instance of XPathNode
#
- # source://rexml//lib/rexml/xpath_parser.rb#965
+ # source://rexml//lib/rexml/xpath_parser.rb#967
def initialize(node, context = T.unsafe(nil)); end
# Returns the value of attribute context.
#
- # source://rexml//lib/rexml/xpath_parser.rb#964
+ # source://rexml//lib/rexml/xpath_parser.rb#966
def context; end
- # source://rexml//lib/rexml/xpath_parser.rb#974
+ # source://rexml//lib/rexml/xpath_parser.rb#976
def position; end
# Returns the value of attribute raw_node.
#
- # source://rexml//lib/rexml/xpath_parser.rb#964
+ # source://rexml//lib/rexml/xpath_parser.rb#966
def raw_node; end
end
@@ -4819,7 +4889,7 @@ class REXML::XPathParser
# source://rexml//lib/rexml/xpath_parser.rb#60
def initialize(strict: T.unsafe(nil)); end
- # source://rexml//lib/rexml/xpath_parser.rb#94
+ # source://rexml//lib/rexml/xpath_parser.rb#107
def []=(variable_name, value); end
# Performs a depth-first (document order) XPath search, and returns the
@@ -4827,66 +4897,66 @@ class REXML::XPathParser
#
# FIXME: This method is incomplete!
#
- # source://rexml//lib/rexml/xpath_parser.rb#103
+ # source://rexml//lib/rexml/xpath_parser.rb#116
def first(path_stack, node); end
- # source://rexml//lib/rexml/xpath_parser.rb#84
- def get_first(path, nodeset); end
+ # source://rexml//lib/rexml/xpath_parser.rb#97
+ def get_first(path, node); end
- # source://rexml//lib/rexml/xpath_parser.rb#139
- def match(path_stack, nodeset); end
+ # source://rexml//lib/rexml/xpath_parser.rb#153
+ def match(path_stack, node); end
# source://rexml//lib/rexml/xpath_parser.rb#69
def namespaces=(namespaces = T.unsafe(nil)); end
# source://rexml//lib/rexml/xpath_parser.rb#79
- def parse(path, nodeset); end
+ def parse(path, node); end
- # source://rexml//lib/rexml/xpath_parser.rb#89
- def predicate(path, nodeset); end
+ # source://rexml//lib/rexml/xpath_parser.rb#102
+ def predicate(path, node); end
# source://rexml//lib/rexml/xpath_parser.rb#74
def variables=(vars = T.unsafe(nil)); end
private
- # source://rexml//lib/rexml/xpath_parser.rb#779
+ # source://rexml//lib/rexml/xpath_parser.rb#781
def child(nodeset); end
- # source://rexml//lib/rexml/xpath_parser.rb#920
+ # source://rexml//lib/rexml/xpath_parser.rb#922
def compare(a, operator, b); end
- # source://rexml//lib/rexml/xpath_parser.rb#682
+ # source://rexml//lib/rexml/xpath_parser.rb#687
def descendant(nodeset, include_self); end
- # source://rexml//lib/rexml/xpath_parser.rb#693
+ # source://rexml//lib/rexml/xpath_parser.rb#698
def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self); end
- # source://rexml//lib/rexml/xpath_parser.rb#942
+ # source://rexml//lib/rexml/xpath_parser.rb#944
def each_unnode(nodeset); end
- # source://rexml//lib/rexml/xpath_parser.rb#641
+ # source://rexml//lib/rexml/xpath_parser.rb#646
def enter(tag, *args); end
- # source://rexml//lib/rexml/xpath_parser.rb#819
+ # source://rexml//lib/rexml/xpath_parser.rb#821
def equality_relational_compare(set1, op, set2); end
- # source://rexml//lib/rexml/xpath_parser.rb#591
+ # source://rexml//lib/rexml/xpath_parser.rb#596
def evaluate_predicate(expression, nodesets); end
# Expr takes a stack of path elements and a set of nodes (either a Parent
# or an Array and returns an Array of matching nodes
#
- # source://rexml//lib/rexml/xpath_parser.rb#175
+ # source://rexml//lib/rexml/xpath_parser.rb#186
def expr(path_stack, nodeset, context = T.unsafe(nil)); end
- # source://rexml//lib/rexml/xpath_parser.rb#582
+ # source://rexml//lib/rexml/xpath_parser.rb#587
def filter_nodeset(nodeset); end
- # source://rexml//lib/rexml/xpath_parser.rb#749
+ # source://rexml//lib/rexml/xpath_parser.rb#754
def following(node); end
- # source://rexml//lib/rexml/xpath_parser.rb#760
+ # source://rexml//lib/rexml/xpath_parser.rb#765
def following_node_of(node); end
# Returns a String namespace for a node, given a prefix
@@ -4895,22 +4965,22 @@ class REXML::XPathParser
# 1. Use the supplied namespace mapping first.
# 2. If no mapping was supplied, use the context node to look up the namespace
#
- # source://rexml//lib/rexml/xpath_parser.rb#163
+ # source://rexml//lib/rexml/xpath_parser.rb#174
def get_namespace(node, prefix); end
- # source://rexml//lib/rexml/xpath_parser.rb#646
+ # source://rexml//lib/rexml/xpath_parser.rb#651
def leave(tag, *args); end
- # source://rexml//lib/rexml/xpath_parser.rb#767
+ # source://rexml//lib/rexml/xpath_parser.rb#771
def next_sibling_node(node); end
- # source://rexml//lib/rexml/xpath_parser.rb#477
+ # source://rexml//lib/rexml/xpath_parser.rb#488
def node_test(path_stack, nodesets, any_type: T.unsafe(nil)); end
- # source://rexml//lib/rexml/xpath_parser.rb#806
+ # source://rexml//lib/rexml/xpath_parser.rb#808
def norm(b); end
- # source://rexml//lib/rexml/xpath_parser.rb#894
+ # source://rexml//lib/rexml/xpath_parser.rb#896
def normalize_compare_values(a, operator, b); end
# Builds a nodeset of all of the preceding nodes of the supplied node,
@@ -4918,10 +4988,10 @@ class REXML::XPathParser
# preceding:: includes every element in the document that precedes this node,
# except for ancestors
#
- # source://rexml//lib/rexml/xpath_parser.rb#712
+ # source://rexml//lib/rexml/xpath_parser.rb#717
def preceding(node); end
- # source://rexml//lib/rexml/xpath_parser.rb#734
+ # source://rexml//lib/rexml/xpath_parser.rb#739
def preceding_node_of(node); end
# Reorders an array of nodes so that they are in document order
@@ -4933,24 +5003,24 @@ class REXML::XPathParser
# I wouldn't have to do this. Maybe add a document IDX for each node?
# Problems with mutable documents. Or, rewrite everything.
#
- # source://rexml//lib/rexml/xpath_parser.rb#659
+ # source://rexml//lib/rexml/xpath_parser.rb#664
def sort(array_of_nodes, order); end
- # source://rexml//lib/rexml/xpath_parser.rb#441
+ # source://rexml//lib/rexml/xpath_parser.rb#452
def step(path_stack, any_type: T.unsafe(nil), order: T.unsafe(nil)); end
# @return [Boolean]
#
- # source://rexml//lib/rexml/xpath_parser.rb#154
+ # source://rexml//lib/rexml/xpath_parser.rb#165
def strict?; end
- # source://rexml//lib/rexml/xpath_parser.rb#634
+ # source://rexml//lib/rexml/xpath_parser.rb#639
def trace(*args); end
- # source://rexml//lib/rexml/xpath_parser.rb#954
+ # source://rexml//lib/rexml/xpath_parser.rb#956
def unnode(nodeset); end
- # source://rexml//lib/rexml/xpath_parser.rb#881
+ # source://rexml//lib/rexml/xpath_parser.rb#883
def value_type(value); end
end
diff --git a/sorbet/rbi/gems/securerandom@0.4.1.rbi b/sorbet/rbi/gems/securerandom@0.4.1.rbi
new file mode 100644
index 000000000..faee3b913
--- /dev/null
+++ b/sorbet/rbi/gems/securerandom@0.4.1.rbi
@@ -0,0 +1,75 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `securerandom` gem.
+# Please instead update this file by running `bin/tapioca gem securerandom`.
+
+
+# == Secure random number generator interface.
+#
+# This library is an interface to secure random number generators which are
+# suitable for generating session keys in HTTP cookies, etc.
+#
+# You can use this library in your application by requiring it:
+#
+# require 'securerandom'
+#
+# It supports the following secure random number generators:
+#
+# * openssl
+# * /dev/urandom
+# * Win32
+#
+# SecureRandom is extended by the Random::Formatter module which
+# defines the following methods:
+#
+# * alphanumeric
+# * base64
+# * choose
+# * gen_random
+# * hex
+# * rand
+# * random_bytes
+# * random_number
+# * urlsafe_base64
+# * uuid
+#
+# These methods are usable as class methods of SecureRandom such as
+# +SecureRandom.hex+.
+#
+# If a secure random number generator is not available,
+# +NotImplementedError+ is raised.
+#
+# source://securerandom//lib/securerandom.rb#41
+module SecureRandom
+ extend ::Random::Formatter
+
+ class << self
+ # Returns a random binary string containing +size+ bytes.
+ #
+ # See Random.bytes
+ #
+ # source://securerandom//lib/securerandom.rb#50
+ def bytes(n); end
+
+ # source://securerandom//lib/securerandom.rb#70
+ def gen_random(n); end
+
+ private
+
+ # Implementation using OpenSSL
+ #
+ # source://securerandom//lib/securerandom.rb#65
+ def gen_random_openssl(n); end
+
+ # Implementation using system random device
+ #
+ # source://securerandom//lib/securerandom.rb#70
+ def gen_random_urandom(n); end
+ end
+end
+
+# The version
+#
+# source://securerandom//lib/securerandom.rb#44
+SecureRandom::VERSION = T.let(T.unsafe(nil), String)
diff --git a/sorbet/rbi/gems/sinatra@4.0.0.rbi b/sorbet/rbi/gems/sinatra@4.0.0.rbi
deleted file mode 100644
index 5981f657f..000000000
--- a/sorbet/rbi/gems/sinatra@4.0.0.rbi
+++ /dev/null
@@ -1,9 +0,0 @@
-# typed: true
-
-# DO NOT EDIT MANUALLY
-# This is an autogenerated file for types exported from the `sinatra` gem.
-# Please instead update this file by running `bin/tapioca gem sinatra`.
-
-
-# THIS IS AN EMPTY RBI FILE.
-# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
diff --git a/sorbet/rbi/gems/sinatra@4.2.0.rbi b/sorbet/rbi/gems/sinatra@4.2.0.rbi
new file mode 100644
index 000000000..1f3016582
--- /dev/null
+++ b/sorbet/rbi/gems/sinatra@4.2.0.rbi
@@ -0,0 +1,1931 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `sinatra` gem.
+# Please instead update this file by running `bin/tapioca gem sinatra`.
+
+
+class Rack::CommonLogger
+ # source://rack/3.2.4/lib/rack/common_logger.rb#29
+ def initialize(app, logger = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#267
+ def call(env); end
+
+ # source://rack/3.2.4/lib/rack/common_logger.rb#41
+ def call_without_check(env); end
+
+ private
+
+ # source://rack/3.2.4/lib/rack/common_logger.rb#84
+ def extract_content_length(headers); end
+
+ # source://rack/3.2.4/lib/rack/common_logger.rb#52
+ def log(env, status, response_headers, began_at); end
+end
+
+# source://sinatra//lib/sinatra/indifferent_hash.rb#3
+module Sinatra
+ class << self
+ # Include the helper modules provided in Sinatra's request context.
+ #
+ # source://sinatra//lib/sinatra/base.rb#2162
+ def helpers(*extensions, &block); end
+
+ # Create a new Sinatra application; the block is evaluated in the class scope.
+ #
+ # source://sinatra//lib/sinatra/base.rb#2150
+ def new(base = T.unsafe(nil), &block); end
+
+ # Extend the top-level DSL with the modules provided.
+ #
+ # source://sinatra//lib/sinatra/base.rb#2157
+ def register(*extensions, &block); end
+
+ # Use the middleware for classic applications.
+ #
+ # source://sinatra//lib/sinatra/base.rb#2167
+ def use(*args, &block); end
+ end
+end
+
+# Execution context for classic style (top-level) applications. All
+# DSL methods executed on main are delegated to this class.
+#
+# The Application class should not be subclassed, unless you want to
+# inherit all settings, routes, handlers, and error pages from the
+# top-level. Subclassing Sinatra::Base is highly recommended for
+# modular applications.
+#
+# source://sinatra//lib/sinatra/base.rb#2084
+class Sinatra::Application < ::Sinatra::Base
+ class << self
+ def app_file; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def app_file=(val); end
+
+ def app_file?; end
+
+ # source://sinatra//lib/sinatra/base.rb#2085
+ def logging; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def logging=(val); end
+
+ def logging?; end
+ def method_override; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def method_override=(val); end
+
+ def method_override?; end
+
+ # source://sinatra//lib/sinatra/base.rb#2090
+ def register(*extensions, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2087
+ def run; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def run=(val); end
+
+ def run?; end
+ end
+end
+
+# source://sinatra//lib/sinatra/base.rb#277
+class Sinatra::BadRequest < ::Sinatra::Error
+ # source://sinatra//lib/sinatra/base.rb#278
+ def http_status; end
+end
+
+# Base class for all Sinatra applications and middleware.
+#
+# source://sinatra//lib/sinatra/base.rb#973
+class Sinatra::Base
+ include ::Rack::Utils
+ include ::Sinatra::Helpers
+ include ::Sinatra::Templates
+
+ # @return [Base] a new instance of Base
+ # @yield [_self]
+ # @yieldparam _self [Sinatra::Base] the object that the method was called on
+ #
+ # source://sinatra//lib/sinatra/base.rb#983
+ def initialize(app = T.unsafe(nil), **_kwargs); end
+
+ # Returns the value of attribute app.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def app; end
+
+ # Sets the attribute app
+ #
+ # @param value the value to set the attribute app to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def app=(_arg0); end
+
+ # Rack call interface.
+ #
+ # source://sinatra//lib/sinatra/base.rb#992
+ def call(env); end
+
+ # source://sinatra//lib/sinatra/base.rb#996
+ def call!(env); end
+
+ # Returns the value of attribute env.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def env; end
+
+ # Sets the attribute env
+ #
+ # @param value the value to set the attribute env to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def env=(_arg0); end
+
+ # Forward the request to the downstream app -- middleware only.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1043
+ def forward; end
+
+ # Exit the current block, halts any further processing
+ # of the request, and returns the specified response.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1030
+ def halt(*response); end
+
+ # Returns the value of attribute params.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def params; end
+
+ # Sets the attribute params
+ #
+ # @param value the value to set the attribute params to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def params=(_arg0); end
+
+ # Pass control to the next matching route.
+ # If there are no more matching routes, Sinatra will
+ # return a 404 response.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1038
+ def pass(&block); end
+
+ # Returns the value of attribute request.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def request; end
+
+ # Sets the attribute request
+ #
+ # @param value the value to set the attribute request to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def request=(_arg0); end
+
+ # Returns the value of attribute response.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def response; end
+
+ # Sets the attribute response
+ #
+ # @param value the value to set the attribute response to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#980
+ def response=(_arg0); end
+
+ # Access settings defined with Base.set.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1024
+ def settings; end
+
+ # Returns the value of attribute template_cache.
+ #
+ # source://sinatra//lib/sinatra/base.rb#981
+ def template_cache; end
+
+ private
+
+ # Dispatch a request with error handling.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1182
+ def dispatch!; end
+
+ # source://sinatra//lib/sinatra/base.rb#1274
+ def dump_errors!(boom); end
+
+ # Find an custom error block for the key(s) specified.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1255
+ def error_block!(key, *block_params); end
+
+ # Run filters defined on the class and all superclasses.
+ # Accepts an optional block to call after each filter is applied.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1057
+ def filter!(type, base = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1932
+ def force_encoding(*args); end
+
+ # Error handling during requests.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1209
+ def handle_exception!(boom); end
+
+ # Run the block with 'throw :halt' support and apply result to the response.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1166
+ def invoke(&block); end
+
+ # If the current request matches pattern and conditions, fill params
+ # with keys and call the given block.
+ # Revert params afterwards.
+ #
+ # Returns pass block.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1100
+ def process_route(pattern, conditions, block = T.unsafe(nil), values = T.unsafe(nil)); end
+
+ # Run routes defined on the class and all superclasses.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1066
+ def route!(base = T.unsafe(nil), pass_block = T.unsafe(nil)); end
+
+ # Run a route block and throw :halt with the result.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1091
+ def route_eval; end
+
+ # No matching route was found or all routes passed. The default
+ # implementation is to forward the request downstream when running
+ # as middleware (@app is non-nil); when no downstream app is set, raise
+ # a NotFound exception. Subclasses can override this method to perform
+ # custom route miss logic.
+ #
+ # @raise [NotFound]
+ #
+ # source://sinatra//lib/sinatra/base.rb#1137
+ def route_missing; end
+
+ # Attempt to serve static files from public directory. Throws :halt when
+ # a matching file is found, returns nil otherwise.
+ # If custom static headers are defined, use them.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1146
+ def static!(options = T.unsafe(nil)); end
+
+ class << self
+ def absolute_redirects; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def absolute_redirects=(val); end
+
+ def absolute_redirects?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def add_charset; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def add_charset=(val); end
+
+ def add_charset?; end
+
+ # add a filter
+ #
+ # source://sinatra//lib/sinatra/base.rb#1499
+ def add_filter(type, path = T.unsafe(nil), **options, &block); end
+
+ # Define an after filter; runs after all requests within the same
+ # context as route handlers and may access/modify the request and
+ # response.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1494
+ def after(path = T.unsafe(nil), **options, &block); end
+
+ def app_file; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def app_file=(val); end
+
+ def app_file?; end
+
+ # Define a before filter; runs before all requests within the same
+ # context as route handlers and may access/modify the request and
+ # response.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1487
+ def before(path = T.unsafe(nil), **options, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1975
+ def bind; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def bind=(val); end
+
+ def bind?; end
+
+ # Creates a Rack::Builder instance with all the middleware set up and
+ # the given +app+ as end point.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1671
+ def build(app); end
+
+ # source://sinatra//lib/sinatra/base.rb#1679
+ def call(env); end
+
+ # Like Kernel#caller but excluding certain magic entries and without
+ # line / method information; the resulting array contains filenames only.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1685
+ def caller_files; end
+
+ # source://sinatra//lib/sinatra/base.rb#1306
+ def callers_to_ignore; end
+
+ # Add a route condition. The route is considered non-matching when the
+ # block returns false.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1513
+ def condition(name = T.unsafe(nil), &block); end
+
+ # Set configuration options for Sinatra and/or the app.
+ # Allows scoping of settings for certain environments.
+ #
+ # @yield [_self]
+ # @yieldparam _self [Sinatra::Base] the object that the method was called on
+ #
+ # source://sinatra//lib/sinatra/base.rb#1580
+ def configure(*envs); end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def default_content_type; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def default_content_type=(val); end
+
+ def default_content_type?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def default_encoding; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def default_encoding=(val); end
+
+ def default_encoding?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1544
+ def delete(path, opts = T.unsafe(nil), &block); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#1574
+ def development?; end
+
+ # Same as calling `set :option, false` for each of the given options.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1394
+ def disable(*opts); end
+
+ # source://sinatra//lib/sinatra/base.rb#1940
+ def dump_errors; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def dump_errors=(val); end
+
+ def dump_errors?; end
+
+ # Same as calling `set :option, true` for each of the given options.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1389
+ def enable(*opts); end
+
+ def environment; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def environment=(val); end
+
+ def environment?; end
+
+ # Define a custom error handler. Optionally takes either an Exception
+ # class, or an HTTP status code to specify which errors should be
+ # handled.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1401
+ def error(*codes, &block); end
+
+ # Returns the value of attribute errors.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1304
+ def errors; end
+
+ # Extension modules registered on this class and all superclasses.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1329
+ def extensions; end
+
+ # Returns the value of attribute filters.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1304
+ def filters; end
+
+ # Force data to specified encoding. It defaults to settings.default_encoding
+ # which is UTF-8 by default
+ #
+ # source://sinatra//lib/sinatra/base.rb#1919
+ def force_encoding(data, encoding = T.unsafe(nil)); end
+
+ # Defining a `GET` handler also automatically defines
+ # a `HEAD` handler.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1532
+ def get(path, opts = T.unsafe(nil), &block); end
+
+ def handler_name; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def handler_name=(val); end
+
+ def handler_name?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1546
+ def head(path, opts = T.unsafe(nil), &block); end
+
+ # Makes the methods defined in the block and in the Modules given
+ # in `extensions` available to the handlers and templates
+ #
+ # source://sinatra//lib/sinatra/base.rb#1558
+ def helpers(*extensions, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1978
+ def host_authorization; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def host_authorization=(val); end
+
+ def host_authorization?; end
+
+ # Load embedded templates from the file; uses the caller's __FILE__
+ # when no file is specified.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1427
+ def inline_templates=(file = T.unsafe(nil)); end
+
+ # Define the layout template. The block must return the template source.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1421
+ def layout(name = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1552
+ def link(path, opts = T.unsafe(nil), &block); end
+
+ def lock; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def lock=(val); end
+
+ def lock?; end
+ def logging; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def logging=(val); end
+
+ def logging?; end
+ def method_override; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def method_override=(val); end
+
+ def method_override?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def methodoverride=(val); end
+
+ def methodoverride?; end
+
+ # Middleware used in this class and all superclasses.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1338
+ def middleware; end
+
+ # Lookup or register a mime type in Rack's mime registry.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1460
+ def mime_type(type, value = T.unsafe(nil)); end
+
+ # provides all mime types matching type, including deprecated types:
+ # mime_types :html # => ['text/html']
+ # mime_types :js # => ['application/javascript', 'text/javascript']
+ #
+ # source://sinatra//lib/sinatra/base.rb#1473
+ def mime_types(type); end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def mustermann_opts; end
+
+ # source://sinatra//lib/sinatra/base.rb#1376
+ def mustermann_opts=(val); end
+
+ def mustermann_opts?; end
+
+ # Create a new instance of the class fronted by its middleware
+ # pipeline. The object is guaranteed to respond to #call but may not be
+ # an instance of the class new was called on.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1663
+ def new(*args, **_arg1, &block); end
+
+ def new!(*_arg0); end
+
+ # Sugar for `error(404) { ... }`
+ #
+ # source://sinatra//lib/sinatra/base.rb#1410
+ def not_found(&block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1503
+ def on_start(&on_start_callback); end
+
+ # Returns the value of attribute on_start_callback.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1304
+ def on_start_callback; end
+
+ # source://sinatra//lib/sinatra/base.rb#1507
+ def on_stop(&on_stop_callback); end
+
+ # Returns the value of attribute on_stop_callback.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1304
+ def on_stop_callback; end
+
+ # source://sinatra//lib/sinatra/base.rb#1548
+ def options(path, opts = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1550
+ def patch(path, opts = T.unsafe(nil), &block); end
+
+ def port; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def port=(val); end
+
+ def port?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1542
+ def post(path, opts = T.unsafe(nil), &block); end
+
+ def prefixed_redirects; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def prefixed_redirects=(val); end
+
+ def prefixed_redirects?; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#1575
+ def production?; end
+
+ def protection; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def protection=(val); end
+
+ def protection?; end
+
+ # The prototype instance used to process requests.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1653
+ def prototype; end
+
+ # source://sinatra//lib/sinatra/base.rb#1517
+ def public=(value); end
+
+ # source://sinatra//lib/sinatra/base.rb#1526
+ def public_dir; end
+
+ # source://sinatra//lib/sinatra/base.rb#1522
+ def public_dir=(value); end
+
+ # source://sinatra//lib/sinatra/base.rb#2012
+ def public_folder; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def public_folder=(val); end
+
+ def public_folder?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1540
+ def put(path, opts = T.unsafe(nil), &block); end
+
+ def quiet; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def quiet=(val); end
+
+ def quiet?; end
+
+ # Stop the self-hosted server if running.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1592
+ def quit!; end
+
+ # source://sinatra//lib/sinatra/base.rb#1939
+ def raise_errors; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def raise_errors=(val); end
+
+ def raise_errors?; end
+
+ # Register an extension. Alternatively take a block from which an
+ # extension will be created and registered on the fly.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1565
+ def register(*extensions, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2008
+ def reload_templates; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def reload_templates=(val); end
+
+ def reload_templates?; end
+
+ # Removes all routes, filters, middleware and extension hooks from the
+ # current class (not routes/filters/... defined by its superclass).
+ #
+ # source://sinatra//lib/sinatra/base.rb#1312
+ def reset!; end
+
+ # source://sinatra//lib/sinatra/base.rb#2006
+ def root; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def root=(val); end
+
+ def root?; end
+
+ # Returns the value of attribute routes.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1304
+ def routes; end
+
+ def run; end
+
+ # Run the Sinatra app as a self-hosted server using
+ # Puma, Falcon (in that order). If given a block, will call
+ # with the constructed handler once we have taken the stage.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1609
+ def run!(options = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def run=(val); end
+
+ def run?; end
+
+ # Check whether the self-hosted server is running or not.
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#1648
+ def running?; end
+
+ def running_server; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def running_server=(val); end
+
+ def running_server?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def server; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def server=(val); end
+
+ def server?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def session_secret; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def session_secret=(val); end
+
+ def session_secret?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def session_store; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def session_store=(val); end
+
+ def session_store?; end
+ def sessions; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def sessions=(val); end
+
+ def sessions?; end
+
+ # Sets an option to the given value. If the value is a proc,
+ # the proc will be called every time the option is accessed.
+ #
+ # @raise [ArgumentError]
+ #
+ # source://sinatra//lib/sinatra/base.rb#1348
+ def set(option, value = T.unsafe(nil), ignore_setter = T.unsafe(nil), &block); end
+
+ # Access settings defined with Base.set.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1019
+ def settings; end
+
+ # source://sinatra//lib/sinatra/base.rb#1941
+ def show_exceptions; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def show_exceptions=(val); end
+
+ def show_exceptions?; end
+
+ # Run the Sinatra app as a self-hosted server using
+ # Puma, Falcon (in that order). If given a block, will call
+ # with the constructed handler once we have taken the stage.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1609
+ def start!(options = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2013
+ def static; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def static=(val); end
+
+ def static?; end
+ def static_cache_control; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def static_cache_control=(val); end
+
+ def static_cache_control?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1368
+ def static_headers; end
+
+ # source://sinatra//lib/sinatra/base.rb#1376
+ def static_headers=(val); end
+
+ def static_headers?; end
+
+ # Stop the self-hosted server if running.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1592
+ def stop!; end
+
+ def strict_paths; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def strict_paths=(val); end
+
+ def strict_paths?; end
+
+ # Define a named template. The block must return the template source.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1415
+ def template(name, &block); end
+
+ # Returns the value of attribute templates.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1304
+ def templates; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#1576
+ def test?; end
+
+ def threaded; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def threaded=(val); end
+
+ def threaded?; end
+ def traps; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def traps=(val); end
+
+ def traps?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1554
+ def unlink(path, opts = T.unsafe(nil), &block); end
+
+ # Use the specified Rack middleware
+ #
+ # source://sinatra//lib/sinatra/base.rb#1585
+ def use(middleware, *args, **_arg2, &block); end
+
+ def use_code; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def use_code=(val); end
+
+ def use_code?; end
+
+ # source://sinatra//lib/sinatra/base.rb#2007
+ def views; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def views=(val); end
+
+ def views?; end
+ def x_cascade; end
+
+ # source://sinatra//lib/sinatra/base.rb#1367
+ def x_cascade=(val); end
+
+ def x_cascade?; end
+
+ private
+
+ # Condition for matching user agent. Parameter should be Regexp.
+ # Will set params[:agent].
+ #
+ # source://sinatra//lib/sinatra/base.rb#1745
+ def agent(pattern); end
+
+ # Like Kernel#caller but excluding certain magic entries
+ #
+ # source://sinatra//lib/sinatra/base.rb#1910
+ def cleaned_caller(keep = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#1815
+ def compile(path, route_mustermann_opts = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#1795
+ def compile!(verb, path, block, **options); end
+
+ # Dynamically defines a method on settings.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1731
+ def define_singleton(name, content = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#1788
+ def generate_method(method_name, &block); end
+
+ # Condition for matching host name. Parameter might be String or Regexp.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1739
+ def host_name(pattern); end
+
+ # @private
+ #
+ # source://sinatra//lib/sinatra/base.rb#1889
+ def inherited(subclass); end
+
+ # source://sinatra//lib/sinatra/base.rb#1784
+ def invoke_hook(name, *args); end
+
+ # Condition for matching mimetypes. Accepts file extensions.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1758
+ def provides(*types); end
+
+ # source://sinatra//lib/sinatra/base.rb#1777
+ def route(verb, path, options = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#1847
+ def setup_common_logger(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1851
+ def setup_custom_logger(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1819
+ def setup_default_middleware(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1876
+ def setup_host_authorization(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1834
+ def setup_logging(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1830
+ def setup_middleware(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1843
+ def setup_null_logger(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1859
+ def setup_protection(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1880
+ def setup_sessions(builder); end
+
+ # source://sinatra//lib/sinatra/base.rb#1715
+ def setup_traps; end
+
+ # Starts the server by running the Rack Handler.
+ #
+ # source://sinatra//lib/sinatra/base.rb#1692
+ def start_server(handler, server_settings, handler_name); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#1711
+ def suppress_messages?; end
+
+ # source://sinatra//lib/sinatra/base.rb#1896
+ def synchronize(&block); end
+
+ # Condition for matching user agent. Parameter should be Regexp.
+ # Will set params[:agent].
+ #
+ # source://sinatra//lib/sinatra/base.rb#1745
+ def user_agent(pattern); end
+
+ # used for deprecation warnings
+ #
+ # source://sinatra//lib/sinatra/base.rb#1905
+ def warn_for_deprecation(message); end
+ end
+end
+
+# source://sinatra//lib/sinatra/base.rb#978
+Sinatra::Base::URI_INSTANCE = T.let(T.unsafe(nil), URI::RFC2396_Parser)
+
+# Behaves exactly like Rack::CommonLogger with the notable exception that it does nothing,
+# if another CommonLogger is already in the middleware chain.
+#
+# source://sinatra//lib/sinatra/base.rb#260
+class Sinatra::CommonLogger < ::Rack::CommonLogger
+ # source://sinatra//lib/sinatra/base.rb#261
+ def call(env); end
+end
+
+# Sinatra delegation mixin. Mixing this module into an object causes all
+# methods to be delegated to the Sinatra::Application class. Used primarily
+# at the top-level.
+#
+# source://sinatra//lib/sinatra/base.rb#2100
+module Sinatra::Delegator
+ private
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def after(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def before(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def configure(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def delete(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def development?(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def disable(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def enable(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def error(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def get(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def head(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def helpers(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def layout(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def link(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def mime_type(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def not_found(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def on_start(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def on_stop(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def options(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def patch(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def post(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def production?(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def put(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def register(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def set(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def settings(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def template(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def test?(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def unlink(*args, **_arg1, &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#2103
+ def use(*args, **_arg1, &block); end
+
+ class << self
+ # source://sinatra//lib/sinatra/base.rb#2101
+ def delegate(*methods); end
+
+ # Returns the value of attribute target.
+ #
+ # source://sinatra//lib/sinatra/base.rb#2120
+ def target; end
+
+ # Sets the attribute target
+ #
+ # @param value the value to set the attribute target to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#2120
+ def target=(_arg0); end
+ end
+end
+
+# source://sinatra//lib/sinatra/base.rb#274
+class Sinatra::Error < ::StandardError; end
+
+# Some Rack handlers implement an extended body object protocol, however,
+# some middleware (namely Rack::Lint) will break it by not mirroring the methods in question.
+# This middleware will detect an extended body object and will make sure it reaches the
+# handler directly. We do this here, so our middleware and middleware set up by the app will
+# still be able to run.
+#
+# source://sinatra//lib/sinatra/base.rb#225
+class Sinatra::ExtendedRack < ::Struct
+ # source://sinatra//lib/sinatra/base.rb#226
+ def call(env); end
+
+ private
+
+ # @raise [NotImplementedError]
+ #
+ # source://sinatra//lib/sinatra/base.rb#245
+ def after_response(&block); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#251
+ def async?(status, _headers, body); end
+
+ # source://sinatra//lib/sinatra/base.rb#238
+ def setup_close(env, _status, _headers, body); end
+end
+
+# Methods available to routes, before/after filters, and views.
+#
+# source://sinatra//lib/sinatra/base.rb#286
+module Sinatra::Helpers
+ # Set the Content-Disposition to "attachment" with the specified filename,
+ # instructing the user agents to prompt to save.
+ #
+ # source://sinatra//lib/sinatra/base.rb#417
+ def attachment(filename = T.unsafe(nil), disposition = T.unsafe(nil)); end
+
+ # Sugar for redirect (example: redirect back)
+ #
+ # source://sinatra//lib/sinatra/base.rb#653
+ def back; end
+
+ # whether or not the status is set to 400
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#688
+ def bad_request?; end
+
+ # Set or retrieve the response body. When a block is given,
+ # evaluation is deferred until the body is read with #each.
+ #
+ # source://sinatra//lib/sinatra/base.rb#295
+ def body(value = T.unsafe(nil), &block); end
+
+ # Specify response freshness policy for HTTP caches (Cache-Control header).
+ # Any number of non-value directives (:public, :private, :no_cache,
+ # :no_store, :must_revalidate, :proxy_revalidate) may be passed along with
+ # a Hash of value directives (:max_age, :s_maxage).
+ #
+ # cache_control :public, :must_revalidate, :max_age => 60
+ # => Cache-Control: public, must-revalidate, max-age=60
+ #
+ # See RFC 2616 / 14.9 for more on standard cache control directives:
+ # http://tools.ietf.org/html/rfc2616#section-14.9.1
+ #
+ # source://sinatra//lib/sinatra/base.rb#540
+ def cache_control(*values); end
+
+ # whether or not the status is set to 4xx
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#673
+ def client_error?; end
+
+ # Set the content-type of the response body given a media type or file
+ # extension.
+ #
+ # source://sinatra//lib/sinatra/base.rb#386
+ def content_type(type = T.unsafe(nil), params = T.unsafe(nil)); end
+
+ # Halt processing and return the error status provided.
+ #
+ # source://sinatra//lib/sinatra/base.rb#349
+ def error(code, body = T.unsafe(nil)); end
+
+ # Set the response entity tag (HTTP 'ETag' header) and halt if conditional
+ # GET matches. The +value+ argument is an identifier that uniquely
+ # identifies the current version of the resource. The +kind+ argument
+ # indicates whether the etag should be used as a :strong (default) or :weak
+ # cache validator.
+ #
+ # When the current request includes an 'If-None-Match' header with a
+ # matching etag, execution is immediately halted. If the request method is
+ # GET or HEAD, a '304 Not Modified' response is sent.
+ #
+ # source://sinatra//lib/sinatra/base.rb#623
+ def etag(value, options = T.unsafe(nil)); end
+
+ # Set the Expires header and Cache-Control/max-age directive. Amount
+ # can be an integer number of seconds in the future or a Time object
+ # indicating when the response should be considered "stale". The remaining
+ # "values" arguments are passed to the #cache_control helper:
+ #
+ # expires 500, :public, :must_revalidate
+ # => Cache-Control: public, must-revalidate, max-age=500
+ # => Expires: Mon, 08 Jun 2009 08:50:17 GMT
+ #
+ # source://sinatra//lib/sinatra/base.rb#568
+ def expires(amount, *values); end
+
+ # Set multiple response headers with Hash.
+ #
+ # source://sinatra//lib/sinatra/base.rb#364
+ def headers(hash = T.unsafe(nil)); end
+
+ # whether or not the status is set to 1xx
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#658
+ def informational?; end
+
+ # Set the last modified time of the resource (HTTP 'Last-Modified' header)
+ # and halt if conditional GET matches. The +time+ argument is a Time,
+ # DateTime, or other object that responds to +to_time+.
+ #
+ # When the current request includes an 'If-Modified-Since' header that is
+ # equal or later than the time specified, execution is immediately halted
+ # with a '304 Not Modified' response.
+ #
+ # source://sinatra//lib/sinatra/base.rb#592
+ def last_modified(time); end
+
+ # Access shared logger object.
+ #
+ # source://sinatra//lib/sinatra/base.rb#375
+ def logger; end
+
+ # Look up a media type by file extension in Rack's mime registry.
+ #
+ # source://sinatra//lib/sinatra/base.rb#380
+ def mime_type(type); end
+
+ # Halt processing and return a 404 Not Found.
+ #
+ # source://sinatra//lib/sinatra/base.rb#359
+ def not_found(body = T.unsafe(nil)); end
+
+ # whether or not the status is set to 404
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#683
+ def not_found?; end
+
+ # Halt processing and redirect to the URI provided.
+ #
+ # source://sinatra//lib/sinatra/base.rb#310
+ def redirect(uri, *args); end
+
+ # whether or not the status is set to 3xx
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#668
+ def redirect?; end
+
+ # Use the contents of the file at +path+ as the response body.
+ #
+ # source://sinatra//lib/sinatra/base.rb#428
+ def send_file(path, opts = T.unsafe(nil)); end
+
+ # whether or not the status is set to 5xx
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#678
+ def server_error?; end
+
+ # Access the underlying Rack session.
+ #
+ # source://sinatra//lib/sinatra/base.rb#370
+ def session; end
+
+ # Set or retrieve the response status code.
+ #
+ # source://sinatra//lib/sinatra/base.rb#288
+ def status(value = T.unsafe(nil)); end
+
+ # Allows to start sending data to the client even though later parts of
+ # the response body have not yet been generated.
+ #
+ # The close parameter specifies whether Stream#close should be called
+ # after the block has been executed.
+ #
+ # source://sinatra//lib/sinatra/base.rb#515
+ def stream(keep_open = T.unsafe(nil)); end
+
+ # whether or not the status is set to 2xx
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#663
+ def success?; end
+
+ # Generates a Time object from the given value.
+ # Used by #expires and #last_modified.
+ #
+ # source://sinatra//lib/sinatra/base.rb#694
+ def time_for(value); end
+
+ # Generates the absolute URI for a given path in the app.
+ # Takes Rack routers and reverse proxies into account.
+ #
+ # source://sinatra//lib/sinatra/base.rb#328
+ def to(addr = T.unsafe(nil), absolute = T.unsafe(nil), add_script_name = T.unsafe(nil)); end
+
+ # Generates the absolute URI for a given path in the app.
+ # Takes Rack routers and reverse proxies into account.
+ #
+ # source://sinatra//lib/sinatra/base.rb#328
+ def uri(addr = T.unsafe(nil), absolute = T.unsafe(nil), add_script_name = T.unsafe(nil)); end
+
+ # Generates the absolute URI for a given path in the app.
+ # Takes Rack routers and reverse proxies into account.
+ #
+ # source://sinatra//lib/sinatra/base.rb#328
+ def url(addr = T.unsafe(nil), absolute = T.unsafe(nil), add_script_name = T.unsafe(nil)); end
+
+ private
+
+ # Helper method checking if a ETag value list includes the current ETag.
+ #
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#711
+ def etag_matches?(list, new_resource = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#717
+ def with_params(temp_params); end
+end
+
+# source://sinatra//lib/sinatra/base.rb#613
+Sinatra::Helpers::ETAG_KINDS = T.let(T.unsafe(nil), Array)
+
+# https://html.spec.whatwg.org/#multipart-form-data
+#
+# source://sinatra//lib/sinatra/base.rb#409
+Sinatra::Helpers::MULTIPART_FORM_DATA_REPLACEMENT_TABLE = T.let(T.unsafe(nil), Hash)
+
+# Class of the response body in case you use #stream.
+#
+# Three things really matter: The front and back block (back being the
+# block generating content, front the one sending it to the client) and
+# the scheduler, integrating with whatever concurrency feature the Rack
+# handler is using.
+#
+# Scheduler has to respond to defer and schedule.
+#
+# source://sinatra//lib/sinatra/base.rb#460
+class Sinatra::Helpers::Stream
+ # @return [Stream] a new instance of Stream
+ #
+ # source://sinatra//lib/sinatra/base.rb#464
+ def initialize(scheduler = T.unsafe(nil), keep_open = T.unsafe(nil), &back); end
+
+ # source://sinatra//lib/sinatra/base.rb#492
+ def <<(data); end
+
+ # source://sinatra//lib/sinatra/base.rb#497
+ def callback(&block); end
+
+ # source://sinatra//lib/sinatra/base.rb#472
+ def close; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#505
+ def closed?; end
+
+ # source://sinatra//lib/sinatra/base.rb#479
+ def each(&front); end
+
+ # source://sinatra//lib/sinatra/base.rb#497
+ def errback(&block); end
+
+ class << self
+ # source://sinatra//lib/sinatra/base.rb#462
+ def defer(*_arg0); end
+
+ # source://sinatra//lib/sinatra/base.rb#461
+ def schedule(*_arg0); end
+ end
+end
+
+# A poor man's ActiveSupport::HashWithIndifferentAccess, with all the Rails-y
+# stuff removed.
+#
+# Implements a hash where keys :foo and "foo" are
+# considered to be the same.
+#
+# rgb = Sinatra::IndifferentHash.new
+#
+# rgb[:black] = '#000000' # symbol assignment
+# rgb[:black] # => '#000000' # symbol retrieval
+# rgb['black'] # => '#000000' # string retrieval
+#
+# rgb['white'] = '#FFFFFF' # string assignment
+# rgb[:white] # => '#FFFFFF' # symbol retrieval
+# rgb['white'] # => '#FFFFFF' # string retrieval
+#
+# Internally, symbols are mapped to strings when used as keys in the entire
+# writing interface (calling e.g. []=, merge). This mapping
+# belongs to the public interface. For example, given:
+#
+# hash = Sinatra::IndifferentHash.new
+# hash[:a] = 1
+#
+# You are guaranteed that the key is returned as a string:
+#
+# hash.keys # => ["a"]
+#
+# Technically other types of keys are accepted:
+#
+# hash = Sinatra::IndifferentHash
+# hash[:a] = 1
+# hash[0] = 0
+# hash # => { "a"=>1, 0=>0 }
+#
+# But this class is intended for use cases where strings or symbols are the
+# expected keys and it is convenient to understand both as the same. For
+# example the +params+ hash in Sinatra.
+#
+# source://sinatra//lib/sinatra/indifferent_hash.rb#41
+class Sinatra::IndifferentHash < ::Hash
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#70
+ def [](key); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#74
+ def []=(key, value); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#56
+ def assoc(key); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#181
+ def compact; end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#46
+ def default(*args); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#52
+ def default=(value); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#98
+ def delete(key); end
+
+ # Added in Ruby 2.3
+ #
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#103
+ def dig(key, *other_keys); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#185
+ def except(*keys); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#64
+ def fetch(key, *args); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#107
+ def fetch_values(*keys); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#84
+ def has_key?(key); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#92
+ def has_value?(value); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#84
+ def include?(key); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#80
+ def key(value); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#84
+ def key?(key); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#84
+ def member?(key); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#143
+ def merge(*other_hashes, &block); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#125
+ def merge!(*other_hashes); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#60
+ def rassoc(value); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#175
+ def reject(*args, &block); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#147
+ def replace(other_hash); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#169
+ def select(*args, &block); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#113
+ def slice(*keys); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#74
+ def store(key, value); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#160
+ def transform_keys(&block); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#164
+ def transform_keys!; end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#151
+ def transform_values(&block); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#155
+ def transform_values!; end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#125
+ def update(*other_hashes); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#92
+ def value?(value); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#119
+ def values_at(*keys); end
+
+ private
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#193
+ def convert_key(key); end
+
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#197
+ def convert_value(value); end
+
+ class << self
+ # source://sinatra//lib/sinatra/indifferent_hash.rb#42
+ def [](*args); end
+ end
+end
+
+# source://sinatra//lib/sinatra/middleware/logger.rb#6
+module Sinatra::Middleware; end
+
+# source://sinatra//lib/sinatra/middleware/logger.rb#7
+class Sinatra::Middleware::Logger
+ # @return [Logger] a new instance of Logger
+ #
+ # source://sinatra//lib/sinatra/middleware/logger.rb#8
+ def initialize(app, level = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/middleware/logger.rb#12
+ def call(env); end
+end
+
+# source://sinatra//lib/sinatra/base.rb#281
+class Sinatra::NotFound < ::Sinatra::Error
+ # source://sinatra//lib/sinatra/base.rb#282
+ def http_status; end
+end
+
+# The request object. See Rack::Request for more info:
+# https://rubydoc.info/github/rack/rack/main/Rack/Request
+#
+# source://sinatra//lib/sinatra/base.rb#31
+class Sinatra::Request < ::Rack::Request
+ # Returns an array of acceptable media types for the response
+ #
+ # source://sinatra//lib/sinatra/base.rb#36
+ def accept; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#48
+ def accept?(type); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#66
+ def forwarded?; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#74
+ def idempotent?; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#78
+ def link?; end
+
+ # source://sinatra//lib/sinatra/base.rb#86
+ def params; end
+
+ # source://sinatra//lib/sinatra/base.rb#52
+ def preferred_type(*types); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#70
+ def safe?; end
+
+ # source://rack/3.2.4/lib/rack/request.rb#415
+ def secure?; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#82
+ def unlink?; end
+end
+
+# source://sinatra//lib/sinatra/base.rb#94
+class Sinatra::Request::AcceptEntry
+ # @return [AcceptEntry] a new instance of AcceptEntry
+ #
+ # source://sinatra//lib/sinatra/base.rb#98
+ def initialize(entry); end
+
+ # source://sinatra//lib/sinatra/base.rb#111
+ def <=>(other); end
+
+ # Returns the value of attribute entry.
+ #
+ # source://sinatra//lib/sinatra/base.rb#96
+ def entry; end
+
+ # source://sinatra//lib/sinatra/base.rb#132
+ def method_missing(*args, &block); end
+
+ # Returns the value of attribute params.
+ #
+ # source://sinatra//lib/sinatra/base.rb#95
+ def params; end
+
+ # Sets the attribute params
+ #
+ # @param value the value to set the attribute params to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#95
+ def params=(_arg0); end
+
+ # source://sinatra//lib/sinatra/base.rb#115
+ def priority; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#128
+ def respond_to?(*args); end
+
+ # source://sinatra//lib/sinatra/base.rb#124
+ def to_s(full = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#120
+ def to_str; end
+end
+
+# source://sinatra//lib/sinatra/base.rb#32
+Sinatra::Request::HEADER_PARAM = T.let(T.unsafe(nil), Regexp)
+
+# source://sinatra//lib/sinatra/base.rb#33
+Sinatra::Request::HEADER_VALUE_WITH_PARAMS = T.let(T.unsafe(nil), Regexp)
+
+# source://sinatra//lib/sinatra/base.rb#137
+class Sinatra::Request::MimeTypeEntry
+ # @return [MimeTypeEntry] a new instance of MimeTypeEntry
+ #
+ # source://sinatra//lib/sinatra/base.rb#140
+ def initialize(entry); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#151
+ def accepts?(entry); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#159
+ def matches_params?(params); end
+
+ # Returns the value of attribute params.
+ #
+ # source://sinatra//lib/sinatra/base.rb#138
+ def params; end
+
+ # source://sinatra//lib/sinatra/base.rb#155
+ def to_str; end
+end
+
+# The response object. See Rack::Response and Rack::Response::Helpers for
+# more info:
+# https://rubydoc.info/github/rack/rack/main/Rack/Response
+# https://rubydoc.info/github/rack/rack/main/Rack/Response/Helpers
+#
+# source://sinatra//lib/sinatra/base.rb#171
+class Sinatra::Response < ::Rack::Response
+ # source://sinatra//lib/sinatra/base.rb#174
+ def body=(value); end
+
+ # source://sinatra//lib/sinatra/base.rb#179
+ def each; end
+
+ # source://sinatra//lib/sinatra/base.rb#183
+ def finish; end
+
+ private
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#207
+ def calculate_content_length?; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#215
+ def drop_body?; end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/base.rb#211
+ def drop_content_info?; end
+end
+
+# source://sinatra//lib/sinatra/base.rb#172
+Sinatra::Response::DROP_BODY_RESPONSES = T.let(T.unsafe(nil), Array)
+
+# Sinatra::ShowExceptions catches all exceptions raised from the app it
+# wraps. It shows a useful backtrace with the sourcefile and clickable
+# context, the whole Rack environment and the request data.
+#
+# Be careful when you use this on public-facing sites as it could reveal
+# information helpful to attackers.
+#
+# source://sinatra//lib/sinatra/show_exceptions.rb#12
+class Sinatra::ShowExceptions < ::Rack::ShowExceptions
+ # @return [ShowExceptions] a new instance of ShowExceptions
+ #
+ # source://sinatra//lib/sinatra/show_exceptions.rb#18
+ def initialize(app); end
+
+ # source://sinatra//lib/sinatra/show_exceptions.rb#22
+ def call(env); end
+
+ # source://sinatra//lib/sinatra/show_exceptions.rb#48
+ def template; end
+
+ private
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/show_exceptions.rb#54
+ def bad_request?(exception); end
+
+ # source://sinatra//lib/sinatra/show_exceptions.rb#63
+ def frame_class(frame); end
+
+ # @return [Boolean]
+ #
+ # source://sinatra//lib/sinatra/show_exceptions.rb#58
+ def prefers_plain_text?(env); end
+end
+
+# source://sinatra//lib/sinatra/show_exceptions.rb#74
+Sinatra::ShowExceptions::TEMPLATE = T.let(T.unsafe(nil), ERB)
+
+# Extremely simple template cache implementation.
+# * Not thread-safe.
+# * Size is unbounded.
+# * Keys are not copied defensively, and should not be modified after
+# being passed to #fetch. More specifically, the values returned by
+# key#hash and key#eql? should not change.
+#
+# Implementation copied from Tilt::Cache.
+#
+# source://sinatra//lib/sinatra/base.rb#951
+class Sinatra::TemplateCache
+ # @return [TemplateCache] a new instance of TemplateCache
+ #
+ # source://sinatra//lib/sinatra/base.rb#952
+ def initialize; end
+
+ # Clears the cache.
+ #
+ # source://sinatra//lib/sinatra/base.rb#967
+ def clear; end
+
+ # Caches a value for key, or returns the previously cached value.
+ # If a value has been previously cached for key then it is
+ # returned. Otherwise, block is yielded to and its return value
+ # which may be nil, is cached under key and returned.
+ #
+ # source://sinatra//lib/sinatra/base.rb#960
+ def fetch(*key); end
+end
+
+# Template rendering methods. Each method takes the name of a template
+# to render as a Symbol and returns a String with the rendered output,
+# as well as an optional hash with additional options.
+#
+# `template` is either the name or path of the template as symbol
+# (Use `:'subdir/myview'` for views in subdirectories), or a string
+# that will be rendered.
+#
+# Possible options are:
+# :content_type The content type to use, same arguments as content_type.
+# :layout If set to something falsy, no layout is rendered, otherwise
+# the specified layout is used (Ignored for `sass`)
+# :layout_engine Engine to use for rendering the layout.
+# :locals A hash with local variables that should be available
+# in the template
+# :scope If set, template is evaluate with the binding of the given
+# object rather than the application instance.
+# :views Views directory to use.
+#
+# source://sinatra//lib/sinatra/base.rb#744
+module Sinatra::Templates
+ # source://sinatra//lib/sinatra/base.rb#749
+ def initialize; end
+
+ # source://sinatra//lib/sinatra/base.rb#795
+ def asciidoc(template, options = T.unsafe(nil), locals = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#777
+ def builder(template = T.unsafe(nil), options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#755
+ def erb(template, options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # Calls the given block for every possible template file in views,
+ # named name.ext, where ext is registered on engine.
+ #
+ # @yield [::File.join(views, "#{name}.#{@preferred_extension}")]
+ #
+ # source://sinatra//lib/sinatra/base.rb#824
+ def find_template(views, name, engine); end
+
+ # source://sinatra//lib/sinatra/base.rb#759
+ def haml(template, options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#782
+ def liquid(template, options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#799
+ def markaby(template = T.unsafe(nil), options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#786
+ def markdown(template, options = T.unsafe(nil), locals = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#803
+ def nokogiri(template = T.unsafe(nil), options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#817
+ def rabl(template, options = T.unsafe(nil), locals = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#791
+ def rdoc(template, options = T.unsafe(nil), locals = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#763
+ def sass(template, options = T.unsafe(nil), locals = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#770
+ def scss(template, options = T.unsafe(nil), locals = T.unsafe(nil)); end
+
+ # source://sinatra//lib/sinatra/base.rb#808
+ def slim(template, options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # source://sinatra//lib/sinatra/base.rb#812
+ def yajl(template, options = T.unsafe(nil), locals = T.unsafe(nil)); end
+
+ private
+
+ # source://sinatra//lib/sinatra/base.rb#933
+ def compile_block_template(template, options, &body); end
+
+ # source://sinatra//lib/sinatra/base.rb#895
+ def compile_template(engine, data, options, views); end
+
+ # source://sinatra//lib/sinatra/base.rb#844
+ def render(engine, data, options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+
+ # logic shared between builder and nokogiri
+ #
+ # source://sinatra//lib/sinatra/base.rb#835
+ def render_ruby(engine, template, options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
+end
+
+# source://sinatra//lib/sinatra/base.rb#745
+module Sinatra::Templates::ContentTyped
+ # Returns the value of attribute content_type.
+ #
+ # source://sinatra//lib/sinatra/base.rb#746
+ def content_type; end
+
+ # Sets the attribute content_type
+ #
+ # @param value the value to set the attribute content_type to.
+ #
+ # source://sinatra//lib/sinatra/base.rb#746
+ def content_type=(_arg0); end
+end
+
+# source://sinatra//lib/sinatra/version.rb#4
+Sinatra::VERSION = T.let(T.unsafe(nil), String)
+
+# source://sinatra//lib/sinatra/base.rb#2126
+class Sinatra::Wrapper
+ # @return [Wrapper] a new instance of Wrapper
+ #
+ # source://sinatra//lib/sinatra/base.rb#2127
+ def initialize(stack, instance); end
+
+ # source://sinatra//lib/sinatra/base.rb#2140
+ def call(env); end
+
+ # source://sinatra//lib/sinatra/base.rb#2136
+ def helpers; end
+
+ # source://sinatra//lib/sinatra/base.rb#2144
+ def inspect; end
+
+ # source://sinatra//lib/sinatra/base.rb#2132
+ def settings; end
+end
diff --git a/sorbet/rbi/gems/thor@1.3.1.rbi b/sorbet/rbi/gems/thor@1.4.0.rbi
similarity index 97%
rename from sorbet/rbi/gems/thor@1.3.1.rbi
rename to sorbet/rbi/gems/thor@1.4.0.rbi
index 18cf03564..fd386112f 100644
--- a/sorbet/rbi/gems/thor@1.3.1.rbi
+++ b/sorbet/rbi/gems/thor@1.4.0.rbi
@@ -37,7 +37,7 @@ class Thor
extend ::Thor::Base::ClassMethods
extend ::Thor::Invocation::ClassMethods
- # source://thor//lib/thor.rb#652
+ # source://thor//lib/thor.rb#663
def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
class << self
@@ -96,6 +96,19 @@ class Thor
# source://thor//lib/thor.rb#363
def check_unknown_options?(config); end
+ # Checks if a specified command exists.
+ #
+ # ==== Parameters
+ # command_name:: The name of the command to check for existence.
+ #
+ # ==== Returns
+ # Boolean:: +true+ if the command exists, +false+ otherwise.
+ #
+ # @return [Boolean]
+ #
+ # source://thor//lib/thor.rb#449
+ def command_exists?(command_name); end
+
# Prints help information for the given command.
#
# ==== Parameters
@@ -471,48 +484,48 @@ class Thor
# the command that is going to be invoked and a boolean which indicates if
# the namespace should be displayed as arguments.
#
- # source://thor//lib/thor.rb#535
+ # source://thor//lib/thor.rb#546
def banner(command, namespace = T.unsafe(nil), subcommand = T.unsafe(nil)); end
- # source://thor//lib/thor.rb#541
+ # source://thor//lib/thor.rb#552
def baseclass; end
- # source://thor//lib/thor.rb#549
+ # source://thor//lib/thor.rb#560
def create_command(meth); end
- # source://thor//lib/thor.rb#549
+ # source://thor//lib/thor.rb#560
def create_task(meth); end
# help command has the required check disabled by default.
#
- # source://thor//lib/thor.rb#467
+ # source://thor//lib/thor.rb#478
def disable_required_check; end
# The method responsible for dispatching given the args.
#
# @yield [instance]
#
- # source://thor//lib/thor.rb#494
+ # source://thor//lib/thor.rb#505
def dispatch(meth, given_args, given_opts, config); end
- # source://thor//lib/thor.rb#545
+ # source://thor//lib/thor.rb#556
def dynamic_command_class; end
# this is the logic that takes the command name passed in by the user
# and determines whether it is an unambiguous substrings of a command or
# alias name.
#
- # source://thor//lib/thor.rb#615
+ # source://thor//lib/thor.rb#626
def find_command_possibilities(meth); end
# this is the logic that takes the command name passed in by the user
# and determines whether it is an unambiguous substrings of a command or
# alias name.
#
- # source://thor//lib/thor.rb#615
+ # source://thor//lib/thor.rb#626
def find_task_possibilities(meth); end
- # source://thor//lib/thor.rb#575
+ # source://thor//lib/thor.rb#586
def initialize_added; end
# Returns this class at least one of required options array set.
@@ -520,7 +533,7 @@ class Thor
# ==== Returns
# Array[Array[Thor::Option.name]]
#
- # source://thor//lib/thor.rb#458
+ # source://thor//lib/thor.rb#469
def method_at_least_one_option_names; end
# Returns this class exclusive options array set.
@@ -528,7 +541,7 @@ class Thor
# ==== Returns
# Array[Array[Thor::Option.name]]
#
- # source://thor//lib/thor.rb#449
+ # source://thor//lib/thor.rb#460
def method_exclusive_option_names; end
# receives a (possibly nil) command name and returns a name that is in
@@ -541,7 +554,7 @@ class Thor
#
# @raise [AmbiguousTaskError]
#
- # source://thor//lib/thor.rb#594
+ # source://thor//lib/thor.rb#605
def normalize_command_name(meth); end
# receives a (possibly nil) command name and returns a name that is in
@@ -554,23 +567,23 @@ class Thor
#
# @raise [AmbiguousTaskError]
#
- # source://thor//lib/thor.rb#594
+ # source://thor//lib/thor.rb#605
def normalize_task_name(meth); end
- # source://thor//lib/thor.rb#482
+ # source://thor//lib/thor.rb#493
def print_at_least_one_required_options(shell, command = T.unsafe(nil)); end
- # source://thor//lib/thor.rb#471
+ # source://thor//lib/thor.rb#482
def print_exclusive_options(shell, command = T.unsafe(nil)); end
# Retrieve the command name from given args.
#
- # source://thor//lib/thor.rb#581
+ # source://thor//lib/thor.rb#592
def retrieve_command_name(args); end
# Retrieve the command name from given args.
#
- # source://thor//lib/thor.rb#581
+ # source://thor//lib/thor.rb#592
def retrieve_task_name(args); end
# Sort the commands, lexicographically by default.
@@ -578,16 +591,16 @@ class Thor
# Can be overridden in the subclass to change the display order of the
# commands.
#
- # source://thor//lib/thor.rb#642
+ # source://thor//lib/thor.rb#653
def sort_commands!(list); end
- # source://thor//lib/thor.rb#462
+ # source://thor//lib/thor.rb#473
def stop_on_unknown_option; end
- # source://thor//lib/thor.rb#630
+ # source://thor//lib/thor.rb#641
def subcommand_help(cmd); end
- # source://thor//lib/thor.rb#630
+ # source://thor//lib/thor.rb#641
def subtask_help(cmd); end
end
end
@@ -738,7 +751,7 @@ module Thor::Actions
#
# comment_lines 'config/initializers/session_store.rb', /cookie_store/
#
- # source://thor//lib/thor/actions/file_manipulation.rb#308
+ # source://thor//lib/thor/actions/file_manipulation.rb#333
def comment_lines(path, flag, *args); end
# Copies the file from the relative source to the relative destination. If
@@ -915,9 +928,30 @@ module Thor::Actions
# match << " no more. Use thor!"
# end
#
- # source://thor//lib/thor/actions/file_manipulation.rb#262
+ # source://thor//lib/thor/actions/file_manipulation.rb#291
def gsub_file(path, flag, *args, &block); end
+ # Run a regular expression replacement on a file, raising an error if the
+ # contents of the file are not changed.
+ #
+ # ==== Parameters
+ # path:: path of the file to be changed
+ # flag:: the regexp or string to be replaced
+ # replacement:: the replacement, can be also given as a block
+ # config:: give :verbose => false to not log the status, and
+ # :force => true, to force the replacement regardless of runner behavior.
+ #
+ # ==== Example
+ #
+ # gsub_file! 'app/controllers/application_controller.rb', /#\s*(filter_parameter_logging :password)/, '\1'
+ #
+ # gsub_file! 'README', /rake/, :green do |match|
+ # match << " no more. Use thor!"
+ # end
+ #
+ # source://thor//lib/thor/actions/file_manipulation.rb#263
+ def gsub_file!(path, flag, *args, &block); end
+
# Goes to the root and execute the given block.
#
# source://thor//lib/thor/actions.rb#200
@@ -1053,7 +1087,7 @@ module Thor::Actions
# remove_file 'README'
# remove_file 'app/controllers/application_controller.rb'
#
- # source://thor//lib/thor/actions/file_manipulation.rb#325
+ # source://thor//lib/thor/actions/file_manipulation.rb#350
def remove_dir(path, config = T.unsafe(nil)); end
# Removes a file at the given location.
@@ -1067,7 +1101,7 @@ module Thor::Actions
# remove_file 'README'
# remove_file 'app/controllers/application_controller.rb'
#
- # source://thor//lib/thor/actions/file_manipulation.rb#325
+ # source://thor//lib/thor/actions/file_manipulation.rb#350
def remove_file(path, config = T.unsafe(nil)); end
# Executes a command returning the contents of the command.
@@ -1151,7 +1185,7 @@ module Thor::Actions
#
# uncomment_lines 'config/initializers/session_store.rb', /active_record/
#
- # source://thor//lib/thor/actions/file_manipulation.rb#289
+ # source://thor//lib/thor/actions/file_manipulation.rb#314
def uncomment_lines(path, flag, *args); end
protected
@@ -1166,25 +1200,28 @@ module Thor::Actions
private
- # source://thor//lib/thor/actions/file_manipulation.rb#346
+ # source://thor//lib/thor/actions/file_manipulation.rb#385
+ def actually_gsub_file(path, flag, args, error_on_no_change, &block); end
+
+ # source://thor//lib/thor/actions/file_manipulation.rb#371
def capture(*args); end
- # source://thor//lib/thor/actions/file_manipulation.rb#342
+ # source://thor//lib/thor/actions/file_manipulation.rb#367
def concat(string); end
# Returns the value of attribute output_buffer.
#
- # source://thor//lib/thor/actions/file_manipulation.rb#337
+ # source://thor//lib/thor/actions/file_manipulation.rb#362
def output_buffer; end
# Sets the attribute output_buffer
#
# @param value the value to set the attribute output_buffer to.
#
- # source://thor//lib/thor/actions/file_manipulation.rb#337
+ # source://thor//lib/thor/actions/file_manipulation.rb#362
def output_buffer=(_arg0); end
- # source://thor//lib/thor/actions/file_manipulation.rb#350
+ # source://thor//lib/thor/actions/file_manipulation.rb#375
def with_output_buffer(buf = T.unsafe(nil)); end
class << self
@@ -1196,9 +1233,9 @@ end
# Thor::Actions#capture depends on what kind of buffer is used in ERB.
# Thus CapturableERB fixes ERB to use String buffer.
#
-# source://thor//lib/thor/actions/file_manipulation.rb#362
+# source://thor//lib/thor/actions/file_manipulation.rb#398
class Thor::Actions::CapturableERB < ::ERB
- # source://thor//lib/thor/actions/file_manipulation.rb#363
+ # source://thor//lib/thor/actions/file_manipulation.rb#399
def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end
end
@@ -2630,7 +2667,7 @@ class Thor::Group
# Shortcut to invoke with padding and block handling. Use internally by
# invoke and invoke_from_option class methods.
#
- # source://thor//lib/thor/group.rb#265
+ # source://thor//lib/thor/group.rb#276
def _invoke_for_class_method(klass, command = T.unsafe(nil), *args, &block); end
class << self
@@ -2640,6 +2677,19 @@ class Thor::Group
# source://thor//lib/thor/group.rb#161
def class_options_help(shell, groups = T.unsafe(nil)); end
+ # Checks if a specified command exists.
+ #
+ # ==== Parameters
+ # command_name:: The name of the command to check for existence.
+ #
+ # ==== Returns
+ # Boolean:: +true+ if the command exists, +false+ otherwise.
+ #
+ # @return [Boolean]
+ #
+ # source://thor//lib/thor/group.rb#221
+ def command_exists?(command_name); end
+
# The description for this Thor::Group. If none is provided, but a source root
# exists, tries to find the USAGE one folder above it, otherwise searches
# in the superclass.
@@ -2747,33 +2797,33 @@ class Thor::Group
# The banner for this class. You can customize it if you are invoking the
# thor class by another ways which is not the Thor::Runner.
#
- # source://thor//lib/thor/group.rb#238
+ # source://thor//lib/thor/group.rb#249
def banner; end
- # source://thor//lib/thor/group.rb#248
+ # source://thor//lib/thor/group.rb#259
def baseclass; end
- # source://thor//lib/thor/group.rb#252
+ # source://thor//lib/thor/group.rb#263
def create_command(meth); end
- # source://thor//lib/thor/group.rb#252
+ # source://thor//lib/thor/group.rb#263
def create_task(meth); end
# The method responsible for dispatching given the args.
#
# @yield [instance]
#
- # source://thor//lib/thor/group.rb#217
+ # source://thor//lib/thor/group.rb#228
def dispatch(command, given_args, given_opts, config); end
# Represents the whole class as a command.
#
- # source://thor//lib/thor/group.rb#243
+ # source://thor//lib/thor/group.rb#254
def self_command; end
# Represents the whole class as a command.
#
- # source://thor//lib/thor/group.rb#243
+ # source://thor//lib/thor/group.rb#254
def self_task; end
end
end
@@ -3662,9 +3712,6 @@ class Thor::Shell::Basic
# source://thor//lib/thor/shell/basic.rb#296
def file_collision_help(block_given); end
- # source://thor//lib/thor/shell/basic.rb#383
- def git_merge_tool; end
-
# @return [Boolean]
#
# source://thor//lib/thor/shell/basic.rb#286
diff --git a/sorbet/rbi/gems/tilt@2.4.0.rbi b/sorbet/rbi/gems/tilt@2.6.1.rbi
similarity index 80%
rename from sorbet/rbi/gems/tilt@2.4.0.rbi
rename to sorbet/rbi/gems/tilt@2.6.1.rbi
index 6b8c7c944..c9567eaa6 100644
--- a/sorbet/rbi/gems/tilt@2.4.0.rbi
+++ b/sorbet/rbi/gems/tilt@2.6.1.rbi
@@ -12,69 +12,81 @@ module Tilt
class << self
# @see Tilt::Mapping#[]
#
- # source://tilt//lib/tilt.rb#71
+ # source://tilt//lib/tilt.rb#75
def [](file); end
# @return [Tilt::Mapping] the main mapping object
#
- # source://tilt//lib/tilt.rb#87
+ # source://tilt//lib/tilt.rb#91
def default_mapping; end
+ # Whether to extract fixed locals from templates by scanning the
+ # template content.
+ #
+ # source://tilt//lib/tilt.rb#95
+ def extract_fixed_locals; end
+
+ # Whether to extract fixed locals from templates by scanning the
+ # template content.
+ #
+ # source://tilt//lib/tilt.rb#95
+ def extract_fixed_locals=(_arg0); end
+
# Replace the default mapping with a finalized version of the default
# mapping. This can be done to improve performance after the template
# libraries you desire to use have already been loaded. Once this is
# is called, all attempts to modify the default mapping will fail.
# This also freezes Tilt itself.
#
- # source://tilt//lib/tilt.rb#20
+ # source://tilt//lib/tilt.rb#24
def finalize!; end
# @private
#
- # source://tilt//lib/tilt.rb#41
+ # source://tilt//lib/tilt.rb#45
def lazy_map; end
# @see Tilt::Mapping#new
#
- # source://tilt//lib/tilt.rb#66
+ # source://tilt//lib/tilt.rb#70
def new(file, line = T.unsafe(nil), options = T.unsafe(nil), &block); end
# Alias register as prefer for Tilt 1.x compatibility.
#
# @see Tilt::Mapping#register
#
- # source://tilt//lib/tilt.rb#46
+ # source://tilt//lib/tilt.rb#50
def prefer(template_class, *extensions); end
# @see Tilt::Mapping#register
#
- # source://tilt//lib/tilt.rb#46
+ # source://tilt//lib/tilt.rb#50
def register(template_class, *extensions); end
# @see Tilt::Mapping#register_lazy
#
- # source://tilt//lib/tilt.rb#51
+ # source://tilt//lib/tilt.rb#55
def register_lazy(class_name, file, *extensions); end
# @see Tilt::Mapping#register_pipeline
#
- # source://tilt//lib/tilt.rb#56
+ # source://tilt//lib/tilt.rb#60
def register_pipeline(ext, options = T.unsafe(nil)); end
# @return [Boolean]
# @see Tilt::Mapping#registered?
#
- # source://tilt//lib/tilt.rb#61
+ # source://tilt//lib/tilt.rb#65
def registered?(ext); end
# @see Tilt::Mapping#template_for
#
- # source://tilt//lib/tilt.rb#76
+ # source://tilt//lib/tilt.rb#80
def template_for(file); end
# @see Tilt::Mapping#templates_for
#
- # source://tilt//lib/tilt.rb#81
+ # source://tilt//lib/tilt.rb#85
def templates_for(file); end
end
end
@@ -211,16 +223,16 @@ end
# key#hash and key#eql? should not change.
# If this is too limiting for you, use a different cache implementation.
#
-# source://tilt//lib/tilt.rb#111
+# source://tilt//lib/tilt.rb#119
class Tilt::Cache
# @return [Cache] a new instance of Cache
#
- # source://tilt//lib/tilt.rb#112
+ # source://tilt//lib/tilt.rb#120
def initialize; end
# Clears the cache.
#
- # source://tilt//lib/tilt.rb#129
+ # source://tilt//lib/tilt.rb#137
def clear; end
# Caches a value for key, or returns the previously cached value.
@@ -231,7 +243,7 @@ class Tilt::Cache
# @yield
# @yieldreturn the value to cache for key
#
- # source://tilt//lib/tilt.rb#122
+ # source://tilt//lib/tilt.rb#130
def fetch(*key); end
end
@@ -241,6 +253,9 @@ end
module Tilt::CompiledTemplates; end
# source://tilt//lib/tilt.rb#10
+Tilt::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
+
+# source://tilt//lib/tilt.rb#13
Tilt::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
# ERB template implementation. See:
@@ -395,14 +410,14 @@ Tilt::LOCK = T.let(T.unsafe(nil), Thread::Mutex)
# the exception of the first, since that was the most preferred one.
#
# mapping = Tilt::Mapping.new
-# mapping.register_lazy('Maruku::Template', 'maruku/template', 'md')
+# mapping.register_lazy('Kramdown::Template', 'kramdown/template', 'md')
# mapping.register_lazy('RDiscount::Template', 'rdiscount/template', 'md')
# mapping['index.md']
# # => RDiscount::Template
#
# In the previous example we say that RDiscount has a *higher priority* than
-# Maruku. Tilt will first try to `require "rdiscount/template"`, falling
-# back to `require "maruku/template"`. If none of these are successful,
+# Kramdown. Tilt will first try to `require "rdiscount/template"`, falling
+# back to `require "kramdown/template"`. If none of these are successful,
# the first error will be raised.
#
# source://tilt//lib/tilt/mapping.rb#125
@@ -613,19 +628,11 @@ end
# RDoc template. See: https://github.com/ruby/rdoc
#
-# It's suggested that your program run the following at load time when
-# using this templae engine in a threaded environment:
-#
-# require 'rdoc'
-# require 'rdoc/markup'
-# require 'rdoc/markup/to_html'
-# require 'rdoc/options'
-#
# source://tilt//lib/tilt/rdoc.rb#0
class Tilt::RDocTemplate < ::Tilt::StaticTemplate
private
- # source://tilt//lib/tilt/rdoc.rb#17
+ # source://tilt//lib/tilt/rdoc.rb#9
def _prepare_output; end
end
@@ -655,13 +662,24 @@ class Tilt::ScssTemplate < ::Tilt::SassTemplate
def sass_options; end
end
-# source://tilt//lib/tilt/template.rb#416
+# Static templates are templates that return the same output for every render
+#
+# Instead of inheriting from the StaticTemplate class, you will use the .subclass
+# method with a block which processes @data and returns the transformed value.
+#
+# Basic example which transforms the template to uppercase:
+#
+# UppercaseTemplate = Tilt::StaticTemplate.subclass do
+# @data.upcase
+# end
+#
+# source://tilt//lib/tilt/template.rb#568
class Tilt::StaticTemplate < ::Tilt::Template
# Static templates never allow script.
#
# @return [Boolean]
#
- # source://tilt//lib/tilt/template.rb#439
+ # source://tilt//lib/tilt/template.rb#591
def allows_script?; end
# Raise NotImplementedError, since static templates
@@ -669,28 +687,33 @@ class Tilt::StaticTemplate < ::Tilt::Template
#
# @raise [NotImplementedError]
#
- # source://tilt//lib/tilt/template.rb#434
+ # source://tilt//lib/tilt/template.rb#586
def compiled_method(locals_keys, scope_class = T.unsafe(nil)); end
# Static templates always return the prepared output.
#
- # source://tilt//lib/tilt/template.rb#428
+ # source://tilt//lib/tilt/template.rb#580
def render(scope = T.unsafe(nil), locals = T.unsafe(nil)); end
protected
- # source://tilt//lib/tilt/template.rb#445
+ # source://tilt//lib/tilt/template.rb#597
def prepare; end
private
# Do nothing, since compiled method cache is not used.
#
- # source://tilt//lib/tilt/template.rb#452
+ # source://tilt//lib/tilt/template.rb#604
def set_compiled_method_cache; end
+ # Do nothing, since fixed locals are not used.
+ #
+ # source://tilt//lib/tilt/template.rb#608
+ def set_fixed_locals; end
+
class << self
- # source://tilt//lib/tilt/template.rb#417
+ # source://tilt//lib/tilt/template.rb#569
def subclass(mime_type: T.unsafe(nil), &block); end
end
end
@@ -731,17 +754,38 @@ class Tilt::Template
# it should read template data and return as a String. When file is nil,
# a block is required.
#
- # All arguments are optional.
+ # All arguments are optional. The following options are respected and
+ # are used by Tilt::Template itself and not the underlying template
+ # libraries:
+ #
+ # :default_encoding :: Force the encoding of the template to the given
+ # encoding.
+ # :skip_compiled_encoding_detection :: Do not scan template code for
+ # an encoding magic comment.
+ # :fixed_locals :: Force a specific method parameter signature, and call
+ # the method with a splat of locals, instead of passing
+ # the locals hash as a positional argument, and
+ # extracting locals from that. Should be a string
+ # containing the parameters for the compiled method,
+ # surrounded by parentheses. Can be set to false to
+ # disable the scan for embedded fixed locals.
+ # :extract_fixed_locals :: Whether embedded fixed locals should be scanned for
+ # and extracted from the template code.
+ # :default_fixed_locals :: Similar to fixed_locals, but lowest priority,
+ # only used if :fixed_locals is not provided
+ # and no embedded locals are found (or scanned for).
+ # :scope_class :: Force the scope class used for the method. By default,
+ # uses the class of the scope provided to render.
#
# @raise [ArgumentError]
# @return [Template] a new instance of Template
#
- # source://tilt//lib/tilt/template.rb#61
+ # source://tilt//lib/tilt/template.rb#82
def initialize(file = T.unsafe(nil), line = T.unsafe(nil), options = T.unsafe(nil)); end
# The basename of the template file.
#
- # source://tilt//lib/tilt/template.rb#106
+ # source://tilt//lib/tilt/template.rb#138
def basename(suffix = T.unsafe(nil)); end
# The compiled method for the locals keys and scope_class provided.
@@ -749,7 +793,7 @@ class Tilt::Template
# directly on the scope class, which are much faster to call than
# Tilt's normal rendering.
#
- # source://tilt//lib/tilt/template.rb#147
+ # source://tilt//lib/tilt/template.rb#191
def compiled_method(locals_keys, scope_class = T.unsafe(nil)); end
# A path ending in .rb that the template code will be written to, then
@@ -760,9 +804,16 @@ class Tilt::Template
# source://tilt//lib/tilt/template.rb#35
def compiled_path; end
- # Set the prefix to use for compiled paths.
+ # Set the prefix to use for compiled paths, similar to using the
+ # :compiled_path template option. Note that this only
+ # has affect for future template compilations. When using the
+ # :scope_class template option, and using fixed_locals, calling
+ # this after the template is created has no effect, since the
+ # template is compiled during initialization in that case. It
+ # is recommended to use the :compiled_path template option
+ # instead of this method in new code.
#
- # source://tilt//lib/tilt/template.rb#133
+ # source://tilt//lib/tilt/template.rb#177
def compiled_path=(path); end
# Template source; loaded from a file or given directly.
@@ -772,7 +823,7 @@ class Tilt::Template
# The filename used in backtraces to describe the template.
#
- # source://tilt//lib/tilt/template.rb#118
+ # source://tilt//lib/tilt/template.rb#150
def eval_file; end
# The name of the file where the template data was loaded from.
@@ -780,6 +831,13 @@ class Tilt::Template
# source://tilt//lib/tilt/template.rb#21
def file; end
+ # Whether the template uses fixed locals.
+ #
+ # @return [Boolean]
+ #
+ # source://tilt//lib/tilt/template.rb#155
+ def fixed_locals?; end
+
# The line number in #file where template data was loaded from.
#
# source://tilt//lib/tilt/template.rb#24
@@ -788,12 +846,12 @@ class Tilt::Template
# An empty Hash that the template engine can populate with various
# metadata.
#
- # source://tilt//lib/tilt/template.rb#124
+ # source://tilt//lib/tilt/template.rb#161
def metadata; end
# The template file's basename with all extensions chomped off.
#
- # source://tilt//lib/tilt/template.rb#111
+ # source://tilt//lib/tilt/template.rb#143
def name; end
# A Hash of template engine specific options. This is passed directly
@@ -807,7 +865,7 @@ class Tilt::Template
# block is given, it is typically available within the template via
# +yield+.
#
- # source://tilt//lib/tilt/template.rb#101
+ # source://tilt//lib/tilt/template.rb#133
def render(scope = T.unsafe(nil), locals = T.unsafe(nil), &block); end
protected
@@ -817,7 +875,7 @@ class Tilt::Template
# in your template class if you have a better hint of the data's
# encoding.
#
- # source://tilt//lib/tilt/template.rb#169
+ # source://tilt//lib/tilt/template.rb#224
def default_encoding; end
# Execute the compiled template and return the result string. Template
@@ -827,7 +885,7 @@ class Tilt::Template
# This method is only used by source generating templates. Subclasses that
# override render() may not support all features.
#
- # source://tilt//lib/tilt/template.rb#192
+ # source://tilt//lib/tilt/template.rb#247
def evaluate(scope, locals, &block); end
# Generates all template source by combining the preamble, template, and
@@ -840,13 +898,13 @@ class Tilt::Template
# offset. In most cases, overriding the #precompiled_template method is
# easier and more appropriate.
#
- # source://tilt//lib/tilt/template.rb#224
+ # source://tilt//lib/tilt/template.rb#278
def precompiled(local_keys); end
- # source://tilt//lib/tilt/template.rb#262
+ # source://tilt//lib/tilt/template.rb#316
def precompiled_postamble(local_keys); end
- # source://tilt//lib/tilt/template.rb#258
+ # source://tilt//lib/tilt/template.rb#312
def precompiled_preamble(local_keys); end
# A string containing the (Ruby) source code for the template. The
@@ -858,7 +916,7 @@ class Tilt::Template
#
# @raise [NotImplementedError]
#
- # source://tilt//lib/tilt/template.rb#254
+ # source://tilt//lib/tilt/template.rb#308
def precompiled_template(local_keys); end
# Do whatever preparation is necessary to setup the underlying template
@@ -867,55 +925,83 @@ class Tilt::Template
#
# Empty by default as some subclasses do not need separate preparation.
#
- # source://tilt//lib/tilt/template.rb#180
+ # source://tilt//lib/tilt/template.rb#235
def prepare; end
# @return [Boolean]
#
- # source://tilt//lib/tilt/template.rb#171
+ # source://tilt//lib/tilt/template.rb#226
def skip_compiled_encoding_detection?; end
private
- # source://tilt//lib/tilt/template.rb#407
+ # :nocov:
+ #
+ # source://tilt//lib/tilt/template.rb#325
+ def _dup_string_if_frozen(string); end
+
+ # source://tilt//lib/tilt/template.rb#549
def binary(string); end
- # source://tilt//lib/tilt/template.rb#341
+ # source://tilt//lib/tilt/template.rb#442
def bind_compiled_method(method_source, offset, scope_class); end
- # source://tilt//lib/tilt/template.rb#318
+ # :nocov:
+ #
+ # source://tilt//lib/tilt/template.rb#414
def compile_template_method(local_keys, scope_class = T.unsafe(nil)); end
- # source://tilt//lib/tilt/template.rb#370
+ # source://tilt//lib/tilt/template.rb#471
def eval_compiled_method(method_source, offset, scope_class); end
- # source://tilt//lib/tilt/template.rb#388
+ # :nocov:
+ #
+ # source://tilt//lib/tilt/template.rb#390
+ def evaluate_method(method, scope, locals, &block); end
+
+ # source://tilt//lib/tilt/template.rb#528
def extract_encoding(script, &block); end
- # source://tilt//lib/tilt/template.rb#392
+ # Extract fixed locals from the template code string. Should return nil
+ # if there are no fixed locals specified, or a method argument string
+ # surrounded by parentheses if there are fixed locals. The method
+ # argument string will be used when defining the template method if given.
+ #
+ # source://tilt//lib/tilt/template.rb#522
+ def extract_fixed_locals; end
+
+ # source://tilt//lib/tilt/template.rb#532
def extract_magic_comment(script); end
# @return [Boolean]
#
- # source://tilt//lib/tilt/template.rb#403
+ # source://tilt//lib/tilt/template.rb#545
def freeze_string_literals?; end
- # source://tilt//lib/tilt/template.rb#374
+ # source://tilt//lib/tilt/template.rb#475
def load_compiled_method(path, method_source); end
- # source://tilt//lib/tilt/template.rb#297
+ # source://tilt//lib/tilt/template.rb#368
def local_extraction(local_keys); end
- # source://tilt//lib/tilt/template.rb#270
+ # :nocov:
+ #
+ # source://tilt//lib/tilt/template.rb#336
def process_arg(arg); end
- # source://tilt//lib/tilt/template.rb#284
+ # source://tilt//lib/tilt/template.rb#350
def read_template_file; end
- # source://tilt//lib/tilt/template.rb#293
+ # source://tilt//lib/tilt/template.rb#359
def set_compiled_method_cache; end
- # source://tilt//lib/tilt/template.rb#382
+ # Set the fixed locals for the template, which may be nil if no fixed locals can
+ # be determined.
+ #
+ # source://tilt//lib/tilt/template.rb#496
+ def set_fixed_locals; end
+
+ # source://tilt//lib/tilt/template.rb#488
def unbind_compiled_method(method_name); end
class << self
@@ -937,10 +1023,10 @@ class Tilt::Template
end
end
-# source://tilt//lib/tilt/template.rb#183
+# source://tilt//lib/tilt/template.rb#238
Tilt::Template::CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
-# source://tilt//lib/tilt/template.rb#184
+# source://tilt//lib/tilt/template.rb#239
Tilt::Template::USE_BIND_CALL = T.let(T.unsafe(nil), TrueClass)
# Current version.
diff --git a/sorbet/rbi/gems/timeout@0.4.3.rbi b/sorbet/rbi/gems/timeout@0.4.4.rbi
similarity index 97%
rename from sorbet/rbi/gems/timeout@0.4.3.rbi
rename to sorbet/rbi/gems/timeout@0.4.4.rbi
index a73adfdc5..f38bc5cd9 100644
--- a/sorbet/rbi/gems/timeout@0.4.3.rbi
+++ b/sorbet/rbi/gems/timeout@0.4.4.rbi
@@ -38,7 +38,7 @@ module Timeout
#
# @raise [ArgumentError]
#
- # source://timeout//lib/timeout.rb#167
+ # source://timeout//lib/timeout.rb#170
def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end
class << self
@@ -74,7 +74,7 @@ module Timeout
#
# @raise [ArgumentError]
#
- # source://timeout//lib/timeout.rb#167
+ # source://timeout//lib/timeout.rb#170
def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end
private
@@ -110,7 +110,7 @@ end
# We keep a private reference so that time mocking libraries won't break
# Timeout.
#
-# source://timeout//lib/timeout.rb#136
+# source://timeout//lib/timeout.rb#139
Timeout::GET_TIME = T.let(T.unsafe(nil), Method)
# source://timeout//lib/timeout.rb#48
diff --git a/sorbet/rbi/gems/uri@0.13.0.rbi b/sorbet/rbi/gems/uri@0.13.2.rbi
similarity index 83%
rename from sorbet/rbi/gems/uri@0.13.0.rbi
rename to sorbet/rbi/gems/uri@0.13.2.rbi
index 8f15efff1..cc7b33e11 100644
--- a/sorbet/rbi/gems/uri@0.13.0.rbi
+++ b/sorbet/rbi/gems/uri@0.13.2.rbi
@@ -6,6 +6,8 @@
# module URI
+#
+# source://uri//lib/uri/common.rb#831
module Kernel
private
@@ -19,7 +21,7 @@ module Kernel
# URI(uri)
# # => #
#
- # source://uri//uri/common.rb#842
+ # source://uri//lib/uri/common.rb#844
def URI(uri); end
class << self
@@ -33,18 +35,19 @@ module Kernel
# URI(uri)
# # => #
#
- # source://uri//uri/common.rb#842
+ # source://uri//lib/uri/common.rb#844
def URI(uri); end
end
end
+# source://uri//lib/uri.rb#90
module URI
include ::URI::RFC2396_REGEXP
class << self
# Like URI.decode_www_form_component, except that '+' is preserved.
#
- # source://uri//uri/common.rb#379
+ # source://uri//lib/uri/common.rb#381
def decode_uri_component(str, enc = T.unsafe(nil)); end
# Returns name/value pairs derived from the given string +str+,
@@ -57,7 +60,7 @@ module URI
# each subarray is a name/value pair (both are strings).
# Each returned string has encoding +enc+,
# and has had invalid characters removed via
- # {String#scrub}[rdoc-ref:String#scrub].
+ # {String#scrub}[https://docs.ruby-lang.org/en/master/String.html#method-i-scrub].
#
# A simple example:
#
@@ -82,7 +85,7 @@ module URI
#
# @raise [ArgumentError]
#
- # source://uri//uri/common.rb#554
+ # source://uri//lib/uri/common.rb#556
def decode_www_form(str, enc = T.unsafe(nil), separator: T.unsafe(nil), use__charset_: T.unsafe(nil), isindex: T.unsafe(nil)); end
# Returns a string decoded from the given \URL-encoded string +str+.
@@ -115,17 +118,17 @@ module URI
#
# Related: URI.decode_uri_component (preserves '+').
#
- # source://uri//uri/common.rb#368
+ # source://uri//lib/uri/common.rb#370
def decode_www_form_component(str, enc = T.unsafe(nil)); end
# Like URI.encode_www_form_component, except that ' ' (space)
# is encoded as '%20' (instead of '+').
#
- # source://uri//uri/common.rb#374
+ # source://uri//lib/uri/common.rb#376
def encode_uri_component(str, enc = T.unsafe(nil)); end
# Returns a URL-encoded string derived from the given
- # {Enumerable}[rdoc-ref:Enumerable@Enumerable+in+Ruby+Classes]
+ # {Enumerable}[https://docs.ruby-lang.org/en/master/Enumerable.html#module-Enumerable-label-Enumerable+in+Ruby+Classes]
# +enum+.
#
# The result is suitable for use as form data
@@ -194,7 +197,7 @@ module URI
# each +key+/+value+ pair is converted to one or more fields:
#
# - If +value+ is
- # {Array-convertible}[rdoc-ref:implicit_conversion.rdoc@Array-Convertible+Objects],
+ # {Array-convertible}[https://docs.ruby-lang.org/en/master/implicit_conversion_rdoc.html#label-Array-Convertible+Objects],
# each element +ele+ in +value+ is paired with +key+ to form a field:
#
# name = URI.encode_www_form_component(key, enc)
@@ -222,7 +225,7 @@ module URI
# URI.encode_www_form({foo: [0, 1], bar: 2})
# # => "foo=0&foo=1&bar=2"
#
- # source://uri//uri/common.rb#501
+ # source://uri//lib/uri/common.rb#503
def encode_www_form(enum, enc = T.unsafe(nil)); end
# Returns a URL-encoded string derived from the given string +str+.
@@ -262,7 +265,7 @@ module URI
#
# Related: URI.encode_uri_component (encodes ' ' as '%20').
#
- # source://uri//uri/common.rb#335
+ # source://uri//lib/uri/common.rb#337
def encode_www_form_component(str, enc = T.unsafe(nil)); end
# == Synopsis
@@ -288,7 +291,7 @@ module URI
# URI.extract("text here http://foo.example.org/bla and here mailto:test@example.com and here also.")
# # => ["http://foo.example.com/bla", "mailto:test@example.com"]
#
- # source://uri//uri/common.rb#239
+ # source://uri//lib/uri/common.rb#241
def extract(str, schemes = T.unsafe(nil), &block); end
# Returns a new object constructed from the given +scheme+, +arguments+,
@@ -307,13 +310,13 @@ module URI
# URI.for('foo', *values, default: URI::HTTP)
# # => #
#
- # source://uri//uri/common.rb#123
+ # source://uri//lib/uri/common.rb#125
def for(scheme, *arguments, default: T.unsafe(nil)); end
# return encoding or nil
# http://encoding.spec.whatwg.org/#concept-encoding-get
#
- # source://uri//uri/common.rb#824
+ # source://uri//lib/uri/common.rb#826
def get_encoding(label); end
# Merges the given URI strings +str+
@@ -339,7 +342,7 @@ module URI
# URI.join('http://example.com', '/foo/', 'bar')
# # => #
#
- # source://uri//uri/common.rb#211
+ # source://uri//lib/uri/common.rb#213
def join(*str); end
# Returns a new \URI object constructed from the given string +uri+:
@@ -352,7 +355,7 @@ module URI
# It's recommended to first ::escape string +uri+
# if it may contain invalid URI characters.
#
- # source://uri//uri/common.rb#184
+ # source://uri//lib/uri/common.rb#186
def parse(uri); end
# == Synopsis
@@ -386,7 +389,7 @@ module URI
# p $&
# end
#
- # source://uri//uri/common.rb#276
+ # source://uri//lib/uri/common.rb#278
def regexp(schemes = T.unsafe(nil)); end
# Registers the given +klass+ as the class to be instantiated
@@ -398,7 +401,7 @@ module URI
# Note that after calling String#upcase on +scheme+, it must be a valid
# constant name.
#
- # source://uri//uri/common.rb#79
+ # source://uri//lib/uri/common.rb#81
def register_scheme(scheme, klass); end
# Returns a hash of the defined schemes:
@@ -416,7 +419,7 @@ module URI
#
# Related: URI.register_scheme.
#
- # source://uri//uri/common.rb#97
+ # source://uri//lib/uri/common.rb#99
def scheme_list; end
# Returns a 9-element array representing the parts of the \URI
@@ -437,17 +440,17 @@ module URI
# ["query", "tag=networking&order=newest"],
# ["fragment", "top"]]
#
- # source://uri//uri/common.rb#170
+ # source://uri//lib/uri/common.rb#172
def split(uri); end
private
# @raise [ArgumentError]
#
- # source://uri//uri/common.rb#397
+ # source://uri//lib/uri/common.rb#399
def _decode_uri_component(regexp, str, enc); end
- # source://uri//uri/common.rb#383
+ # source://uri//lib/uri/common.rb#385
def _encode_uri_component(regexp, table, str, enc); end
end
end
@@ -458,6 +461,8 @@ end
# the structure of its path. draft-hoffman-ftp-uri-04 is a draft but it
# is a good summary about the de facto spec.
# http://tools.ietf.org/html/draft-hoffman-ftp-uri-04
+#
+# source://uri//lib/uri/ftp.rb#22
class URI::FTP < ::URI::Generic
# == Description
#
@@ -473,10 +478,10 @@ class URI::FTP < ::URI::Generic
# @raise [InvalidURIError]
# @return [FTP] a new instance of FTP
#
- # source://uri//uri/ftp.rb#133
+ # source://uri//lib/uri/ftp.rb#133
def initialize(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser = T.unsafe(nil), arg_check = T.unsafe(nil)); end
- # source://uri//uri/ftp.rb#214
+ # source://uri//lib/uri/ftp.rb#214
def merge(oth); end
# Returns the path from an FTP URI.
@@ -496,19 +501,19 @@ class URI::FTP < ::URI::Generic
#
# This method will then return "/pub/ruby".
#
- # source://uri//uri/ftp.rb#240
+ # source://uri//lib/uri/ftp.rb#240
def path; end
# Returns a String representation of the URI::FTP.
#
- # source://uri//uri/ftp.rb#251
+ # source://uri//lib/uri/ftp.rb#251
def to_s; end
# typecode accessor.
#
# See URI::FTP::COMPONENT.
#
- # source://uri//uri/ftp.rb#161
+ # source://uri//lib/uri/ftp.rb#161
def typecode; end
# == Args
@@ -533,21 +538,21 @@ class URI::FTP < ::URI::Generic
# uri
# #=> #
#
- # source://uri//uri/ftp.rb#208
+ # source://uri//lib/uri/ftp.rb#208
def typecode=(typecode); end
protected
# Private setter for the path of the URI::FTP.
#
- # source://uri//uri/ftp.rb#245
+ # source://uri//lib/uri/ftp.rb#245
def set_path(v); end
# Private setter for the typecode +v+.
#
# See also URI::FTP.typecode=.
#
- # source://uri//uri/ftp.rb#180
+ # source://uri//lib/uri/ftp.rb#180
def set_typecode(v); end
private
@@ -555,7 +560,7 @@ class URI::FTP < ::URI::Generic
# Validates typecode +v+,
# returns +true+ or +false+.
#
- # source://uri//uri/ftp.rb#166
+ # source://uri//lib/uri/ftp.rb#166
def check_typecode(v); end
class << self
@@ -587,62 +592,64 @@ class URI::FTP < ::URI::Generic
# :path => 'ruby/src'})
# uri2.to_s # => "ftp://ftp.example.com/ruby/src"
#
- # source://uri//uri/ftp.rb#96
+ # source://uri//lib/uri/ftp.rb#96
def build(args); end
- # source://uri//uri/ftp.rb#47
+ # source://uri//lib/uri/ftp.rb#47
def new2(user, password, host, port, path, typecode = T.unsafe(nil), arg_check = T.unsafe(nil)); end
end
end
# The "file" URI is defined by RFC8089.
+#
+# source://uri//lib/uri/file.rb#10
class URI::File < ::URI::Generic
# raise InvalidURIError
#
# @raise [URI::InvalidURIError]
#
- # source://uri//uri/file.rb#82
+ # source://uri//lib/uri/file.rb#82
def check_password(user); end
# raise InvalidURIError
#
# @raise [URI::InvalidURIError]
#
- # source://uri//uri/file.rb#77
+ # source://uri//lib/uri/file.rb#77
def check_user(user); end
# raise InvalidURIError
#
# @raise [URI::InvalidURIError]
#
- # source://uri//uri/file.rb#72
+ # source://uri//lib/uri/file.rb#72
def check_userinfo(user); end
# Protected setter for the host component +v+.
#
# See also URI::Generic.host=.
#
- # source://uri//uri/file.rb#62
+ # source://uri//lib/uri/file.rb#62
def set_host(v); end
# do nothing
#
- # source://uri//uri/file.rb#95
+ # source://uri//lib/uri/file.rb#95
def set_password(v); end
# do nothing
#
- # source://uri//uri/file.rb#68
+ # source://uri//lib/uri/file.rb#68
def set_port(v); end
# do nothing
#
- # source://uri//uri/file.rb#91
+ # source://uri//lib/uri/file.rb#91
def set_user(v); end
# do nothing
#
- # source://uri//uri/file.rb#87
+ # source://uri//lib/uri/file.rb#87
def set_userinfo(v); end
class << self
@@ -675,97 +682,99 @@ class URI::File < ::URI::Generic
# uri3 = URI::File.build({:path => URI::escape('/path/my file.txt')})
# uri3.to_s # => "file:///path/my%20file.txt"
#
- # source://uri//uri/file.rb#53
+ # source://uri//lib/uri/file.rb#53
def build(args); end
end
end
# An Array of the available components for URI::File.
#
-# source://uri//uri/file.rb#17
+# source://uri//lib/uri/file.rb#17
URI::File::COMPONENT = T.let(T.unsafe(nil), Array)
# A Default port of nil for URI::File.
#
-# source://uri//uri/file.rb#12
+# source://uri//lib/uri/file.rb#12
URI::File::DEFAULT_PORT = T.let(T.unsafe(nil), T.untyped)
class URI::GID < ::URI::Generic
- # source://uri//uri/generic.rb#243
+ # source://uri//lib/uri/generic.rb#243
def app; end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#107
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#109
def deconstruct_keys(_keys); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#29
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#29
def model_id; end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#29
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#29
def model_name; end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#29
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#29
def params; end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#102
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#104
def to_s; end
protected
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#118
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#120
def query=(query); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#129
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#131
def set_params(params); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#112
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#114
def set_path(path); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#124
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#126
def set_query(query); end
private
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#136
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#138
def check_host(host); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#141
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#143
def check_path(path); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#146
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#148
def check_scheme(scheme); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#195
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#197
def parse_query_params(query); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#154
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#156
def set_model_components(path, validate = T.unsafe(nil)); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#174
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#176
def validate_component(component); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#188
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#190
def validate_model_id(model_id_part); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#181
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#183
def validate_model_id_section(model_id, model_name); end
class << self
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#88
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#90
def build(args); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#72
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#74
def create(app, model, params = T.unsafe(nil)); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#64
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#66
def parse(uri); end
- # source://globalid/1.2.1/lib/global_id/uri/gid.rb#48
+ # source://globalid/1.3.0/lib/global_id/uri/gid.rb#50
def validate_app(app); end
end
end
# Base class for all URI classes.
# Implements generic URI syntax as per RFC 2396.
+#
+# source://uri//lib/uri/generic.rb#21
class URI::Generic
include ::URI::RFC2396_REGEXP
include ::URI
@@ -801,7 +810,7 @@ class URI::Generic
#
# @return [Generic] a new instance of Generic
#
- # source://uri//uri/generic.rb#169
+ # source://uri//lib/uri/generic.rb#169
def initialize(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser = T.unsafe(nil), arg_check = T.unsafe(nil)); end
# == Args
@@ -822,7 +831,7 @@ class URI::Generic
# # => "http://my.example.com/main.rbx?page=1"
# merge
#
- # source://uri//uri/generic.rb#1109
+ # source://uri//lib/uri/generic.rb#1109
def +(oth); end
# == Args
@@ -842,26 +851,26 @@ class URI::Generic
# uri.route_from('http://my.example.com')
# #=> #
#
- # source://uri//uri/generic.rb#1262
+ # source://uri//lib/uri/generic.rb#1261
def -(oth); end
# Compares two URIs.
#
- # source://uri//uri/generic.rb#1384
+ # source://uri//lib/uri/generic.rb#1383
def ==(oth); end
# Returns true if URI has a scheme (e.g. http:// or https://) specified.
#
# @return [Boolean]
#
- # source://uri//uri/generic.rb#972
+ # source://uri//lib/uri/generic.rb#972
def absolute; end
# Returns true if URI has a scheme (e.g. http:// or https://) specified.
#
# @return [Boolean]
#
- # source://uri//uri/generic.rb#972
+ # source://uri//lib/uri/generic.rb#972
def absolute?; end
# == Args
@@ -882,32 +891,32 @@ class URI::Generic
# uri.coerce("http://foo.com")
# #=> [#, #]
#
- # source://uri//uri/generic.rb#1474
+ # source://uri//lib/uri/generic.rb#1473
def coerce(oth); end
# Components of the URI in the order.
#
- # source://uri//uri/generic.rb#313
+ # source://uri//lib/uri/generic.rb#313
def component; end
# Returns the password component after URI decoding.
#
- # source://uri//uri/generic.rb#583
+ # source://uri//lib/uri/generic.rb#583
def decoded_password; end
# Returns the user component after URI decoding.
#
- # source://uri//uri/generic.rb#578
+ # source://uri//lib/uri/generic.rb#578
def decoded_user; end
# Returns default port.
#
- # source://uri//uri/generic.rb#39
+ # source://uri//lib/uri/generic.rb#39
def default_port; end
# @return [Boolean]
#
- # source://uri//uri/generic.rb#1396
+ # source://uri//lib/uri/generic.rb#1395
def eql?(oth); end
# Returns a proxy URI.
@@ -928,14 +937,14 @@ class URI::Generic
#
# @raise [BadURIError]
#
- # source://uri//uri/generic.rb#1500
+ # source://uri//lib/uri/generic.rb#1499
def find_proxy(env = T.unsafe(nil)); end
# Returns the fragment component of the URI.
#
# URI("http://foo/bar/baz?search=FooBar#ponies").fragment #=> "ponies"
#
- # source://uri//uri/generic.rb#283
+ # source://uri//lib/uri/generic.rb#283
def fragment; end
# Checks the fragment +v+ component against the URI::Parser Regexp for :FRAGMENT.
@@ -959,10 +968,10 @@ class URI::Generic
# uri.fragment = "time=1305212086"
# uri.to_s #=> "http://my.example.com/?id=25#time=1305212086"
#
- # source://uri//uri/generic.rb#929
+ # source://uri//lib/uri/generic.rb#929
def fragment=(v); end
- # source://uri//uri/generic.rb#1392
+ # source://uri//lib/uri/generic.rb#1391
def hash; end
# Returns true if URI is hierarchical.
@@ -985,7 +994,7 @@ class URI::Generic
#
# @return [Boolean]
#
- # source://uri//uri/generic.rb#961
+ # source://uri//lib/uri/generic.rb#961
def hierarchical?; end
# Returns the host component of the URI.
@@ -1008,7 +1017,7 @@ class URI::Generic
# URI("http://[::1]/bar/baz").host #=> "[::1]"
# URI("http://[::1]/bar/baz").hostname #=> "::1"
#
- # source://uri//uri/generic.rb#243
+ # source://uri//lib/uri/generic.rb#243
def host; end
# == Args
@@ -1031,7 +1040,7 @@ class URI::Generic
# uri.host = "foo.com"
# uri.to_s #=> "http://foo.com"
#
- # source://uri//uri/generic.rb#639
+ # source://uri//lib/uri/generic.rb#639
def host=(v); end
# Extract the host part of the URI and unwrap brackets for IPv6 addresses.
@@ -1043,7 +1052,7 @@ class URI::Generic
# uri.hostname #=> "::1"
# uri.host #=> "[::1]"
#
- # source://uri//uri/generic.rb#654
+ # source://uri//lib/uri/generic.rb#654
def hostname; end
# Sets the host part of the URI as the argument with brackets for IPv6 addresses.
@@ -1058,10 +1067,10 @@ class URI::Generic
# If the argument seems to be an IPv6 address,
# it is wrapped with brackets.
#
- # source://uri//uri/generic.rb#671
+ # source://uri//lib/uri/generic.rb#671
def hostname=(v); end
- # source://uri//uri/generic.rb#1451
+ # source://uri//lib/uri/generic.rb#1450
def inspect; end
# == Args
@@ -1081,7 +1090,7 @@ class URI::Generic
# uri.merge("/main.rbx?page=1")
# # => "http://my.example.com/main.rbx?page=1"
#
- # source://uri//uri/generic.rb#1109
+ # source://uri//lib/uri/generic.rb#1109
def merge(oth); end
# == Args
@@ -1101,7 +1110,7 @@ class URI::Generic
# uri.merge!("/main.rbx?page=1")
# uri.to_s # => "http://my.example.com/main.rbx?page=1"
#
- # source://uri//uri/generic.rb#1081
+ # source://uri//lib/uri/generic.rb#1081
def merge!(oth); end
# Returns normalized URI.
@@ -1116,12 +1125,12 @@ class URI::Generic
# * scheme and host are converted to lowercase,
# * an empty path component is set to "/".
#
- # source://uri//uri/generic.rb#1319
+ # source://uri//lib/uri/generic.rb#1318
def normalize; end
# Destructive version of #normalize.
#
- # source://uri//uri/generic.rb#1328
+ # source://uri//lib/uri/generic.rb#1327
def normalize!; end
# Returns the opaque part of the URI.
@@ -1133,7 +1142,7 @@ class URI::Generic
# The path typically refers to an absolute path or an opaque part.
# (See RFC2396 Section 3 and 5.2.)
#
- # source://uri//uri/generic.rb#277
+ # source://uri//lib/uri/generic.rb#277
def opaque; end
# == Args
@@ -1148,19 +1157,19 @@ class URI::Generic
#
# See also URI::Generic.check_opaque.
#
- # source://uri//uri/generic.rb#901
+ # source://uri//lib/uri/generic.rb#901
def opaque=(v); end
# Returns the parser to be used.
#
# Unless a URI::Parser is defined, DEFAULT_PARSER is used.
#
- # source://uri//uri/generic.rb#289
+ # source://uri//lib/uri/generic.rb#289
def parser; end
# Returns the password component (without URI decoding).
#
- # source://uri//uri/generic.rb#573
+ # source://uri//lib/uri/generic.rb#573
def password; end
# == Args
@@ -1183,14 +1192,14 @@ class URI::Generic
# uri.password = "V3ry_S3nsit1ve"
# uri.to_s #=> "http://john:V3ry_S3nsit1ve@my.example.com"
#
- # source://uri//uri/generic.rb#498
+ # source://uri//lib/uri/generic.rb#498
def password=(password); end
# Returns the path component of the URI.
#
# URI("http://foo/bar/baz").path #=> "/bar/baz"
#
- # source://uri//uri/generic.rb#260
+ # source://uri//lib/uri/generic.rb#260
def path; end
# == Args
@@ -1213,7 +1222,7 @@ class URI::Generic
# uri.path = "/faq/"
# uri.to_s #=> "http://my.example.com/faq/"
#
- # source://uri//uri/generic.rb#815
+ # source://uri//lib/uri/generic.rb#815
def path=(v); end
# Returns the port component of the URI.
@@ -1221,7 +1230,7 @@ class URI::Generic
# URI("http://foo/bar/baz").port #=> 80
# URI("http://foo:8080/bar/baz").port #=> 8080
#
- # source://uri//uri/generic.rb#250
+ # source://uri//lib/uri/generic.rb#250
def port; end
# == Args
@@ -1244,14 +1253,14 @@ class URI::Generic
# uri.port = 8080
# uri.to_s #=> "http://my.example.com:8080"
#
- # source://uri//uri/generic.rb#729
+ # source://uri//lib/uri/generic.rb#729
def port=(v); end
# Returns the query component of the URI.
#
# URI("http://foo/bar/baz?search=FooBar").query #=> "search=FooBar"
#
- # source://uri//uri/generic.rb#266
+ # source://uri//lib/uri/generic.rb#266
def query; end
# == Args
@@ -1273,22 +1282,22 @@ class URI::Generic
#
# @raise [InvalidURIError]
#
- # source://uri//uri/generic.rb#839
+ # source://uri//lib/uri/generic.rb#839
def query=(v); end
- # source://uri//uri/generic.rb#252
+ # source://uri//lib/uri/generic.rb#252
def registry; end
# @raise [InvalidURIError]
#
- # source://uri//uri/generic.rb#745
+ # source://uri//lib/uri/generic.rb#745
def registry=(v); end
# Returns true if URI does not have a scheme (e.g. http:// or https://) specified.
#
# @return [Boolean]
#
- # source://uri//uri/generic.rb#984
+ # source://uri//lib/uri/generic.rb#984
def relative?; end
# == Args
@@ -1308,7 +1317,7 @@ class URI::Generic
# uri.route_from('http://my.example.com')
# #=> #
#
- # source://uri//uri/generic.rb#1262
+ # source://uri//lib/uri/generic.rb#1261
def route_from(oth); end
# == Args
@@ -1328,14 +1337,14 @@ class URI::Generic
# uri.route_to('http://my.example.com/main.rbx?page=1')
# #=> #
#
- # source://uri//uri/generic.rb#1302
+ # source://uri//lib/uri/generic.rb#1301
def route_to(oth); end
# Returns the scheme component of the URI.
#
# URI("http://foo/bar/baz").scheme #=> "http"
#
- # source://uri//uri/generic.rb#221
+ # source://uri//lib/uri/generic.rb#221
def scheme; end
# == Args
@@ -1358,7 +1367,7 @@ class URI::Generic
# uri.scheme = "https"
# uri.to_s #=> "https://my.example.com"
#
- # source://uri//uri/generic.rb#360
+ # source://uri//lib/uri/generic.rb#360
def scheme=(v); end
# == Args
@@ -1378,22 +1387,22 @@ class URI::Generic
# uri.select(:userinfo, :host, :path)
# # => ["myuser:mypass", "my.example.com", "/test.rbx"]
#
- # source://uri//uri/generic.rb#1440
+ # source://uri//lib/uri/generic.rb#1439
def select(*components); end
# Constructs String from URI.
#
- # source://uri//uri/generic.rb#1343
+ # source://uri//lib/uri/generic.rb#1342
def to_s; end
# Constructs String from URI.
#
- # source://uri//uri/generic.rb#1343
+ # source://uri//lib/uri/generic.rb#1342
def to_str; end
# Returns the user component (without URI decoding).
#
- # source://uri//uri/generic.rb#568
+ # source://uri//lib/uri/generic.rb#568
def user; end
# == Args
@@ -1416,78 +1425,78 @@ class URI::Generic
# uri.user = "sam"
# uri.to_s #=> "http://sam:V3ry_S3nsit1ve@my.example.com"
#
- # source://uri//uri/generic.rb#471
+ # source://uri//lib/uri/generic.rb#471
def user=(user); end
# Returns the userinfo, either as 'user' or 'user:password'.
#
- # source://uri//uri/generic.rb#557
+ # source://uri//lib/uri/generic.rb#557
def userinfo; end
# Sets userinfo, argument is string like 'name:pass'.
#
- # source://uri//uri/generic.rb#441
+ # source://uri//lib/uri/generic.rb#441
def userinfo=(userinfo); end
protected
# Returns an Array of the components defined from the COMPONENT Array.
#
- # source://uri//uri/generic.rb#1416
+ # source://uri//lib/uri/generic.rb#1415
def component_ary; end
# Protected setter for the host component +v+.
#
# See also URI::Generic.host=.
#
- # source://uri//uri/generic.rb#613
+ # source://uri//lib/uri/generic.rb#613
def set_host(v); end
# Protected setter for the opaque component +v+.
#
# See also URI::Generic.opaque=.
#
- # source://uri//uri/generic.rb#883
+ # source://uri//lib/uri/generic.rb#883
def set_opaque(v); end
# Protected setter for the password component +v+.
#
# See also URI::Generic.password=.
#
- # source://uri//uri/generic.rb#534
+ # source://uri//lib/uri/generic.rb#534
def set_password(v); end
# Protected setter for the path component +v+.
#
# See also URI::Generic.path=.
#
- # source://uri//uri/generic.rb#789
+ # source://uri//lib/uri/generic.rb#789
def set_path(v); end
# Protected setter for the port component +v+.
#
# See also URI::Generic.port=.
#
- # source://uri//uri/generic.rb#702
+ # source://uri//lib/uri/generic.rb#702
def set_port(v); end
# @raise [InvalidURIError]
#
- # source://uri//uri/generic.rb#740
+ # source://uri//lib/uri/generic.rb#740
def set_registry(v); end
# Protected setter for the scheme component +v+.
#
# See also URI::Generic.scheme=.
#
- # source://uri//uri/generic.rb#334
+ # source://uri//lib/uri/generic.rb#334
def set_scheme(v); end
# Protected setter for the user component +v+.
#
# See also URI::Generic.user=.
#
- # source://uri//uri/generic.rb#524
+ # source://uri//lib/uri/generic.rb#524
def set_user(v); end
# Protected setter for the +user+ component, and +password+ if available
@@ -1495,7 +1504,7 @@ class URI::Generic
#
# See also URI::Generic.userinfo=.
#
- # source://uri//uri/generic.rb#509
+ # source://uri//lib/uri/generic.rb#509
def set_userinfo(user, password = T.unsafe(nil)); end
private
@@ -1506,7 +1515,7 @@ class URI::Generic
# Can not have a registry or opaque component defined,
# with a host component defined.
#
- # source://uri//uri/generic.rb#594
+ # source://uri//lib/uri/generic.rb#594
def check_host(v); end
# Checks the opaque +v+ component for RFC2396 compliance and
@@ -1515,7 +1524,7 @@ class URI::Generic
# Can not have a host, port, user, or path component defined,
# with an opaque component defined.
#
- # source://uri//uri/generic.rb#861
+ # source://uri//lib/uri/generic.rb#861
def check_opaque(v); end
# Checks the password +v+ component for RFC2396 compliance
@@ -1524,7 +1533,7 @@ class URI::Generic
# Can not have a registry or opaque component defined,
# with a user component defined.
#
- # source://uri//uri/generic.rb#417
+ # source://uri//lib/uri/generic.rb#417
def check_password(v, user = T.unsafe(nil)); end
# Checks the path +v+ component for RFC2396 compliance
@@ -1534,7 +1543,7 @@ class URI::Generic
# Can not have a opaque component defined,
# with a path component defined.
#
- # source://uri//uri/generic.rb#757
+ # source://uri//lib/uri/generic.rb#757
def check_path(v); end
# Checks the port +v+ component for RFC2396 compliance
@@ -1543,17 +1552,17 @@ class URI::Generic
# Can not have a registry or opaque component defined,
# with a port component defined.
#
- # source://uri//uri/generic.rb#683
+ # source://uri//lib/uri/generic.rb#683
def check_port(v); end
# @raise [InvalidURIError]
#
- # source://uri//uri/generic.rb#735
+ # source://uri//lib/uri/generic.rb#735
def check_registry(v); end
# Checks the scheme +v+ component against the URI::Parser Regexp for :SCHEME.
#
- # source://uri//uri/generic.rb#320
+ # source://uri//lib/uri/generic.rb#320
def check_scheme(v); end
# Checks the user +v+ component for RFC2396 compliance
@@ -1562,7 +1571,7 @@ class URI::Generic
# Can not have a registry or opaque component defined,
# with a user component defined.
#
- # source://uri//uri/generic.rb#393
+ # source://uri//lib/uri/generic.rb#393
def check_user(v); end
# Checks the +user+ and +password+.
@@ -1573,44 +1582,44 @@ class URI::Generic
#
# See also URI::Generic.check_user, URI::Generic.check_password.
#
- # source://uri//uri/generic.rb#375
+ # source://uri//lib/uri/generic.rb#375
def check_userinfo(user, password = T.unsafe(nil)); end
# Escapes 'user:password' +v+ based on RFC 1738 section 3.1.
#
- # source://uri//uri/generic.rb#551
+ # source://uri//lib/uri/generic.rb#551
def escape_userpass(v); end
# Merges a base path +base+, with relative path +rel+,
# returns a modified base path.
#
- # source://uri//uri/generic.rb#1000
+ # source://uri//lib/uri/generic.rb#1000
def merge_path(base, rel); end
# Replaces self by other URI object.
#
- # source://uri//uri/generic.rb#299
+ # source://uri//lib/uri/generic.rb#299
def replace!(oth); end
# :stopdoc:
#
- # source://uri//uri/generic.rb#1194
+ # source://uri//lib/uri/generic.rb#1193
def route_from0(oth); end
# :stopdoc:
#
- # source://uri//uri/generic.rb#1155
+ # source://uri//lib/uri/generic.rb#1154
def route_from_path(src, dst); end
# Returns an Array of the path split on '/'.
#
- # source://uri//uri/generic.rb#991
+ # source://uri//lib/uri/generic.rb#991
def split_path(path); end
# Returns the userinfo +ui+ as [user, password]
# if properly formatted as 'user:password'.
#
- # source://uri//uri/generic.rb#542
+ # source://uri//lib/uri/generic.rb#542
def split_userinfo(ui); end
class << self
@@ -1625,7 +1634,7 @@ class URI::Generic
# opaque, query, and fragment. You can provide arguments either by an Array or a Hash.
# See ::new for hash keys to use or for order of array items.
#
- # source://uri//uri/generic.rb#116
+ # source://uri//lib/uri/generic.rb#116
def build(args); end
# == Synopsis
@@ -1638,25 +1647,25 @@ class URI::Generic
# URI::Generic::build. But, if exception URI::InvalidComponentError is raised,
# then it does URI::Escape.escape all URI components and tries again.
#
- # source://uri//uri/generic.rb#78
+ # source://uri//lib/uri/generic.rb#78
def build2(args); end
# Components of the URI in the order.
#
- # source://uri//uri/generic.rb#57
+ # source://uri//lib/uri/generic.rb#57
def component; end
# Returns default port.
#
- # source://uri//uri/generic.rb#32
+ # source://uri//lib/uri/generic.rb#32
def default_port; end
# @return [Boolean]
#
- # source://uri//uri/generic.rb#1566
+ # source://uri//lib/uri/generic.rb#1565
def use_proxy?(hostname, addr, port, no_proxy); end
- # source://uri//uri/generic.rb#63
+ # source://uri//lib/uri/generic.rb#63
def use_registry; end
end
end
@@ -1667,6 +1676,8 @@ end
# passwords. This is not legal as per the RFC, but used to be
# supported in Internet Explorer 5 and 6, before the MS04-004 security
# update. See .
+#
+# source://uri//lib/uri/http.rb#22
class URI::HTTP < ::URI::Generic
# == Description
#
@@ -1680,7 +1691,7 @@ class URI::HTTP < ::URI::Generic
# URI::HTTP.build(host: 'www.example.com', port: 8000, path: '/foo/bar').authority #=> "www.example.com:8000"
# URI::HTTP.build(host: 'www.example.com', port: 80, path: '/foo/bar').authority #=> "www.example.com"
#
- # source://uri//uri/http.rb#97
+ # source://uri//lib/uri/http.rb#97
def authority; end
# == Description
@@ -1696,7 +1707,7 @@ class URI::HTTP < ::URI::Generic
# URI::HTTP.build(host: 'www.example.com', port: 80, path: '/foo/bar').origin #=> "http://www.example.com"
# URI::HTTPS.build(host: 'www.example.com', path: '/foo/bar').origin #=> "https://www.example.com"
#
- # source://uri//uri/http.rb#119
+ # source://uri//lib/uri/http.rb#119
def origin; end
# == Description
@@ -1711,7 +1722,7 @@ class URI::HTTP < ::URI::Generic
# uri = URI::HTTP.build(path: '/foo/bar', query: 'test=true')
# uri.request_uri # => "/foo/bar?test=true"
#
- # source://uri//uri/http.rb#77
+ # source://uri//lib/uri/http.rb#77
def request_uri; end
class << self
@@ -1738,18 +1749,20 @@ class URI::HTTP < ::URI::Generic
# Currently, if passed userinfo components this method generates
# invalid HTTP URIs as per RFC 1738.
#
- # source://uri//uri/http.rb#59
+ # source://uri//lib/uri/http.rb#59
def build(args); end
end
end
-# source://uri//uri/common.rb#103
+# source://uri//lib/uri/common.rb#105
URI::INITIAL_SCHEMES = T.let(T.unsafe(nil), Hash)
# LDAP URI SCHEMA (described in RFC2255).
# --
# ldap:///[?[?[?[?]]]]
# ++
+#
+# source://uri//lib/uri/ldap.rb#23
class URI::LDAP < ::URI::Generic
# == Description
#
@@ -1768,47 +1781,47 @@ class URI::LDAP < ::URI::Generic
#
# @return [LDAP] a new instance of LDAP
#
- # source://uri//uri/ldap.rb#108
+ # source://uri//lib/uri/ldap.rb#108
def initialize(*arg); end
# Returns attributes.
#
- # source://uri//uri/ldap.rb#178
+ # source://uri//lib/uri/ldap.rb#178
def attributes; end
# Setter for attributes +val+.
#
- # source://uri//uri/ldap.rb#191
+ # source://uri//lib/uri/ldap.rb#191
def attributes=(val); end
# Returns dn.
#
- # source://uri//uri/ldap.rb#159
+ # source://uri//lib/uri/ldap.rb#159
def dn; end
# Setter for dn +val+.
#
- # source://uri//uri/ldap.rb#172
+ # source://uri//lib/uri/ldap.rb#172
def dn=(val); end
# Returns extensions.
#
- # source://uri//uri/ldap.rb#235
+ # source://uri//lib/uri/ldap.rb#235
def extensions; end
# Setter for extensions +val+.
#
- # source://uri//uri/ldap.rb#248
+ # source://uri//lib/uri/ldap.rb#248
def extensions=(val); end
# Returns filter.
#
- # source://uri//uri/ldap.rb#216
+ # source://uri//lib/uri/ldap.rb#216
def filter; end
# Setter for filter +val+.
#
- # source://uri//uri/ldap.rb#229
+ # source://uri//lib/uri/ldap.rb#229
def filter=(val); end
# Checks if URI has a path.
@@ -1816,64 +1829,64 @@ class URI::LDAP < ::URI::Generic
#
# @return [Boolean]
#
- # source://uri//uri/ldap.rb#255
+ # source://uri//lib/uri/ldap.rb#255
def hierarchical?; end
# Returns scope.
#
- # source://uri//uri/ldap.rb#197
+ # source://uri//lib/uri/ldap.rb#197
def scope; end
# Setter for scope +val+.
#
- # source://uri//uri/ldap.rb#210
+ # source://uri//lib/uri/ldap.rb#210
def scope=(val); end
protected
# Private setter for attributes +val+.
#
- # source://uri//uri/ldap.rb#183
+ # source://uri//lib/uri/ldap.rb#183
def set_attributes(val); end
# Private setter for dn +val+.
#
- # source://uri//uri/ldap.rb#164
+ # source://uri//lib/uri/ldap.rb#164
def set_dn(val); end
# Private setter for extensions +val+.
#
- # source://uri//uri/ldap.rb#240
+ # source://uri//lib/uri/ldap.rb#240
def set_extensions(val); end
# Private setter for filter +val+.
#
- # source://uri//uri/ldap.rb#221
+ # source://uri//lib/uri/ldap.rb#221
def set_filter(val); end
# Private setter for scope +val+.
#
- # source://uri//uri/ldap.rb#202
+ # source://uri//lib/uri/ldap.rb#202
def set_scope(val); end
private
# Private method to assemble +query+ from +attributes+, +scope+, +filter+, and +extensions+.
#
- # source://uri//uri/ldap.rb#146
+ # source://uri//lib/uri/ldap.rb#146
def build_path_query; end
# Private method to cleanup +dn+ from using the +path+ component attribute.
#
# @raise [InvalidURIError]
#
- # source://uri//uri/ldap.rb#120
+ # source://uri//lib/uri/ldap.rb#120
def parse_dn; end
# Private method to cleanup +attributes+, +scope+, +filter+, and +extensions+
# from using the +query+ component attribute.
#
- # source://uri//uri/ldap.rb#128
+ # source://uri//lib/uri/ldap.rb#128
def parse_query; end
class << self
@@ -1898,12 +1911,14 @@ class URI::LDAP < ::URI::Generic
# uri = URI::LDAP.build(["ldap.example.com", nil,
# "/dc=example;dc=com", "query", nil, nil, nil])
#
- # source://uri//uri/ldap.rb#74
+ # source://uri//lib/uri/ldap.rb#74
def build(args); end
end
end
# RFC6068, the mailto URL scheme.
+#
+# source://uri//lib/uri/mailto.rb#17
class URI::MailTo < ::URI::Generic
# == Description
#
@@ -1915,27 +1930,27 @@ class URI::MailTo < ::URI::Generic
#
# @return [MailTo] a new instance of MailTo
#
- # source://uri//uri/mailto.rb#132
+ # source://uri//lib/uri/mailto.rb#132
def initialize(*arg); end
# E-mail headers set by the URL, as an Array of Arrays.
#
- # source://uri//uri/mailto.rb#166
+ # source://uri//lib/uri/mailto.rb#166
def headers; end
# Setter for headers +v+.
#
- # source://uri//uri/mailto.rb#232
+ # source://uri//lib/uri/mailto.rb#232
def headers=(v); end
# The primary e-mail address of the URL, as a String.
#
- # source://uri//uri/mailto.rb#163
+ # source://uri//lib/uri/mailto.rb#163
def to; end
# Setter for to +v+.
#
- # source://uri//uri/mailto.rb#200
+ # source://uri//lib/uri/mailto.rb#200
def to=(v); end
# Returns the RFC822 e-mail text equivalent of the URL, as a String.
@@ -1948,7 +1963,7 @@ class URI::MailTo < ::URI::Generic
# uri.to_mailtext
# # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n"
#
- # source://uri//uri/mailto.rb#268
+ # source://uri//lib/uri/mailto.rb#268
def to_mailtext; end
# Returns the RFC822 e-mail text equivalent of the URL, as a String.
@@ -1961,24 +1976,24 @@ class URI::MailTo < ::URI::Generic
# uri.to_mailtext
# # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n"
#
- # source://uri//uri/mailto.rb#268
+ # source://uri//lib/uri/mailto.rb#268
def to_rfc822text; end
# Constructs String from URI.
#
- # source://uri//uri/mailto.rb#239
+ # source://uri//lib/uri/mailto.rb#239
def to_s; end
protected
# Private setter for headers +v+.
#
- # source://uri//uri/mailto.rb#221
+ # source://uri//lib/uri/mailto.rb#221
def set_headers(v); end
# Private setter for to +v+.
#
- # source://uri//uri/mailto.rb#194
+ # source://uri//lib/uri/mailto.rb#194
def set_to(v); end
private
@@ -1986,12 +2001,12 @@ class URI::MailTo < ::URI::Generic
# Checks the headers +v+ component against either
# * HEADER_REGEXP
#
- # source://uri//uri/mailto.rb#208
+ # source://uri//lib/uri/mailto.rb#208
def check_headers(v); end
# Checks the to +v+ component.
#
- # source://uri//uri/mailto.rb#169
+ # source://uri//lib/uri/mailto.rb#169
def check_to(v); end
class << self
@@ -2021,14 +2036,19 @@ class URI::MailTo < ::URI::Generic
# m3 = URI::MailTo.build({:to => 'listman@example.com', :headers => [['subject', 'subscribe']]})
# m3.to_s # => "mailto:listman@example.com?subject=subscribe"
#
- # source://uri//uri/mailto.rb#85
+ # source://uri//lib/uri/mailto.rb#85
def build(args); end
end
end
+# source://uri//lib/uri/common.rb#22
+URI::RFC2396_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
+
# Class that parses String's into URI's.
#
# It contains a Hash set of patterns and Regexp's that match and validate.
+#
+# source://uri//lib/uri/rfc2396_parser.rb#64
class URI::RFC2396_Parser
include ::URI::RFC2396_REGEXP
@@ -2065,7 +2085,7 @@ class URI::RFC2396_Parser
#
# @return [RFC2396_Parser] a new instance of RFC2396_Parser
#
- # source://uri//uri/rfc2396_parser.rb#99
+ # source://uri//lib/uri/rfc2396_parser.rb#99
def initialize(opts = T.unsafe(nil)); end
# :call-seq:
@@ -2084,7 +2104,7 @@ class URI::RFC2396_Parser
# Constructs a safe String from +str+, removing unsafe characters,
# replacing them with codes.
#
- # source://uri//uri/rfc2396_parser.rb#287
+ # source://uri//lib/uri/rfc2396_parser.rb#287
def escape(str, unsafe = T.unsafe(nil)); end
# :call-seq:
@@ -2107,10 +2127,10 @@ class URI::RFC2396_Parser
#
# See also URI::Parser.make_regexp.
#
- # source://uri//uri/rfc2396_parser.rb#249
+ # source://uri//lib/uri/rfc2396_parser.rb#249
def extract(str, schemes = T.unsafe(nil)); end
- # source://uri//uri/rfc2396_parser.rb#326
+ # source://uri//lib/uri/rfc2396_parser.rb#326
def inspect; end
# == Args
@@ -2122,13 +2142,13 @@ class URI::RFC2396_Parser
#
# Attempts to parse and merge a set of URIs.
#
- # source://uri//uri/rfc2396_parser.rb#223
+ # source://uri//lib/uri/rfc2396_parser.rb#223
def join(*uris); end
# Returns Regexp that is default +self.regexp[:ABS_URI_REF]+,
# unless +schemes+ is provided. Then it is a Regexp.union with +self.pattern[:X_ABS_URI]+.
#
- # source://uri//uri/rfc2396_parser.rb#262
+ # source://uri//lib/uri/rfc2396_parser.rb#262
def make_regexp(schemes = T.unsafe(nil)); end
# == Args
@@ -2147,26 +2167,26 @@ class URI::RFC2396_Parser
# p.parse("ldap://ldap.example.com/dc=example?user=john")
# #=> #
#
- # source://uri//uri/rfc2396_parser.rb#209
+ # source://uri//lib/uri/rfc2396_parser.rb#209
def parse(uri); end
# The Hash of patterns.
#
# See also URI::Parser.initialize_pattern.
#
- # source://uri//uri/rfc2396_parser.rb#112
+ # source://uri//lib/uri/rfc2396_parser.rb#112
def pattern; end
# The Hash of Regexp.
#
# See also URI::Parser.initialize_regexp.
#
- # source://uri//uri/rfc2396_parser.rb#117
+ # source://uri//lib/uri/rfc2396_parser.rb#117
def regexp; end
# Returns a split URI against +regexp[:ABS_URI]+.
#
- # source://uri//uri/rfc2396_parser.rb#120
+ # source://uri//lib/uri/rfc2396_parser.rb#120
def split(uri); end
# :call-seq:
@@ -2184,113 +2204,115 @@ class URI::RFC2396_Parser
#
# Removes escapes from +str+.
#
- # source://uri//uri/rfc2396_parser.rb#318
+ # source://uri//lib/uri/rfc2396_parser.rb#318
def unescape(str, escaped = T.unsafe(nil)); end
private
- # source://uri//uri/rfc2396_parser.rb#527
+ # source://uri//lib/uri/rfc2396_parser.rb#527
def convert_to_uri(uri); end
# Constructs the default Hash of patterns.
#
- # source://uri//uri/rfc2396_parser.rb#338
+ # source://uri//lib/uri/rfc2396_parser.rb#338
def initialize_pattern(opts = T.unsafe(nil)); end
# Constructs the default Hash of Regexp's.
#
- # source://uri//uri/rfc2396_parser.rb#496
+ # source://uri//lib/uri/rfc2396_parser.rb#496
def initialize_regexp(pattern); end
end
+# source://uri//lib/uri/rfc3986_parser.rb#3
class URI::RFC3986_Parser
# @return [RFC3986_Parser] a new instance of RFC3986_Parser
#
- # source://uri//uri/rfc3986_parser.rb#73
+ # source://uri//lib/uri/rfc3986_parser.rb#73
def initialize; end
- # source://uri//uri/rfc3986_parser.rb#146
+ # source://uri//lib/uri/rfc3986_parser.rb#146
def inspect; end
- # source://uri//uri/rfc3986_parser.rb#139
+ # source://uri//lib/uri/rfc3986_parser.rb#139
def join(*uris); end
- # source://uri//uri/rfc3986_parser.rb#134
+ # source://uri//lib/uri/rfc3986_parser.rb#134
def parse(uri); end
# Returns the value of attribute regexp.
#
- # source://uri//uri/rfc3986_parser.rb#71
+ # source://uri//lib/uri/rfc3986_parser.rb#71
def regexp; end
- # source://uri//uri/rfc3986_parser.rb#77
+ # source://uri//lib/uri/rfc3986_parser.rb#77
def split(uri); end
private
- # source://uri//uri/rfc3986_parser.rb#171
+ # source://uri//lib/uri/rfc3986_parser.rb#171
def convert_to_uri(uri); end
- # source://uri//uri/rfc3986_parser.rb#157
+ # source://uri//lib/uri/rfc3986_parser.rb#157
def default_regexp; end
end
-# source://uri//uri/rfc3986_parser.rb#33
+# source://uri//lib/uri/rfc3986_parser.rb#33
URI::RFC3986_Parser::FRAGMENT = T.let(T.unsafe(nil), String)
# URI defined in RFC3986
#
-# source://uri//uri/rfc3986_parser.rb#5
+# source://uri//lib/uri/rfc3986_parser.rb#5
URI::RFC3986_Parser::HOST = T.let(T.unsafe(nil), Regexp)
-# source://uri//uri/rfc3986_parser.rb#54
+# source://uri//lib/uri/rfc3986_parser.rb#54
URI::RFC3986_Parser::RFC3986_relative_ref = T.let(T.unsafe(nil), Regexp)
-# source://uri//uri/rfc3986_parser.rb#30
+# source://uri//lib/uri/rfc3986_parser.rb#30
URI::RFC3986_Parser::SCHEME = T.let(T.unsafe(nil), String)
-# source://uri//uri/rfc3986_parser.rb#31
+# source://uri//lib/uri/rfc3986_parser.rb#31
URI::RFC3986_Parser::SEG = T.let(T.unsafe(nil), String)
-# source://uri//uri/rfc3986_parser.rb#32
+# source://uri//lib/uri/rfc3986_parser.rb#32
URI::RFC3986_Parser::SEG_NC = T.let(T.unsafe(nil), String)
-# source://uri//uri/rfc3986_parser.rb#28
+# source://uri//lib/uri/rfc3986_parser.rb#28
URI::RFC3986_Parser::USERINFO = T.let(T.unsafe(nil), Regexp)
+# source://uri//lib/uri/common.rb#69
module URI::Schemes; end
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::FILE = URI::File
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::FTP = URI::FTP
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::GID = URI::GID
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::HTTP = URI::HTTP
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::HTTPS = URI::HTTPS
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::LDAP = URI::LDAP
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::LDAPS = URI::LDAPS
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::MAILTO = URI::MailTo
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::SOURCE = URI::Source
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::WS = URI::WS
-# source://uri//uri/common.rb#80
+# source://uri//lib/uri/common.rb#82
URI::Schemes::WSS = URI::WSS
class URI::Source < ::URI::File
@@ -2298,14 +2320,14 @@ class URI::Source < ::URI::File
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
def check_host(v); end
- # source://uri//uri/generic.rb#243
+ # source://uri//lib/uri/generic.rb#243
def gem_name; end
# source://tapioca/0.15.1/lib/tapioca/helpers/source_uri.rb#25
sig { returns(T.nilable(::String)) }
def gem_version; end
- # source://uri//uri/generic.rb#283
+ # source://uri//lib/uri/generic.rb#283
def line_number; end
# source://tapioca/0.15.1/lib/tapioca/helpers/source_uri.rb#51
@@ -2330,17 +2352,18 @@ class URI::Source < ::URI::File
end
end
-# source://uri//uri/common.rb#285
+# source://uri//lib/uri/common.rb#287
URI::TBLENCURICOMP_ = T.let(T.unsafe(nil), Hash)
+# source://uri//lib/uri/common.rb#37
module URI::Util
private
- # source://uri//uri/common.rb#36
+ # source://uri//lib/uri/common.rb#38
def make_components_hash(klass, array_hash); end
class << self
- # source://uri//uri/common.rb#36
+ # source://uri//lib/uri/common.rb#38
def make_components_hash(klass, array_hash); end
end
end
@@ -2351,6 +2374,8 @@ end
# passwords. This is not legal as per the RFC, but used to be
# supported in Internet Explorer 5 and 6, before the MS04-004 security
# update. See .
+#
+# source://uri//lib/uri/ws.rb#22
class URI::WS < ::URI::Generic
# == Description
#
@@ -2364,7 +2389,7 @@ class URI::WS < ::URI::Generic
# uri = URI::WS.build(path: '/foo/bar', query: 'test=true')
# uri.request_uri # => "/foo/bar?test=true"
#
- # source://uri//uri/ws.rb#74
+ # source://uri//lib/uri/ws.rb#74
def request_uri; end
class << self
@@ -2389,7 +2414,7 @@ class URI::WS < ::URI::Generic
# Currently, if passed userinfo components this method generates
# invalid WS URIs as per RFC 1738.
#
- # source://uri//uri/ws.rb#56
+ # source://uri//lib/uri/ws.rb#56
def build(args); end
end
end
@@ -2397,9 +2422,11 @@ end
# The default port for WSS URIs is 443, and the scheme is 'wss:' rather
# than 'ws:'. Other than that, WSS URIs are identical to WS URIs;
# see URI::WS.
+#
+# source://uri//lib/uri/wss.rb#17
class URI::WSS < ::URI::WS; end
# A Default port of 443 for URI::WSS
#
-# source://uri//uri/wss.rb#19
+# source://uri//lib/uri/wss.rb#19
URI::WSS::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)