This host is not permitted to access this application.
" \
"
If you are the administrator, check your configuration.
" \
- "",
- String
- )
+ ""
RESPONSE_HEADERS = T.let(
{
"Content-Type" => "text/html",
@@ -27,7 +24,7 @@ module HostAuthorization
}.freeze,
T::Hash[String, String]
)
- FORBIDDEN_STATUS = T.let(403, Integer)
+ FORBIDDEN_STATUS = 403
# Set up host authorization logging
sig { override.params(config: LogStruct::Configuration).returns(T.nilable(T::Boolean)) }
diff --git a/lib/log_struct/integrations/lograge.rb b/lib/log_struct/integrations/lograge.rb
index 3665b1af..aeb51b19 100644
--- a/lib/log_struct/integrations/lograge.rb
+++ b/lib/log_struct/integrations/lograge.rb
@@ -14,28 +14,25 @@ module Integrations
module Lograge
extend IntegrationInterface
- LOGRAGE_KNOWN_KEYS = T.let(
- [
- :method,
- :path,
- :format,
- :controller,
- :action,
- :status,
- :duration,
- :view,
- :db,
- :params,
- :request_id,
- :source_ip,
- :user_agent,
- :referer,
- :host,
- :content_type,
- :accept
- ].freeze,
- T::Array[Symbol]
- )
+ LOGRAGE_KNOWN_KEYS = [
+ :method,
+ :path,
+ :format,
+ :controller,
+ :action,
+ :status,
+ :duration,
+ :view,
+ :db,
+ :params,
+ :request_id,
+ :source_ip,
+ :user_agent,
+ :referer,
+ :host,
+ :content_type,
+ :accept
+ ].freeze
# With config.exceptions_app = routes, Rails renders an error page by sending the request through the app again
# as GET /, and keeps the request's own method and path in these headers
diff --git a/lib/log_struct/integrations/puma.rb b/lib/log_struct/integrations/puma.rb
index f2d9abad..a9cbc45c 100644
--- a/lib/log_struct/integrations/puma.rb
+++ b/lib/log_struct/integrations/puma.rb
@@ -196,7 +196,7 @@ def process_line(line)
return true
end
- if (m = l.match(/^(?:\*\s*)?Puma version: (\S+)(?:.*"([^\"]+)")?/))
+ if (m = l.match(/^(?:\*\s*)?Puma version: (\S+)(?:.*"([^"]+)")?/))
T.cast(STATE[:start_info], T::Hash[Symbol, T.untyped])[:puma_version] = m[1]
if m[2]
T.cast(STATE[:start_info], T::Hash[Symbol, T.untyped])[:puma_codename] = m[2]
diff --git a/lib/log_struct/integrations/rack_error_handler/error_lines.rb b/lib/log_struct/integrations/rack_error_handler/error_lines.rb
index 9b9fa019..95e6510c 100644
--- a/lib/log_struct/integrations/rack_error_handler/error_lines.rb
+++ b/lib/log_struct/integrations/rack_error_handler/error_lines.rb
@@ -12,10 +12,7 @@ module RackErrorHandler
module ErrorLines
extend T::Sig
- CSRF_ERROR_NAMES = T.let(
- ["ActionController::InvalidAuthenticityToken", "ActionController::InvalidCrossOriginRequest"].freeze,
- T::Array[String]
- )
+ CSRF_ERROR_NAMES = ["ActionController::InvalidAuthenticityToken", "ActionController::InvalidCrossOriginRequest"].freeze
sig { returns(T::Boolean) }
def self.enabled?
diff --git a/lib/log_struct/integrations/shrine.rb b/lib/log_struct/integrations/shrine.rb
index 86249060..53007a8d 100644
--- a/lib/log_struct/integrations/shrine.rb
+++ b/lib/log_struct/integrations/shrine.rb
@@ -14,7 +14,7 @@ module Shrine
extend T::Sig
extend IntegrationInterface
- SHRINE_EVENTS = T.let(%i[upload exists download delete metadata open].freeze, T::Array[Symbol])
+ SHRINE_EVENTS = %i[upload exists download delete metadata open].freeze
# The file name in a Content-Disposition (attachment; filename="..."; filename*=UTF-8''...). A quoted name
# can hold a semicolon, and whatever follows a quote (malformed or not) goes too.
diff --git a/lib/log_struct/log/action_mailer.rb b/lib/log_struct/log/action_mailer.rb
index 0f2af977..988bed4f 100644
--- a/lib/log_struct/log/action_mailer.rb
+++ b/lib/log_struct/log/action_mailer.rb
@@ -15,6 +15,7 @@ module Log
class ActionMailer
class BaseFields < T::Struct
extend T::Sig
+
const :to, T.nilable(T::Array[String]), default: nil
const :from, T.nilable(String), default: nil
const :subject, T.nilable(String), default: nil
diff --git a/lib/log_struct/log/action_mailer/delivered.rb b/lib/log_struct/log/action_mailer/delivered.rb
index a6dd9049..0b004c1a 100644
--- a/lib/log_struct/log/action_mailer/delivered.rb
+++ b/lib/log_struct/log/action_mailer/delivered.rb
@@ -23,11 +23,15 @@ class ActionMailer
class Delivered < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Mailer, default: Source::Mailer
- const :event, Event, default: Event::Delivered
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Mailer, default: Source::Mailer, override: true
+ const :event, Event, default: Event::Delivered, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :to, T.nilable(T::Array[String]), default: nil
const :from, T.nilable(String), default: nil
@@ -38,8 +42,7 @@ class Delivered < T::Struct
const :attachment_count, T.nilable(Integer), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -53,7 +56,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/action_mailer/delivery.rb b/lib/log_struct/log/action_mailer/delivery.rb
index 57814a88..ac2cf6ad 100644
--- a/lib/log_struct/log/action_mailer/delivery.rb
+++ b/lib/log_struct/log/action_mailer/delivery.rb
@@ -23,11 +23,15 @@ class ActionMailer
class Delivery < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Mailer, default: Source::Mailer
- const :event, Event, default: Event::Delivery
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Mailer, default: Source::Mailer, override: true
+ const :event, Event, default: Event::Delivery, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :to, T.nilable(T::Array[String]), default: nil
const :from, T.nilable(String), default: nil
@@ -38,8 +42,7 @@ class Delivery < T::Struct
const :attachment_count, T.nilable(Integer), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -53,7 +56,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/action_mailer/error.rb b/lib/log_struct/log/action_mailer/error.rb
index 17988c92..8bc29922 100644
--- a/lib/log_struct/log/action_mailer/error.rb
+++ b/lib/log_struct/log/action_mailer/error.rb
@@ -23,11 +23,15 @@ class ActionMailer
class Error < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Mailer, default: Source::Mailer
- const :event, Event, default: Event::Error
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Mailer, default: Source::Mailer, override: true
+ const :event, Event, default: Event::Error, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :to, T.nilable(T::Array[String]), default: nil
const :from, T.nilable(String), default: nil
@@ -43,8 +47,7 @@ class Error < T::Struct
const :backtrace, T.nilable(T::Array[String]), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -58,7 +61,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job.rb b/lib/log_struct/log/active_job.rb
index e2ebe3d5..646cd904 100644
--- a/lib/log_struct/log/active_job.rb
+++ b/lib/log_struct/log/active_job.rb
@@ -20,6 +20,7 @@ module Log
class ActiveJob
class BaseFields < T::Struct
extend T::Sig
+
const :job_id, String
const :job_class, String
const :queue_name, T.nilable(Symbol), default: nil
diff --git a/lib/log_struct/log/active_job/discard.rb b/lib/log_struct/log/active_job/discard.rb
index 79095681..098e5422 100644
--- a/lib/log_struct/log/active_job/discard.rb
+++ b/lib/log_struct/log/active_job/discard.rb
@@ -23,11 +23,14 @@ class ActiveJob
class Discard < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Discard
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Discard, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -41,7 +44,6 @@ class Discard < T::Struct
const :message, String
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job/enqueue.rb b/lib/log_struct/log/active_job/enqueue.rb
index 881bed41..0f9dfc72 100644
--- a/lib/log_struct/log/active_job/enqueue.rb
+++ b/lib/log_struct/log/active_job/enqueue.rb
@@ -23,11 +23,14 @@ class ActiveJob
class Enqueue < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Enqueue
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Enqueue, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -37,7 +40,6 @@ class Enqueue < T::Struct
const :provider_job_id, T.nilable(String), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job/error.rb b/lib/log_struct/log/active_job/error.rb
index 0b5f97dd..d9d67d3d 100644
--- a/lib/log_struct/log/active_job/error.rb
+++ b/lib/log_struct/log/active_job/error.rb
@@ -23,11 +23,14 @@ class ActiveJob
class Error < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Error
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Error, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -42,7 +45,6 @@ class Error < T::Struct
const :backtrace, T.nilable(T::Array[String]), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job/finish.rb b/lib/log_struct/log/active_job/finish.rb
index 40febaa4..2f561e02 100644
--- a/lib/log_struct/log/active_job/finish.rb
+++ b/lib/log_struct/log/active_job/finish.rb
@@ -23,11 +23,14 @@ class ActiveJob
class Finish < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Finish
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Finish, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -41,7 +44,6 @@ class Finish < T::Struct
const :finished_at, Time
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job/retry.rb b/lib/log_struct/log/active_job/retry.rb
index bdbee73e..08ea2fb3 100644
--- a/lib/log_struct/log/active_job/retry.rb
+++ b/lib/log_struct/log/active_job/retry.rb
@@ -23,11 +23,14 @@ class ActiveJob
class Retry < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Retry
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Retry, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -42,7 +45,6 @@ class Retry < T::Struct
const :wait_ms, T.nilable(Float), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job/retry_stopped.rb b/lib/log_struct/log/active_job/retry_stopped.rb
index 8f687574..17f6269e 100644
--- a/lib/log_struct/log/active_job/retry_stopped.rb
+++ b/lib/log_struct/log/active_job/retry_stopped.rb
@@ -23,11 +23,14 @@ class ActiveJob
class RetryStopped < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::RetryStopped
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::RetryStopped, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -41,7 +44,6 @@ class RetryStopped < T::Struct
const :message, String
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job/schedule.rb b/lib/log_struct/log/active_job/schedule.rb
index fd539d73..3cb2424c 100644
--- a/lib/log_struct/log/active_job/schedule.rb
+++ b/lib/log_struct/log/active_job/schedule.rb
@@ -23,11 +23,14 @@ class ActiveJob
class Schedule < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Schedule
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Schedule, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -40,7 +43,6 @@ class Schedule < T::Struct
const :scheduled_at, Time
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_job/start.rb b/lib/log_struct/log/active_job/start.rb
index 2d7d6344..5579e2c5 100644
--- a/lib/log_struct/log/active_job/start.rb
+++ b/lib/log_struct/log/active_job/start.rb
@@ -23,11 +23,14 @@ class ActiveJob
class Start < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Start
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Start, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, String
const :job_class, String
@@ -41,7 +44,6 @@ class Start < T::Struct
const :attempt, T.nilable(Integer), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_model_serializers.rb b/lib/log_struct/log/active_model_serializers.rb
index 9eba50ac..3dda5058 100644
--- a/lib/log_struct/log/active_model_serializers.rb
+++ b/lib/log_struct/log/active_model_serializers.rb
@@ -22,11 +22,14 @@ module Log
class ActiveModelSerializers < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Rails, default: Source::Rails
- const :event, Event, default: Event::Generate
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Rails, default: Source::Rails, override: true
+ const :event, Event, default: Event::Generate, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :message, String
@@ -36,7 +39,6 @@ class ActiveModelSerializers < T::Struct
const :duration_ms, Float
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_storage.rb b/lib/log_struct/log/active_storage.rb
index 2e24984f..4e946430 100644
--- a/lib/log_struct/log/active_storage.rb
+++ b/lib/log_struct/log/active_storage.rb
@@ -18,6 +18,7 @@ module Log
class ActiveStorage
class BaseFields < T::Struct
extend T::Sig
+
const :storage, Symbol
const :file_id, T.nilable(String), default: nil
diff --git a/lib/log_struct/log/active_storage/delete.rb b/lib/log_struct/log/active_storage/delete.rb
index 34db3de1..257e8fd6 100644
--- a/lib/log_struct/log/active_storage/delete.rb
+++ b/lib/log_struct/log/active_storage/delete.rb
@@ -23,11 +23,14 @@ class ActiveStorage
class Delete < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Storage, default: Source::Storage
- const :event, Event, default: Event::Delete
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Storage, default: Source::Storage, override: true
+ const :event, Event, default: Event::Delete, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, T.nilable(String), default: nil
@@ -36,7 +39,6 @@ class Delete < T::Struct
const :prefix, T.nilable(String), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_storage/download.rb b/lib/log_struct/log/active_storage/download.rb
index 2300045a..26eb2d54 100644
--- a/lib/log_struct/log/active_storage/download.rb
+++ b/lib/log_struct/log/active_storage/download.rb
@@ -23,11 +23,14 @@ class ActiveStorage
class Download < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Storage, default: Source::Storage
- const :event, Event, default: Event::Download
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Storage, default: Source::Storage, override: true
+ const :event, Event, default: Event::Download, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, T.nilable(String), default: nil
@@ -37,7 +40,6 @@ class Download < T::Struct
const :duration_ms, T.nilable(Float), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_storage/exist.rb b/lib/log_struct/log/active_storage/exist.rb
index aa6b9cb3..dc0f414c 100644
--- a/lib/log_struct/log/active_storage/exist.rb
+++ b/lib/log_struct/log/active_storage/exist.rb
@@ -23,11 +23,14 @@ class ActiveStorage
class Exist < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Storage, default: Source::Storage
- const :event, Event, default: Event::Exist
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Storage, default: Source::Storage, override: true
+ const :event, Event, default: Event::Exist, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, T.nilable(String), default: nil
@@ -36,7 +39,6 @@ class Exist < T::Struct
const :exist, T.nilable(T::Boolean), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_storage/metadata.rb b/lib/log_struct/log/active_storage/metadata.rb
index 5e53ad35..204e7fc0 100644
--- a/lib/log_struct/log/active_storage/metadata.rb
+++ b/lib/log_struct/log/active_storage/metadata.rb
@@ -23,11 +23,14 @@ class ActiveStorage
class Metadata < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Storage, default: Source::Storage
- const :event, Event, default: Event::Metadata
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Storage, default: Source::Storage, override: true
+ const :event, Event, default: Event::Metadata, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, T.nilable(String), default: nil
@@ -36,7 +39,6 @@ class Metadata < T::Struct
const :mime_type, T.nilable(String), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_storage/upload.rb b/lib/log_struct/log/active_storage/upload.rb
index fb7a87f4..fbd97c5e 100644
--- a/lib/log_struct/log/active_storage/upload.rb
+++ b/lib/log_struct/log/active_storage/upload.rb
@@ -23,11 +23,14 @@ class ActiveStorage
class Upload < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Storage, default: Source::Storage
- const :event, Event, default: Event::Upload
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Storage, default: Source::Storage, override: true
+ const :event, Event, default: Event::Upload, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, T.nilable(String), default: nil
@@ -37,7 +40,6 @@ class Upload < T::Struct
const :checksum, T.nilable(String), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/active_storage/url.rb b/lib/log_struct/log/active_storage/url.rb
index e75a6d75..49e9fb9d 100644
--- a/lib/log_struct/log/active_storage/url.rb
+++ b/lib/log_struct/log/active_storage/url.rb
@@ -23,17 +23,19 @@ class ActiveStorage
class Url < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Storage, default: Source::Storage
- const :event, Event, default: Event::Url
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Storage, default: Source::Storage, override: true
+ const :event, Event, default: Event::Url, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, T.nilable(String), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/ahoy.rb b/lib/log_struct/log/ahoy.rb
index f53e748a..d4b2ca33 100644
--- a/lib/log_struct/log/ahoy.rb
+++ b/lib/log_struct/log/ahoy.rb
@@ -22,11 +22,14 @@ module Log
class Ahoy < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::App, default: Source::App
- const :event, Event, default: Event::Log
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::App, default: Source::App, override: true
+ const :event, Event, default: Event::Log, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :message, String
@@ -34,7 +37,6 @@ class Ahoy < T::Struct
const :properties, T.nilable(T::Hash[Symbol, T.untyped]), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/carrierwave.rb b/lib/log_struct/log/carrierwave.rb
index c66b602c..f1900f9e 100644
--- a/lib/log_struct/log/carrierwave.rb
+++ b/lib/log_struct/log/carrierwave.rb
@@ -15,6 +15,7 @@ module Log
class CarrierWave
class BaseFields < T::Struct
extend T::Sig
+
const :storage, Symbol
const :file_id, String
const :uploader, T.nilable(String), default: nil
diff --git a/lib/log_struct/log/carrierwave/delete.rb b/lib/log_struct/log/carrierwave/delete.rb
index 2fe6a189..86144158 100644
--- a/lib/log_struct/log/carrierwave/delete.rb
+++ b/lib/log_struct/log/carrierwave/delete.rb
@@ -23,11 +23,14 @@ class CarrierWave
class Delete < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::CarrierWave, default: Source::CarrierWave
- const :event, Event, default: Event::Delete
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::CarrierWave, default: Source::CarrierWave, override: true
+ const :event, Event, default: Event::Delete, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, String
@@ -37,7 +40,6 @@ class Delete < T::Struct
const :version, T.nilable(String), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/carrierwave/download.rb b/lib/log_struct/log/carrierwave/download.rb
index 29813e15..6223c4f7 100644
--- a/lib/log_struct/log/carrierwave/download.rb
+++ b/lib/log_struct/log/carrierwave/download.rb
@@ -23,11 +23,14 @@ class CarrierWave
class Download < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::CarrierWave, default: Source::CarrierWave
- const :event, Event, default: Event::Download
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::CarrierWave, default: Source::CarrierWave, override: true
+ const :event, Event, default: Event::Download, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, String
@@ -41,7 +44,6 @@ class Download < T::Struct
const :size, T.nilable(Integer), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/carrierwave/upload.rb b/lib/log_struct/log/carrierwave/upload.rb
index 1dbf9294..e12c5415 100644
--- a/lib/log_struct/log/carrierwave/upload.rb
+++ b/lib/log_struct/log/carrierwave/upload.rb
@@ -23,11 +23,14 @@ class CarrierWave
class Upload < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::CarrierWave, default: Source::CarrierWave
- const :event, Event, default: Event::Upload
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::CarrierWave, default: Source::CarrierWave, override: true
+ const :event, Event, default: Event::Upload, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :storage, Symbol
const :file_id, String
@@ -43,7 +46,6 @@ class Upload < T::Struct
const :duration_ms, T.nilable(Float), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/dotenv/load.rb b/lib/log_struct/log/dotenv/load.rb
index 49e3c6ee..d5fafe65 100644
--- a/lib/log_struct/log/dotenv/load.rb
+++ b/lib/log_struct/log/dotenv/load.rb
@@ -23,17 +23,19 @@ class Dotenv
class Load < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Dotenv, default: Source::Dotenv
- const :event, Event, default: Event::Load
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Dotenv, default: Source::Dotenv, override: true
+ const :event, Event, default: Event::Load, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :file, String
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/dotenv/restore.rb b/lib/log_struct/log/dotenv/restore.rb
index af4e6b69..267a6dfa 100644
--- a/lib/log_struct/log/dotenv/restore.rb
+++ b/lib/log_struct/log/dotenv/restore.rb
@@ -23,17 +23,19 @@ class Dotenv
class Restore < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Dotenv, default: Source::Dotenv
- const :event, Event, default: Event::Restore
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Dotenv, default: Source::Dotenv, override: true
+ const :event, Event, default: Event::Restore, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :vars, T::Array[String]
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/dotenv/save.rb b/lib/log_struct/log/dotenv/save.rb
index db915179..5547a078 100644
--- a/lib/log_struct/log/dotenv/save.rb
+++ b/lib/log_struct/log/dotenv/save.rb
@@ -23,17 +23,19 @@ class Dotenv
class Save < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Dotenv, default: Source::Dotenv
- const :event, Event, default: Event::Save
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Dotenv, default: Source::Dotenv, override: true
+ const :event, Event, default: Event::Save, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :snapshot, T::Boolean
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/dotenv/update.rb b/lib/log_struct/log/dotenv/update.rb
index 53969ab0..c88ac6ab 100644
--- a/lib/log_struct/log/dotenv/update.rb
+++ b/lib/log_struct/log/dotenv/update.rb
@@ -23,17 +23,19 @@ class Dotenv
class Update < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Dotenv, default: Source::Dotenv
- const :event, Event, default: Event::Update
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Dotenv, default: Source::Dotenv, override: true
+ const :event, Event, default: Event::Update, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :vars, T::Array[String]
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/error.rb b/lib/log_struct/log/error.rb
index 955c28ff..48d478c0 100644
--- a/lib/log_struct/log/error.rb
+++ b/lib/log_struct/log/error.rb
@@ -22,17 +22,22 @@ module Log
class Error < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+ include LogStruct::Log::Interfaces::RequestFields
+
# Shared/common fields
- const :source, Source
- const :event, Event, default: Event::Error
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source, override: true
+ const :event, Event, default: Event::Error, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
- const :path, T.nilable(String), default: nil
- const :http_method, T.nilable(String), default: nil
- const :source_ip, T.nilable(String), default: nil
- const :user_agent, T.nilable(String), default: nil
- const :referer, T.nilable(String), default: nil
+ const :path, T.nilable(String), default: nil, override: true
+ const :http_method, T.nilable(String), default: nil, override: true
+ const :source_ip, T.nilable(String), default: nil, override: true
+ const :user_agent, T.nilable(String), default: nil, override: true
+ const :referer, T.nilable(String), default: nil, override: true
# Event-specific fields
const :error_class, T.class_of(Exception)
@@ -44,8 +49,7 @@ class Error < T::Struct
const :cause_message, T.nilable(String), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -58,11 +62,7 @@ def field_keys
FIELD_KEYS
end
- # Request fields (optional)
- include LogStruct::Log::Interfaces::RequestFields
-
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
include LogStruct::Log::Shared::AddRequestFields
diff --git a/lib/log_struct/log/good_job.rb b/lib/log_struct/log/good_job.rb
index 9762e6ee..65f158d8 100644
--- a/lib/log_struct/log/good_job.rb
+++ b/lib/log_struct/log/good_job.rb
@@ -14,6 +14,7 @@ module Log
class GoodJob
class BaseFields < T::Struct
extend T::Sig
+
const :job_id, T.nilable(String), default: nil
const :job_class, T.nilable(String), default: nil
const :queue_name, T.nilable(Symbol), default: nil
diff --git a/lib/log_struct/log/good_job/error.rb b/lib/log_struct/log/good_job/error.rb
index 3bfefd22..21499010 100644
--- a/lib/log_struct/log/good_job/error.rb
+++ b/lib/log_struct/log/good_job/error.rb
@@ -23,11 +23,14 @@ class GoodJob
class Error < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Error
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Error, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, T.nilable(String), default: nil
const :job_class, T.nilable(String), default: nil
@@ -45,7 +48,6 @@ class Error < T::Struct
const :backtrace, T.nilable(T::Array[String]), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/good_job/log.rb b/lib/log_struct/log/good_job/log.rb
index 67a50da2..4d758559 100644
--- a/lib/log_struct/log/good_job/log.rb
+++ b/lib/log_struct/log/good_job/log.rb
@@ -23,11 +23,14 @@ class GoodJob
class Log < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Job, default: Source::Job
- const :event, Event, default: Event::Log
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Job, default: Source::Job, override: true
+ const :event, Event, default: Event::Log, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
const :job_id, T.nilable(String), default: nil
const :job_class, T.nilable(String), default: nil
@@ -43,7 +46,6 @@ class Log < T::Struct
const :priority, T.nilable(Integer), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/plain.rb b/lib/log_struct/log/plain.rb
index a4e038c4..1b79221a 100644
--- a/lib/log_struct/log/plain.rb
+++ b/lib/log_struct/log/plain.rb
@@ -22,18 +22,21 @@ module Log
class Plain < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::App, default: Source::App
- const :event, Event, default: Event::Log
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::App, default: Source::App, override: true
+ const :event, Event, default: Event::Log, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :message, T.untyped
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -47,7 +50,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/puma/error.rb b/lib/log_struct/log/puma/error.rb
index 306001e3..8b21c3a1 100644
--- a/lib/log_struct/log/puma/error.rb
+++ b/lib/log_struct/log/puma/error.rb
@@ -23,11 +23,15 @@ class Puma
class Error < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Puma, default: Source::Puma
- const :event, Event, default: Event::Error
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Puma, default: Source::Puma, override: true
+ const :event, Event, default: Event::Error, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :error_class, T.class_of(Exception)
@@ -38,8 +42,7 @@ class Error < T::Struct
const :path, T.nilable(String), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -53,7 +56,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/puma/shutdown.rb b/lib/log_struct/log/puma/shutdown.rb
index 4f75b05a..0a419aaf 100644
--- a/lib/log_struct/log/puma/shutdown.rb
+++ b/lib/log_struct/log/puma/shutdown.rb
@@ -23,18 +23,21 @@ class Puma
class Shutdown < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Puma, default: Source::Puma
- const :event, Event, default: Event::Shutdown
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Puma, default: Source::Puma, override: true
+ const :event, Event, default: Event::Shutdown, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :process_id, T.nilable(Integer), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -48,7 +51,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/puma/start.rb b/lib/log_struct/log/puma/start.rb
index 2a5e2256..816495e1 100644
--- a/lib/log_struct/log/puma/start.rb
+++ b/lib/log_struct/log/puma/start.rb
@@ -23,11 +23,15 @@ class Puma
class Start < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Puma, default: Source::Puma
- const :event, Event, default: Event::Start
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Puma, default: Source::Puma, override: true
+ const :event, Event, default: Event::Start, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :mode, T.nilable(String), default: nil
@@ -41,8 +45,7 @@ class Start < T::Struct
const :listening_addresses, T.nilable(T::Array[String]), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -56,7 +59,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/request.rb b/lib/log_struct/log/request.rb
index 7b84cf27..2631bb15 100644
--- a/lib/log_struct/log/request.rb
+++ b/lib/log_struct/log/request.rb
@@ -22,17 +22,22 @@ module Log
class Request < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+ include LogStruct::Log::Interfaces::RequestFields
+
# Shared/common fields
- const :source, Source::Rails, default: Source::Rails
- const :event, Event, default: Event::Request
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Rails, default: Source::Rails, override: true
+ const :event, Event, default: Event::Request, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
- const :path, T.nilable(String), default: nil
- const :http_method, T.nilable(String), default: nil
- const :source_ip, T.nilable(String), default: nil
- const :user_agent, T.nilable(String), default: nil
- const :referer, T.nilable(String), default: nil
+ const :path, T.nilable(String), default: nil, override: true
+ const :http_method, T.nilable(String), default: nil, override: true
+ const :source_ip, T.nilable(String), default: nil, override: true
+ const :user_agent, T.nilable(String), default: nil, override: true
+ const :referer, T.nilable(String), default: nil, override: true
# Event-specific fields
const :format, T.nilable(Symbol), default: nil
@@ -48,8 +53,7 @@ class Request < T::Struct
const :accept, T.nilable(String), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -62,11 +66,7 @@ def field_keys
FIELD_KEYS
end
- # Request fields (optional)
- include LogStruct::Log::Interfaces::RequestFields
-
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
include LogStruct::Log::Shared::AddRequestFields
diff --git a/lib/log_struct/log/security.rb b/lib/log_struct/log/security.rb
index b5680e89..5b677941 100644
--- a/lib/log_struct/log/security.rb
+++ b/lib/log_struct/log/security.rb
@@ -15,6 +15,7 @@ module Log
class Security
class BaseFields < T::Struct
extend T::Sig
+
const :path, T.nilable(String), default: nil
const :http_method, T.nilable(String), default: nil
const :source_ip, T.nilable(String), default: nil
diff --git a/lib/log_struct/log/security/blocked_host.rb b/lib/log_struct/log/security/blocked_host.rb
index 157f6297..a33b249b 100644
--- a/lib/log_struct/log/security/blocked_host.rb
+++ b/lib/log_struct/log/security/blocked_host.rb
@@ -23,17 +23,22 @@ class Security
class BlockedHost < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+ include LogStruct::Log::Interfaces::RequestFields
+
# Shared/common fields
- const :source, Source::Security, default: Source::Security
- const :event, Event, default: Event::BlockedHost
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Security, default: Source::Security, override: true
+ const :event, Event, default: Event::BlockedHost, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
- const :path, T.nilable(String), default: nil
- const :http_method, T.nilable(String), default: nil
- const :source_ip, T.nilable(String), default: nil
- const :user_agent, T.nilable(String), default: nil
- const :referer, T.nilable(String), default: nil
+ const :path, T.nilable(String), default: nil, override: true
+ const :http_method, T.nilable(String), default: nil, override: true
+ const :source_ip, T.nilable(String), default: nil, override: true
+ const :user_agent, T.nilable(String), default: nil, override: true
+ const :referer, T.nilable(String), default: nil, override: true
# Event-specific fields
const :message, T.nilable(String), default: nil
@@ -42,8 +47,7 @@ class BlockedHost < T::Struct
const :x_forwarded_for, T.nilable(String), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -56,11 +60,7 @@ def field_keys
FIELD_KEYS
end
- # Request fields (optional)
- include LogStruct::Log::Interfaces::RequestFields
-
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
include LogStruct::Log::Shared::AddRequestFields
diff --git a/lib/log_struct/log/security/csrf_violation.rb b/lib/log_struct/log/security/csrf_violation.rb
index 91cabd08..dd7da659 100644
--- a/lib/log_struct/log/security/csrf_violation.rb
+++ b/lib/log_struct/log/security/csrf_violation.rb
@@ -23,24 +23,28 @@ class Security
class CSRFViolation < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+ include LogStruct::Log::Interfaces::RequestFields
+
# Shared/common fields
- const :source, Source::Security, default: Source::Security
- const :event, Event, default: Event::CSRFViolation
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Security, default: Source::Security, override: true
+ const :event, Event, default: Event::CSRFViolation, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
- const :path, T.nilable(String), default: nil
- const :http_method, T.nilable(String), default: nil
- const :source_ip, T.nilable(String), default: nil
- const :user_agent, T.nilable(String), default: nil
- const :referer, T.nilable(String), default: nil
+ const :path, T.nilable(String), default: nil, override: true
+ const :http_method, T.nilable(String), default: nil, override: true
+ const :source_ip, T.nilable(String), default: nil, override: true
+ const :user_agent, T.nilable(String), default: nil, override: true
+ const :referer, T.nilable(String), default: nil, override: true
# Event-specific fields
const :message, T.nilable(String), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -53,11 +57,7 @@ def field_keys
FIELD_KEYS
end
- # Request fields (optional)
- include LogStruct::Log::Interfaces::RequestFields
-
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
include LogStruct::Log::Shared::AddRequestFields
diff --git a/lib/log_struct/log/security/ip_spoof.rb b/lib/log_struct/log/security/ip_spoof.rb
index f8eec375..f7701838 100644
--- a/lib/log_struct/log/security/ip_spoof.rb
+++ b/lib/log_struct/log/security/ip_spoof.rb
@@ -23,17 +23,22 @@ class Security
class IPSpoof < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+ include LogStruct::Log::Interfaces::RequestFields
+
# Shared/common fields
- const :source, Source::Security, default: Source::Security
- const :event, Event, default: Event::IPSpoof
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Security, default: Source::Security, override: true
+ const :event, Event, default: Event::IPSpoof, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
- const :path, T.nilable(String), default: nil
- const :http_method, T.nilable(String), default: nil
- const :source_ip, T.nilable(String), default: nil
- const :user_agent, T.nilable(String), default: nil
- const :referer, T.nilable(String), default: nil
+ const :path, T.nilable(String), default: nil, override: true
+ const :http_method, T.nilable(String), default: nil, override: true
+ const :source_ip, T.nilable(String), default: nil, override: true
+ const :user_agent, T.nilable(String), default: nil, override: true
+ const :referer, T.nilable(String), default: nil, override: true
# Event-specific fields
const :message, T.nilable(String), default: nil
@@ -41,8 +46,7 @@ class IPSpoof < T::Struct
const :x_forwarded_for, T.nilable(String), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -55,11 +59,7 @@ def field_keys
FIELD_KEYS
end
- # Request fields (optional)
- include LogStruct::Log::Interfaces::RequestFields
-
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
include LogStruct::Log::Shared::AddRequestFields
diff --git a/lib/log_struct/log/shrine/delete.rb b/lib/log_struct/log/shrine/delete.rb
index 689ed688..6ec59a16 100644
--- a/lib/log_struct/log/shrine/delete.rb
+++ b/lib/log_struct/log/shrine/delete.rb
@@ -23,18 +23,20 @@ class Shrine
class Delete < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Shrine, default: Source::Shrine
- const :event, Event, default: Event::Delete
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Shrine, default: Source::Shrine, override: true
+ const :event, Event, default: Event::Delete, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :storage, Symbol
const :location, String
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/shrine/download.rb b/lib/log_struct/log/shrine/download.rb
index 5e817af7..78674b4e 100644
--- a/lib/log_struct/log/shrine/download.rb
+++ b/lib/log_struct/log/shrine/download.rb
@@ -23,11 +23,14 @@ class Shrine
class Download < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Shrine, default: Source::Shrine
- const :event, Event, default: Event::Download
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Shrine, default: Source::Shrine, override: true
+ const :event, Event, default: Event::Download, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :storage, Symbol
@@ -35,7 +38,6 @@ class Download < T::Struct
const :download_options, T.nilable(T::Hash[Symbol, T.untyped]), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/shrine/exist.rb b/lib/log_struct/log/shrine/exist.rb
index d9c2f052..6d2d1f46 100644
--- a/lib/log_struct/log/shrine/exist.rb
+++ b/lib/log_struct/log/shrine/exist.rb
@@ -23,18 +23,20 @@ class Shrine
class Exist < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Shrine, default: Source::Shrine
- const :event, Event, default: Event::Exist
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Shrine, default: Source::Shrine, override: true
+ const :event, Event, default: Event::Exist, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :storage, Symbol
const :location, String
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/shrine/metadata.rb b/lib/log_struct/log/shrine/metadata.rb
index 453d5ef8..3fc5d23a 100644
--- a/lib/log_struct/log/shrine/metadata.rb
+++ b/lib/log_struct/log/shrine/metadata.rb
@@ -23,18 +23,20 @@ class Shrine
class Metadata < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Shrine, default: Source::Shrine
- const :event, Event, default: Event::Metadata
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Shrine, default: Source::Shrine, override: true
+ const :event, Event, default: Event::Metadata, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :storage, Symbol
const :duration_ms, T.nilable(Float), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/shrine/upload.rb b/lib/log_struct/log/shrine/upload.rb
index fbba9469..be29db98 100644
--- a/lib/log_struct/log/shrine/upload.rb
+++ b/lib/log_struct/log/shrine/upload.rb
@@ -23,11 +23,14 @@ class Shrine
class Upload < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+
# Shared/common fields
- const :source, Source::Shrine, default: Source::Shrine
- const :event, Event, default: Event::Upload
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Shrine, default: Source::Shrine, override: true
+ const :event, Event, default: Event::Upload, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :storage, Symbol
@@ -40,7 +43,6 @@ class Upload < T::Struct
const :duration_ms, T.nilable(Float), default: nil
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/sidekiq/error.rb b/lib/log_struct/log/sidekiq/error.rb
index 3a1ae75f..04fac4e8 100644
--- a/lib/log_struct/log/sidekiq/error.rb
+++ b/lib/log_struct/log/sidekiq/error.rb
@@ -23,11 +23,15 @@ class Sidekiq
class Error < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Sidekiq, default: Source::Sidekiq
- const :event, Event, default: Event::Error
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Sidekiq, default: Source::Sidekiq, override: true
+ const :event, Event, default: Event::Error, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :error_class, T.class_of(Exception)
@@ -38,8 +42,7 @@ class Error < T::Struct
const :retry_count, T.nilable(Integer), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -53,7 +56,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/sidekiq/log.rb b/lib/log_struct/log/sidekiq/log.rb
index b906c66f..2bbbe1fc 100644
--- a/lib/log_struct/log/sidekiq/log.rb
+++ b/lib/log_struct/log/sidekiq/log.rb
@@ -23,11 +23,15 @@ class Sidekiq
class Log < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::Sidekiq, default: Source::Sidekiq
- const :event, Event, default: Event::Log
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::Sidekiq, default: Source::Sidekiq, override: true
+ const :event, Event, default: Event::Log, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :message, T.nilable(String), default: nil
@@ -36,8 +40,7 @@ class Log < T::Struct
const :thread_id, T.nilable(T.any(Integer, String)), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -51,7 +54,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/log/sql.rb b/lib/log_struct/log/sql.rb
index cbf92414..ff0fcc3c 100644
--- a/lib/log_struct/log/sql.rb
+++ b/lib/log_struct/log/sql.rb
@@ -22,11 +22,15 @@ module Log
class SQL < T::Struct
extend T::Sig
+ # A prop marked `override` needs the method it implements to exist already
+ include LogStruct::Log::Interfaces::CommonFields
+ include LogStruct::Log::Interfaces::AdditionalDataField
+
# Shared/common fields
- const :source, Source::App, default: Source::App
- const :event, Event, default: Event::Database
- const :timestamp, Time, factory: -> { Time.now }
- const :level, Level, default: Level::Info
+ const :source, Source::App, default: Source::App, override: true
+ const :event, Event, default: Event::Database, override: true
+ const :timestamp, Time, factory: -> { Time.now }, override: true
+ const :level, Level, default: Level::Info, override: true
# Event-specific fields
const :message, String
@@ -43,8 +47,7 @@ class SQL < T::Struct
const :table_names, T.nilable(T::Array[String]), default: nil
# Additional data
- include LogStruct::Log::Interfaces::AdditionalDataField
- const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil
+ const :additional_data, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]), default: nil, override: true
include LogStruct::Log::Shared::MergeAdditionalDataFields
FIELD_KEYS = T.let(
@@ -58,7 +61,6 @@ def field_keys
end
# Serialize shared fields
- include LogStruct::Log::Interfaces::CommonFields
include LogStruct::Log::Shared::SerializeCommon
sig { returns(T::Hash[LogStruct::LogField, T.untyped]) }
diff --git a/lib/log_struct/monkey_patches/active_support/tagged_logging/formatter.rb b/lib/log_struct/monkey_patches/active_support/tagged_logging/formatter.rb
index 727fc089..ff84935f 100644
--- a/lib/log_struct/monkey_patches/active_support/tagged_logging/formatter.rb
+++ b/lib/log_struct/monkey_patches/active_support/tagged_logging/formatter.rb
@@ -24,6 +24,7 @@ def self.current_tags
module FormatterExtension
extend T::Sig
extend T::Helpers
+
requires_ancestor { ::ActiveSupport::TaggedLogging::Formatter }
sig { params(severity: T.any(String, Symbol), time: Time, progname: T.untyped, data: T.untyped).returns(String) }
diff --git a/lib/log_struct/multi_error_reporter.rb b/lib/log_struct/multi_error_reporter.rb
index 8095995a..a03cee9e 100644
--- a/lib/log_struct/multi_error_reporter.rb
+++ b/lib/log_struct/multi_error_reporter.rb
@@ -67,7 +67,7 @@ def reporter
end
# Set the reporter to use (user-friendly API that accepts symbols)
- sig { params(reporter_type: T.any(ErrorReporter, Symbol, Handlers::ErrorReporter)).returns(ReporterImpl) }
+ sig { params(reporter_type: T.any(ErrorReporter, Symbol, Handlers::ErrorReporter)).void }
def reporter=(reporter_type)
@reporter_impl = case reporter_type
when ErrorReporter
diff --git a/lib/log_struct/params_errors.rb b/lib/log_struct/params_errors.rb
index e663660d..d38ec533 100644
--- a/lib/log_struct/params_errors.rb
+++ b/lib/log_struct/params_errors.rb
@@ -10,16 +10,13 @@ module ParamsErrors
extend T::Sig
# Matched by name, so this works without ActionDispatch or Rack loaded
- NAMES = T.let(
- [
- "ActionDispatch::Http::Parameters::ParseError",
- "Rack::BadRequest",
- "Rack::QueryParser::InvalidParameterError",
- "Rack::QueryParser::ParameterTypeError",
- "Rack::QueryParser::ParamsTooDeepError"
- ].freeze,
- T::Array[String]
- )
+ NAMES = [
+ "ActionDispatch::Http::Parameters::ParseError",
+ "Rack::BadRequest",
+ "Rack::QueryParser::InvalidParameterError",
+ "Rack::QueryParser::ParameterTypeError",
+ "Rack::QueryParser::ParamsTooDeepError"
+ ].freeze
# Rails' message for a ParseError
PARSE_ERROR_MESSAGE = "Error occurred while parsing request parameters"
PARAMS_ERROR_MESSAGE = "Invalid request parameters"
diff --git a/lib/log_struct/rails_boot_banner_silencer.rb b/lib/log_struct/rails_boot_banner_silencer.rb
index 4da5740f..1435de0b 100644
--- a/lib/log_struct/rails_boot_banner_silencer.rb
+++ b/lib/log_struct/rails_boot_banner_silencer.rb
@@ -55,6 +55,7 @@ def self.patch_server_command(server_command)
module ServerCommandSilencer
extend T::Sig
extend T::Helpers
+
requires_ancestor { Object }
sig { params(args: T.untyped, block: T.nilable(T.proc.returns(T.untyped))).returns(T.untyped) }
diff --git a/lib/log_struct/semantic_logger/concerns/log_methods.rb b/lib/log_struct/semantic_logger/concerns/log_methods.rb
index f32a5bcb..4f2a261e 100644
--- a/lib/log_struct/semantic_logger/concerns/log_methods.rb
+++ b/lib/log_struct/semantic_logger/concerns/log_methods.rb
@@ -7,6 +7,7 @@ module Concerns
module LogMethods
extend T::Sig
extend T::Helpers
+
requires_ancestor { LogStruct::SemanticLogger::Logger }
# Override log methods to handle LogStruct types and broadcast
diff --git a/lib/log_struct/semantic_logger/formatter.rb b/lib/log_struct/semantic_logger/formatter.rb
index b8d054e7..99f386b8 100644
--- a/lib/log_struct/semantic_logger/formatter.rb
+++ b/lib/log_struct/semantic_logger/formatter.rb
@@ -97,7 +97,7 @@ def with_message(payload, message)
end
# A logged Hash may set its own src and evt, but the line's timestamp and level come from the logger
- HASH_RESERVED_KEYS = T.let(%w[ts lvl].freeze, T::Array[String])
+ HASH_RESERVED_KEYS = %w[ts lvl].freeze
sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T::Hash[T.untyped, T.untyped]) }
def without_reserved_keys(hash)
diff --git a/lib/log_struct/semantic_logger/logger.rb b/lib/log_struct/semantic_logger/logger.rb
index 4864a49e..ec93d415 100644
--- a/lib/log_struct/semantic_logger/logger.rb
+++ b/lib/log_struct/semantic_logger/logger.rb
@@ -26,7 +26,7 @@ module SemanticLogger
class Logger < ::SemanticLogger::Logger
extend T::Sig
- sig { params(name: T.any(String, Symbol, Module, T::Class[T.anything]), level: T.nilable(Symbol), filter: T.untyped).void }
+ sig { params(name: T.any(String, Symbol, T::Module[T.anything]), level: T.nilable(Symbol), filter: T.untyped).void }
def initialize(name = "Application", level: nil, filter: nil)
# SemanticLogger::Logger expects positional arguments, not named arguments
super(name, level, filter)
diff --git a/lib/log_struct/semantic_logger/setup.rb b/lib/log_struct/semantic_logger/setup.rb
index 36f70391..5f11a60e 100644
--- a/lib/log_struct/semantic_logger/setup.rb
+++ b/lib/log_struct/semantic_logger/setup.rb
@@ -18,10 +18,7 @@ module Setup
extend T::Sig
# Load hooks for the framework components whose loggers LogStruct replaces
- COMPONENT_LOAD_HOOKS = T.let(
- %i[active_record action_controller action_mailer active_job action_view action_cable].freeze,
- T::Array[Symbol]
- )
+ COMPONENT_LOAD_HOOKS = %i[active_record action_controller action_mailer active_job action_view action_cable].freeze
# The logger LogStruct installed, and the loggers it replaced
@logger = T.let(nil, T.nilable(LogStruct::SemanticLogger::Logger))
diff --git a/lib/log_struct/string_scrubber.rb b/lib/log_struct/string_scrubber.rb
index d8514800..f9064ad8 100644
--- a/lib/log_struct/string_scrubber.rb
+++ b/lib/log_struct/string_scrubber.rb
@@ -36,7 +36,7 @@ class << self
# A URL's query string, for the sensitive params in it
QUERY_STRING_REGEX = /\?([^\s#"'<>]+)/
# OAuth authorization codes, which no key pattern would filter
- SENSITIVE_QUERY_PARAMS = T.let(["code"].freeze, T::Array[String])
+ SENSITIVE_QUERY_PARAMS = ["code"].freeze
QUERY_PARAM_REPLACEMENT = "[FILTERED]"
# Letters and digits of any script (an accented name, a domain in another alphabet)
diff --git a/logstruct.gemspec b/logstruct.gemspec
index 5d6aa1dd..07247b39 100644
--- a/logstruct.gemspec
+++ b/logstruct.gemspec
@@ -45,7 +45,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "lograge", ">= 0.11"
spec.add_dependency "railties", ">= 7.1"
spec.add_dependency "semantic_logger", "~> 4.15"
- spec.add_dependency "sorbet-runtime", ">= 0.5"
+ spec.add_dependency "sorbet-runtime", ">= 0.6.12698"
# Optional integrations
spec.add_development_dependency "bugsnag", "~> 6.26"
diff --git a/package.json b/package.json
index b5804bc2..7255d842 100644
--- a/package.json
+++ b/package.json
@@ -23,8 +23,14 @@
"homepage": "https://github.com/docspring/logstruct#readme",
"devDependencies": {
"@docspring/cspell-lockfile-dicts": "^1.2.0",
- "cspell": "^10.3.6",
- "jscpd": "^4.0.7",
+ "cspell": "^10.4.0",
+ "jscpd": "^4.3.0",
"prettier": "^3.9.10"
+ },
+ "pnpm": {
+ "overrides": {
+ "glob@>=9.0.0 <14.0.2": "^14.0.2",
+ "minimatch@>=7.0.0 <11.0.1": "^11.0.1"
+ }
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9b3fdcdd..058ea20b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4,6 +4,10 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
+overrides:
+ glob@>=9.0.0 <14.0.2: ^14.0.2
+ minimatch@>=7.0.0 <11.0.1: ^11.0.1
+
importers:
.:
@@ -12,72 +16,72 @@ importers:
specifier: ^1.2.0
version: 1.2.0
cspell:
- specifier: ^10.3.6
- version: 10.3.6
+ specifier: ^10.4.0
+ version: 10.4.0
jscpd:
- specifier: ^4.0.7
- version: 4.0.7
+ specifier: ^4.3.0
+ version: 4.3.0
prettier:
specifier: ^3.9.10
version: 3.9.10
packages:
- '@babel/helper-string-parser@7.29.7':
- resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
+ '@babel/helper-string-parser@7.29.11':
+ resolution: {integrity: sha512-snZbO7MEDOof+hvNa97EjEY7qD7h2kwvQr5AJC3ZhQudKW5dnej6k3kP9NQV88hJwaS8vDqRLFo9rivLEhle2g==}
engines: {node: '>=6.9.0'}
'@babel/helper-validator-identifier@7.29.7':
resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}
engines: {node: '>=6.9.0'}
- '@babel/parser@7.29.9':
- resolution: {integrity: sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==}
+ '@babel/parser@7.29.12':
+ resolution: {integrity: sha512-WJ7JBp/Q4+z/ImydtI7jS6NVco5++632ExBemSX+Ysb+G1lCwQ5BVo3SY+jGGOcZXI4ZccbZSUSJLNBW6eEpJg==}
engines: {node: '>=6.0.0'}
hasBin: true
- '@babel/types@7.29.8':
- resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
+ '@babel/types@7.29.11':
+ resolution: {integrity: sha512-WCsemW40Cpc6gouC1SrY6PBaZ+oLRlEVY9XBvZBI7il/HyUrb2nJ505wE1MHEFyDZNnrWDEuy4jL50WVHfTTSQ==}
engines: {node: '>=6.9.0'}
'@colors/colors@1.5.0':
resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
engines: {node: '>=0.1.90'}
- '@cspell/cspell-bundled-dicts@10.3.6':
- resolution: {integrity: sha512-C3ggnJkA3q6/uap0h/UY1CH6SsAzfn6Y5xUDoA1PH7OJUtgGgrW/LY/vo2orN6ppH072L0Ke+sxSEY1OSBRpnA==}
+ '@cspell/cspell-bundled-dicts@10.4.0':
+ resolution: {integrity: sha512-ey23dut7NdnOsQQinQhROFZUh4LvLhJnnZCiq7y+KXMngdqXnIAZuEnnwXk3IfdOX+tycDC8OuMssLXDJ3Fnxw==}
engines: {node: '>=22.18.0'}
- '@cspell/cspell-json-reporter@10.3.6':
- resolution: {integrity: sha512-eYwTqMZDIpNntPN+9pLD64ZFWJ9EiQrbas8kB6JXrS7gd+xXnDg6U+k2CmZGCpFKsArPE66PSudYRv+PoAb4CQ==}
+ '@cspell/cspell-json-reporter@10.4.0':
+ resolution: {integrity: sha512-P4v7z0QbOaM7UiKvhws+/Vn5XSEtJLv9DyJCvPXoAn5it4U76hme646DvM/ChMlSG23BnrYGuryqufdxqQPuZQ==}
engines: {node: '>=22.18.0'}
- '@cspell/cspell-performance-monitor@10.3.6':
- resolution: {integrity: sha512-NISfRQ1bENcT+U9otrj+N1uyizZb7NJ8bXXnB8WYp4OHp7Hztb7wUDiNNcWoF3S8joMfMjxNr6HABeThl/Ohow==}
+ '@cspell/cspell-performance-monitor@10.4.0':
+ resolution: {integrity: sha512-0hCqI8pR0waFKKOR3SZ4VtWddx7HZTr0v7MPCPG0IpaqMzzaibrXn9AtFCe+9T1+UDQrM109YKS+yr0c6xVvMQ==}
engines: {node: '>=22.18.0'}
- '@cspell/cspell-pipe@10.3.6':
- resolution: {integrity: sha512-gh/a0TL5hNSegkDiRFPC4nz4qK0BaLXi+tyoZWWZA9cfkOWsQMHApBxmJcukKeFFPsId2jyep814yy8O3xwdrg==}
+ '@cspell/cspell-pipe@10.4.0':
+ resolution: {integrity: sha512-cXHgST9ySpECyiE5ZK7TcwBqrCb3h9X49j/lSDcWNAVp7GkwnPfcdylH+Zq/VfYMlHad24z8CNXd5H91O9DhEA==}
engines: {node: '>=22.18.0'}
- '@cspell/cspell-resolver@10.3.6':
- resolution: {integrity: sha512-P+90E0ED3qfGhmYqV0JZcASeWBoXqddOsknnU5SYrEbEd5+LAU0SYX2H2p+GPk7uYuPE0IP1eGATfY3KkFlSfg==}
+ '@cspell/cspell-resolver@10.4.0':
+ resolution: {integrity: sha512-uyI9qX8hagtcFtRTElYGXXyVhhnVxPBSf1Ltds9AlU9cktPOFYeTXQOfBR+Dpt9dCruzX29ZJbd3hR1i5yryZg==}
engines: {node: '>=22.18.0'}
- '@cspell/cspell-service-bus@10.3.6':
- resolution: {integrity: sha512-4voVfeS+HEJy+bsWTQw9+cX4V2v6aGf97BRQDf0QQs/mlOfa07tLIYto/ZCbjCYUBMix64xziELrmqWkWcf2Kw==}
+ '@cspell/cspell-service-bus@10.4.0':
+ resolution: {integrity: sha512-IZzx+EWADkN5xbFrW+VS+JQ52+w5tWaZNxDgGa+0Mv79hks6wNa2Vcnce+9vGcBJYgA24VcuAfekI38tYzcDtw==}
engines: {node: '>=22.18.0'}
- '@cspell/cspell-types@10.3.6':
- resolution: {integrity: sha512-EJW6qFg/N1KcuNhOBo25nfL6QgrtBg1/KTzzsHpITxHSAnnZmLYCsSmEkunP8Voy4px2lkjDYN3OYEDBvPfd7A==}
+ '@cspell/cspell-types@10.4.0':
+ resolution: {integrity: sha512-LTOrZcDSHj5BkeNSvimuV3AMF7gWjxzXUdQ7zYT/h/57/5flHuE6NPKSXS69ty8vJM0WrVh35L5aDxnCPfDzXA==}
engines: {node: '>=22.18.0'}
'@cspell/cspell-types@8.19.4':
resolution: {integrity: sha512-ekMWuNlFiVGfsKhfj4nmc8JCA+1ZltwJgxiKgDuwYtR09ie340RfXFF6YRd2VTW5zN7l4F1PfaAaPklVz6utSg==}
engines: {node: '>=18'}
- '@cspell/cspell-worker@10.3.6':
- resolution: {integrity: sha512-gzmadwr0R20S8w2gUMqRHd1qQjzJmm8KgFyMVo9Hb7RBaVkqthwITw1FLJW6XqGGcBBZ1nNCfc8OrTOaeA2hxQ==}
+ '@cspell/cspell-worker@10.4.0':
+ resolution: {integrity: sha512-3Y1+nF1Wyyh4kwlpooNhfGSbYXK4LIYLa5xOusig2X/LmCznfN2g5wIqh8K2zSDsmjrm9PLq11MUDDXJ4ZjMKw==}
engines: {node: '>=22.18.0'}
'@cspell/dict-ada@4.1.1':
@@ -95,8 +99,8 @@ packages:
'@cspell/dict-companies@3.2.13':
resolution: {integrity: sha512-mBJeYzCkiiWgNQxKg7zyQOpFPwcXO4IAzXGbOEFfcQ4Q0G5Fa7Kqd8z+gvnvSK7NPWKJaFmiApC6I0cka02qmQ==}
- '@cspell/dict-cpp@7.1.3':
- resolution: {integrity: sha512-2d2MSh+C+xzzdqjLwtt40TdXWDR/pK0q1Q9L5zC+1EPSCIZxlN7CHbhlXWpl0JqUSdy2xaWaWucwnoGznMTneA==}
+ '@cspell/dict-cpp@7.2.0':
+ resolution: {integrity: sha512-hxz+OyQKV96/Bk2JYGsDuSOheYA5gd8KybXnoZMMu/mhZPnwhPi+qiS0Kjc0gLNbXjJ6wbBuXIQWi1UWpQBU/g==}
'@cspell/dict-cryptocurrencies@5.0.5':
resolution: {integrity: sha512-R68hYYF/rtlE6T/dsObStzN5QZw+0aQBinAXuWCVqwdS7YZo0X33vGMfChkHaiCo3Z2+bkegqHlqxZF4TD3rUA==}
@@ -125,14 +129,14 @@ packages:
'@cspell/dict-elixir@4.0.8':
resolution: {integrity: sha512-CyfphrbMyl4Ms55Vzuj+mNmd693HjBFr9hvU+B2YbFEZprE5AG+EXLYTMRWrXbpds4AuZcvN3deM2XVB80BN/Q==}
- '@cspell/dict-en-common-misspellings@2.2.4':
- resolution: {integrity: sha512-Jy53Gk2yyX2BgJ+NKKufdJxjiNf0aou2QhUKwN1ndaKof25WgqOQ6+27jNU0Fbaw1HVi7vCyFq5oIQxBHhwk2w==}
+ '@cspell/dict-en-common-misspellings@2.2.5':
+ resolution: {integrity: sha512-c1bj+HXT8fafxrBT/nmVLwr7ILVomgVSGlWsb2wjJYanqvLJHXkCVmr0sM97F9FJeWQFIgwrRi5MWSYbNQAQ6A==}
- '@cspell/dict-en-gb-mit@3.1.29':
- resolution: {integrity: sha512-mInExsCFZui0f9Vg/MToWfQZzwMfPgHX8BCYdZNdXWbYz+jITXcnvssbdUkui/DVbriZVJ74Zu9bv2jOEqTCNA==}
+ '@cspell/dict-en-gb-mit@3.1.32':
+ resolution: {integrity: sha512-bEASyTAzXLowmFWrZIJjeAeCpY9g3jcYDO3tVyFDL/UaAuz0UvCVgOEyg+Ym7bclijqvXmj0xXOD/cW2XWG8iw==}
- '@cspell/dict-en_us@4.4.40':
- resolution: {integrity: sha512-TGyOaWP1dD28GRHH2Lt04ciMZC8Z6UX+5kJsi04pbQHq6uRxv14/bBVCBeSsajUXRZsJYUqXyHaHB9O0ODuFuQ==}
+ '@cspell/dict-en_us@4.4.43':
+ resolution: {integrity: sha512-RK0zfFXSPi0G/zmV9YgUhS2xw9eTV/8DtQ+ouLIiRZ8ejWRt2zhAonu5di+qmIhzhQ62fg7d3tMz3WwRy82yJA==}
'@cspell/dict-filetypes@3.0.18':
resolution: {integrity: sha512-yU7RKD/x1IWmDLzWeiItMwgV+6bUcU/af23uS0+uGiFUbsY1qWV/D4rxlAAO6Z7no3J2z8aZOkYIOvUrJq0Rcw==}
@@ -208,8 +212,8 @@ packages:
'@cspell/dict-node@5.0.9':
resolution: {integrity: sha512-hO+ga+uYZ/WA4OtiMEyKt5rDUlUyu3nXMf8KVEeqq2msYvAPdldKBGH7lGONg6R/rPhv53Rb+0Y1SLdoK1+7wQ==}
- '@cspell/dict-npm@5.2.53':
- resolution: {integrity: sha512-3QDyduvLApXf2PyjmgwzapUREytih0FNRve7StuYQeHYoUHKHNjT3AX6KFWSVtSAtff0LfCcyFZVz4OyvNuQ1Q==}
+ '@cspell/dict-npm@5.2.55':
+ resolution: {integrity: sha512-5xD2h3kn9ZRVbA6JFfO4VQu8VXwXsJQf7mpn099LgfaL66JnXE+wzR5dysipsren3Apdb3HlUzVqRTtnQMoVGQ==}
'@cspell/dict-php@4.1.3':
resolution: {integrity: sha512-41oKzl7rLVrrVZA/Gs0ESnP6KliEX7c+IwaaNmOL3PAoHasFDVEmIFeENIzuDdM12UcHT+MlLkAm3Qw/lS/ERA==}
@@ -238,8 +242,8 @@ packages:
'@cspell/dict-shell@1.2.0':
resolution: {integrity: sha512-PVctvT22lJ49niMiakO8xieY7ELCAzjSqhejWR7bAMb5AZ9F4WDEs+XdGMnoVHWeXq7K5rcepLPmEJb+37zzIw==}
- '@cspell/dict-software-terms@5.4.7':
- resolution: {integrity: sha512-zgrCBh4cZt2iQ7igxXNmF04ZngKMSOxwCHGHopCQNDuPDvN2Epy/Hqjmrohnku5G5MzfzHQWEXzDu6dNPyGIlw==}
+ '@cspell/dict-software-terms@5.4.8':
+ resolution: {integrity: sha512-7Fv/jgRghpcEcvpmrRR54gPp1l85pPLmlMua74hjhMJoWklAp905V742XR6u5HwvGRH7aBTW9euNsJULav1E6A==}
'@cspell/dict-sql@2.2.1':
resolution: {integrity: sha512-qDHF8MpAYCf4pWU8NKbnVGzkoxMNrFqBHyG/dgrlic5EQiKANCLELYtGlX5auIMDLmTf1inA0eNtv74tyRJ/vg==}
@@ -262,24 +266,24 @@ packages:
'@cspell/dict-zig@1.0.0':
resolution: {integrity: sha512-XibBIxBlVosU06+M6uHWkFeT0/pW5WajDRYdXG2CgHnq85b0TI/Ks0FuBJykmsgi2CAD3Qtx8UHFEtl/DSFnAQ==}
- '@cspell/dynamic-import@10.3.6':
- resolution: {integrity: sha512-HGPM+lUJYIJqzjqEGteEy4w2WSiWxwjc1vBRVTncaxVMpRk5llk6SxnmautqGwvIGbEkipZ1CBuRnFpdwX9dGQ==}
+ '@cspell/dynamic-import@10.4.0':
+ resolution: {integrity: sha512-scSwtJDqpRT/Kqzo64XR8OWzXYfdpp9Yneq99Drhqm5gXXI2BAlgjzhBnMGKa+x7eIJZVM2+D2uFeDI2xQYM2w==}
engines: {node: '>=22.18.0'}
- '@cspell/filetypes@10.3.6':
- resolution: {integrity: sha512-0zCfqsPhZY/1v6qB87AwpCgduLcVRAMyq+MQN6XhmRTfxrMZF8B4qsJafspOpYQ4XTNw5lyciwx60y1ba151cQ==}
+ '@cspell/filetypes@10.4.0':
+ resolution: {integrity: sha512-ez0MyFxnpYN9eMkH8vGGseQPsCRwD7ZlsR+ivQ2rPx04CX7ctp015nWv71P7m+T6V05AsyAwyEGZP9vrTlB4Ig==}
engines: {node: '>=22.18.0'}
- '@cspell/rpc@10.3.6':
- resolution: {integrity: sha512-ZWwwYhrlcILvmH389pShyG0ef17lKMza25eSiG6snVnpVcIK96o1Pfr4ylNkbtMlYayvmbt9kLjHroMYdmFmRQ==}
+ '@cspell/rpc@10.4.0':
+ resolution: {integrity: sha512-tX1YLQYPQz+p73U5OTLmOxIrsmRkpaaKrPnfrVIpK5yv3erWE8ELVZD0zK01rursbL1rW3gyOv0ShHlmoE5VNA==}
engines: {node: '>=22.18.0'}
- '@cspell/strong-weak-map@10.3.6':
- resolution: {integrity: sha512-tkvKTTu8GRdNGZbC/Fl8Sat5UsAVhX7qsi4YX9mfd4a/Lrp9x73/mP8wGB637qqBPoN7f9x8ZR6YtTpOFVVfDA==}
+ '@cspell/strong-weak-map@10.4.0':
+ resolution: {integrity: sha512-y8+Hk90mA3UY4HYEWBJokvNcixQOKkRDLEr+yXSYyOJnt6MhAu8D7N567HjEVNj0e7oirXl62wpNglPfo7qAcQ==}
engines: {node: '>=22.18.0'}
- '@cspell/url@10.3.6':
- resolution: {integrity: sha512-IaEu6ePAWmb8QG+MFdhEnnGBAVhI+Qhph97x0v6RrwytwlyuO6MynaIcuYDCb9aLEDBVrDIGDj/+dplL+Sj8LQ==}
+ '@cspell/url@10.4.0':
+ resolution: {integrity: sha512-8NvDv8h3eaxejAvD+crMsSEgGq6LiunfS6iD2TBAcDqskNsIpN43AMHNNRf7T7Fd/3Y413nQDBH4RmsHcNsiqg==}
engines: {node: '>=22.18.0'}
'@docspring/cspell-lockfile-dicts@1.2.0':
@@ -287,24 +291,23 @@ packages:
engines: {node: '>=14.0.0'}
hasBin: true
- '@isaacs/cliui@8.0.2':
- resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
- engines: {node: '>=12'}
+ '@isaacs/nonrecursive-glob-match@1.0.3':
+ resolution: {integrity: sha512-SI7kyKHq4XXDRozw+r9GlRZkia1ZkFrpLW98r2IC2Bpr8YkFGE3fvjzmxCG0x78A++69HmDNrDvSMYBZmHGpKA==}
- '@jscpd/badge-reporter@4.0.3':
- resolution: {integrity: sha512-ZDBQzbVRK2v9U1yxHIkvzbwBMgSHTZM4s0vbiDf9NKBwrpxiAvSYWSwdAtlC8xQeMpJlBNls/cTXakXmiKGb8g==}
+ '@jscpd/badge-reporter@4.2.5':
+ resolution: {integrity: sha512-ktXrjPeRaRyUDktxTroSA2/w5sshXpQplWkUuq/e6XqEpKBSbGEnwZLIaegSijOrMwIcCXPQ9k4feXIz5eVJNA==}
- '@jscpd/core@4.0.3':
- resolution: {integrity: sha512-7C//TeHQlyt0Tm/jEynir4VsyWpVmwS6GPzw0mPPhgYE1/5F6knYYWQiwUZEEAEfNwkwW3EoG4YcKPAkdOJISA==}
+ '@jscpd/core@4.2.5':
+ resolution: {integrity: sha512-Esf2deHxaoNEjePwf2jqP6Urzj+BAOsJVPFLbnnSsV+q7rLNMcn0UEEoKBXIOOt4qMkrkhl9DfwpMyPPOr6GkQ==}
- '@jscpd/finder@4.0.3':
- resolution: {integrity: sha512-qHi5jlG/8s2uF3Kr6QX1zZEwpj8L8RRHSHQekQxOyqm9sgWqXaaIgoR1+dZqn+XhQWFXhY8CKrrFS9T6u6GKUg==}
+ '@jscpd/finder@4.3.0':
+ resolution: {integrity: sha512-MnEUyier0D6P9zRIhAlBoyJUV8BYT6d5FDZuhR7X23FdZAgdMV8yaRRO1Q1EveK9/ReA6WVHT1HE8F15rij71A==}
- '@jscpd/html-reporter@4.0.3':
- resolution: {integrity: sha512-1WxywVjdx35Kd1X1S2gfMJ9Tod1NDDMpmctP9ybVZURjq3xdShDiShg5ry2kj+1qOBqMnMVvc21r9AD+IwEK2g==}
+ '@jscpd/html-reporter@4.2.5':
+ resolution: {integrity: sha512-zMMIKbvi43dMgeNeHXlHQy1ovf+KJrzNlUubaBvCAVatqP23ksW8d3fmsevIQG9mMMTH0D1xOz+SxUn1FREOPg==}
- '@jscpd/tokenizer@4.0.3':
- resolution: {integrity: sha512-EosztK2+i2TPnLZuroC5jfvSPVuSDRsPtrAOL2UhwNttcK3L8F0/ERih6zRySMNUgL77OOhch5QX0I3YE8HLcQ==}
+ '@jscpd/tokenizer@4.2.6':
+ resolution: {integrity: sha512-/eyFjINWLs2mrBTU4H681bs855r5oRyl1O3mZxcd7TpL1JIG85a7pps0RkRPAe9c/2KcjVCc82HbhOz86M0n5g==}
'@nodelib/fs.scandir@2.1.5':
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
@@ -318,10 +321,6 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
- '@pkgjs/parseargs@0.11.0':
- resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
- engines: {node: '>=14'}
-
'@types/sarif@2.1.7':
resolution: {integrity: sha512-kRz0VEkJqWLf1LLVN4pT1cg1Z9wAuvI6L97V3m2f5B76Tg8d413ddvLBPTEHAZJlnn4XSvu0FkZtViCQGVyrXQ==}
@@ -334,16 +333,8 @@ packages:
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
engines: {node: '>=8'}
- ansi-regex@6.4.0:
- resolution: {integrity: sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==}
- engines: {node: '>=12'}
-
- ansi-styles@4.3.0:
- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
- engines: {node: '>=8'}
-
- ansi-styles@6.2.3:
- resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
+ ansi-regex@6.5.0:
+ resolution: {integrity: sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==}
engines: {node: '>=12'}
array-timsort@1.0.3:
@@ -362,15 +353,17 @@ packages:
badgen@3.3.2:
resolution: {integrity: sha512-fbQwK9norfdzbdsoPwbLIAmgBXDGEme3jeIyqPAH7o6vp9lmuLHS7uXULvOiQ6XnMLkYNG4gDjILf74hgtTAug==}
- balanced-match@1.0.2:
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+ balanced-match@4.0.4:
+ resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==}
+ engines: {node: 18 || 20 || >=22}
blamer@1.0.7:
resolution: {integrity: sha512-GbBStl/EVlSWkiJQBZps3H1iARBrC7vt++Jb/TTmCNu/jZ04VW7tSN1nScbFXBUy1AN+jzeL7Zep9sbQxLhXKA==}
engines: {node: '>=8.9'}
- brace-expansion@2.1.7:
- resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==}
+ brace-expansion@5.0.12:
+ resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==}
+ engines: {node: 20 || >=22}
braces@3.0.3:
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
@@ -407,13 +400,6 @@ packages:
resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==}
engines: {node: 10.* || >= 12.*}
- color-convert@2.0.1:
- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
- engines: {node: '>=7.0.0'}
-
- color-name@1.1.4:
- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
-
colors@1.4.0:
resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==}
engines: {node: '>=0.1.90'}
@@ -426,10 +412,6 @@ packages:
resolution: {integrity: sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==}
engines: {node: '>=22.12.0'}
- commander@5.1.0:
- resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
- engines: {node: '>= 6'}
-
comment-json@5.0.0:
resolution: {integrity: sha512-uiqLcOiVDJtBP8WGkZHEP+FZIhTzP1dxvn59EfoYUi9gqupjrBWVQkO2atDrbnKPwLeotFYDsuNb26uBMqB+hw==}
engines: {node: '>= 6'}
@@ -441,44 +423,44 @@ packages:
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
engines: {node: '>= 8'}
- cspell-config-lib@10.3.6:
- resolution: {integrity: sha512-3LcA2uIgB90Ucn3xa1lO5VVncHtsD4LZUf2ENBtHVmxFVFw1wvm1hbXL1mhenLY2xJDONGvLKRnNoowUWIZoDQ==}
+ cspell-config-lib@10.4.0:
+ resolution: {integrity: sha512-1P0xmWIlGqwsHf8he9BWNdqV2bvRBkxCv5ctj3oHBraRFS6CPjdJBptyjuM0dgTwxmxPFcuWhTG8miTvFMje5g==}
engines: {node: '>=22.18.0'}
- cspell-dictionary@10.3.6:
- resolution: {integrity: sha512-retLLs4RFAxrduMfcgGXrHbMBc4fEqFt9pFRAyyH2HOlBmEU7CsBupx91A1FUJXUrGWDnfYwSzhQcWuFAAX8iQ==}
+ cspell-dictionary@10.4.0:
+ resolution: {integrity: sha512-FwCQBzqOxjAg+GhymrY288As9DmJqHVrkAr++0tCQ1wWFVw2Nt1W3cCKn9W987Dr+giSuNREdQFpGbQ/cHluTg==}
engines: {node: '>=22.18.0'}
- cspell-gitignore@10.3.6:
- resolution: {integrity: sha512-Nvvbz2JA4c/ykzfzmdRazmKFMAV/dmt7pg+PB5WCCe7oKPjyKTbWoWFMEF3ActteYatV+lyamGLdncJov3rREw==}
+ cspell-gitignore@10.4.0:
+ resolution: {integrity: sha512-2jwooVHqRvWYr21V8lOASOYGnf8wEMXiy5ifob1oqotVZ3PfucuWAYpVaeTm3bFz6uU4yqFUU/HdizAEKWt6zg==}
engines: {node: '>=22.18.0'}
hasBin: true
- cspell-glob@10.3.6:
- resolution: {integrity: sha512-mWlrUYSZh2DnXyfi5ZsHlclcd/grSbtZmv1Ug7EO2hPEWzIVctYp4RtaTEwOdjUit3dzybtSXqzqVhd4leZOKQ==}
+ cspell-glob@10.4.0:
+ resolution: {integrity: sha512-XnctlpRbhln7dTmJyISw7HdsXM38CW+S7Ygm5kkAEixSyceim8RJfRj2rhtofL7B6Ra6YdRmJnm2/PWDOIVzLw==}
engines: {node: '>=22.18.0'}
- cspell-grammar@10.3.6:
- resolution: {integrity: sha512-Z9CCWEcp+Y6lVAUtY8DykG4bcp9LEh09An0qdthRXVutAvkfNKzGeSK+m6IgJNIh+eb6jW1pZ69XoSOHFDADxg==}
+ cspell-grammar@10.4.0:
+ resolution: {integrity: sha512-zWxN9g0oh2tzJDM3C11prpsqF2nTw5AHpXtOslTm3D5d4ZL4BfBHRj5PFxbz3Px4fKz/KptPhxSP5yGDCNtjJg==}
engines: {node: '>=22.18.0'}
hasBin: true
- cspell-io@10.3.6:
- resolution: {integrity: sha512-n8iBChxmLLjpFR2BaSYGVwWwM5MK3PQe83QZj6qzastb3lYff0oyH5NVXVQspyglUDy7muViddKkNJ/MbxuV/A==}
+ cspell-io@10.4.0:
+ resolution: {integrity: sha512-EunMcHZbgA7PYj6172t2nPFVVWo0L7xi4awIhMay27c3vYGiA+ajowIBtIdy2MLOTSqL+XOfcjkuahXh8L8BzQ==}
engines: {node: '>=22.18.0'}
- cspell-lib@10.3.6:
- resolution: {integrity: sha512-zlH+vh5R6/7mEARy0Qsf9fNOihYeb15r0+bKZ0bwx0CDLuyVM1rs/BEAdRIPoaAcqdvdig0ARLdakkgM1zco/g==}
+ cspell-lib@10.4.0:
+ resolution: {integrity: sha512-wfqmn19pfEUjWy7UJ4xPeRwyb/LFXHxFVJ6maX87OLRuSE9fTP+cr74VANpKycd/rieuB2ffKta7l38n+Xhj/Q==}
engines: {node: '>=22.18.0'}
- cspell-trie-lib@10.3.6:
- resolution: {integrity: sha512-8PWHpsMUAl8RcB5Ho+lhrSapjcjO/f7wkF8XOxw4oSAF2mERJEm9ejuTRJyXtDmUtt831HB4f/RwKmVgjJyLGg==}
+ cspell-trie-lib@10.4.0:
+ resolution: {integrity: sha512-3APfmYOrYEcoiDjupm3JsxLWvqa6IbJ76CqUTuIgXQH2EK0nOJ5SRKSTNP6AplDtalCs0o6VllbiRX6S81g8yw==}
engines: {node: '>=22.18.0'}
peerDependencies:
- '@cspell/cspell-types': 10.3.6
+ '@cspell/cspell-types': 10.4.0
- cspell@10.3.6:
- resolution: {integrity: sha512-RZDeSxy1L82U7I+cF00pG2Bh3nBy0UoNRJF3Xbq4xbbKMZHwQRYrwospDyuIvsYmKjqDSAAciNvAjHOeEhP+5A==}
+ cspell@10.4.0:
+ resolution: {integrity: sha512-fr7PD9nDXtOwJmW8vk2MOXBuc+oGsYF9uLgUtg+1pWiPo2TwxJVLePfCIKmL6x4AAYSYqaRTrNGppYCDKcHOYw==}
engines: {node: '>=22.18.0'}
hasBin: true
@@ -489,15 +471,9 @@ packages:
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
engines: {node: '>= 0.4'}
- eastasianwidth@0.2.0:
- resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
-
emoji-regex@8.0.0:
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
- emoji-regex@9.2.2:
- resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
-
end-of-stream@1.4.5:
resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==}
@@ -529,8 +505,8 @@ packages:
resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==}
engines: {node: '>=10'}
- fast-equals@6.1.1:
- resolution: {integrity: sha512-VA9UvhVec1yj1UqkCLBCXgFBLbd6Pww2RGLa9biAHfl+/aOU9jTeP3idEtLLFouJIGDeugAxD/GhzHpjOSq4oA==}
+ fast-equals@6.2.1:
+ resolution: {integrity: sha512-s7KFkLPAAbIDGTh+nVYhjTiwKGvgMXAUG5vwzg8vQKj7NSRZ4eEGExBQ4rq9V90fTYVWd1cb/Wr4ffCNBmLQMQ==}
engines: {node: '>=6.0.0'}
fast-glob@3.3.3:
@@ -556,10 +532,6 @@ packages:
flatted@3.4.4:
resolution: {integrity: sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==}
- foreground-child@3.3.1:
- resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
- engines: {node: '>=14'}
-
fs-extra@11.4.1:
resolution: {integrity: sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==}
engines: {node: '>=14.14'}
@@ -583,18 +555,13 @@ packages:
resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==}
engines: {node: '>=8'}
- gitignore-to-glob@0.3.0:
- resolution: {integrity: sha512-mk74BdnK7lIwDHnotHddx1wsjMOFIThpLY3cPNniJ/2fA/tlLzHnFxIdR+4sLOu5KGgQJdij4kjJ2RoUNnCNMA==}
- engines: {node: '>=4.4 <5 || >=6.9'}
-
glob-parent@5.1.2:
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
engines: {node: '>= 6'}
- glob@10.5.0:
- resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==}
- deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
- hasBin: true
+ glob@14.0.3:
+ resolution: {integrity: sha512-A1vjIwC3qpdCso45Iw127gnp7sPhqgY8lUQhDrArIs+GbmfaaVPFuoyy7WyLT9EPZCRZ7j7aLdwUhQmHWesEow==}
+ engines: {node: 18 || 20 || >=22}
global-directory@5.0.0:
resolution: {integrity: sha512-1pgFdhK3J2LeM+dVf2Pd424yHx2ou338lC0ErNP2hPx4j8eW1Sp0XqSjNxtk6Tc4Kr5wlWtSvz8cn2yb7/SG/w==}
@@ -675,17 +642,14 @@ packages:
isexe@2.0.0:
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
- jackspeak@3.4.3:
- resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
-
js-stringify@1.0.2:
resolution: {integrity: sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==}
- jscpd-sarif-reporter@4.0.5:
- resolution: {integrity: sha512-cD1MtUdpomUPM5C0YD0vKZmdj+Gyr0KD5Bk47yGMrPCtwtgsK+7v59OzBIUjYOL8AuxNAt6hvPFo0PH+PYJh0Q==}
+ jscpd-sarif-reporter@4.2.5:
+ resolution: {integrity: sha512-O8LcM9grAS5yO5x1Q0yegYaYcUX//IEBEyvzGFSYCeo1YzHbMnAI6EK7oTrwD+7Csjvfg9m8B8G7OOxzcSlr9w==}
- jscpd@4.0.7:
- resolution: {integrity: sha512-ftw3OKgJUmAoS48TqeNOPRQbBdzzapKPF7L8auMKAp04kdOtoUuMonjVN0mruzb0zWObsh6CIWM78fzeeU29AA==}
+ jscpd@4.3.0:
+ resolution: {integrity: sha512-yUqcHy/USHvzFamS6Loo49MCSW0Dc+4RL6ELH+Un9o2/jRSQbs9+a5hjfFceV2d3Zgv1opv5PXJ0eZ3fEQdjkg==}
hasBin: true
jsonfile@6.2.1:
@@ -694,8 +658,9 @@ packages:
jstransformer@1.0.0:
resolution: {integrity: sha512-C9YK3Rf8q6VAPDCCU9fnqo3mAfOH6vUGnMcP4AQAYIEpWtfGLpwOTmZ+igtdK5y+VvI2n3CyYSzy4Qh34eq24A==}
- lru-cache@10.4.3:
- resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
+ lru-cache@11.5.3:
+ resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==}
+ engines: {node: 20 || >=22}
markdown-table@2.0.0:
resolution: {integrity: sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==}
@@ -719,16 +684,16 @@ packages:
resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}
engines: {node: '>=6'}
- minimatch@9.0.9:
- resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==}
- engines: {node: '>=16 || 14 >=14.17'}
+ minimatch@11.0.3:
+ resolution: {integrity: sha512-iny/40PEGkNJQ5/Pv6z3nm6FbRAby32GeZRjCUJk2WnNDbgPSTcdI+DDvLqsgBdD4cD5sMtMheqPPnehCCa8Nw==}
+ engines: {node: 18 || 20 || >=22}
minipass@7.1.3:
resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==}
engines: {node: '>=16 || 14 >=14.17'}
- node-sarif-builder@3.4.0:
- resolution: {integrity: sha512-tGnJW6OKRii9u/b2WiUViTJS+h7Apxx17qsMUjsUeNDiMMX5ZFf8F8Fcz7PAQ6omvOxHZtvDTmOYKJQwmfpjeg==}
+ node-sarif-builder@4.1.0:
+ resolution: {integrity: sha512-IWqZF6u0EI/07HTBm+zZ+MgXgWl09dnSJRGaDCPBSlOqilDcx6pj3Mpb3HvPN8V2Gr+ISw7ZrMsL7STWs1F++w==}
engines: {node: '>=20'}
npm-run-path@4.0.1:
@@ -746,9 +711,6 @@ packages:
resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}
engines: {node: '>=6'}
- package-json-from-dist@1.0.1:
- resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
-
path-key@3.1.1:
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
engines: {node: '>=8'}
@@ -756,9 +718,9 @@ packages:
path-parse@1.0.7:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
- path-scurry@1.11.1:
- resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
- engines: {node: '>=16 || 14 >=14.18'}
+ path-scurry@3.0.0:
+ resolution: {integrity: sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg==}
+ engines: {node: 18 || 20 || >=22}
picomatch@2.3.2:
resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==}
@@ -822,9 +784,6 @@ packages:
resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==}
engines: {node: '>=0.10'}
- reprism@0.0.11:
- resolution: {integrity: sha512-VsxDR5QxZo08M/3nRypNlScw5r3rKeSOPdU/QhDmu3Ai3BJxHn/qgfXGWQp/tAxUtzwYNo9W6997JZR0tPLZsA==}
-
resolve-from@5.0.0:
resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
engines: {node: '>=8'}
@@ -857,10 +816,6 @@ packages:
signal-exit@3.0.7:
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
- signal-exit@4.1.0:
- resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
- engines: {node: '>=14'}
-
smol-toml@1.9.1:
resolution: {integrity: sha512-j7WyPdf0CJoutMzMoPLF/bVXHtKZIT9Rb4eGeEbWw8X2t5oirjPgpL+OpaENZrILYaXqYwnVH+qgUwVbl+pUJQ==}
engines: {node: '>= 18'}
@@ -872,18 +827,10 @@ packages:
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
engines: {node: '>=8'}
- string-width@5.1.2:
- resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
- engines: {node: '>=12'}
-
strip-ansi@6.0.1:
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
engines: {node: '>=8'}
- strip-ansi@7.2.0:
- resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==}
- engines: {node: '>=12'}
-
strip-final-newline@2.0.0:
resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}
engines: {node: '>=6'}
@@ -911,8 +858,8 @@ packages:
resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}
engines: {node: '>=0.10.0'}
- vscode-languageserver-textdocument@1.0.15:
- resolution: {integrity: sha512-Gsfr9S8LU3S6885cS+NaleasJ0n3V5y/SOTqHCifQiXWFw3G9w9/YItDfwHrlCz+dSZWWZ8ilYVMcJe7Sz7Sxw==}
+ vscode-languageserver-textdocument@1.0.16:
+ resolution: {integrity: sha512-qeNEuOi9a3qkqRf7Gfez2WL2VwlBTLCNekHBGO9kxPVUp9XuY15yfTJ9jwvOwKI0I2MhUUfZq95NSp+LK1CLQg==}
vscode-uri@3.2.0:
resolution: {integrity: sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==}
@@ -926,14 +873,6 @@ packages:
resolution: {integrity: sha512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w==}
engines: {node: '>= 10.0.0'}
- wrap-ansi@7.0.0:
- resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
- engines: {node: '>=10'}
-
- wrap-ansi@8.1.0:
- resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
- engines: {node: '>=12'}
-
wrappy@1.0.2:
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
@@ -948,30 +887,30 @@ packages:
snapshots:
- '@babel/helper-string-parser@7.29.7': {}
+ '@babel/helper-string-parser@7.29.11': {}
'@babel/helper-validator-identifier@7.29.7': {}
- '@babel/parser@7.29.9':
+ '@babel/parser@7.29.12':
dependencies:
- '@babel/types': 7.29.8
+ '@babel/types': 7.29.11
- '@babel/types@7.29.8':
+ '@babel/types@7.29.11':
dependencies:
- '@babel/helper-string-parser': 7.29.7
+ '@babel/helper-string-parser': 7.29.11
'@babel/helper-validator-identifier': 7.29.7
'@colors/colors@1.5.0':
optional: true
- '@cspell/cspell-bundled-dicts@10.3.6':
+ '@cspell/cspell-bundled-dicts@10.4.0':
dependencies:
'@cspell/dict-ada': 4.1.1
'@cspell/dict-al': 1.1.1
'@cspell/dict-aws': 4.0.17
'@cspell/dict-bash': 4.2.3
'@cspell/dict-companies': 3.2.13
- '@cspell/dict-cpp': 7.1.3
+ '@cspell/dict-cpp': 7.2.0
'@cspell/dict-cryptocurrencies': 5.0.5
'@cspell/dict-csharp': 4.0.8
'@cspell/dict-css': 4.1.2
@@ -981,9 +920,9 @@ snapshots:
'@cspell/dict-docker': 1.1.17
'@cspell/dict-dotnet': 5.0.15
'@cspell/dict-elixir': 4.0.8
- '@cspell/dict-en-common-misspellings': 2.2.4
- '@cspell/dict-en-gb-mit': 3.1.29
- '@cspell/dict-en_us': 4.4.40
+ '@cspell/dict-en-common-misspellings': 2.2.5
+ '@cspell/dict-en-gb-mit': 3.1.32
+ '@cspell/dict-en_us': 4.4.43
'@cspell/dict-filetypes': 3.0.18
'@cspell/dict-flutter': 1.1.1
'@cspell/dict-fonts': 4.0.6
@@ -1007,7 +946,7 @@ snapshots:
'@cspell/dict-markdown': 2.0.18(@cspell/dict-css@4.1.2)(@cspell/dict-html-symbol-entities@4.0.5)(@cspell/dict-html@4.0.16)(@cspell/dict-typescript@3.2.3)
'@cspell/dict-monkeyc': 1.1.2
'@cspell/dict-node': 5.0.9
- '@cspell/dict-npm': 5.2.53
+ '@cspell/dict-npm': 5.2.55
'@cspell/dict-php': 4.1.3
'@cspell/dict-powershell': 5.0.17
'@cspell/dict-public-licenses': 2.0.17
@@ -1017,7 +956,7 @@ snapshots:
'@cspell/dict-rust': 4.1.2
'@cspell/dict-scala': 5.0.11
'@cspell/dict-shell': 1.2.0
- '@cspell/dict-software-terms': 5.4.7
+ '@cspell/dict-software-terms': 5.4.8
'@cspell/dict-sql': 2.2.1
'@cspell/dict-svelte': 1.0.7
'@cspell/dict-swift': 2.0.6
@@ -1026,27 +965,27 @@ snapshots:
'@cspell/dict-vue': 3.0.5
'@cspell/dict-zig': 1.0.0
- '@cspell/cspell-json-reporter@10.3.6':
+ '@cspell/cspell-json-reporter@10.4.0':
dependencies:
- '@cspell/cspell-types': 10.3.6
+ '@cspell/cspell-types': 10.4.0
- '@cspell/cspell-performance-monitor@10.3.6': {}
+ '@cspell/cspell-performance-monitor@10.4.0': {}
- '@cspell/cspell-pipe@10.3.6': {}
+ '@cspell/cspell-pipe@10.4.0': {}
- '@cspell/cspell-resolver@10.3.6':
+ '@cspell/cspell-resolver@10.4.0':
dependencies:
global-directory: 5.0.0
- '@cspell/cspell-service-bus@10.3.6': {}
+ '@cspell/cspell-service-bus@10.4.0': {}
- '@cspell/cspell-types@10.3.6': {}
+ '@cspell/cspell-types@10.4.0': {}
'@cspell/cspell-types@8.19.4': {}
- '@cspell/cspell-worker@10.3.6':
+ '@cspell/cspell-worker@10.4.0':
dependencies:
- cspell-lib: 10.3.6
+ cspell-lib: 10.4.0
'@cspell/dict-ada@4.1.1': {}
@@ -1060,7 +999,7 @@ snapshots:
'@cspell/dict-companies@3.2.13': {}
- '@cspell/dict-cpp@7.1.3': {}
+ '@cspell/dict-cpp@7.2.0': {}
'@cspell/dict-cryptocurrencies@5.0.5': {}
@@ -1080,11 +1019,11 @@ snapshots:
'@cspell/dict-elixir@4.0.8': {}
- '@cspell/dict-en-common-misspellings@2.2.4': {}
+ '@cspell/dict-en-common-misspellings@2.2.5': {}
- '@cspell/dict-en-gb-mit@3.1.29': {}
+ '@cspell/dict-en-gb-mit@3.1.32': {}
- '@cspell/dict-en_us@4.4.40': {}
+ '@cspell/dict-en_us@4.4.43': {}
'@cspell/dict-filetypes@3.0.18': {}
@@ -1137,7 +1076,7 @@ snapshots:
'@cspell/dict-node@5.0.9': {}
- '@cspell/dict-npm@5.2.53': {}
+ '@cspell/dict-npm@5.2.55': {}
'@cspell/dict-php@4.1.3': {}
@@ -1159,7 +1098,7 @@ snapshots:
'@cspell/dict-shell@1.2.0': {}
- '@cspell/dict-software-terms@5.4.7': {}
+ '@cspell/dict-software-terms@5.4.8': {}
'@cspell/dict-sql@2.2.1': {}
@@ -1175,49 +1114,42 @@ snapshots:
'@cspell/dict-zig@1.0.0': {}
- '@cspell/dynamic-import@10.3.6':
+ '@cspell/dynamic-import@10.4.0':
dependencies:
- '@cspell/url': 10.3.6
+ '@cspell/url': 10.4.0
import-meta-resolve: 4.2.0
- '@cspell/filetypes@10.3.6': {}
+ '@cspell/filetypes@10.4.0': {}
- '@cspell/rpc@10.3.6': {}
+ '@cspell/rpc@10.4.0': {}
- '@cspell/strong-weak-map@10.3.6': {}
+ '@cspell/strong-weak-map@10.4.0': {}
- '@cspell/url@10.3.6': {}
+ '@cspell/url@10.4.0': {}
'@docspring/cspell-lockfile-dicts@1.2.0':
dependencies:
'@cspell/cspell-types': 8.19.4
commander: 10.0.1
- glob: 10.5.0
+ glob: 14.0.3
yaml: 2.9.1
- '@isaacs/cliui@8.0.2':
- dependencies:
- string-width: 5.1.2
- string-width-cjs: string-width@4.2.3
- strip-ansi: 7.2.0
- strip-ansi-cjs: strip-ansi@6.0.1
- wrap-ansi: 8.1.0
- wrap-ansi-cjs: wrap-ansi@7.0.0
+ '@isaacs/nonrecursive-glob-match@1.0.3': {}
- '@jscpd/badge-reporter@4.0.3':
+ '@jscpd/badge-reporter@4.2.5':
dependencies:
badgen: 3.3.2
colors: 1.4.0
fs-extra: 11.4.1
- '@jscpd/core@4.0.3':
+ '@jscpd/core@4.2.5':
dependencies:
eventemitter3: 5.0.4
- '@jscpd/finder@4.0.3':
+ '@jscpd/finder@4.3.0':
dependencies:
- '@jscpd/core': 4.0.3
- '@jscpd/tokenizer': 4.0.3
+ '@jscpd/core': 4.2.5
+ '@jscpd/tokenizer': 4.2.6
blamer: 1.0.7
bytes: 3.1.2
cli-table3: 0.6.5
@@ -1227,16 +1159,15 @@ snapshots:
markdown-table: 2.0.0
pug: 3.0.4
- '@jscpd/html-reporter@4.0.3':
+ '@jscpd/html-reporter@4.2.5':
dependencies:
colors: 1.4.0
fs-extra: 11.4.1
pug: 3.0.4
- '@jscpd/tokenizer@4.0.3':
+ '@jscpd/tokenizer@4.2.6':
dependencies:
- '@jscpd/core': 4.0.3
- reprism: 0.0.11
+ '@jscpd/core': 4.2.5
spark-md5: 3.0.2
'@nodelib/fs.scandir@2.1.5':
@@ -1251,22 +1182,13 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.20.3
- '@pkgjs/parseargs@0.11.0':
- optional: true
-
'@types/sarif@2.1.7': {}
acorn@7.4.1: {}
ansi-regex@5.0.1: {}
- ansi-regex@6.4.0: {}
-
- ansi-styles@4.3.0:
- dependencies:
- color-convert: 2.0.1
-
- ansi-styles@6.2.3: {}
+ ansi-regex@6.5.0: {}
array-timsort@1.0.3: {}
@@ -1276,20 +1198,20 @@ snapshots:
babel-walk@3.0.0-canary-5:
dependencies:
- '@babel/types': 7.29.8
+ '@babel/types': 7.29.11
badgen@3.3.2: {}
- balanced-match@1.0.2: {}
+ balanced-match@4.0.4: {}
blamer@1.0.7:
dependencies:
execa: 4.1.0
which: 2.0.2
- brace-expansion@2.1.7:
+ brace-expansion@5.0.12:
dependencies:
- balanced-match: 1.0.2
+ balanced-match: 4.0.4
braces@3.0.3:
dependencies:
@@ -1325,20 +1247,12 @@ snapshots:
optionalDependencies:
'@colors/colors': 1.5.0
- color-convert@2.0.1:
- dependencies:
- color-name: 1.1.4
-
- color-name@1.1.4: {}
-
colors@1.4.0: {}
commander@10.0.1: {}
commander@15.0.0: {}
- commander@5.1.0: {}
-
comment-json@5.0.0:
dependencies:
array-timsort: 1.0.3
@@ -1346,8 +1260,8 @@ snapshots:
constantinople@4.0.1:
dependencies:
- '@babel/parser': 7.29.9
- '@babel/types': 7.29.8
+ '@babel/parser': 7.29.12
+ '@babel/types': 7.29.11
cross-spawn@7.0.6:
dependencies:
@@ -1355,91 +1269,91 @@ snapshots:
shebang-command: 2.0.0
which: 2.0.2
- cspell-config-lib@10.3.6:
+ cspell-config-lib@10.4.0:
dependencies:
- '@cspell/cspell-types': 10.3.6
+ '@cspell/cspell-types': 10.4.0
comment-json: 5.0.0
smol-toml: 1.9.1
yaml: 2.9.1
- cspell-dictionary@10.3.6:
+ cspell-dictionary@10.4.0:
dependencies:
- '@cspell/cspell-performance-monitor': 10.3.6
- '@cspell/cspell-pipe': 10.3.6
- '@cspell/cspell-types': 10.3.6
- cspell-trie-lib: 10.3.6(@cspell/cspell-types@10.3.6)
- fast-equals: 6.1.1
+ '@cspell/cspell-performance-monitor': 10.4.0
+ '@cspell/cspell-pipe': 10.4.0
+ '@cspell/cspell-types': 10.4.0
+ cspell-trie-lib: 10.4.0(@cspell/cspell-types@10.4.0)
+ fast-equals: 6.2.1
- cspell-gitignore@10.3.6:
+ cspell-gitignore@10.4.0:
dependencies:
- '@cspell/url': 10.3.6
- cspell-glob: 10.3.6
- cspell-io: 10.3.6
+ '@cspell/url': 10.4.0
+ cspell-glob: 10.4.0
+ cspell-io: 10.4.0
- cspell-glob@10.3.6:
+ cspell-glob@10.4.0:
dependencies:
- '@cspell/url': 10.3.6
+ '@cspell/url': 10.4.0
picomatch: 4.0.7
- cspell-grammar@10.3.6:
- dependencies:
- '@cspell/cspell-pipe': 10.3.6
- '@cspell/cspell-types': 10.3.6
-
- cspell-io@10.3.6:
- dependencies:
- '@cspell/cspell-service-bus': 10.3.6
- '@cspell/url': 10.3.6
-
- cspell-lib@10.3.6:
- dependencies:
- '@cspell/cspell-bundled-dicts': 10.3.6
- '@cspell/cspell-performance-monitor': 10.3.6
- '@cspell/cspell-pipe': 10.3.6
- '@cspell/cspell-resolver': 10.3.6
- '@cspell/cspell-types': 10.3.6
- '@cspell/dynamic-import': 10.3.6
- '@cspell/filetypes': 10.3.6
- '@cspell/rpc': 10.3.6
- '@cspell/strong-weak-map': 10.3.6
- '@cspell/url': 10.3.6
- cspell-config-lib: 10.3.6
- cspell-dictionary: 10.3.6
- cspell-glob: 10.3.6
- cspell-grammar: 10.3.6
- cspell-io: 10.3.6
- cspell-trie-lib: 10.3.6(@cspell/cspell-types@10.3.6)
+ cspell-grammar@10.4.0:
+ dependencies:
+ '@cspell/cspell-pipe': 10.4.0
+ '@cspell/cspell-types': 10.4.0
+
+ cspell-io@10.4.0:
+ dependencies:
+ '@cspell/cspell-service-bus': 10.4.0
+ '@cspell/url': 10.4.0
+
+ cspell-lib@10.4.0:
+ dependencies:
+ '@cspell/cspell-bundled-dicts': 10.4.0
+ '@cspell/cspell-performance-monitor': 10.4.0
+ '@cspell/cspell-pipe': 10.4.0
+ '@cspell/cspell-resolver': 10.4.0
+ '@cspell/cspell-types': 10.4.0
+ '@cspell/dynamic-import': 10.4.0
+ '@cspell/filetypes': 10.4.0
+ '@cspell/rpc': 10.4.0
+ '@cspell/strong-weak-map': 10.4.0
+ '@cspell/url': 10.4.0
+ cspell-config-lib: 10.4.0
+ cspell-dictionary: 10.4.0
+ cspell-glob: 10.4.0
+ cspell-grammar: 10.4.0
+ cspell-io: 10.4.0
+ cspell-trie-lib: 10.4.0(@cspell/cspell-types@10.4.0)
env-paths: 4.0.0
gensequence: 8.0.8
import-fresh: 4.0.1
resolve-from: 5.0.0
- vscode-languageserver-textdocument: 1.0.15
+ vscode-languageserver-textdocument: 1.0.16
vscode-uri: 3.2.0
xdg-basedir: 5.1.0
- cspell-trie-lib@10.3.6(@cspell/cspell-types@10.3.6):
+ cspell-trie-lib@10.4.0(@cspell/cspell-types@10.4.0):
dependencies:
- '@cspell/cspell-types': 10.3.6
+ '@cspell/cspell-types': 10.4.0
- cspell@10.3.6:
+ cspell@10.4.0:
dependencies:
- '@cspell/cspell-json-reporter': 10.3.6
- '@cspell/cspell-performance-monitor': 10.3.6
- '@cspell/cspell-pipe': 10.3.6
- '@cspell/cspell-types': 10.3.6
- '@cspell/cspell-worker': 10.3.6
- '@cspell/dynamic-import': 10.3.6
- '@cspell/url': 10.3.6
- ansi-regex: 6.4.0
+ '@cspell/cspell-json-reporter': 10.4.0
+ '@cspell/cspell-performance-monitor': 10.4.0
+ '@cspell/cspell-pipe': 10.4.0
+ '@cspell/cspell-types': 10.4.0
+ '@cspell/cspell-worker': 10.4.0
+ '@cspell/dynamic-import': 10.4.0
+ '@cspell/url': 10.4.0
+ ansi-regex: 6.5.0
chalk: 6.0.1
chalk-template: 1.1.3
commander: 15.0.0
- cspell-config-lib: 10.3.6
- cspell-dictionary: 10.3.6
- cspell-gitignore: 10.3.6
- cspell-glob: 10.3.6
- cspell-io: 10.3.6
- cspell-lib: 10.3.6
+ cspell-config-lib: 10.4.0
+ cspell-dictionary: 10.4.0
+ cspell-gitignore: 10.4.0
+ cspell-glob: 10.4.0
+ cspell-io: 10.4.0
+ cspell-lib: 10.4.0
flatted: 3.4.4
semver: 7.8.5
tinyglobby: 0.2.17
@@ -1452,12 +1366,8 @@ snapshots:
es-errors: 1.3.0
gopd: 1.2.0
- eastasianwidth@0.2.0: {}
-
emoji-regex@8.0.0: {}
- emoji-regex@9.2.2: {}
-
end-of-stream@1.4.5:
dependencies:
once: 1.4.0
@@ -1490,7 +1400,7 @@ snapshots:
signal-exit: 3.0.7
strip-final-newline: 2.0.0
- fast-equals@6.1.1: {}
+ fast-equals@6.2.1: {}
fast-glob@3.3.3:
dependencies:
@@ -1514,11 +1424,6 @@ snapshots:
flatted@3.4.4: {}
- foreground-child@3.3.1:
- dependencies:
- cross-spawn: 7.0.6
- signal-exit: 4.1.0
-
fs-extra@11.4.1:
dependencies:
graceful-fs: 4.2.11
@@ -1551,20 +1456,15 @@ snapshots:
dependencies:
pump: 3.0.4
- gitignore-to-glob@0.3.0: {}
-
glob-parent@5.1.2:
dependencies:
is-glob: 4.0.3
- glob@10.5.0:
+ glob@14.0.3:
dependencies:
- foreground-child: 3.3.1
- jackspeak: 3.4.3
- minimatch: 9.0.9
+ minimatch: 11.0.3
minipass: 7.1.3
- package-json-from-dist: 1.0.1
- path-scurry: 1.11.1
+ path-scurry: 3.0.0
global-directory@5.0.0:
dependencies:
@@ -1626,32 +1526,25 @@ snapshots:
isexe@2.0.0: {}
- jackspeak@3.4.3:
- dependencies:
- '@isaacs/cliui': 8.0.2
- optionalDependencies:
- '@pkgjs/parseargs': 0.11.0
-
js-stringify@1.0.2: {}
- jscpd-sarif-reporter@4.0.5:
+ jscpd-sarif-reporter@4.2.5:
dependencies:
colors: 1.4.0
fs-extra: 11.4.1
- node-sarif-builder: 3.4.0
+ node-sarif-builder: 4.1.0
- jscpd@4.0.7:
+ jscpd@4.3.0:
dependencies:
- '@jscpd/badge-reporter': 4.0.3
- '@jscpd/core': 4.0.3
- '@jscpd/finder': 4.0.3
- '@jscpd/html-reporter': 4.0.3
- '@jscpd/tokenizer': 4.0.3
+ '@jscpd/badge-reporter': 4.2.5
+ '@jscpd/core': 4.2.5
+ '@jscpd/finder': 4.3.0
+ '@jscpd/html-reporter': 4.2.5
+ '@jscpd/tokenizer': 4.2.6
colors: 1.4.0
- commander: 5.1.0
+ commander: 15.0.0
fs-extra: 11.4.1
- gitignore-to-glob: 0.3.0
- jscpd-sarif-reporter: 4.0.5
+ jscpd-sarif-reporter: 4.2.5
jsonfile@6.2.1:
dependencies:
@@ -1664,7 +1557,7 @@ snapshots:
is-promise: 2.2.2
promise: 7.3.1
- lru-cache@10.4.3: {}
+ lru-cache@11.5.3: {}
markdown-table@2.0.0:
dependencies:
@@ -1683,13 +1576,14 @@ snapshots:
mimic-fn@2.1.0: {}
- minimatch@9.0.9:
+ minimatch@11.0.3:
dependencies:
- brace-expansion: 2.1.7
+ '@isaacs/nonrecursive-glob-match': 1.0.3
+ brace-expansion: 5.0.12
minipass@7.1.3: {}
- node-sarif-builder@3.4.0:
+ node-sarif-builder@4.1.0:
dependencies:
'@types/sarif': 2.1.7
fs-extra: 11.4.1
@@ -1708,15 +1602,13 @@ snapshots:
dependencies:
mimic-fn: 2.1.0
- package-json-from-dist@1.0.1: {}
-
path-key@3.1.1: {}
path-parse@1.0.7: {}
- path-scurry@1.11.1:
+ path-scurry@3.0.0:
dependencies:
- lru-cache: 10.4.3
+ lru-cache: 11.5.3
minipass: 7.1.3
picomatch@2.3.2: {}
@@ -1805,8 +1697,6 @@ snapshots:
repeat-string@1.6.1: {}
- reprism@0.0.11: {}
-
resolve-from@5.0.0: {}
resolve@1.22.13:
@@ -1832,8 +1722,6 @@ snapshots:
signal-exit@3.0.7: {}
- signal-exit@4.1.0: {}
-
smol-toml@1.9.1: {}
spark-md5@3.0.2: {}
@@ -1844,20 +1732,10 @@ snapshots:
is-fullwidth-code-point: 3.0.0
strip-ansi: 6.0.1
- string-width@5.1.2:
- dependencies:
- eastasianwidth: 0.2.0
- emoji-regex: 9.2.2
- strip-ansi: 7.2.0
-
strip-ansi@6.0.1:
dependencies:
ansi-regex: 5.0.1
- strip-ansi@7.2.0:
- dependencies:
- ansi-regex: 6.4.0
-
strip-final-newline@2.0.0: {}
supports-preserve-symlinks-flag@1.0.0: {}
@@ -1877,7 +1755,7 @@ snapshots:
void-elements@3.1.0: {}
- vscode-languageserver-textdocument@1.0.15: {}
+ vscode-languageserver-textdocument@1.0.16: {}
vscode-uri@3.2.0: {}
@@ -1887,23 +1765,11 @@ snapshots:
with@7.0.2:
dependencies:
- '@babel/parser': 7.29.9
- '@babel/types': 7.29.8
+ '@babel/parser': 7.29.12
+ '@babel/types': 7.29.11
assert-never: 1.4.0
babel-walk: 3.0.0-canary-5
- wrap-ansi@7.0.0:
- dependencies:
- ansi-styles: 4.3.0
- string-width: 4.2.3
- strip-ansi: 6.0.1
-
- wrap-ansi@8.1.0:
- dependencies:
- ansi-styles: 6.2.3
- string-width: 5.1.2
- strip-ansi: 7.2.0
-
wrappy@1.0.2: {}
xdg-basedir@5.1.0: {}
diff --git a/rails_test_app/create_app.rb b/rails_test_app/create_app.rb
index 01d3bb1f..237fed82 100755
--- a/rails_test_app/create_app.rb
+++ b/rails_test_app/create_app.rb
@@ -15,11 +15,11 @@
when "7.1"
"7.1.6" # Updated by update_rails_versions script
when "7.2"
- "7.2.3" # Updated by update_rails_versions script
+ "7.2.4" # Updated by update_rails_versions script
when "8.0"
- "8.0.4" # Updated by update_rails_versions script
+ "8.0.5.2" # Updated by update_rails_versions script
when "8.1"
- "8.1.2" # Updated by update_rails_versions script
+ "8.1.4.1" # Updated by update_rails_versions script
else
raise "Unrecognized Rails version #{rails_version}"
end
diff --git a/rails_test_app/templates/test/integration/boot_logs_integration_test.rb b/rails_test_app/templates/test/integration/boot_logs_integration_test.rb
index 64d6fee0..6da636b8 100644
--- a/rails_test_app/templates/test/integration/boot_logs_integration_test.rb
+++ b/rails_test_app/templates/test/integration/boot_logs_integration_test.rb
@@ -107,7 +107,8 @@ def test_logstruct_enabled_env_var_overrides_the_initializer
private
def runner_loggers(env)
- script = 'puts "LOGGERS #{LogStruct.enabled?} #{Rails.logger.class} #{ActiveRecord::Base.logger.class}"'
+ # Interpolated by the rails runner process, which has the app loaded
+ script = 'puts "LOGGERS #{LogStruct.enabled?} #{Rails.logger.class} #{ActiveRecord::Base.logger.class}"' # rubocop:disable Lint/InterpolationCheck
stdout_str, stderr_str, status = Open3.capture3(env, "bundle", "exec", "rails", "runner", script)
assert_predicate status, :success?, "rails runner failed: #{stderr_str}"
diff --git a/scripts/update_rails_versions.rb b/scripts/update_rails_versions.rb
index 2adab506..27018920 100755
--- a/scripts/update_rails_versions.rb
+++ b/scripts/update_rails_versions.rb
@@ -18,6 +18,8 @@ def fetch_latest_rails_versions
puts "Fetching latest Rails versions from RubyGems.org..."
uri = URI("https://rubygems.org/api/v1/versions/rails.json")
response = Net::HTTP.get(uri)
+ raise "Empty response from #{uri}" if response.nil?
+
versions = JSON.parse(response)
# Filter out prerelease versions and map by version number
@@ -82,8 +84,8 @@ def update_github_workflow(versions)
versions.each do |major_minor, version|
# Look for matrix entries with this major.minor version
# Handle both cases: with patch number or without
- if updated_content.match?(/rails:\s*'#{major_minor}([\.\d]*)'/)
- updated_content.gsub!(/rails:\s*'#{major_minor}([\.\d]*)'/, "rails: '#{version}'")
+ if updated_content.match?(/rails:\s*'#{major_minor}([.\d]*)'/)
+ updated_content.gsub!(/rails:\s*'#{major_minor}([.\d]*)'/, "rails: '#{version}'")
puts " Updated matrix Rails #{major_minor} to version #{version}"
else
puts " Warning: Could not find matrix entry for Rails #{major_minor} in test.yml"
diff --git a/sorbet/rbi/annotations/actionmailer.rbi b/sorbet/rbi/annotations/actionmailer.rbi
index 3d2771df..4b4d708b 100644
--- a/sorbet/rbi/annotations/actionmailer.rbi
+++ b/sorbet/rbi/annotations/actionmailer.rbi
@@ -8,3 +8,8 @@ class ActionMailer::Base
sig { params(headers: T.untyped, block: T.nilable(T.proc.params(arg0: ActionMailer::Collector).void)).returns(Mail::Message) }
def mail(headers = nil, &block); end
end
+
+module ActionMailer::TestHelper
+ sig { params(block: T.proc.void).returns(T::Array[Mail::Message]) }
+ def capture_emails(&block); end
+end
diff --git a/sorbet/rbi/annotations/actionpack.rbi b/sorbet/rbi/annotations/actionpack.rbi
index 09b36816..4af55bf5 100644
--- a/sorbet/rbi/annotations/actionpack.rbi
+++ b/sorbet/rbi/annotations/actionpack.rbi
@@ -8,6 +8,17 @@ class ActionController::API
MODULES = T.let(T.unsafe(nil), T::Array[T.untyped])
end
+# @version >= 5.2.0
+module ActionController::ContentSecurityPolicy::ClassMethods
+ # @shim: required to declare T.attached_class
+ extend T::Generic
+
+ has_attached_class! :out
+
+ sig { params(enabled: T.untyped, options: T.untyped, block: T.nilable(T.proc.bind(T.attached_class).params(policy: ActionDispatch::ContentSecurityPolicy).void)).void }
+ def content_security_policy(enabled = true, **options, &block); end
+end
+
module ActionController::Flash::ClassMethods
sig { params(types: Symbol).void }
def add_flash_types(*types); end
@@ -203,6 +214,17 @@ class ActionController::Parameters
def self.permit_all_parameters=(obj); end
end
+# @version >= 6.1.0
+module ActionController::PermissionsPolicy::ClassMethods
+ # @shim: required to declare T.attached_class
+ extend T::Generic
+
+ has_attached_class! :out
+
+ sig { params(options: T.untyped, block: T.nilable(T.proc.bind(T.attached_class).params(policy: ActionDispatch::PermissionsPolicy).void)).void }
+ def permissions_policy(**options, &block); end
+end
+
module ActionController::RequestForgeryProtection
sig { returns(T::Boolean) }
def protect_against_forgery?; end
diff --git a/sorbet/rbi/annotations/activejob.rbi b/sorbet/rbi/annotations/activejob.rbi
index 1cd82adb..ae939e7d 100644
--- a/sorbet/rbi/annotations/activejob.rbi
+++ b/sorbet/rbi/annotations/activejob.rbi
@@ -42,3 +42,21 @@ class ActiveJob::Base
sig { params(priority: T.untyped, block: T.nilable(T.proc.bind(T.attached_class).returns(T.untyped))).void }
def self.queue_with_priority(priority = nil, &block); end
end
+
+module ActiveJob::TestHelper
+ sig { params(number: Integer, only: T.untyped, except: T.untyped, queue: T.nilable(T.any(String, Symbol)), block: T.nilable(T.proc.void)).returns(TrueClass) }
+ def assert_enqueued_jobs(number, only: nil, except: nil, queue: nil, &block); end
+
+ sig { params(only: T.untyped, except: T.untyped, queue: T.nilable(T.any(String, Symbol)), block: T.nilable(T.proc.void)).returns(TrueClass) }
+ def assert_no_enqueued_jobs(only: nil, except: nil, queue: nil, &block); end
+
+ sig { params(number: Integer, only: T.untyped, except: T.untyped, queue: T.nilable(T.any(String, Symbol)), block: T.nilable(T.proc.void)).returns(TrueClass) }
+ def assert_performed_jobs(number, only: nil, except: nil, queue: nil, &block); end
+
+ sig { params(only: T.untyped, except: T.untyped, queue: T.nilable(T.any(String, Symbol)), block: T.nilable(T.proc.void)).returns(TrueClass) }
+ def assert_no_performed_jobs(only: nil, except: nil, queue: nil, &block); end
+
+ sig { params(only: T.untyped, except: T.untyped, queue: T.nilable(T.any(String, Symbol)), at: T.untyped).returns(Integer) }
+ sig { type_parameters(:Block).params(only: T.untyped, except: T.untyped, queue: T.nilable(T.any(String, Symbol)), at: T.untyped, block: T.proc.returns(T.type_parameter(:Block))).returns(T.type_parameter(:Block)) }
+ def perform_enqueued_jobs(only: nil, except: nil, queue: nil, at: nil, &block); end
+end
diff --git a/sorbet/rbi/annotations/activemodel.rbi b/sorbet/rbi/annotations/activemodel.rbi
index 1e1a6424..90efab49 100644
--- a/sorbet/rbi/annotations/activemodel.rbi
+++ b/sorbet/rbi/annotations/activemodel.rbi
@@ -4,6 +4,36 @@
# This file was pulled from a central RBI files repository.
# Please run `bin/tapioca annotations` to update it.
+module ActiveModel::Attributes
+ sig { returns(T::Array[String]) }
+ def attribute_names; end
+
+ sig { returns(T::Hash[String, T.untyped]) }
+ def attributes; end
+end
+
+module ActiveModel::Attributes::ClassMethods
+ sig { returns(T::Array[String]) }
+ def attribute_names; end
+end
+
+module ActiveModel::Dirty
+ sig { returns(T::Array[String]) }
+ def changed; end
+
+ sig { returns(T::Boolean) }
+ def changed?; end
+
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def changed_attributes; end
+
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def changes; end
+
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def previous_changes; end
+end
+
class ActiveModel::Errors
Elem = type_member { { fixed: ActiveModel::Error } }
diff --git a/sorbet/rbi/annotations/activerecord.rbi b/sorbet/rbi/annotations/activerecord.rbi
index 41badc22..bc9102b1 100644
--- a/sorbet/rbi/annotations/activerecord.rbi
+++ b/sorbet/rbi/annotations/activerecord.rbi
@@ -4,6 +4,31 @@
# This file was pulled from a central RBI files repository.
# Please run `bin/tapioca annotations` to update it.
+module ActiveRecord::AttributeMethods::ClassMethods
+ sig { returns(T::Array[String]) }
+ def attribute_names; end
+end
+
+module ActiveRecord::AttributeMethods::Dirty
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def attributes_in_database; end
+
+ sig { returns(T::Array[String]) }
+ def changed_attribute_names_to_save; end
+
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def changes_to_save; end
+
+ sig { returns(T::Boolean) }
+ def has_changes_to_save?; end
+
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def saved_changes; end
+
+ sig { returns(T::Boolean) }
+ def saved_changes?; end
+end
+
class ActiveRecord::Schema
sig { params(info: T::Hash[T.untyped, T.untyped], blk: T.proc.bind(ActiveRecord::Schema).void).void }
def self.define(info = nil, &blk); end
@@ -17,6 +42,27 @@ class ActiveRecord::Migration
include ActiveRecord::ConnectionAdapters::DatabaseStatements
end
+# @version >= 7.2.0
+module ActiveRecord::Assertions::QueryAssertions
+ sig { type_parameters(:R).params(count: T.nilable(Integer), include_schema: T::Boolean, block: T.proc.returns(T.type_parameter(:R))).returns(T.type_parameter(:R)) }
+ def assert_queries_count(count = nil, include_schema: false, &block); end
+
+ sig { type_parameters(:R).params(include_schema: T::Boolean, block: T.proc.returns(T.type_parameter(:R))).returns(T.type_parameter(:R)) }
+ def assert_no_queries(include_schema: false, &block); end
+
+ sig { type_parameters(:R).params(match: T.any(String, Regexp), count: T.nilable(Integer), include_schema: T::Boolean, block: T.proc.returns(T.type_parameter(:R))).returns(T.type_parameter(:R)) }
+ def assert_queries_match(match, count: nil, include_schema: false, &block); end
+
+ sig { type_parameters(:R).params(match: T.any(String, Regexp), include_schema: T::Boolean, block: T.proc.returns(T.type_parameter(:R))).returns(T.type_parameter(:R)) }
+ def assert_no_queries_match(match, include_schema: false, &block); end
+end
+
+# @version >= 7.2.0
+class ActiveSupport::TestCase
+ # @shim: Rails includes query assertions into ActiveSupport::TestCase from rails/test_help when ActiveRecord is loaded.
+ include ActiveRecord::Assertions::QueryAssertions
+end
+
class ActiveRecord::Base
sig { returns(FalseClass) }
def blank?; end
@@ -101,3 +147,26 @@ module ActiveRecord::Core
sig { params(comparison_object: T.anything).returns(T::Boolean) }
def ==(comparison_object); end
end
+
+module ActiveRecord::Persistence
+ sig { type_parameters(:Klass).params(klass: T::Class[T.type_parameter(:Klass)]).returns(T.type_parameter(:Klass)) }
+ def becomes(klass); end
+
+ sig { type_parameters(:Klass).params(klass: T::Class[T.type_parameter(:Klass)]).returns(T.type_parameter(:Klass)) }
+ def becomes!(klass); end
+
+ sig { returns(T::Boolean) }
+ def destroyed?; end
+
+ sig { returns(T::Boolean) }
+ def new_record?; end
+
+ sig { returns(T::Boolean) }
+ def persisted?; end
+
+ sig { returns(T::Boolean) }
+ def previously_new_record?; end
+
+ sig { returns(T::Boolean) }
+ def previously_persisted?; end
+end
diff --git a/sorbet/rbi/annotations/activesupport.rbi b/sorbet/rbi/annotations/activesupport.rbi
index d6779e3f..2b1ac7af 100644
--- a/sorbet/rbi/annotations/activesupport.rbi
+++ b/sorbet/rbi/annotations/activesupport.rbi
@@ -9,6 +9,19 @@ module ActiveSupport::Testing::Declarative
def test(name, &block); end
end
+module ActiveSupport::Concern
+ sig { params(base: T.untyped, block: T.nilable(T.proc.bind(T.untyped).void)).void }
+ def included(base = nil, &block); end
+
+ # @version >= 6.1.0
+ sig { params(base: T.untyped, block: T.nilable(T.proc.bind(T.untyped).void)).void }
+ def prepended(base = nil, &block); end
+
+ # @version >= 4.2.0
+ sig { params(class_methods_module_definition: T.nilable(T.proc.bind(T.untyped).void)).void }
+ def class_methods(&class_methods_module_definition); end
+end
+
class ActiveSupport::EnvironmentInquirer
sig { returns(T::Boolean) }
def development?; end
@@ -21,7 +34,38 @@ class ActiveSupport::EnvironmentInquirer
# @method_missing: delegated to String through ActiveSupport::StringInquirer
sig { returns(T::Boolean) }
- def staging?; end
+ def local?; end
+end
+
+class ActiveSupport::HashWithIndifferentAccess < Hash
+ K = type_member { {fixed: T.any(String, Symbol)} }
+ V = type_member { {fixed: T.untyped} }
+ Elem = type_member { {fixed: T.untyped} }
+
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def with_indifferent_access; end
+
+ sig { type_parameters(:V2, :ConflictRes).params(other_hash: T::Hash[T.untyped, T.type_parameter(:V2)], block: T.nilable(
+ T.proc.params(
+ key: String,
+ old_val: T.untyped,
+ new_val: T.type_parameter(:V2),
+ ).returns(T.type_parameter(:ConflictRes))
+ )).returns(ActiveSupport::HashWithIndifferentAccess) }
+ def deep_merge(other_hash, &block); end
+
+ sig { type_parameters(:V2, :ConflictRes).params(other_hash: T::Hash[T.untyped, T.type_parameter(:V2)], block: T.nilable(
+ T.proc.params(
+ key: String,
+ old_val: T.untyped,
+ new_val: T.type_parameter(:V2),
+ ).returns(T.type_parameter(:ConflictRes))
+ )).returns(ActiveSupport::HashWithIndifferentAccess) }
+ def deep_merge!(other_hash, &block); end
+
+ # @version >= 7.2
+ sig { params(other: T.untyped).returns(T::Boolean) }
+ def deep_merge?(other); end
end
module ActiveSupport::Testing::SetupAndTeardown::ClassMethods
@@ -92,6 +136,31 @@ class Hash
# @version >= 6.1.0
sig { returns(T.self_type) }
def compact_blank; end
+
+ sig { returns(ActiveSupport::HashWithIndifferentAccess) }
+ def with_indifferent_access; end
+
+ sig { type_parameters(:K2, :V2, :ConflictRes).params(other_hash: T::Hash[T.type_parameter(:K2), T.type_parameter(:V2)], block: T.nilable(
+ T.proc.params(
+ key: T.any(K, T.type_parameter(:K2)),
+ old_val: V,
+ new_val: T.type_parameter(:V2),
+ ).returns(T.type_parameter(:ConflictRes))
+ )).returns(T::Hash[T.any(K, T.type_parameter(:K2)), T.any(V, T.type_parameter(:V2), T.type_parameter(:ConflictRes))]) }
+ def deep_merge(other_hash, &block); end
+
+ sig { type_parameters(:K2, :V2, :ConflictRes).params(other_hash: T::Hash[T.type_parameter(:K2), T.type_parameter(:V2)], block: T.nilable(
+ T.proc.params(
+ key: T.any(K, T.type_parameter(:K2)),
+ old_val: V,
+ new_val: T.type_parameter(:V2),
+ ).returns(T.type_parameter(:ConflictRes))
+ )).returns(T::Hash[T.any(K, T.type_parameter(:K2)), T.any(V, T.type_parameter(:V2), T.type_parameter(:ConflictRes))]) }
+ def deep_merge!(other_hash, &block); end
+
+ # @version >= 7.2
+ sig { params(other: T.untyped).returns(T::Boolean) }
+ def deep_merge?(other); end
end
class Array
@@ -493,3 +562,9 @@ module ActiveSupport::Testing::Assertions
sig { type_parameters(:TResult).params(expression: T.any(Proc, Kernel), message: Kernel, from: T.anything, to: T.anything, block: T.proc.returns(T.type_parameter(:TResult))).returns(T.type_parameter(:TResult)) }
def assert_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), to: T.unsafe(nil), &block); end
end
+
+module ActiveSupport::Testing::ErrorReporterAssertions
+ # @version >= 7.1.0.rc1
+ sig { params(error_class: T.class_of(Exception), block: T.proc.void).returns(ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report) }
+ def assert_error_reported(error_class = T.unsafe(nil), &block); end
+end
diff --git a/sorbet/rbi/annotations/i18n.rbi b/sorbet/rbi/annotations/i18n.rbi
new file mode 100644
index 00000000..2de3719d
--- /dev/null
+++ b/sorbet/rbi/annotations/i18n.rbi
@@ -0,0 +1,40 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This file was pulled from a central RBI files repository.
+# Please run `bin/tapioca annotations` to update it.
+
+module I18n::Base
+ # A list set through `#available_locales=` is symbolized on the way in, but the
+ # fallback to `backend.available_locales` is returned as the backend built it,
+ # and a custom backend is free to hand back strings.
+ sig { returns(T::Array[T.any(String, Symbol)]) }
+ def available_locales; end
+
+ sig { params(value: T.nilable(T.any(String, Symbol, T::Array[T.any(String, Symbol)]))).returns(T.nilable(T.any(String, Symbol, T::Array[T.any(String, Symbol)]))) }
+ def available_locales=(value); end
+
+ sig { returns(Symbol) }
+ def default_locale; end
+
+ sig { params(value: T.nilable(T.any(String, Symbol))).returns(T.nilable(T.any(String, Symbol))) }
+ def default_locale=(value); end
+
+ sig { returns(String) }
+ def default_separator; end
+
+ sig { params(value: String).returns(String) }
+ def default_separator=(value); end
+
+ sig { returns(T::Boolean) }
+ def enforce_available_locales; end
+
+ sig { params(value: T::Boolean).returns(T::Boolean) }
+ def enforce_available_locales=(value); end
+
+ sig { returns(T.any(Symbol, FalseClass)) }
+ def locale; end
+
+ sig { params(value: T.nilable(T.any(String, Symbol, FalseClass))).returns(T.nilable(T.any(String, Symbol, FalseClass))) }
+ def locale=(value); end
+end
diff --git a/sorbet/rbi/annotations/railties.rbi b/sorbet/rbi/annotations/railties.rbi
index cec2842d..218bf0c9 100644
--- a/sorbet/rbi/annotations/railties.rbi
+++ b/sorbet/rbi/annotations/railties.rbi
@@ -9,6 +9,9 @@ module Rails
sig { returns(Rails::Application) }
def application; end
+ sig { returns(Rails::Autoloaders) }
+ def autoloaders; end
+
sig { returns(ActiveSupport::BacktraceCleaner) }
def backtrace_cleaner; end
@@ -21,7 +24,8 @@ module Rails
sig { returns(ActiveSupport::ErrorReporter) }
def error; end
- sig { returns(ActiveSupport::Logger) }
+ # @version >= 7.1.0.rc1
+ sig { returns(ActiveSupport::BroadcastLogger) }
def logger; end
sig { returns(Pathname) }
@@ -45,14 +49,49 @@ class Rails::Application < ::Rails::Engine
def config; end
end
+class Rails::Autoloaders
+ Elem = type_member(:out) { { fixed: Zeitwerk::Loader } }
+
+ sig { params(block: T.proc.params(arg0: Elem).returns(T.untyped)).returns(T.untyped) }
+ def each(&block); end
+
+ sig { returns(Zeitwerk::Loader) }
+ def main; end
+
+ sig { returns(Zeitwerk::Loader) }
+ def once; end
+end
+
class Rails::Engine < ::Rails::Railtie
- sig { params(block: T.untyped).returns(ActionDispatch::Routing::RouteSet) }
+ class << self
+ # @shim: delegated to the instance using `method_missing`
+ sig { void }
+ def load_seed; end
+
+ # @shim: delegated to the instance using `method_missing`
+ sig { returns(Pathname) }
+ def root; end
+
+ # @shim: delegated to the instance using `method_missing`
+ sig { params(block: T.nilable(T.proc.bind(ActionDispatch::Routing::Mapper).void)).returns(ActionDispatch::Routing::RouteSet) }
+ def routes(&block); end
+ end
+
+ sig { void }
+ def load_seed; end
+
+ sig { params(block: T.nilable(T.proc.bind(ActionDispatch::Routing::Mapper).void)).returns(ActionDispatch::Routing::RouteSet) }
def routes(&block); end
end
class Rails::Railtie
sig { params(block: T.proc.bind(Rails::Railtie).void).void }
def configure(&block); end
+
+ class << self
+ sig { params(block: T.proc.bind(Rake::DSL).params(app: Rails::Application).void).void }
+ def rake_tasks(&block); end
+ end
end
class Rails::Railtie::Configuration
diff --git a/sorbet/rbi/gems/actioncable@8.0.5.1.rbi b/sorbet/rbi/gems/actioncable@8.0.5.2.rbi
similarity index 57%
rename from sorbet/rbi/gems/actioncable@8.0.5.1.rbi
rename to sorbet/rbi/gems/actioncable@8.0.5.2.rbi
index 2e335a1d..0c39d5e9 100644
--- a/sorbet/rbi/gems/actioncable@8.0.5.1.rbi
+++ b/sorbet/rbi/gems/actioncable@8.0.5.2.rbi
@@ -7,38 +7,39 @@
# :markup: markdown
# :include: ../README.md
+# :markup: markdown
#
-# source://actioncable//lib/action_cable.rb#54
+# pkg:gem/actioncable#lib/action_cable.rb:54
module ActionCable
private
# Singleton instance of the server
#
- # source://actioncable//lib/action_cable.rb#77
+ # pkg:gem/actioncable#lib/action_cable.rb:77
def server; end
class << self
- # source://actioncable//lib/action_cable/deprecator.rb#6
+ # pkg:gem/actioncable#lib/action_cable/deprecator.rb:6
def deprecator; end
# Returns the currently loaded version of Action Cable as a `Gem::Version`.
#
- # source://actioncable//lib/action_cable/gem_version.rb#7
+ # pkg:gem/actioncable#lib/action_cable/gem_version.rb:7
def gem_version; end
# Singleton instance of the server
#
- # source://actioncable//lib/action_cable.rb#77
+ # pkg:gem/actioncable#lib/action_cable.rb:77
def server; end
# Returns the currently loaded version of Action Cable as a `Gem::Version`.
#
- # source://actioncable//lib/action_cable/version.rb#9
+ # pkg:gem/actioncable#lib/action_cable/version.rb:9
def version; end
end
end
-# source://actioncable//lib/action_cable/channel/base.rb#9
+# pkg:gem/actioncable#lib/action_cable/channel/base.rb:9
module ActionCable::Channel; end
# # Action Cable Channel Base
@@ -141,7 +142,7 @@ module ActionCable::Channel; end
# not have access to the chat room. On the client-side, the `Channel#rejected`
# callback will get invoked when the server rejects the subscription request.
#
-# source://actioncable//lib/action_cable/channel/base.rb#109
+# pkg:gem/actioncable#lib/action_cable/channel/base.rb:109
class ActionCable::Channel::Base
include ::ActiveSupport::Callbacks
include ::ActionCable::Channel::Callbacks
@@ -158,173 +159,155 @@ class ActionCable::Channel::Base
extend ::ActionCable::Channel::Broadcasting::ClassMethods
extend ::ActiveSupport::Rescuable::ClassMethods
- # @return [Base] a new instance of Base
- #
- # source://actioncable//lib/action_cable/channel/base.rb#155
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def initialize(connection, identifier, params = T.unsafe(nil)); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _run_subscribe_callbacks(&block); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _run_unsubscribe_callbacks(&block); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _subscribe_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _unsubscribe_callbacks; end
- # Returns the value of attribute connection.
- #
- # source://actioncable//lib/action_cable/channel/base.rb#117
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:117
def connection; end
- # Returns the value of attribute identifier.
- #
- # source://actioncable//lib/action_cable/channel/base.rb#117
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:117
def identifier; end
- # source://actioncable//lib/action_cable/channel/base.rb#118
- def logger(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:118
+ def logger(*, **, &); end
- # Returns the value of attribute params.
- #
- # source://actioncable//lib/action_cable/channel/base.rb#117
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:117
def params; end
# Extract the action name from the passed data and process it via the channel.
# The process will ensure that the action requested is a public method on the
# channel declared by the user (so not one of the callbacks like #subscribed).
#
- # source://actioncable//lib/action_cable/channel/base.rb#176
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def perform_action(data); end
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#11
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111
def periodic_timers=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def rescue_handlers=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def rescue_handlers?; end
# This method is called after subscription has been added to the connection and
# confirms or rejects the subscription.
#
- # source://actioncable//lib/action_cable/channel/base.rb#191
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def subscribe_to_channel; end
# Called by the cable connection when it's cut, so the channel has a chance to
# cleanup with callbacks. This method is not intended to be called directly by
# the user. Instead, override the #unsubscribed callback.
#
- # source://actioncable//lib/action_cable/channel/base.rb#203
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def unsubscribe_from_channel; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/channel/base.rb#210
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def unsubscribed?; end
private
- # source://actioncable//lib/action_cable/channel/base.rb#298
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def action_signature(action, data); end
- # source://actioncable//lib/action_cable/channel/base.rb#250
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def defer_subscription_confirmation!; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/channel/base.rb#254
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def defer_subscription_confirmation?; end
- # source://actioncable//lib/action_cable/channel/base.rb#270
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def delegate_connection_identifiers; end
- # source://actioncable//lib/action_cable/channel/base.rb#286
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def dispatch_action(action, data); end
- # source://actioncable//lib/action_cable/channel/base.rb#244
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def ensure_confirmation_sent; end
- # source://actioncable//lib/action_cable/channel/base.rb#278
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def extract_action(data); end
- # source://actioncable//lib/action_cable/channel/base.rb#309
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def parameter_filter; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/channel/base.rb#282
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def processable_action?(action); end
- # source://actioncable//lib/action_cable/channel/base.rb#262
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def reject; end
- # source://actioncable//lib/action_cable/channel/base.rb#324
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def reject_subscription; end
# Called once a consumer has become a subscriber of the channel. Usually the
# place to set up any streams you want this channel to be sending to the
# subscriber.
#
- # source://actioncable//lib/action_cable/channel/base.rb#218
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def subscribed; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/channel/base.rb#258
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def subscription_confirmation_sent?; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/channel/base.rb#266
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def subscription_rejected?; end
# Transmit a hash of data to the subscriber. The hash will automatically be
# wrapped in a JSON envelope with the proper channel identifier marked as the
# recipient.
#
- # source://actioncable//lib/action_cable/channel/base.rb#231
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def transmit(data, via: T.unsafe(nil)); end
- # source://actioncable//lib/action_cable/channel/base.rb#313
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def transmit_subscription_confirmation; end
- # source://actioncable//lib/action_cable/channel/base.rb#329
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def transmit_subscription_rejection; end
# Called once a consumer has cut its cable connection. Can be used for cleaning
# up connections or marking users as offline or the like.
#
- # source://actioncable//lib/action_cable/channel/base.rb#224
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:150
def unsubscribed; end
class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def __callbacks=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _subscribe_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _subscribe_callbacks=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _unsubscribe_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def _unsubscribe_callbacks=(value); end
# A list of method names that should be considered actions. This includes all
@@ -335,79 +318,79 @@ class ActionCable::Channel::Base
# #### Returns
# * `Set` - A set of all methods that should be considered actions.
#
- # source://actioncable//lib/action_cable/channel/base.rb#128
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:128
def action_methods; end
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#11
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111
def periodic_timers; end
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#11
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111
def periodic_timers=(value); end
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#11
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111
def periodic_timers?; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def rescue_handlers=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def rescue_handlers?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110
def __class_attr___callbacks=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111
def __class_attr_periodic_timers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111
def __class_attr_periodic_timers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def __class_attr_rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115
def __class_attr_rescue_handlers=(new_value); end
# action_methods are cached and there is sometimes need to refresh them.
# ::clear_action_methods! allows you to do that, so next time you run
# action_methods, they will be recalculated.
#
- # source://actioncable//lib/action_cable/channel/base.rb#144
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:144
def clear_action_methods!; end
# Refresh the cached action_methods when a new action_method is added.
#
- # source://actioncable//lib/action_cable/channel/base.rb#149
+ # pkg:gem/actioncable#lib/action_cable/channel/base.rb:149
def method_added(name); end
end
end
-# source://actioncable//lib/action_cable/channel/broadcasting.rb#9
+# pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:9
module ActionCable::Channel::Broadcasting
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionCable::Channel::Broadcasting::ClassMethods
- # source://actioncable//lib/action_cable/channel/broadcasting.rb#45
+ # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:45
def broadcast_to(model, message); end
- # source://actioncable//lib/action_cable/channel/broadcasting.rb#41
+ # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:41
def broadcasting_for(model); end
end
-# source://actioncable//lib/action_cable/channel/broadcasting.rb#12
+# pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:12
module ActionCable::Channel::Broadcasting::ClassMethods
# Broadcast a hash to a unique broadcasting for this `model` in this channel.
#
- # source://actioncable//lib/action_cable/channel/broadcasting.rb#14
+ # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:14
def broadcast_to(model, message); end
# Returns a unique broadcasting identifier for this `model` in this channel:
@@ -417,12 +400,12 @@ module ActionCable::Channel::Broadcasting::ClassMethods
# You can pass any object as a target (e.g. Active Record model), and it would
# be serialized into a string under the hood.
#
- # source://actioncable//lib/action_cable/channel/broadcasting.rb#24
+ # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:24
def broadcasting_for(model); end
private
- # source://actioncable//lib/action_cable/channel/broadcasting.rb#29
+ # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:29
def serialize_broadcasting(object); end
end
@@ -455,7 +438,7 @@ end
# end
# end
#
-# source://actioncable//lib/action_cable/channel/callbacks.rb#38
+# pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:38
module ActionCable::Channel::Callbacks
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -476,7 +459,7 @@ module ActionCable::Channel::Callbacks
end
end
-# source://actioncable//lib/action_cable/channel/callbacks.rb#47
+# pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:47
module ActionCable::Channel::Callbacks::ClassMethods
# This callback will be triggered after the Base#subscribed method is called,
# even if the subscription was rejected with the Base#reject method.
@@ -486,30 +469,22 @@ module ActionCable::Channel::Callbacks::ClassMethods
#
# after_subscribe :my_method, unless: :subscription_rejected?
#
- # source://actioncable//lib/action_cable/channel/callbacks.rb#60
+ # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:60
def after_subscribe(*methods, &block); end
- # source://actioncable//lib/action_cable/channel/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:69
def after_unsubscribe(*methods, &block); end
- # source://actioncable//lib/action_cable/channel/callbacks.rb#48
+ # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:48
def before_subscribe(*methods, &block); end
- # source://actioncable//lib/action_cable/channel/callbacks.rb#65
+ # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:65
def before_unsubscribe(*methods, &block); end
- # This callback will be triggered after the Base#subscribed method is called,
- # even if the subscription was rejected with the Base#reject method.
- #
- # To trigger the callback only on successful subscriptions, use the
- # Base#subscription_rejected? method:
- #
- # after_subscribe :my_method, unless: :subscription_rejected?
- #
- # source://actioncable//lib/action_cable/channel/callbacks.rb#60
+ # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:63
def on_subscribe(*methods, &block); end
- # source://actioncable//lib/action_cable/channel/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:72
def on_unsubscribe(*methods, &block); end
end
@@ -518,99 +493,81 @@ end
# Stub `stream_from` to track streams for the channel. Add public aliases for
# `subscription_confirmation_sent?` and `subscription_rejected?`.
#
-# source://actioncable//lib/action_cable/channel/test_case.rb#24
+# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:24
module ActionCable::Channel::ChannelStub
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#25
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:25
def confirmed?; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#29
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:29
def rejected?; end
# Make periodic timers no-op
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#46
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:46
def start_periodic_timers; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#37
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:37
def stop_all_streams; end
- # Make periodic timers no-op
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#46
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:47
def stop_periodic_timers; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#33
- def stream_from(broadcasting, *_arg1); end
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:33
+ def stream_from(broadcasting, *); end
- # source://actioncable//lib/action_cable/channel/test_case.rb#41
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:41
def streams; end
end
-# source://actioncable//lib/action_cable/channel/test_case.rb#50
+# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:50
class ActionCable::Channel::ConnectionStub
- # @return [ConnectionStub] a new instance of ConnectionStub
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#55
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:55
def initialize(identifiers = T.unsafe(nil)); end
- # source://actioncable//lib/action_cable/channel/test_case.rb#53
- def config(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:53
+ def config(*, **, &); end
- # source://actioncable//lib/action_cable/channel/test_case.rb#72
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:72
def connection_identifier; end
- # Returns the value of attribute identifiers.
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#51
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51
def identifiers; end
- # Returns the value of attribute logger.
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#51
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51
def logger; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#53
- def pubsub(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:53
+ def pubsub(*, **, &); end
- # Returns the value of attribute server.
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#51
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51
def server; end
- # Returns the value of attribute subscriptions.
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#51
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51
def subscriptions; end
- # Returns the value of attribute transmissions.
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#51
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51
def transmissions; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#68
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:68
def transmit(cable_message); end
private
- # source://actioncable//lib/action_cable/channel/test_case.rb#77
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:77
def connection_gid(ids); end
end
-# source://actioncable//lib/action_cable/channel/naming.rb#7
+# pkg:gem/actioncable#lib/action_cable/channel/naming.rb:7
module ActionCable::Channel::Naming
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionCable::Channel::Naming::ClassMethods
- # source://actioncable//lib/action_cable/channel/naming.rb#23
+ # pkg:gem/actioncable#lib/action_cable/channel/naming.rb:23
def channel_name; end
end
-# source://actioncable//lib/action_cable/channel/naming.rb#10
+# pkg:gem/actioncable#lib/action_cable/channel/naming.rb:10
module ActionCable::Channel::Naming::ClassMethods
# Returns the name of the channel, underscored, without the `Channel` ending. If
# the channel is in a namespace, then the namespaces are represented by single
@@ -620,19 +577,17 @@ module ActionCable::Channel::Naming::ClassMethods
# Chats::AppearancesChannel.channel_name # => 'chats:appearances'
# FooChats::BarAppearancesChannel.channel_name # => 'foo_chats:bar_appearances'
#
- # source://actioncable//lib/action_cable/channel/naming.rb#18
+ # pkg:gem/actioncable#lib/action_cable/channel/naming.rb:18
def channel_name; end
end
-# source://actioncable//lib/action_cable/channel/test_case.rb#12
+# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:12
class ActionCable::Channel::NonInferrableChannelError < ::StandardError
- # @return [NonInferrableChannelError] a new instance of NonInferrableChannelError
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#13
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:13
def initialize(name); end
end
-# source://actioncable//lib/action_cable/channel/periodic_timers.rb#7
+# pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:7
module ActionCable::Channel::PeriodicTimers
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -642,16 +597,16 @@ module ActionCable::Channel::PeriodicTimers
private
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#56
+ # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:56
def active_periodic_timers; end
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#66
+ # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:66
def start_periodic_timer(callback, every:); end
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#60
+ # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:60
def start_periodic_timers; end
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#72
+ # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:72
def stop_periodic_timers; end
module GeneratedClassMethods
@@ -665,7 +620,7 @@ module ActionCable::Channel::PeriodicTimers
end
end
-# source://actioncable//lib/action_cable/channel/periodic_timers.rb#17
+# pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:17
module ActionCable::Channel::PeriodicTimers::ClassMethods
# Periodically performs a task on the channel, like updating an online user
# counter, polling a backend for new status messages, sending regular
@@ -680,7 +635,7 @@ module ActionCable::Channel::PeriodicTimers::ClassMethods
# transmit action: :update_count, count: current_count
# end
#
- # source://actioncable//lib/action_cable/channel/periodic_timers.rb#31
+ # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:31
def periodically(callback_or_method_name = T.unsafe(nil), every:, &block); end
end
@@ -755,26 +710,26 @@ end
#
# You can stop streaming from all broadcasts by calling #stop_all_streams.
#
-# source://actioncable//lib/action_cable/channel/streams.rb#77
+# pkg:gem/actioncable#lib/action_cable/channel/streams.rb:77
module ActionCable::Channel::Streams
extend ::ActiveSupport::Concern
- # source://actioncable//lib/action_cable/channel/streams.rb#155
- def pubsub(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:155
+ def pubsub(*, **, &); end
# Unsubscribes all streams associated with this channel from the pubsub queue.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#137
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:137
def stop_all_streams; end
# Unsubscribes streams for the `model`.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#132
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:132
def stop_stream_for(model); end
# Unsubscribes streams from the named `broadcasting`.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#123
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:123
def stop_stream_from(broadcasting); end
# Start streaming the pubsub queue for the `model` in this channel. Optionally,
@@ -785,7 +740,7 @@ module ActionCable::Channel::Streams
# the callback. Defaults to `coder: nil` which does no decoding, passes raw
# messages.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#118
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:118
def stream_for(model, callback = T.unsafe(nil), coder: T.unsafe(nil), &block); end
# Start streaming from the named `broadcasting` pubsub queue. Optionally, you
@@ -795,13 +750,13 @@ module ActionCable::Channel::Streams
# callback. Defaults to `coder: nil` which does no decoding, passes raw
# messages.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#90
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:90
def stream_from(broadcasting, callback = T.unsafe(nil), coder: T.unsafe(nil), &block); end
# Calls stream_for with the given `model` if it's present to start streaming,
# otherwise rejects the subscription.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#146
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:146
def stream_or_reject_for(model); end
private
@@ -815,13 +770,13 @@ module ActionCable::Channel::Streams
# no-op when pubsub and connection are both JSON-encoded. Then we can skip
# decode+encode if we're just proxying messages.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#191
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:191
def default_stream_handler(broadcasting, coder:); end
- # source://actioncable//lib/action_cable/channel/streams.rb#212
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:212
def identity_handler; end
- # source://actioncable//lib/action_cable/channel/streams.rb#196
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:196
def stream_decoder(handler = T.unsafe(nil), coder:); end
# May be overridden to add instrumentation, logging, specialized error handling,
@@ -829,19 +784,19 @@ module ActionCable::Channel::Streams
#
# TODO: Tests demonstrating this.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#175
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:175
def stream_handler(broadcasting, user_handler, coder: T.unsafe(nil)); end
- # source://actioncable//lib/action_cable/channel/streams.rb#204
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:204
def stream_transmitter(handler = T.unsafe(nil), broadcasting:); end
- # source://actioncable//lib/action_cable/channel/streams.rb#157
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:157
def streams; end
# Always wrap the outermost handler to invoke the user handler on the worker
# pool rather than blocking the event loop.
#
- # source://actioncable//lib/action_cable/channel/streams.rb#163
+ # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:163
def worker_pool_stream_handler(broadcasting, user_handler, coder: T.unsafe(nil)); end
end
@@ -903,14 +858,11 @@ end
# instance methods for use in the tests:
#
# connection
-# : An ActionCable::Channel::ConnectionStub, representing the current HTTP
# connection.
#
# subscription
-# : An instance of the current channel, created when you call `subscribe`.
#
# transmissions
-# : A list of all messages that have been transmitted into the channel.
#
#
# ## Channel is automatically inferred
@@ -948,7 +900,7 @@ end
# end
# end
#
-# source://actioncable//lib/action_cable/channel/test_case.rb#190
+# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:190
class ActionCable::Channel::TestCase < ::ActiveSupport::TestCase
include ::ActiveSupport::Testing::ConstantLookup
include ::ActionCable::TestHelper
@@ -956,42 +908,42 @@ class ActionCable::Channel::TestCase < ::ActiveSupport::TestCase
extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
extend ::ActionCable::Channel::TestCase::Behavior::ClassMethods
- # source://actioncable//lib/action_cable/channel/test_case.rb#200
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def _channel_class; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#200
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def _channel_class=(_arg0); end
- # source://actioncable//lib/action_cable/channel/test_case.rb#200
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def _channel_class?; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#202
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:202
def connection; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#202
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:202
def subscription; end
class << self
- # source://actioncable//lib/action_cable/channel/test_case.rb#200
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def _channel_class; end
- # source://actioncable//lib/action_cable/channel/test_case.rb#200
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def _channel_class=(value); end
- # source://actioncable//lib/action_cable/channel/test_case.rb#200
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def _channel_class?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def __class_attr__channel_class; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200
def __class_attr__channel_class=(new_value); end
end
end
-# source://actioncable//lib/action_cable/channel/test_case.rb#191
+# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:191
module ActionCable::Channel::TestCase::Behavior
include ::ActionCable::TestHelper
extend ::ActiveSupport::Concern
@@ -1002,12 +954,12 @@ module ActionCable::Channel::TestCase::Behavior
mixes_in_class_methods ::ActiveSupport::Testing::ConstantLookup::ClassMethods
mixes_in_class_methods ::ActionCable::Channel::TestCase::Behavior::ClassMethods
- # source://actioncable//lib/action_cable/channel/test_case.rb#282
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:282
def assert_broadcast_on(stream_or_object, *args); end
# Enhance TestHelper assertions to handle non-String broadcastings
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#278
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:278
def assert_broadcasts(stream_or_object, *args); end
# Asserts that the specified stream has not been started.
@@ -1017,7 +969,7 @@ module ActionCable::Channel::TestCase::Behavior
# assert_has_no_stream 'messages'
# end
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#326
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:326
def assert_has_no_stream(stream); end
# Asserts that the specified stream for a model has not started.
@@ -1027,7 +979,7 @@ module ActionCable::Channel::TestCase::Behavior
# assert_has_no_stream_for User.find(42)
# end
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#337
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:337
def assert_has_no_stream_for(object); end
# Asserts that the specified stream has been started.
@@ -1037,7 +989,7 @@ module ActionCable::Channel::TestCase::Behavior
# assert_has_stream 'messages'
# end
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#304
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:304
def assert_has_stream(stream); end
# Asserts that the specified stream for a model has started.
@@ -1047,7 +999,7 @@ module ActionCable::Channel::TestCase::Behavior
# assert_has_stream_for User.find(42)
# end
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#315
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:315
def assert_has_stream_for(object); end
# Asserts that no streams have been started.
@@ -1057,14 +1009,14 @@ module ActionCable::Channel::TestCase::Behavior
# assert_no_streams
# end
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#293
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:293
def assert_no_streams; end
# Perform action on a channel.
#
# NOTE: Must be subscribed.
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#266
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:266
def perform(action, data = T.unsafe(nil)); end
# Set up test connection with the specified identifiers:
@@ -1075,31 +1027,31 @@ module ActionCable::Channel::TestCase::Behavior
#
# stub_connection(user: users[:john], token: 'my-secret-token')
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#243
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:243
def stub_connection(identifiers = T.unsafe(nil)); end
# Subscribe to the channel under test. Optionally pass subscription parameters
# as a Hash.
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#249
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:249
def subscribe(params = T.unsafe(nil)); end
# Returns messages transmitted into channel
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#272
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:272
def transmissions; end
# Unsubscribe the subscription under test.
#
- # source://actioncable//lib/action_cable/channel/test_case.rb#258
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:258
def unsubscribe; end
private
- # source://actioncable//lib/action_cable/channel/test_case.rb#346
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:346
def broadcasting_for(stream_or_object); end
- # source://actioncable//lib/action_cable/channel/test_case.rb#342
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:342
def check_subscribed!; end
module GeneratedClassMethods
@@ -1115,27 +1067,25 @@ module ActionCable::Channel::TestCase::Behavior
end
end
-# source://actioncable//lib/action_cable/channel/test_case.rb#197
+# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:197
ActionCable::Channel::TestCase::Behavior::CHANNEL_IDENTIFIER = T.let(T.unsafe(nil), String)
-# source://actioncable//lib/action_cable/channel/test_case.rb#207
+# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:207
module ActionCable::Channel::TestCase::Behavior::ClassMethods
- # source://actioncable//lib/action_cable/channel/test_case.rb#219
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:219
def channel_class; end
- # @raise [NonInferrableChannelError]
- #
- # source://actioncable//lib/action_cable/channel/test_case.rb#227
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:227
def determine_default_channel(name); end
- # source://actioncable//lib/action_cable/channel/test_case.rb#208
+ # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:208
def tests(channel); end
end
-# source://actioncable//lib/action_cable/connection/identification.rb#6
+# pkg:gem/actioncable#lib/action_cable/connection/identification.rb:6
module ActionCable::Connection; end
-# source://actioncable//lib/action_cable/connection/test_case.rb#22
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:22
module ActionCable::Connection::Assertions
# Asserts that the connection is rejected (via
# `reject_unauthorized_connection`).
@@ -1143,22 +1093,20 @@ module ActionCable::Connection::Assertions
# # Asserts that connection without user_id fails
# assert_reject_connection { connect params: { user_id: '' } }
#
- # source://actioncable//lib/action_cable/connection/test_case.rb#28
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:28
def assert_reject_connection(&block); end
end
-# source://actioncable//lib/action_cable/connection/authorization.rb#7
+# pkg:gem/actioncable#lib/action_cable/connection/authorization.rb:7
module ActionCable::Connection::Authorization
# Closes the WebSocket connection if it is open and returns an "unauthorized"
# reason.
#
- # @raise [UnauthorizedError]
- #
- # source://actioncable//lib/action_cable/connection/authorization.rb#12
+ # pkg:gem/actioncable#lib/action_cable/connection/authorization.rb:12
def reject_unauthorized_connection; end
end
-# source://actioncable//lib/action_cable/connection/authorization.rb#8
+# pkg:gem/actioncable#lib/action_cable/connection/authorization.rb:8
class ActionCable::Connection::Authorization::UnauthorizedError < ::StandardError; end
# # Action Cable Connection Base
@@ -1209,7 +1157,7 @@ class ActionCable::Connection::Authorization::UnauthorizedError < ::StandardErro
#
# Pretty simple, eh?
#
-# source://actioncable//lib/action_cable/connection/base.rb#57
+# pkg:gem/actioncable#lib/action_cable/connection/base.rb:57
class ActionCable::Connection::Base
include ::ActionCable::Connection::Identification
include ::ActionCable::Connection::InternalChannel
@@ -1223,72 +1171,66 @@ class ActionCable::Connection::Base
extend ::ActionCable::Connection::Callbacks::ClassMethods
extend ::ActiveSupport::Rescuable::ClassMethods
- # @return [Base] a new instance of Base
- #
- # source://actioncable//lib/action_cable/connection/base.rb#67
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:67
def initialize(server, env, coder: T.unsafe(nil)); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def _command_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def _run_command_callbacks(&block); end
- # source://actioncable//lib/action_cable/connection/base.rb#147
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:147
def beat; end
# Close the WebSocket connection.
#
- # source://actioncable//lib/action_cable/connection/base.rb#120
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:120
def close(reason: T.unsafe(nil), reconnect: T.unsafe(nil)); end
- # source://actioncable//lib/action_cable/connection/base.rb#65
- def config(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:65
+ def config(*, **, &); end
- # source://actioncable//lib/action_cable/connection/base.rb#101
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:101
def dispatch_websocket_message(websocket_message); end
- # Returns the value of attribute env.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#64
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64
def env; end
- # source://actioncable//lib/action_cable/connection/base.rb#65
- def event_loop(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:65
+ def event_loop(*, **, &); end
- # source://actioncable//lib/action_cable/connection/base.rb#109
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:109
def handle_channel_command(payload); end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def identifiers; end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def identifiers=(_arg0); end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def identifiers?; end
- # source://actioncable//lib/action_cable/connection/base.rb#168
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:168
def inspect; end
- # Returns the value of attribute logger.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#64
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64
def logger; end
- # source://actioncable//lib/action_cable/connection/base.rb#164
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:164
def on_close(reason, code); end
- # source://actioncable//lib/action_cable/connection/base.rb#159
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:159
def on_error(message); end
- # source://actioncable//lib/action_cable/connection/base.rb#155
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:155
def on_message(message); end
- # source://actioncable//lib/action_cable/connection/base.rb#151
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:151
def on_open; end
# Called by the server when a new WebSocket connection is established. This
@@ -1296,180 +1238,166 @@ class ActionCable::Connection::Base
# should not be called directly -- instead rely upon on the #connect (and
# #disconnect) callbacks.
#
- # source://actioncable//lib/action_cable/connection/base.rb#85
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:85
def process; end
- # Returns the value of attribute protocol.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#64
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64
def protocol; end
- # source://actioncable//lib/action_cable/connection/base.rb#65
- def pubsub(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:65
+ def pubsub(*, **, &); end
# Decodes WebSocket messages and dispatches them to subscribed channels.
# WebSocket message transfer encoding is always JSON.
#
- # source://actioncable//lib/action_cable/connection/base.rb#97
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:97
def receive(websocket_message); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def rescue_handlers=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def rescue_handlers?; end
# Invoke a method on the connection asynchronously through the pool of thread
# workers.
#
- # source://actioncable//lib/action_cable/connection/base.rb#131
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:131
def send_async(method, *arguments); end
- # Returns the value of attribute server.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#64
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64
def server; end
# Return a basic hash of statistics for the connection keyed with `identifier`,
# `started_at`, `subscriptions`, and `request_id`. This can be returned by a
# health check against the connection.
#
- # source://actioncable//lib/action_cable/connection/base.rb#138
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:138
def statistics; end
- # Returns the value of attribute subscriptions.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#64
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64
def subscriptions; end
- # source://actioncable//lib/action_cable/connection/base.rb#115
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:115
def transmit(cable_message); end
- # Returns the value of attribute worker_pool.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#64
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64
def worker_pool; end
private
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/connection/base.rb#228
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:228
def allow_request_origin?; end
# The cookies of the request that initiated the WebSocket connection. Useful for
# performing authorization checks.
#
- # source://actioncable//lib/action_cable/connection/base.rb#187
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:187
def cookies; end
- # source://actioncable//lib/action_cable/connection/base.rb#195
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:195
def decode(websocket_message); end
- # source://actioncable//lib/action_cable/connection/base.rb#191
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:191
def encode(cable_message); end
- # source://actioncable//lib/action_cable/connection/base.rb#271
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:271
def finished_request_message; end
- # source://actioncable//lib/action_cable/connection/base.rb#211
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:211
def handle_close; end
- # source://actioncable//lib/action_cable/connection/base.rb#199
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:199
def handle_open; end
- # source://actioncable//lib/action_cable/connection/base.rb#279
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:279
def invalid_request_message; end
- # Returns the value of attribute message_buffer.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#174
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:174
def message_buffer; end
# Tags are declared in the server but computed in the connection. This allows us
# per-connection tailored tags.
#
- # source://actioncable//lib/action_cable/connection/base.rb#257
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:257
def new_tagged_logger; end
# The request that initiated the WebSocket connection is available here. This
# gives access to the environment, cookies, etc.
#
- # source://actioncable//lib/action_cable/connection/base.rb#178
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:178
def request; end
- # source://actioncable//lib/action_cable/connection/base.rb#247
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:247
def respond_to_invalid_request; end
- # source://actioncable//lib/action_cable/connection/base.rb#242
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:242
def respond_to_successful_request; end
- # source://actioncable//lib/action_cable/connection/base.rb#222
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:222
def send_welcome_message; end
- # source://actioncable//lib/action_cable/connection/base.rb#262
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:262
def started_request_message; end
- # source://actioncable//lib/action_cable/connection/base.rb#285
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:285
def successful_request_message; end
- # Returns the value of attribute websocket.
- #
- # source://actioncable//lib/action_cable/connection/base.rb#173
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:173
def websocket; end
class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def __callbacks=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def _command_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def _command_callbacks=(value); end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def identifiers; end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def identifiers=(value); end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def identifiers?; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def rescue_handlers=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def rescue_handlers?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61
def __class_attr___callbacks=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def __class_attr_identifiers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58
def __class_attr_identifiers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def __class_attr_rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62
def __class_attr_rescue_handlers=(new_value); end
end
end
@@ -1499,7 +1427,7 @@ end
# end
# end
#
-# source://actioncable//lib/action_cable/connection/callbacks.rb#34
+# pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:34
module ActionCable::Connection::Callbacks
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -1520,105 +1448,100 @@ module ActionCable::Connection::Callbacks
end
end
-# source://actioncable//lib/action_cable/connection/callbacks.rb#42
+# pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:42
module ActionCable::Connection::Callbacks::ClassMethods
- # source://actioncable//lib/action_cable/connection/callbacks.rb#47
+ # pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:47
def after_command(*methods, &block); end
- # source://actioncable//lib/action_cable/connection/callbacks.rb#51
+ # pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:51
def around_command(*methods, &block); end
- # source://actioncable//lib/action_cable/connection/callbacks.rb#43
+ # pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:43
def before_command(*methods, &block); end
end
-# source://actioncable//lib/action_cable/connection/client_socket.rb#13
+# --
+# This class is heavily based on faye-websocket-ruby
+#
+# Copyright (c) 2010-2015 James Coglan
+#
+# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:13
class ActionCable::Connection::ClientSocket
- # @return [ClientSocket] a new instance of ClientSocket
- #
- # source://actioncable//lib/action_cable/connection/client_socket.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:36
def initialize(env, event_target, event_loop, protocols); end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/connection/client_socket.rb#114
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:114
def alive?; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#110
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:110
def client_gone; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#92
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:92
def close(code = T.unsafe(nil), reason = T.unsafe(nil)); end
- # Returns the value of attribute env.
- #
- # source://actioncable//lib/action_cable/connection/client_socket.rb#34
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:34
def env; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#106
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:106
def parse(data); end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#118
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:118
def protocol; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#71
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:71
def rack_response; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#59
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:59
def start_driver; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#82
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:82
def transmit(message); end
- # Returns the value of attribute url.
- #
- # source://actioncable//lib/action_cable/connection/client_socket.rb#34
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:34
def url; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#76
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:76
def write(data); end
private
- # source://actioncable//lib/action_cable/connection/client_socket.rb#142
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:142
def begin_close(reason, code); end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#136
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:136
def emit_error(message); end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#151
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:151
def finalize_close; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#123
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:123
def open; end
- # source://actioncable//lib/action_cable/connection/client_socket.rb#130
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:130
def receive_message(data); end
class << self
- # source://actioncable//lib/action_cable/connection/client_socket.rb#14
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:14
def determine_url(env); end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/connection/client_socket.rb#19
+ # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:19
def secure_request?(env); end
end
end
-# source://actioncable//lib/action_cable/connection/client_socket.rb#32
+# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:32
ActionCable::Connection::ClientSocket::CLOSED = T.let(T.unsafe(nil), Integer)
-# source://actioncable//lib/action_cable/connection/client_socket.rb#31
+# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:31
ActionCable::Connection::ClientSocket::CLOSING = T.let(T.unsafe(nil), Integer)
-# source://actioncable//lib/action_cable/connection/client_socket.rb#29
+# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:29
ActionCable::Connection::ClientSocket::CONNECTING = T.let(T.unsafe(nil), Integer)
-# source://actioncable//lib/action_cable/connection/client_socket.rb#30
+# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:30
ActionCable::Connection::ClientSocket::OPEN = T.let(T.unsafe(nil), Integer)
-# source://actioncable//lib/action_cable/connection/identification.rb#7
+# pkg:gem/actioncable#lib/action_cable/connection/identification.rb:7
module ActionCable::Connection::Identification
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -1629,12 +1552,12 @@ module ActionCable::Connection::Identification
# Return a single connection identifier that combines the value of all the
# registered identifiers into a single gid.
#
- # source://actioncable//lib/action_cable/connection/identification.rb#29
+ # pkg:gem/actioncable#lib/action_cable/connection/identification.rb:29
def connection_identifier; end
private
- # source://actioncable//lib/action_cable/connection/identification.rb#38
+ # pkg:gem/actioncable#lib/action_cable/connection/identification.rb:38
def connection_gid(ids); end
module GeneratedClassMethods
@@ -1650,7 +1573,7 @@ module ActionCable::Connection::Identification
end
end
-# source://actioncable//lib/action_cable/connection/identification.rb#14
+# pkg:gem/actioncable#lib/action_cable/connection/identification.rb:14
module ActionCable::Connection::Identification::ClassMethods
# Mark a key as being a connection identifier index that can then be used to
# find the specific connection again later. Common identifiers are current_user
@@ -1659,7 +1582,7 @@ module ActionCable::Connection::Identification::ClassMethods
# Note that anything marked as an identifier will automatically create a
# delegate by the same name on any channel instances created off the connection.
#
- # source://actioncable//lib/action_cable/connection/identification.rb#21
+ # pkg:gem/actioncable#lib/action_cable/connection/identification.rb:21
def identified_by(*identifiers); end
end
@@ -1668,149 +1591,138 @@ end
# Makes it possible for the RemoteConnection to disconnect a specific
# connection.
#
-# source://actioncable//lib/action_cable/connection/internal_channel.rb#11
+# pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:11
module ActionCable::Connection::InternalChannel
extend ::ActiveSupport::Concern
private
- # source://actioncable//lib/action_cable/connection/internal_channel.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:15
def internal_channel; end
- # source://actioncable//lib/action_cable/connection/internal_channel.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:36
def process_internal_message(message); end
- # source://actioncable//lib/action_cable/connection/internal_channel.rb#19
+ # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:19
def subscribe_to_internal_channel; end
- # source://actioncable//lib/action_cable/connection/internal_channel.rb#30
+ # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:30
def unsubscribe_from_internal_channel; end
end
# Allows us to buffer messages received from the WebSocket before the Connection
# has been fully initialized, and is ready to receive them.
#
-# source://actioncable//lib/action_cable/connection/message_buffer.rb#9
+# pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:9
class ActionCable::Connection::MessageBuffer
- # @return [MessageBuffer] a new instance of MessageBuffer
- #
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#10
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:10
def initialize(connection); end
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:15
def append(message); end
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#31
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:31
def process!; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#27
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:27
def processing?; end
private
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#48
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:48
def buffer(message); end
- # Returns the value of attribute buffered_messages.
- #
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#38
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:38
def buffered_messages; end
- # Returns the value of attribute connection.
- #
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#37
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:37
def connection; end
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#44
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:44
def receive(message); end
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#52
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:52
def receive_buffered_messages; end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/connection/message_buffer.rb#40
+ # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:40
def valid?(message); end
end
-# source://actioncable//lib/action_cable/connection/test_case.rb#14
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:14
class ActionCable::Connection::NonInferrableConnectionError < ::StandardError
- # @return [NonInferrableConnectionError] a new instance of NonInferrableConnectionError
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:15
def initialize(name); end
end
-# source://actioncable//lib/action_cable/connection/stream.rb#11
+# --
+# This class is heavily based on faye-websocket-ruby
+#
+# Copyright (c) 2010-2015 James Coglan
+#
+# pkg:gem/actioncable#lib/action_cable/connection/stream.rb:11
class ActionCable::Connection::Stream
- # @return [Stream] a new instance of Stream
- #
- # source://actioncable//lib/action_cable/connection/stream.rb#12
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:12
def initialize(event_loop, socket); end
- # source://actioncable//lib/action_cable/connection/stream.rb#28
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:28
def close; end
- # source://actioncable//lib/action_cable/connection/stream.rb#24
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:24
def each(&callback); end
- # source://actioncable//lib/action_cable/connection/stream.rb#72
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:72
def flush_write_buffer; end
- # source://actioncable//lib/action_cable/connection/stream.rb#98
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:98
def hijack_rack_socket; end
- # source://actioncable//lib/action_cable/connection/stream.rb#94
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:94
def receive(data); end
- # source://actioncable//lib/action_cable/connection/stream.rb#33
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:33
def shutdown; end
- # source://actioncable//lib/action_cable/connection/stream.rb#37
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:37
def write(data); end
private
- # source://actioncable//lib/action_cable/connection/stream.rb#110
+ # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:110
def clean_rack_hijack; end
end
-# source://actioncable//lib/action_cable/connection/stream_event_loop.rb#9
+# pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:9
class ActionCable::Connection::StreamEventLoop
- # @return [StreamEventLoop] a new instance of StreamEventLoop
- #
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#10
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:10
def initialize; end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#30
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:30
def attach(io, stream); end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#38
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:38
def detach(io, stream); end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#23
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:23
def post(task = T.unsafe(nil), &block); end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#56
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:56
def stop; end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#19
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:19
def timer(interval, &block); end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#47
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:47
def writes_pending(io); end
private
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#86
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:86
def run; end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#62
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:62
def spawn; end
- # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#82
+ # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:82
def wakeup; end
end
@@ -1820,50 +1732,44 @@ end
# connection. Responsible for routing incoming commands that arrive on the
# connection to the proper channel.
#
-# source://actioncable//lib/action_cable/connection/subscriptions.rb#14
+# pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:14
class ActionCable::Connection::Subscriptions
- # @return [Subscriptions] a new instance of Subscriptions
- #
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:15
def initialize(connection); end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#33
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:33
def add(data); end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#20
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:20
def execute_command(data); end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#64
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:64
def identifiers; end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#74
- def logger(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:74
+ def logger(*, **, &); end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#60
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:60
def perform_action(data); end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#50
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:50
def remove(data); end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#55
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:55
def remove_subscription(subscription); end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#68
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:68
def unsubscribe_from_all; end
private
- # Returns the value of attribute connection.
- #
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#73
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:73
def connection; end
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#76
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:76
def find(data); end
- # Returns the value of attribute subscriptions.
- #
- # source://actioncable//lib/action_cable/connection/subscriptions.rb#73
+ # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:73
def subscriptions; end
end
@@ -1874,45 +1780,41 @@ end
# as that logger will reset the tags between requests. The connection is
# long-lived, so it needs its own set of tags for its independent duration.
#
-# source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#13
+# pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:13
class ActionCable::Connection::TaggedLoggerProxy
- # @return [TaggedLoggerProxy] a new instance of TaggedLoggerProxy
- #
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#16
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:16
def initialize(logger, tags:); end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#21
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:21
def add_tags(*tags); end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36
def debug(message = T.unsafe(nil), &block); end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36
def error(message = T.unsafe(nil), &block); end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36
def fatal(message = T.unsafe(nil), &block); end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36
def info(message = T.unsafe(nil), &block); end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#26
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:26
def tag(logger, &block); end
- # Returns the value of attribute tags.
- #
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#14
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:14
def tags; end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36
def unknown(message = T.unsafe(nil), &block); end
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36
def warn(message = T.unsafe(nil), &block); end
private
- # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#42
+ # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:42
def log(type, message, &block); end
end
@@ -1985,7 +1887,7 @@ end
# tests ApplicationCable::Connection
# end
#
-# source://actioncable//lib/action_cable/connection/test_case.rb#138
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:138
class ActionCable::Connection::TestCase < ::ActiveSupport::TestCase
include ::ActiveSupport::Testing::ConstantLookup
include ::ActionCable::Connection::Assertions
@@ -1993,39 +1895,39 @@ class ActionCable::Connection::TestCase < ::ActiveSupport::TestCase
extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
extend ::ActionCable::Connection::TestCase::Behavior::ClassMethods
- # source://actioncable//lib/action_cable/connection/test_case.rb#148
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def _connection_class; end
- # source://actioncable//lib/action_cable/connection/test_case.rb#148
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def _connection_class=(_arg0); end
- # source://actioncable//lib/action_cable/connection/test_case.rb#148
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def _connection_class?; end
- # source://actioncable//lib/action_cable/connection/test_case.rb#150
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:150
def connection; end
class << self
- # source://actioncable//lib/action_cable/connection/test_case.rb#148
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def _connection_class; end
- # source://actioncable//lib/action_cable/connection/test_case.rb#148
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def _connection_class=(value); end
- # source://actioncable//lib/action_cable/connection/test_case.rb#148
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def _connection_class?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def __class_attr__connection_class; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148
def __class_attr__connection_class=(new_value); end
end
end
-# source://actioncable//lib/action_cable/connection/test_case.rb#139
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:139
module ActionCable::Connection::TestCase::Behavior
include ::ActionCable::Connection::Assertions
extend ::ActiveSupport::Concern
@@ -2045,20 +1947,20 @@ module ActionCable::Connection::TestCase::Behavior
# * session – session data (Hash)
# * env – additional Rack env configuration (Hash)
#
- # source://actioncable//lib/action_cable/connection/test_case.rb#192
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:192
def connect(path = T.unsafe(nil), **request_params); end
- # source://actioncable//lib/action_cable/connection/test_case.rb#212
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:212
def cookies; end
# Exert #disconnect on the connection under test.
#
- # source://actioncable//lib/action_cable/connection/test_case.rb#205
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:205
def disconnect; end
private
- # source://actioncable//lib/action_cable/connection/test_case.rb#217
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:217
def build_test_request(path, params: T.unsafe(nil), headers: T.unsafe(nil), session: T.unsafe(nil), env: T.unsafe(nil)); end
module GeneratedClassMethods
@@ -2074,36 +1976,30 @@ module ActionCable::Connection::TestCase::Behavior
end
end
-# source://actioncable//lib/action_cable/connection/test_case.rb#155
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:155
module ActionCable::Connection::TestCase::Behavior::ClassMethods
- # source://actioncable//lib/action_cable/connection/test_case.rb#167
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:167
def connection_class; end
- # @raise [NonInferrableConnectionError]
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#175
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:175
def determine_default_connection(name); end
- # source://actioncable//lib/action_cable/connection/test_case.rb#156
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:156
def tests(connection); end
end
-# source://actioncable//lib/action_cable/connection/test_case.rb#142
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:142
ActionCable::Connection::TestCase::Behavior::DEFAULT_PATH = T.let(T.unsafe(nil), String)
-# source://actioncable//lib/action_cable/connection/test_case.rb#57
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:57
module ActionCable::Connection::TestConnection
- # source://actioncable//lib/action_cable/connection/test_case.rb#60
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:60
def initialize(request); end
- # Returns the value of attribute logger.
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#58
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:58
def logger; end
- # Returns the value of attribute request.
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#58
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:58
def request; end
end
@@ -2111,45 +2007,33 @@ end
# but we want to make sure that users test against the correct types of cookies
# (i.e. signed or encrypted or plain)
#
-# source://actioncable//lib/action_cable/connection/test_case.rb#43
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:43
class ActionCable::Connection::TestCookieJar < ::ActionCable::Connection::TestCookies
- # source://actioncable//lib/action_cable/connection/test_case.rb#48
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:48
def encrypted; end
- # source://actioncable//lib/action_cable/connection/test_case.rb#44
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:44
def signed; end
end
-# source://actioncable//lib/action_cable/connection/test_case.rb#33
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:33
class ActionCable::Connection::TestCookies < ::ActiveSupport::HashWithIndifferentAccess
- # source://actioncable//lib/action_cable/connection/test_case.rb#34
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:34
def []=(name, options); end
end
-# source://actioncable//lib/action_cable/connection/test_case.rb#53
+# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:53
class ActionCable::Connection::TestRequest < ::ActionDispatch::TestRequest
- # Returns the value of attribute cookie_jar.
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#54
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54
def cookie_jar; end
- # Sets the attribute cookie_jar
- #
- # @param value the value to set the attribute cookie_jar to.
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#54
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54
def cookie_jar=(_arg0); end
- # Returns the value of attribute session.
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#54
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54
def session; end
- # Sets the attribute session
- #
- # @param value the value to set the attribute session to.
- #
- # source://actioncable//lib/action_cable/connection/test_case.rb#54
+ # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54
def session=(_arg0); end
end
@@ -2157,60 +2041,42 @@ end
#
# Wrap the real socket to minimize the externally-presented API
#
-# source://actioncable//lib/action_cable/connection/web_socket.rb#12
+# pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:12
class ActionCable::Connection::WebSocket
- # @return [WebSocket] a new instance of WebSocket
- #
- # source://actioncable//lib/action_cable/connection/web_socket.rb#13
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:13
def initialize(env, event_target, event_loop, protocols: T.unsafe(nil)); end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/connection/web_socket.rb#21
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:21
def alive?; end
- # source://actioncable//lib/action_cable/connection/web_socket.rb#29
- def close(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:29
+ def close(*, **, &); end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/connection/web_socket.rb#17
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:17
def possible?; end
- # source://actioncable//lib/action_cable/connection/web_socket.rb#33
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:33
def protocol; end
- # source://actioncable//lib/action_cable/connection/web_socket.rb#37
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:37
def rack_response; end
- # source://actioncable//lib/action_cable/connection/web_socket.rb#25
- def transmit(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:25
+ def transmit(*, **, &); end
private
- # Returns the value of attribute websocket.
- #
- # source://actioncable//lib/action_cable/connection/web_socket.rb#42
+ # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:42
def websocket; end
end
-# source://actioncable//lib/action_cable/engine.rb#10
-class ActionCable::Engine < ::Rails::Engine
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
- end
-end
+# pkg:gem/actioncable#lib/action_cable/engine.rb:10
+class ActionCable::Engine < ::Rails::Engine; end
-# source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#6
+# pkg:gem/actioncable#lib/action_cable/helpers/action_cable_helper.rb:6
module ActionCable::Helpers; end
-# source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#7
+# pkg:gem/actioncable#lib/action_cable/helpers/action_cable_helper.rb:7
module ActionCable::Helpers::ActionCableHelper
# Returns an "action-cable-url" meta tag with the value of the URL specified in
# your configuration. Ensure this is above your JavaScript tag:
@@ -2240,11 +2106,11 @@ module ActionCable::Helpers::ActionCableHelper
# <%= action_cable_meta_tag %> would render:
# =>
#
- # source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#36
+ # pkg:gem/actioncable#lib/action_cable/helpers/action_cable_helper.rb:36
def action_cable_meta_tag; end
end
-# source://actioncable//lib/action_cable.rb#58
+# pkg:gem/actioncable#lib/action_cable.rb:58
ActionCable::INTERNAL = T.let(T.unsafe(nil), Hash)
# # Action Cable Remote Connections
@@ -2271,19 +2137,15 @@ ActionCable::INTERNAL = T.let(T.unsafe(nil), Hash)
#
# ActionCable.server.remote_connections.where(current_user: User.find(1)).disconnect(reconnect: false)
#
-# source://actioncable//lib/action_cable/remote_connections.rb#31
+# pkg:gem/actioncable#lib/action_cable/remote_connections.rb:31
class ActionCable::RemoteConnections
- # @return [RemoteConnections] a new instance of RemoteConnections
- #
- # source://actioncable//lib/action_cable/remote_connections.rb#34
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:34
def initialize(server); end
- # Returns the value of attribute server.
- #
- # source://actioncable//lib/action_cable/remote_connections.rb#32
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:32
def server; end
- # source://actioncable//lib/action_cable/remote_connections.rb#38
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:38
def where(identifier); end
end
@@ -2293,74 +2155,66 @@ end
# `ActionCable.server.remote_connections.where(*)`. Exists solely for the
# purpose of calling #disconnect on that connection.
#
-# source://actioncable//lib/action_cable/remote_connections.rb#47
+# pkg:gem/actioncable#lib/action_cable/remote_connections.rb:47
class ActionCable::RemoteConnections::RemoteConnection
include ::ActionCable::Connection::InternalChannel
include ::ActionCable::Connection::Identification
extend ::ActionCable::Connection::Identification::ClassMethods
- # @return [RemoteConnection] a new instance of RemoteConnection
- #
- # source://actioncable//lib/action_cable/remote_connections.rb#52
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:52
def initialize(server, ids); end
# Uses the internal channel to disconnect the connection.
#
- # source://actioncable//lib/action_cable/remote_connections.rb#58
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:58
def disconnect(reconnect: T.unsafe(nil)); end
- # source://actioncable//lib/action_cable/remote_connections.rb#63
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def identifiers; end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def identifiers=(_arg0); end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def identifiers?; end
protected
- # Returns the value of attribute server.
- #
- # source://actioncable//lib/action_cable/remote_connections.rb#68
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:68
def server; end
private
- # @raise [InvalidIdentifiersError]
- #
- # source://actioncable//lib/action_cable/remote_connections.rb#71
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:71
def set_identifier_instance_vars(ids); end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/remote_connections.rb#76
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:76
def valid_identifiers?(ids); end
class << self
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def identifiers; end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def identifiers=(value); end
- # source://actioncable//lib/action_cable/connection/identification.rb#11
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def identifiers?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def __class_attr_identifiers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50
def __class_attr_identifiers=(new_value); end
end
end
-# source://actioncable//lib/action_cable/remote_connections.rb#48
+# pkg:gem/actioncable#lib/action_cable/remote_connections.rb:48
class ActionCable::RemoteConnections::RemoteConnection::InvalidIdentifiersError < ::StandardError; end
-# source://actioncable//lib/action_cable/server/base.rb#8
+# pkg:gem/actioncable#lib/action_cable/server/base.rb:8
module ActionCable::Server; end
# # Action Cable Server Base
@@ -2373,60 +2227,54 @@ module ActionCable::Server; end
# Also, this is the server instance used for broadcasting. See Broadcasting for
# more information.
#
-# source://actioncable//lib/action_cable/server/base.rb#18
+# pkg:gem/actioncable#lib/action_cable/server/base.rb:18
class ActionCable::Server::Base
include ::ActionCable::Server::Broadcasting
include ::ActionCable::Server::Connections
- # @return [Base] a new instance of Base
- #
- # source://actioncable//lib/action_cable/server/base.rb#31
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:31
def initialize(config: T.unsafe(nil)); end
# Called by Rack to set up the server.
#
- # source://actioncable//lib/action_cable/server/base.rb#38
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:38
def call(env); end
- # Returns the value of attribute config.
- #
- # source://actioncable//lib/action_cable/server/base.rb#24
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:24
def config; end
# All of the identifiers applied to the connection class associated with this
# server.
#
- # source://actioncable//lib/action_cable/server/base.rb#102
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:102
def connection_identifiers; end
# Disconnect all the connections identified by `identifiers` on this server or
# any others via RemoteConnections.
#
- # source://actioncable//lib/action_cable/server/base.rb#46
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:46
def disconnect(identifiers); end
- # source://actioncable//lib/action_cable/server/base.rb#71
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:71
def event_loop; end
- # source://actioncable//lib/action_cable/server/base.rb#27
- def logger(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:27
+ def logger(*, **, &); end
- # Returns the value of attribute mutex.
- #
- # source://actioncable//lib/action_cable/server/base.rb#29
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:29
def mutex; end
# Adapter used for all streams/broadcasting.
#
- # source://actioncable//lib/action_cable/server/base.rb#96
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:96
def pubsub; end
# Gateway to RemoteConnections. See that class for details.
#
- # source://actioncable//lib/action_cable/server/base.rb#67
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:67
def remote_connections; end
- # source://actioncable//lib/action_cable/server/base.rb#50
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:50
def restart; end
# The worker pool is where we run connection callbacks and channel actions. We
@@ -2446,17 +2294,17 @@ class ActionCable::Server::Base
# connections. Use a smaller worker pool or a larger database connection pool
# instead.
#
- # source://actioncable//lib/action_cable/server/base.rb#91
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:91
def worker_pool; end
class << self
- # source://actioncable//lib/action_cable/server/base.rb#22
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:22
def config; end
- # source://actioncable//lib/action_cable/server/base.rb#22
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:22
def config=(val); end
- # source://actioncable//lib/action_cable/server/base.rb#26
+ # pkg:gem/actioncable#lib/action_cable/server/base.rb:26
def logger; end
end
end
@@ -2483,45 +2331,37 @@ end
# received: (data) ->
# new Notification data['title'], body: data['body']
#
-# source://actioncable//lib/action_cable/server/broadcasting.rb#28
+# pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:28
module ActionCable::Server::Broadcasting
# Broadcast a hash directly to a named `broadcasting`. This will later be JSON
# encoded.
#
- # source://actioncable//lib/action_cable/server/broadcasting.rb#31
+ # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:31
def broadcast(broadcasting, message, coder: T.unsafe(nil)); end
# Returns a broadcaster for a named `broadcasting` that can be reused. Useful
# when you have an object that may need multiple spots to transmit to a specific
# broadcasting over and over.
#
- # source://actioncable//lib/action_cable/server/broadcasting.rb#38
+ # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:38
def broadcaster_for(broadcasting, coder: T.unsafe(nil)); end
end
-# source://actioncable//lib/action_cable/server/broadcasting.rb#43
+# pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:43
class ActionCable::Server::Broadcasting::Broadcaster
- # @return [Broadcaster] a new instance of Broadcaster
- #
- # source://actioncable//lib/action_cable/server/broadcasting.rb#46
+ # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:46
def initialize(server, broadcasting, coder:); end
- # source://actioncable//lib/action_cable/server/broadcasting.rb#50
+ # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:50
def broadcast(message); end
- # Returns the value of attribute broadcasting.
- #
- # source://actioncable//lib/action_cable/server/broadcasting.rb#44
+ # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:44
def broadcasting; end
- # Returns the value of attribute coder.
- #
- # source://actioncable//lib/action_cable/server/broadcasting.rb#44
+ # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:44
def coder; end
- # Returns the value of attribute server.
- #
- # source://actioncable//lib/action_cable/server/broadcasting.rb#44
+ # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:44
def server; end
end
@@ -2531,186 +2371,100 @@ end
# ActionCable.server.config, which allows you to tweak Action Cable
# configuration in a Rails config initializer.
#
-# source://actioncable//lib/action_cable/server/configuration.rb#14
+# pkg:gem/actioncable#lib/action_cable/server/configuration.rb:14
class ActionCable::Server::Configuration
- # @return [Configuration] a new instance of Configuration
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#22
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:22
def initialize; end
- # Returns the value of attribute allow_same_origin_as_host.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def allow_same_origin_as_host; end
- # Sets the attribute allow_same_origin_as_host
- #
- # @param value the value to set the attribute allow_same_origin_as_host to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def allow_same_origin_as_host=(_arg0); end
- # Returns the value of attribute allowed_request_origins.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def allowed_request_origins; end
- # Sets the attribute allowed_request_origins
- #
- # @param value the value to set the attribute allowed_request_origins to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def allowed_request_origins=(_arg0); end
- # Returns the value of attribute cable.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#18
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18
def cable; end
- # Sets the attribute cable
- #
- # @param value the value to set the attribute cable to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#18
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18
def cable=(_arg0); end
- # Returns the value of attribute connection_class.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#16
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16
def connection_class; end
- # Sets the attribute connection_class
- #
- # @param value the value to set the attribute connection_class to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#16
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16
def connection_class=(_arg0); end
- # Returns the value of attribute disable_request_forgery_protection.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def disable_request_forgery_protection; end
- # Sets the attribute disable_request_forgery_protection
- #
- # @param value the value to set the attribute disable_request_forgery_protection to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def disable_request_forgery_protection=(_arg0); end
- # Returns the value of attribute filter_parameters.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def filter_parameters; end
- # Sets the attribute filter_parameters
- #
- # @param value the value to set the attribute filter_parameters to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17
def filter_parameters=(_arg0); end
- # Returns the value of attribute health_check_application.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#20
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20
def health_check_application; end
- # Sets the attribute health_check_application
- #
- # @param value the value to set the attribute health_check_application to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#20
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20
def health_check_application=(_arg0); end
- # Returns the value of attribute health_check_path.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#20
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20
def health_check_path; end
- # Sets the attribute health_check_path
- #
- # @param value the value to set the attribute health_check_path to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#20
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20
def health_check_path=(_arg0); end
- # Returns the value of attribute log_tags.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#15
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15
def log_tags; end
- # Sets the attribute log_tags
- #
- # @param value the value to set the attribute log_tags to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#15
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15
def log_tags=(_arg0); end
- # Returns the value of attribute logger.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#15
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15
def logger; end
- # Sets the attribute logger
- #
- # @param value the value to set the attribute logger to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#15
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15
def logger=(_arg0); end
- # Returns the value of attribute mount_path.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#18
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18
def mount_path; end
- # Sets the attribute mount_path
- #
- # @param value the value to set the attribute mount_path to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#18
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18
def mount_path=(_arg0); end
- # Returns the value of attribute precompile_assets.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#19
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:19
def precompile_assets; end
- # Sets the attribute precompile_assets
- #
- # @param value the value to set the attribute precompile_assets to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#19
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:19
def precompile_assets=(_arg0); end
# Returns constant of subscription adapter specified in config/cable.yml. If the
# adapter cannot be found, this will default to the Redis adapter. Also makes
# sure proper dependencies are required.
#
- # source://actioncable//lib/action_cable/server/configuration.rb#40
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:40
def pubsub_adapter; end
- # Returns the value of attribute url.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#18
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18
def url; end
- # Sets the attribute url
- #
- # @param value the value to set the attribute url to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#18
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18
def url=(_arg0); end
- # Returns the value of attribute worker_pool_size.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#16
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16
def worker_pool_size; end
- # Sets the attribute worker_pool_size
- #
- # @param value the value to set the attribute worker_pool_size to.
- #
- # source://actioncable//lib/action_cable/server/configuration.rb#16
+ # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16
def worker_pool_size=(_arg0); end
end
@@ -2721,18 +2475,18 @@ end
# you can't use this collection as a full list of all of the connections
# established against your application. Instead, use RemoteConnections for that.
#
-# source://actioncable//lib/action_cable/server/connections.rb#13
+# pkg:gem/actioncable#lib/action_cable/server/connections.rb:13
module ActionCable::Server::Connections
- # source://actioncable//lib/action_cable/server/connections.rb#20
+ # pkg:gem/actioncable#lib/action_cable/server/connections.rb:20
def add_connection(connection); end
- # source://actioncable//lib/action_cable/server/connections.rb#16
+ # pkg:gem/actioncable#lib/action_cable/server/connections.rb:16
def connections; end
- # source://actioncable//lib/action_cable/server/connections.rb#39
+ # pkg:gem/actioncable#lib/action_cable/server/connections.rb:39
def open_connections_statistics; end
- # source://actioncable//lib/action_cable/server/connections.rb#24
+ # pkg:gem/actioncable#lib/action_cable/server/connections.rb:24
def remove_connection(connection); end
# WebSocket connection implementations differ on when they'll mark a connection
@@ -2741,248 +2495,222 @@ module ActionCable::Server::Connections
# second heartbeat runs on all connections. If the beat fails, we automatically
# disconnect.
#
- # source://actioncable//lib/action_cable/server/connections.rb#33
+ # pkg:gem/actioncable#lib/action_cable/server/connections.rb:33
def setup_heartbeat_timer; end
end
-# source://actioncable//lib/action_cable/server/connections.rb#14
+# pkg:gem/actioncable#lib/action_cable/server/connections.rb:14
ActionCable::Server::Connections::BEAT_INTERVAL = T.let(T.unsafe(nil), Integer)
# Worker used by Server.send_async to do connection work in threads.
#
-# source://actioncable//lib/action_cable/server/worker.rb#12
+# pkg:gem/actioncable#lib/action_cable/server/worker.rb:12
class ActionCable::Server::Worker
include ::ActiveSupport::Callbacks
include ::ActionCable::Server::Worker::ActiveRecordConnectionManagement
extend ::ActiveSupport::Callbacks::ClassMethods
extend ::ActiveSupport::DescendantsTracker
- # @return [Worker] a new instance of Worker
- #
- # source://actioncable//lib/action_cable/server/worker.rb#21
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:21
def initialize(max_size: T.unsafe(nil)); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16
def _run_work_callbacks(&block); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16
def _work_callbacks; end
- # source://actioncable//lib/action_cable/server/worker.rb#48
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:48
def async_exec(receiver, *args, connection:, &block); end
- # source://actioncable//lib/action_cable/server/worker.rb#52
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:52
def async_invoke(receiver, method, *args, connection: T.unsafe(nil), &block); end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15
def connection; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15
def connection=(obj); end
- # Returns the value of attribute executor.
- #
- # source://actioncable//lib/action_cable/server/worker.rb#19
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:19
def executor; end
# Stop processing work: any work that has not already started running will be
# discarded from the queue
#
- # source://actioncable//lib/action_cable/server/worker.rb#32
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:32
def halt; end
- # source://actioncable//lib/action_cable/server/worker.rb#58
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:58
def invoke(receiver, method, *args, connection:, &block); end
- # @return [Boolean]
- #
- # source://actioncable//lib/action_cable/server/worker.rb#36
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:36
def stopping?; end
- # source://actioncable//lib/action_cable/server/worker.rb#40
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:40
def work(connection, &block); end
private
- # source://actioncable//lib/action_cable/server/worker.rb#70
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:70
def logger; end
class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13
def __callbacks=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16
def _work_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16
def _work_callbacks=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15
def connection; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15
def connection=(obj); end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13
def __class_attr___callbacks=(new_value); end
end
end
-# source://actioncable//lib/action_cable/server/worker/active_record_connection_management.rb#8
+# pkg:gem/actioncable#lib/action_cable/server/worker/active_record_connection_management.rb:8
module ActionCable::Server::Worker::ActiveRecordConnectionManagement
extend ::ActiveSupport::Concern
- # source://actioncable//lib/action_cable/server/worker/active_record_connection_management.rb#17
+ # pkg:gem/actioncable#lib/action_cable/server/worker/active_record_connection_management.rb:17
def with_database_connections(&block); end
end
-# source://actioncable//lib/action_cable/subscription_adapter/async.rb#6
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:6
module ActionCable::SubscriptionAdapter; end
-# source://actioncable//lib/action_cable/subscription_adapter/async.rb#7
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:7
class ActionCable::SubscriptionAdapter::Async < ::ActionCable::SubscriptionAdapter::Inline
private
- # source://actioncable//lib/action_cable/subscription_adapter/async.rb#9
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:9
def new_subscriber_map; end
end
-# source://actioncable//lib/action_cable/subscription_adapter/async.rb#13
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:13
class ActionCable::SubscriptionAdapter::Async::AsyncSubscriberMap < ::ActionCable::SubscriptionAdapter::SubscriberMap
- # @return [AsyncSubscriberMap] a new instance of AsyncSubscriberMap
- #
- # source://actioncable//lib/action_cable/subscription_adapter/async.rb#14
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:14
def initialize(event_loop); end
- # source://actioncable//lib/action_cable/subscription_adapter/async.rb#19
- def add_subscriber(*_arg0); end
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:19
+ def add_subscriber(*); end
- # source://actioncable//lib/action_cable/subscription_adapter/async.rb#23
- def invoke_callback(*_arg0); end
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:23
+ def invoke_callback(*); end
end
-# source://actioncable//lib/action_cable/subscription_adapter/base.rb#7
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:7
class ActionCable::SubscriptionAdapter::Base
- # @return [Base] a new instance of Base
- #
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#10
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:10
def initialize(server); end
- # @raise [NotImplementedError]
- #
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#15
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:15
def broadcast(channel, payload); end
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#31
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:31
def identifier; end
- # Returns the value of attribute logger.
- #
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#8
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:8
def logger; end
- # Returns the value of attribute server.
- #
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#8
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:8
def server; end
- # @raise [NotImplementedError]
- #
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#27
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:27
def shutdown; end
- # @raise [NotImplementedError]
- #
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#19
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:19
def subscribe(channel, message_callback, success_callback = T.unsafe(nil)); end
- # @raise [NotImplementedError]
- #
- # source://actioncable//lib/action_cable/subscription_adapter/base.rb#23
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:23
def unsubscribe(channel, message_callback); end
end
-# source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#7
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:7
module ActionCable::SubscriptionAdapter::ChannelPrefix
- # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#8
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:8
def broadcast(channel, payload); end
- # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#13
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:13
def subscribe(channel, callback, success_callback = T.unsafe(nil)); end
- # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#18
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:18
def unsubscribe(channel, callback); end
private
# Returns the channel name, including channel_prefix specified in cable.yml
#
- # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#25
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:25
def channel_with_prefix(channel); end
end
-# source://actioncable//lib/action_cable/subscription_adapter/inline.rb#7
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:7
class ActionCable::SubscriptionAdapter::Inline < ::ActionCable::SubscriptionAdapter::Base
- # @return [Inline] a new instance of Inline
- #
- # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#8
- def initialize(*_arg0); end
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:8
+ def initialize(*); end
- # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#13
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:13
def broadcast(channel, payload); end
- # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#25
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:25
def shutdown; end
- # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#17
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:17
def subscribe(channel, callback, success_callback = T.unsafe(nil)); end
- # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#21
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:21
def unsubscribe(channel, callback); end
private
- # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#34
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:34
def new_subscriber_map; end
- # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#30
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:30
def subscriber_map; end
end
-# source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#7
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:7
class ActionCable::SubscriptionAdapter::SubscriberMap
- # @return [SubscriberMap] a new instance of SubscriberMap
- #
- # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#8
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:8
def initialize; end
- # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#49
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:49
def add_channel(channel, on_success); end
- # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#13
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:13
def add_subscriber(channel, subscriber, on_success); end
- # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#38
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:38
def broadcast(channel, message); end
- # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#56
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:56
def invoke_callback(callback, message); end
- # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#53
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:53
def remove_channel(channel); end
- # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#27
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:27
def remove_subscriber(channel, subscriber); end
end
@@ -2997,36 +2725,36 @@ end
# NOTE: `Test` adapter extends the `ActionCable::SubscriptionAdapter::Async`
# adapter, so it could be used in system tests too.
#
-# source://actioncable//lib/action_cable/subscription_adapter/test.rb#17
+# pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:17
class ActionCable::SubscriptionAdapter::Test < ::ActionCable::SubscriptionAdapter::Async
- # source://actioncable//lib/action_cable/subscription_adapter/test.rb#18
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:18
def broadcast(channel, payload); end
- # source://actioncable//lib/action_cable/subscription_adapter/test.rb#23
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:23
def broadcasts(channel); end
- # source://actioncable//lib/action_cable/subscription_adapter/test.rb#31
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:31
def clear; end
- # source://actioncable//lib/action_cable/subscription_adapter/test.rb#27
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:27
def clear_messages(channel); end
private
- # source://actioncable//lib/action_cable/subscription_adapter/test.rb#36
+ # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:36
def channels_data; end
end
-# source://actioncable//lib/action_cable/test_case.rb#8
+# pkg:gem/actioncable#lib/action_cable/test_case.rb:8
class ActionCable::TestCase < ::ActiveSupport::TestCase
include ::ActionCable::TestHelper
end
# Provides helper methods for testing Action Cable broadcasting
#
-# source://actioncable//lib/action_cable/test_helper.rb#7
+# pkg:gem/actioncable#lib/action_cable/test_helper.rb:7
module ActionCable::TestHelper
- # source://actioncable//lib/action_cable/test_helper.rb#18
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:18
def after_teardown; end
# Asserts that the specified message has been sent to the stream.
@@ -3045,7 +2773,7 @@ module ActionCable::TestHelper
# end
# end
#
- # source://actioncable//lib/action_cable/test_helper.rb#116
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:116
def assert_broadcast_on(stream, data, &block); end
# Asserts that the number of broadcasted messages to the stream matches the
@@ -3073,7 +2801,7 @@ module ActionCable::TestHelper
# end
# end
#
- # source://actioncable//lib/action_cable/test_helper.rb#48
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:48
def assert_broadcasts(stream, number, &block); end
# Asserts that no messages have been sent to the stream.
@@ -3096,14 +2824,14 @@ module ActionCable::TestHelper
#
# assert_broadcasts 'messages', 0, &block
#
- # source://actioncable//lib/action_cable/test_helper.rb#80
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:80
def assert_no_broadcasts(stream, &block); end
- # source://actioncable//lib/action_cable/test_helper.rb#8
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:8
def before_setup; end
- # source://actioncable//lib/action_cable/test_helper.rb#146
- def broadcasts(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:146
+ def broadcasts(*, **, &); end
# Returns the messages that are broadcasted in the block.
#
@@ -3117,35 +2845,35 @@ module ActionCable::TestHelper
# assert_equal({ text: 'how are you?' }, messages.last)
# end
#
- # source://actioncable//lib/action_cable/test_helper.rb#96
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:96
def capture_broadcasts(stream, &block); end
- # source://actioncable//lib/action_cable/test_helper.rb#146
- def clear_messages(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:146
+ def clear_messages(*, **, &); end
- # source://actioncable//lib/action_cable/test_helper.rb#142
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:142
def pubsub_adapter; end
private
- # source://actioncable//lib/action_cable/test_helper.rb#149
+ # pkg:gem/actioncable#lib/action_cable/test_helper.rb:149
def new_broadcasts_from(current_messages, stream, assertion, &block); end
end
-# source://actioncable//lib/action_cable/gem_version.rb#11
+# pkg:gem/actioncable#lib/action_cable/gem_version.rb:11
module ActionCable::VERSION; end
-# source://actioncable//lib/action_cable/gem_version.rb#12
+# pkg:gem/actioncable#lib/action_cable/gem_version.rb:12
ActionCable::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
-# source://actioncable//lib/action_cable/gem_version.rb#13
+# pkg:gem/actioncable#lib/action_cable/gem_version.rb:13
ActionCable::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
-# source://actioncable//lib/action_cable/gem_version.rb#15
+# pkg:gem/actioncable#lib/action_cable/gem_version.rb:15
ActionCable::VERSION::PRE = T.let(T.unsafe(nil), String)
-# source://actioncable//lib/action_cable/gem_version.rb#17
+# pkg:gem/actioncable#lib/action_cable/gem_version.rb:17
ActionCable::VERSION::STRING = T.let(T.unsafe(nil), String)
-# source://actioncable//lib/action_cable/gem_version.rb#14
+# pkg:gem/actioncable#lib/action_cable/gem_version.rb:14
ActionCable::VERSION::TINY = T.let(T.unsafe(nil), Integer)
diff --git a/sorbet/rbi/gems/actionmailbox@8.0.5.1.rbi b/sorbet/rbi/gems/actionmailbox@8.0.5.1.rbi
deleted file mode 100644
index 74b1f63d..00000000
--- a/sorbet/rbi/gems/actionmailbox@8.0.5.1.rbi
+++ /dev/null
@@ -1,1968 +0,0 @@
-# typed: true
-
-# DO NOT EDIT MANUALLY
-# This is an autogenerated file for types exported from the `actionmailbox` gem.
-# Please instead update this file by running `bin/tapioca gem actionmailbox`.
-
-
-# :markup: markdown
-# :include: ../README.md
-#
-# source://actionmailbox//lib/action_mailbox/gem_version.rb#3
-module ActionMailbox
- extend ::ActiveSupport::Autoload
-
- # source://actionmailbox//lib/action_mailbox.rb#22
- def incinerate; end
-
- # source://actionmailbox//lib/action_mailbox.rb#22
- def incinerate=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#23
- def incinerate_after; end
-
- # source://actionmailbox//lib/action_mailbox.rb#23
- def incinerate_after=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#20
- def ingress; end
-
- # source://actionmailbox//lib/action_mailbox.rb#20
- def ingress=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#21
- def logger; end
-
- # source://actionmailbox//lib/action_mailbox.rb#21
- def logger=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#24
- def queues; end
-
- # source://actionmailbox//lib/action_mailbox.rb#24
- def queues=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#25
- def storage_service; end
-
- # source://actionmailbox//lib/action_mailbox.rb#25
- def storage_service=(val); end
-
- class << self
- # source://actionmailbox//lib/action_mailbox/deprecator.rb#4
- def deprecator; end
-
- # Returns the currently loaded version of Action Mailbox as a +Gem::Version+.
- #
- # source://actionmailbox//lib/action_mailbox/gem_version.rb#5
- def gem_version; end
-
- # source://actionmailbox//lib/action_mailbox.rb#22
- def incinerate; end
-
- # source://actionmailbox//lib/action_mailbox.rb#22
- def incinerate=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#23
- def incinerate_after; end
-
- # source://actionmailbox//lib/action_mailbox.rb#23
- def incinerate_after=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#20
- def ingress; end
-
- # source://actionmailbox//lib/action_mailbox.rb#20
- def ingress=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#21
- def logger; end
-
- # source://actionmailbox//lib/action_mailbox.rb#21
- def logger=(val); end
-
- # source://actionmailbox//lib/action_mailbox.rb#24
- def queues; end
-
- # source://actionmailbox//lib/action_mailbox.rb#24
- def queues=(val); end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#413
- def railtie_helpers_paths; end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#396
- def railtie_namespace; end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#417
- def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
-
- # source://actionmailbox//lib/action_mailbox.rb#25
- def storage_service; end
-
- # source://actionmailbox//lib/action_mailbox.rb#25
- def storage_service=(val); end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#402
- def table_name_prefix; end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#409
- def use_relative_model_naming?; end
-
- # Returns the currently loaded version of Action Mailbox as a +Gem::Version+.
- #
- # source://actionmailbox//lib/action_mailbox/version.rb#7
- def version; end
- end
-end
-
-# = Action Mailbox \Base
-#
-# The base class for all application mailboxes. Not intended to be inherited from directly. Inherit from
-# +ApplicationMailbox+ instead, as that's where the app-specific routing is configured. This routing
-# is specified in the following ways:
-#
-# class ApplicationMailbox < ActionMailbox::Base
-# # Any of the recipients of the mail (whether to, cc, bcc) are matched against the regexp.
-# routing /^replies@/i => :replies
-#
-# # Any of the recipients of the mail (whether to, cc, bcc) needs to be an exact match for the string.
-# routing "help@example.com" => :help
-#
-# # Any callable (proc, lambda, etc) object is passed the inbound_email record and is a match if true.
-# routing ->(inbound_email) { inbound_email.mail.to.size > 2 } => :multiple_recipients
-#
-# # Any object responding to #match? is called with the inbound_email record as an argument. Match if true.
-# routing CustomAddress.new => :custom
-#
-# # Any inbound_email that has not been already matched will be sent to the BackstopMailbox.
-# routing :all => :backstop
-# end
-#
-# Application mailboxes need to override the #process method, which is invoked by the framework after
-# callbacks have been run. The callbacks available are: +before_processing+, +after_processing+, and
-# +around_processing+. The primary use case is to ensure that certain preconditions to processing are fulfilled
-# using +before_processing+ callbacks.
-#
-# If a precondition fails to be met, you can halt the processing using the +#bounced!+ method,
-# which will silently prevent any further processing, but not actually send out any bounce notice. You
-# can also pair this behavior with the invocation of an Action Mailer class responsible for sending out
-# an actual bounce email. This is done using the #bounce_with method, which takes the mail object returned
-# by an Action Mailer method, like so:
-#
-# class ForwardsMailbox < ApplicationMailbox
-# before_processing :ensure_sender_is_a_user
-#
-# private
-# def ensure_sender_is_a_user
-# unless User.exist?(email_address: mail.from)
-# bounce_with UserRequiredMailer.missing(inbound_email)
-# end
-# end
-# end
-#
-# During the processing of the inbound email, the status will be tracked. Before processing begins,
-# the email will normally have the +pending+ status. Once processing begins, just before callbacks
-# and the #process method is called, the status is changed to +processing+. If processing is allowed to
-# complete, the status is changed to +delivered+. If a bounce is triggered, then +bounced+. If an unhandled
-# exception is bubbled up, then +failed+.
-#
-# Exceptions can be handled at the class level using the familiar
-# ActiveSupport::Rescuable approach:
-#
-# class ForwardsMailbox < ApplicationMailbox
-# rescue_from(ApplicationSpecificVerificationError) { bounced! }
-# end
-#
-# source://actionmailbox//lib/action_mailbox/base.rb#66
-class ActionMailbox::Base
- include ::ActiveSupport::Rescuable
- include ::ActionMailbox::Routing
- include ::ActiveSupport::Callbacks
- include ::ActionMailbox::Callbacks
- extend ::ActiveSupport::Rescuable::ClassMethods
- extend ::ActionMailbox::Routing::ClassMethods
- extend ::ActiveSupport::Callbacks::ClassMethods
- extend ::ActiveSupport::DescendantsTracker
- extend ::ActionMailbox::Callbacks::ClassMethods
-
- # @return [Base] a new instance of Base
- #
- # source://actionmailbox//lib/action_mailbox/base.rb#79
- def initialize(inbound_email); end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
- def _process_callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
- def _run_process_callbacks(&block); end
-
- # Immediately sends the given +message+ and changes the inbound email's status to +:bounced+.
- #
- # source://actionmailbox//lib/action_mailbox/base.rb#111
- def bounce_now_with(message); end
-
- # Enqueues the given +message+ for delivery and changes the inbound email's status to +:bounced+.
- #
- # source://actionmailbox//lib/action_mailbox/base.rb#105
- def bounce_with(message); end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#71
- def bounced!(*_arg0, **_arg1, &_arg2); end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#71
- def delivered!(*_arg0, **_arg1, &_arg2); end
-
- # @return [Boolean]
- #
- # source://actionmailbox//lib/action_mailbox/base.rb#100
- def finished_processing?; end
-
- # Returns the value of attribute inbound_email.
- #
- # source://actionmailbox//lib/action_mailbox/base.rb#70
- def inbound_email; end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#73
- def logger(&_arg0); end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#71
- def mail(*_arg0, **_arg1, &_arg2); end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#83
- def perform_processing; end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#96
- def process; end
-
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
- def rescue_handlers; end
-
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
- def rescue_handlers=(_arg0); end
-
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
- def rescue_handlers?; end
-
- # source://actionmailbox//lib/action_mailbox/routing.rb#9
- def router; end
-
- # source://actionmailbox//lib/action_mailbox/routing.rb#9
- def router=(val); end
-
- private
-
- # source://actionmailbox//lib/action_mailbox/base.rb#117
- def instrumentation_payload; end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#124
- def track_status_of_inbound_email; end
-
- class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks=(value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
- def _process_callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
- def _process_callbacks=(value); end
-
- # source://actionmailbox//lib/action_mailbox/base.rb#75
- def receive(inbound_email); end
-
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
- def rescue_handlers; end
-
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
- def rescue_handlers=(value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
- def rescue_handlers?; end
-
- # source://actionmailbox//lib/action_mailbox/routing.rb#9
- def router; end
-
- # source://actionmailbox//lib/action_mailbox/routing.rb#9
- def router=(val); end
-
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_rescue_handlers; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_rescue_handlers=(new_value); end
- end
-end
-
-class ActionMailbox::BaseController < ::ActionController::Base
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def authenticate_by_password; end
- def ensure_configured; end
- def ingress_name; end
- def password; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-# = Action Mailbox \Callbacks
-#
-# Defines the callbacks related to processing.
-#
-# source://actionmailbox//lib/action_mailbox/callbacks.rb#9
-module ActionMailbox::Callbacks
- extend ::ActiveSupport::Concern
- include GeneratedInstanceMethods
- include ::ActiveSupport::Callbacks
-
- mixes_in_class_methods GeneratedClassMethods
- mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods
- mixes_in_class_methods ::ActiveSupport::DescendantsTracker
- mixes_in_class_methods ::ActionMailbox::Callbacks::ClassMethods
-
- module GeneratedClassMethods
- def __callbacks; end
- def __callbacks=(value); end
- end
-
- module GeneratedInstanceMethods
- def __callbacks; end
- end
-end
-
-# source://actionmailbox//lib/action_mailbox/callbacks.rb#0
-module ActionMailbox::Callbacks::ClassMethods
- # source://actionmailbox//lib/action_mailbox/callbacks.rb#27
- def after_processing(*methods, &block); end
-
- # source://actionmailbox//lib/action_mailbox/callbacks.rb#31
- def around_processing(*methods, &block); end
-
- # source://actionmailbox//lib/action_mailbox/callbacks.rb#23
- def before_processing(*methods, &block); end
-end
-
-# source://actionmailbox//lib/action_mailbox/callbacks.rb#13
-ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc)
-
-# source://actionmailbox//lib/action_mailbox/engine.rb#12
-class ActionMailbox::Engine < ::Rails::Engine
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
- end
-end
-
-class ActionMailbox::InboundEmail < ::ActionMailbox::Record
- include ::ActionMailbox::InboundEmail::GeneratedAttributeMethods
- include ::ActionMailbox::InboundEmail::GeneratedAssociationMethods
- include ::ActionMailbox::InboundEmail::Routable
- include ::ActionMailbox::InboundEmail::MessageId
- include ::ActionMailbox::InboundEmail::Incineratable
- extend ::ActionMailbox::InboundEmail::MessageId::ClassMethods
-
- # source://activerecord/8.0.5.1/lib/active_record/autosave_association.rb#162
- def autosave_associated_records_for_raw_email_attachment(*args); end
-
- # source://activerecord/8.0.5.1/lib/active_record/autosave_association.rb#162
- def autosave_associated_records_for_raw_email_blob(*args); end
-
- def instrumentation_payload; end
- def mail; end
- def processed?; end
- def source; end
-
- class << self
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def bounced(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def delivered(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def failed(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def not_bounced(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def not_delivered(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def not_failed(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def not_pending(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def not_processing(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def pending(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def processing(*args, **_arg1); end
-
- # source://activerecord/8.0.5.1/lib/active_record/enum.rb#233
- def statuses; end
-
- # source://activerecord/8.0.5.1/lib/active_record/scoping/named.rb#174
- def with_attached_raw_email(*args, **_arg1); end
-
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__reflections; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__reflections=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__validators; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__validators=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_attachment_reflections; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_attachment_reflections=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_defined_enums; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_defined_enums=(new_value); end
- end
-end
-
-module ActionMailbox::InboundEmail::GeneratedAssociationMethods
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#32
- def build_raw_email_attachment(*args, &block); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#32
- def build_raw_email_blob(*args, &block); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#36
- def create_raw_email_attachment(*args, &block); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#40
- def create_raw_email_attachment!(*args, &block); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#36
- def create_raw_email_blob(*args, &block); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#40
- def create_raw_email_blob!(*args, &block); end
-
- # source://activestorage/8.0.5.1/lib/active_storage/attached/model.rb#113
- def raw_email; end
-
- # source://activestorage/8.0.5.1/lib/active_storage/attached/model.rb#118
- def raw_email=(attachable); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/association.rb#104
- def raw_email_attachment; end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/association.rb#112
- def raw_email_attachment=(value); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/association.rb#104
- def raw_email_blob; end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/association.rb#112
- def raw_email_blob=(value); end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#19
- def reload_raw_email_attachment; end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#19
- def reload_raw_email_blob; end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#23
- def reset_raw_email_attachment; end
-
- # source://activerecord/8.0.5.1/lib/active_record/associations/builder/singular_association.rb#23
- def reset_raw_email_blob; end
-end
-
-module ActionMailbox::InboundEmail::GeneratedAttributeMethods; end
-
-module ActionMailbox::InboundEmail::Incineratable
- extend ::ActiveSupport::Concern
-
- def incinerate; end
- def incinerate_later; end
-end
-
-class ActionMailbox::InboundEmail::Incineratable::Incineration
- def initialize(inbound_email); end
-
- def run; end
-
- private
-
- def due?; end
- def processed?; end
-end
-
-module ActionMailbox::InboundEmail::MessageId
- extend ::ActiveSupport::Concern
-
- mixes_in_class_methods ::ActionMailbox::InboundEmail::MessageId::ClassMethods
-end
-
-module ActionMailbox::InboundEmail::MessageId::ClassMethods
- def create_and_extract_message_id!(source, **options); end
-
- private
-
- def create_and_upload_raw_email!(source); end
- def extract_message_id(source); end
- def generate_missing_message_id(message_checksum); end
-end
-
-module ActionMailbox::InboundEmail::Routable
- extend ::ActiveSupport::Concern
-
- def route; end
- def route_later; end
-end
-
-class ActionMailbox::IncinerationJob < ::ActiveJob::Base
- def perform(inbound_email); end
-
- class << self
- def schedule(inbound_email); end
-
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_queue_name; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_queue_name=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_rescue_handlers; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_rescue_handlers=(new_value); end
- end
-end
-
-module ActionMailbox::Ingresses; end
-module ActionMailbox::Ingresses::Mailgun; end
-
-class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailbox::BaseController
- def create; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def authenticate; end
- def authenticated?; end
- def key; end
- def mail; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-class ActionMailbox::Ingresses::Mailgun::InboundEmailsController::Authenticator
- def initialize(key:, timestamp:, token:, signature:); end
-
- def authenticated?; end
- def key; end
- def signature; end
- def timestamp; end
- def token; end
-
- private
-
- def expected_signature; end
- def recent?; end
- def signed?; end
-end
-
-module ActionMailbox::Ingresses::Mandrill; end
-
-class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMailbox::BaseController
- def create; end
- def health_check; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def authenticate; end
- def authenticated?; end
- def events; end
- def key; end
- def raw_emails; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-class ActionMailbox::Ingresses::Mandrill::InboundEmailsController::Authenticator
- def initialize(request, key); end
-
- def authenticated?; end
- def key; end
- def request; end
-
- private
-
- def expected_signature; end
- def given_signature; end
- def message; end
-end
-
-module ActionMailbox::Ingresses::Postmark; end
-
-class ActionMailbox::Ingresses::Postmark::InboundEmailsController < ::ActionMailbox::BaseController
- def create; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def mail; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-module ActionMailbox::Ingresses::Relay; end
-
-class ActionMailbox::Ingresses::Relay::InboundEmailsController < ::ActionMailbox::BaseController
- def create; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def require_valid_rfc822_message; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-module ActionMailbox::Ingresses::Sendgrid; end
-
-class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ::ActionMailbox::BaseController
- def create; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def envelope; end
- def mail; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-class ActionMailbox::Record < ::ActiveRecord::Base
- include ::ActionMailbox::Record::GeneratedAttributeMethods
- include ::ActionMailbox::Record::GeneratedAssociationMethods
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__validators; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__validators=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_defined_enums; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_defined_enums=(new_value); end
- end
-end
-
-module ActionMailbox::Record::GeneratedAssociationMethods; end
-module ActionMailbox::Record::GeneratedAttributeMethods; end
-
-# = Action Mailbox \Router
-#
-# Encapsulates the routes that live on the ApplicationMailbox and performs the actual routing when
-# an inbound_email is received.
-#
-# source://actionmailbox//lib/action_mailbox/router.rb#8
-class ActionMailbox::Router
- # @return [Router] a new instance of Router
- #
- # source://actionmailbox//lib/action_mailbox/router.rb#11
- def initialize; end
-
- # source://actionmailbox//lib/action_mailbox/router.rb#21
- def add_route(address, to:); end
-
- # source://actionmailbox//lib/action_mailbox/router.rb#15
- def add_routes(routes); end
-
- # source://actionmailbox//lib/action_mailbox/router.rb#35
- def mailbox_for(inbound_email); end
-
- # source://actionmailbox//lib/action_mailbox/router.rb#25
- def route(inbound_email); end
-
- private
-
- # Returns the value of attribute routes.
- #
- # source://actionmailbox//lib/action_mailbox/router.rb#40
- def routes; end
-end
-
-# source://actionmailbox//lib/action_mailbox/router/route.rb#7
-class ActionMailbox::Router::Route
- # source://actionmailbox//lib/action_mailbox/router/route.rb#10
- def initialize(address, to:); end
-
- # source://actionmailbox//lib/action_mailbox/router/route.rb#8
- def address; end
-
- # source://actionmailbox//lib/action_mailbox/router/route.rb#31
- def mailbox_class; end
-
- # source://actionmailbox//lib/action_mailbox/router/route.rb#8
- def mailbox_name; end
-
- # source://actionmailbox//lib/action_mailbox/router/route.rb#16
- def match?(inbound_email); end
-
- private
-
- # source://actionmailbox//lib/action_mailbox/router/route.rb#36
- def ensure_valid_address; end
-end
-
-# source://actionmailbox//lib/action_mailbox/router.rb#9
-class ActionMailbox::Router::RoutingError < ::StandardError; end
-
-# See ActionMailbox::Base for how to specify routing.
-#
-# source://actionmailbox//lib/action_mailbox/routing.rb#5
-module ActionMailbox::Routing
- extend ::ActiveSupport::Concern
-
- mixes_in_class_methods ::ActionMailbox::Routing::ClassMethods
-end
-
-# source://actionmailbox//lib/action_mailbox/routing.rb#0
-module ActionMailbox::Routing::ClassMethods
- # source://actionmailbox//lib/action_mailbox/routing.rb#21
- def mailbox_for(inbound_email); end
-
- # source://actionmailbox//lib/action_mailbox/routing.rb#17
- def route(inbound_email); end
-
- # source://actionmailbox//lib/action_mailbox/routing.rb#13
- def routing(routes); end
-end
-
-class ActionMailbox::RoutingJob < ::ActiveJob::Base
- def perform(inbound_email); end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_queue_name; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_queue_name=(new_value); end
- end
-end
-
-# source://actionmailbox//lib/action_mailbox/test_case.rb#7
-class ActionMailbox::TestCase < ::ActiveSupport::TestCase
- include ::ActionMailbox::TestHelper
-end
-
-# source://actionmailbox//lib/action_mailbox/test_helper.rb#6
-module ActionMailbox::TestHelper
- # Create an InboundEmail record using an eml fixture in the format of message/rfc822
- # referenced with +fixture_name+ located in +test/fixtures/files/fixture_name+.
- #
- # source://actionmailbox//lib/action_mailbox/test_helper.rb#9
- def create_inbound_email_from_fixture(fixture_name, status: T.unsafe(nil)); end
-
- # Creates an InboundEmail by specifying through options or a block.
- #
- # ==== Options
- #
- # * :status - The +status+ to set for the created InboundEmail.
- # For possible statuses, see its documentation.
- #
- # ==== Creating a simple email
- #
- # When you only need to set basic fields like +from+, +to+, +subject+, and
- # +body+, you can pass them directly as options.
- #
- # create_inbound_email_from_mail(from: "david@loudthinking.com", subject: "Hello!")
- #
- # ==== Creating a multi-part email
- #
- # When you need to create a more intricate email, like a multi-part email
- # that contains both a plaintext version and an HTML version, you can pass a
- # block.
- #
- # create_inbound_email_from_mail do
- # to "David Heinemeier Hansson "
- # from "Bilbo Baggins "
- # subject "Come down to the Shire!"
- #
- # text_part do
- # body "Please join us for a party at Bag End"
- # end
- #
- # html_part do
- # body "
Please join us for a party at Bag End
"
- # end
- # end
- #
- # As with +Mail.new+, you can also use a block parameter to define the parts
- # of the message:
- #
- # create_inbound_email_from_mail do |mail|
- # mail.to "David Heinemeier Hansson "
- # mail.from "Bilbo Baggins "
- # mail.subject "Come down to the Shire!"
- #
- # mail.text_part do |part|
- # part.body "Please join us for a party at Bag End"
- # end
- #
- # mail.html_part do |part|
- # part.body "
Please join us for a party at Bag End
"
- # end
- # end
- #
- # source://actionmailbox//lib/action_mailbox/test_helper.rb#63
- def create_inbound_email_from_mail(status: T.unsafe(nil), **mail_options, &block); end
-
- # Create an InboundEmail using the raw rfc822 +source+ as text.
- #
- # source://actionmailbox//lib/action_mailbox/test_helper.rb#72
- def create_inbound_email_from_source(source, status: T.unsafe(nil)); end
-
- # Create an InboundEmail from fixture using the same arguments as create_inbound_email_from_fixture
- # and immediately route it to processing.
- #
- # source://actionmailbox//lib/action_mailbox/test_helper.rb#79
- def receive_inbound_email_from_fixture(*args); end
-
- # Create an InboundEmail using the same options or block as
- # create_inbound_email_from_mail, then immediately route it for processing.
- #
- # source://actionmailbox//lib/action_mailbox/test_helper.rb#85
- def receive_inbound_email_from_mail(**kwargs, &block); end
-
- # Create an InboundEmail using the same arguments as create_inbound_email_from_source and immediately route it
- # to processing.
- #
- # source://actionmailbox//lib/action_mailbox/test_helper.rb#91
- def receive_inbound_email_from_source(*args); end
-end
-
-# source://actionmailbox//lib/action_mailbox/gem_version.rb#9
-module ActionMailbox::VERSION; end
-
-# source://actionmailbox//lib/action_mailbox/gem_version.rb#10
-ActionMailbox::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
-
-# source://actionmailbox//lib/action_mailbox/gem_version.rb#11
-ActionMailbox::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
-
-# source://actionmailbox//lib/action_mailbox/gem_version.rb#13
-ActionMailbox::VERSION::PRE = T.let(T.unsafe(nil), String)
-
-# source://actionmailbox//lib/action_mailbox/gem_version.rb#15
-ActionMailbox::VERSION::STRING = T.let(T.unsafe(nil), String)
-
-# source://actionmailbox//lib/action_mailbox/gem_version.rb#12
-ActionMailbox::VERSION::TINY = T.let(T.unsafe(nil), Integer)
-
-# source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#3
-module Mail
- class << self
- # source://mail/2.9.1/lib/mail/mail.rb#163
- def all(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#183
- def connection(&block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#98
- def defaults(&block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#174
- def delete_all(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#131
- def deliver(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#240
- def delivery_interceptors; end
-
- # source://mail/2.9.1/lib/mail/mail.rb#103
- def delivery_method; end
-
- # source://mail/2.9.1/lib/mail.rb#35
- def eager_autoload!; end
-
- # source://mail/2.9.1/lib/mail/mail.rb#139
- def find(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#145
- def find_and_delete(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#151
- def first(*args, &block); end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/from_source.rb#4
- def from_source(source); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#233
- def inform_interceptors(mail); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#227
- def inform_observers(mail); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#157
- def last(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#50
- def new(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#248
- def random_tag; end
-
- # source://mail/2.9.1/lib/mail/mail.rb#168
- def read(filename); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#179
- def read_from_string(mail_as_string); end
-
- # source://mail/2.9.1/lib/mail.rb#23
- def register_autoload(name, path); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#215
- def register_interceptor(interceptor); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#196
- def register_observer(observer); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#108
- def retriever_method; end
-
- # source://mail/2.9.1/lib/mail/mail.rb#257
- def something_random; end
-
- # source://mail/2.9.1/lib/mail/mail.rb#261
- def uniq; end
-
- # source://mail/2.9.1/lib/mail/mail.rb#223
- def unregister_interceptor(interceptor); end
-
- # source://mail/2.9.1/lib/mail/mail.rb#204
- def unregister_observer(observer); end
- end
-end
-
-# source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#4
-class Mail::Address
- # source://mail/2.9.1/lib/mail/elements/address.rb#25
- def initialize(value = T.unsafe(nil)); end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#5
- def ==(other_address); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#65
- def address(output_type = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#79
- def address=(value); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#132
- def comments; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#173
- def decoded; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#87
- def display_name(output_type = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#99
- def display_name=(str); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#118
- def domain(output_type = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#169
- def encoded; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#47
- def format(output_type = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#177
- def group; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#164
- def inspect; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#108
- def local(output_type = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#147
- def name; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#36
- def raw; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#156
- def to_s; end
-
- private
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#237
- def format_comments; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#254
- def get_comments; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#218
- def get_display_name; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#250
- def get_domain; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#246
- def get_local; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#227
- def get_name; end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#183
- def parse(value = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#198
- def strip_all_comments(string); end
-
- # source://mail/2.9.1/lib/mail/elements/address.rb#207
- def strip_domain_comments(value); end
-
- class << self
- # source://actionmailbox//lib/action_mailbox/mail_ext/address_wrapping.rb#5
- def wrap(address); end
- end
-end
-
-# source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#4
-class Mail::Message
- # source://mail/2.9.1/lib/mail/message.rb#107
- def initialize(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/message.rb#334
- def <=>(other); end
-
- # source://mail/2.9.1/lib/mail/message.rb#377
- def ==(other); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1341
- def [](name); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1323
- def []=(name, value); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1565
- def action; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1479
- def add_charset; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1494
- def add_content_transfer_encoding; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1472
- def add_content_type; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1455
- def add_date(date_val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1764
- def add_file(values); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1445
- def add_message_id(msg_id_val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1465
- def add_mime_version(ver_val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1708
- def add_part(part); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1934
- def all_parts; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1925
- def attachment; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1920
- def attachment?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1633
- def attachments; end
-
- # source://mail/2.9.1/lib/mail/message.rb#507
- def bcc(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#519
- def bcc=(val); end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#21
- def bcc_addresses; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1313
- def bcc_addrs; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1258
- def body(value = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1244
- def body=(value); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1267
- def body_encoding(value = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1275
- def body_encoding=(value); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1561
- def bounced?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1590
- def boundary; end
-
- # source://mail/2.9.1/lib/mail/message.rb#548
- def cc(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#560
- def cc=(val); end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#17
- def cc_addresses; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1307
- def cc_addrs; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1504
- def charset; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1513
- def charset=(value); end
-
- # source://mail/2.9.1/lib/mail/message.rb#564
- def comments(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#568
- def comments=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#572
- def content_description(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#576
- def content_description=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#580
- def content_disposition(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#584
- def content_disposition=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#588
- def content_id(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#592
- def content_id=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#596
- def content_location(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#600
- def content_location=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#604
- def content_transfer_encoding(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#608
- def content_transfer_encoding=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#612
- def content_type(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#616
- def content_type=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1530
- def content_type_parameters; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1780
- def convert_to_multipart; end
-
- # source://mail/2.9.1/lib/mail/message.rb#620
- def date(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#624
- def date=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1914
- def decode_body; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1893
- def decoded; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1211
- def default(sym, val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#250
- def deliver; end
-
- # source://mail/2.9.1/lib/mail/message.rb#267
- def deliver!; end
-
- # source://mail/2.9.1/lib/mail/message.rb#199
- def delivery_handler; end
-
- # source://mail/2.9.1/lib/mail/message.rb#199
- def delivery_handler=(_arg0); end
-
- # source://mail/2.9.1/lib/mail/message.rb#274
- def delivery_method(method = T.unsafe(nil), settings = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1550
- def delivery_status_part; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1545
- def delivery_status_report?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1289
- def destinations; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1577
- def diagnostic_code; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1810
- def encoded; end
-
- # source://mail/2.9.1/lib/mail/message.rb#425
- def envelope_date; end
-
- # source://mail/2.9.1/lib/mail/message.rb#421
- def envelope_from; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1573
- def error_status; end
-
- # source://mail/2.9.1/lib/mail/message.rb#478
- def errors; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1930
- def filename; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1569
- def final_recipient; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1938
- def find_first_mime_type(mt); end
-
- # source://mail/2.9.1/lib/mail/message.rb#665
- def from(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#677
- def from=(val); end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#5
- def from_address; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1295
- def from_addrs; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1637
- def has_attachments?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1430
- def has_charset?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1435
- def has_content_transfer_encoding?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1425
- def has_content_type?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1415
- def has_date?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1409
- def has_message_id?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1421
- def has_mime_version?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#450
- def header(value = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#435
- def header=(value); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1403
- def header_fields; end
-
- # source://mail/2.9.1/lib/mail/message.rb#455
- def headers(hash = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1642
- def html_part(&block); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1662
- def html_part=(msg); end
-
- # source://mail/2.9.1/lib/mail/message.rb#681
- def in_reply_to(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#685
- def in_reply_to=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#240
- def inform_interceptors; end
-
- # source://mail/2.9.1/lib/mail/message.rb#236
- def inform_observers; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1880
- def inspect; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1884
- def inspect_structure; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1967
- def is_marked_for_delete?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#689
- def keywords(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#693
- def keywords=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1520
- def main_type; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1954
- def mark_for_delete=(value = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#710
- def message_id(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#719
- def message_id=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1384
- def method_missing(name, *args, &block); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1499
- def mime_type; end
-
- # source://mail/2.9.1/lib/mail/message.rb#736
- def mime_version(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#746
- def mime_version=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1535
- def multipart?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1540
- def multipart_report?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1729
- def part(params = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1595
- def parts; end
-
- # source://mail/2.9.1/lib/mail/message.rb#223
- def perform_deliveries; end
-
- # source://mail/2.9.1/lib/mail/message.rb#223
- def perform_deliveries=(_arg0); end
-
- # source://mail/2.9.1/lib/mail/message.rb#230
- def raise_delivery_errors; end
-
- # source://mail/2.9.1/lib/mail/message.rb#230
- def raise_delivery_errors=(_arg0); end
-
- # source://mail/2.9.1/lib/mail/message.rb#417
- def raw_envelope; end
-
- # source://mail/2.9.1/lib/mail/message.rb#404
- def raw_source; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1906
- def read; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1798
- def ready_to_send!; end
-
- # source://mail/2.9.1/lib/mail/message.rb#750
- def received(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#758
- def received=(val); end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/recipients.rb#5
- def recipients; end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#9
- def recipients_addresses; end
-
- # source://mail/2.9.1/lib/mail/message.rb#762
- def references(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#766
- def references=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1581
- def remote_mta; end
-
- # source://mail/2.9.1/lib/mail/message.rb#282
- def reply(*args, &block); end
-
- # source://mail/2.9.1/lib/mail/message.rb#795
- def reply_to(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#807
- def reply_to=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#836
- def resent_bcc(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#848
- def resent_bcc=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#877
- def resent_cc(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#889
- def resent_cc=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#893
- def resent_date(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#897
- def resent_date=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#926
- def resent_from(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#938
- def resent_from=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#942
- def resent_message_id(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#946
- def resent_message_id=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#965
- def resent_sender(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#975
- def resent_sender=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1004
- def resent_to(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1016
- def resent_to=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1585
- def retryable?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1021
- def return_path(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1026
- def return_path=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1044
- def sender(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1054
- def sender=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#409
- def set_envelope(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1946
- def skip_deletion; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1074
- def smtp_envelope_from(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1088
- def smtp_envelope_from=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1107
- def smtp_envelope_to(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1124
- def smtp_envelope_to=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1525
- def sub_type; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1149
- def subject(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1159
- def subject=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1971
- def text?; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1651
- def text_part(&block); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1686
- def text_part=(msg); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1188
- def to(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1200
- def to=(val); end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#13
- def to_addresses; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1301
- def to_addrs; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1876
- def to_s; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1830
- def to_yaml(opts = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#628
- def transport_encoding(val = T.unsafe(nil)); end
-
- # source://mail/2.9.1/lib/mail/message.rb#636
- def transport_encoding=(val); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1818
- def without_attachments!; end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#29
- def x_forwarded_to_addresses; end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#25
- def x_original_to_addresses; end
-
- private
-
- # source://mail/2.9.1/lib/mail/message.rb#2074
- def add_boundary; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2039
- def add_encoding_to_body; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2069
- def add_multipart_alternate_header; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2082
- def add_multipart_mixed_header; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2055
- def add_required_fields; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2063
- def add_required_message_fields; end
-
- # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#34
- def address_list(obj); end
-
- # source://mail/2.9.1/lib/mail/message.rb#2032
- def allowed_encodings; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1997
- def body_lazy(value); end
-
- # source://mail/2.9.1/lib/mail/message.rb#2155
- def decode_body_as_text; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2145
- def do_delivery; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2127
- def find_attachment; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2045
- def identify_and_set_transfer_encoding; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2089
- def init_with_hash(hash); end
-
- # source://mail/2.9.1/lib/mail/message.rb#2119
- def init_with_string(string); end
-
- # source://mail/2.9.1/lib/mail/message.rb#391
- def initialize_copy(original); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1986
- def parse_message; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2012
- def process_body_raw; end
-
- # source://mail/2.9.1/lib/mail/message.rb#1992
- def raw_source=(value); end
-
- # source://mail/2.9.1/lib/mail/message.rb#2028
- def separate_parts; end
-
- # source://mail/2.9.1/lib/mail/message.rb#2020
- def set_envelope_header; end
-
- class << self
- # source://mail/2.9.1/lib/mail/message.rb#232
- def default_charset; end
-
- # source://mail/2.9.1/lib/mail/message.rb#233
- def default_charset=(charset); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1872
- def from_hash(hash); end
-
- # source://mail/2.9.1/lib/mail/message.rb#1850
- def from_yaml(str); end
- end
-end
-
-module Rails
- class << self
- # source://railties/8.0.5.1/lib/rails.rb#44
- def app_class; end
-
- # source://railties/8.0.5.1/lib/rails.rb#44
- def app_class=(_arg0); end
-
- # source://railties/8.0.5.1/lib/rails.rb#45
- def application; end
-
- # source://railties/8.0.5.1/lib/rails.rb#43
- def application=(_arg0); end
-
- # source://railties/8.0.5.1/lib/rails.rb#126
- def autoloaders; end
-
- # source://railties/8.0.5.1/lib/rails.rb#56
- def backtrace_cleaner; end
-
- # source://railties/8.0.5.1/lib/rails.rb#44
- def cache; end
-
- # source://railties/8.0.5.1/lib/rails.rb#44
- def cache=(_arg0); end
-
- # source://railties/8.0.5.1/lib/rails.rb#52
- def configuration; end
-
- # source://railties/8.0.5.1/lib/rails/deprecator.rb#4
- def deprecator; end
-
- # source://railties/8.0.5.1/lib/rails.rb#75
- def env; end
-
- # source://railties/8.0.5.1/lib/rails.rb#82
- def env=(environment); end
-
- # source://railties/8.0.5.1/lib/rails.rb#93
- def error; end
-
- # source://railties/8.0.5.1/lib/rails/gem_version.rb#5
- def gem_version; end
-
- # source://railties/8.0.5.1/lib/rails.rb#106
- def groups(*groups); end
-
- # source://railties/8.0.5.1/lib/rails.rb#49
- def initialize!(*_arg0, **_arg1, &_arg2); end
-
- # source://railties/8.0.5.1/lib/rails.rb#49
- def initialized?(*_arg0, **_arg1, &_arg2); end
-
- # source://railties/8.0.5.1/lib/rails.rb#44
- def logger; end
-
- # source://railties/8.0.5.1/lib/rails.rb#44
- def logger=(_arg0); end
-
- # source://railties/8.0.5.1/lib/rails.rb#122
- def public_path; end
-
- # source://railties/8.0.5.1/lib/rails.rb#65
- def root; end
-
- # source://railties/8.0.5.1/lib/rails/version.rb#7
- def version; end
- end
-end
-
-module Rails::Conductor; end
-module Rails::Conductor::ActionMailbox; end
-module Rails::Conductor::ActionMailbox::InboundEmails; end
-
-class Rails::Conductor::ActionMailbox::InboundEmails::SourcesController < ::Rails::Conductor::BaseController
- def create; end
- def new; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conductor::BaseController
- def create; end
- def index; end
- def new; end
- def show; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def create_inbound_email(mail); end
- def mail_params; end
- def new_mail; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-class Rails::Conductor::ActionMailbox::IncineratesController < ::Rails::Conductor::BaseController
- def create; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-class Rails::Conductor::ActionMailbox::ReroutesController < ::Rails::Conductor::BaseController
- def create; end
-
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def reroute(inbound_email); end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
-
-class Rails::Conductor::BaseController < ::ActionController::Base
- private
-
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
- def _layout(lookup_context, formats, keys); end
-
- def ensure_development_env; end
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__layout; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__layout=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__layout_conditions; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__layout_conditions=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_middleware_stack; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_middleware_stack=(new_value); end
- end
-end
diff --git a/sorbet/rbi/gems/actionmailbox@8.0.5.2.rbi b/sorbet/rbi/gems/actionmailbox@8.0.5.2.rbi
new file mode 100644
index 00000000..1e1d7604
--- /dev/null
+++ b/sorbet/rbi/gems/actionmailbox@8.0.5.2.rbi
@@ -0,0 +1,985 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `actionmailbox` gem.
+# Please instead update this file by running `bin/tapioca gem actionmailbox`.
+
+
+# :markup: markdown
+# :include: ../README.md
+#
+# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:3
+module ActionMailbox
+ extend ::ActiveSupport::Autoload
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:22
+ def incinerate; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:22
+ def incinerate=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:23
+ def incinerate_after; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:23
+ def incinerate_after=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:20
+ def ingress; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:20
+ def ingress=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:21
+ def logger; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:21
+ def logger=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:24
+ def queues; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:24
+ def queues=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:25
+ def storage_service; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:25
+ def storage_service=(val); end
+
+ class << self
+ # pkg:gem/actionmailbox#lib/action_mailbox/deprecator.rb:4
+ def deprecator; end
+
+ # Returns the currently loaded version of Action Mailbox as a +Gem::Version+.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:5
+ def gem_version; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:22
+ def incinerate; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:22
+ def incinerate=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:23
+ def incinerate_after; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:23
+ def incinerate_after=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:20
+ def ingress; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:20
+ def ingress=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:21
+ def logger; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:21
+ def logger=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:24
+ def queues; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:24
+ def queues=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13
+ def railtie_helpers_paths; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13
+ def railtie_namespace; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13
+ def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:25
+ def storage_service; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox.rb:25
+ def storage_service=(val); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13
+ def table_name_prefix; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13
+ def use_relative_model_naming?; end
+
+ # Returns the currently loaded version of Action Mailbox as a +Gem::Version+.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/version.rb:7
+ def version; end
+ end
+end
+
+# = Action Mailbox \Base
+#
+# The base class for all application mailboxes. Not intended to be inherited from directly. Inherit from
+# +ApplicationMailbox+ instead, as that's where the app-specific routing is configured. This routing
+# is specified in the following ways:
+#
+# class ApplicationMailbox < ActionMailbox::Base
+# # Any of the recipients of the mail (whether to, cc, bcc) are matched against the regexp.
+# routing /^replies@/i => :replies
+#
+# # Any of the recipients of the mail (whether to, cc, bcc) needs to be an exact match for the string.
+# routing "help@example.com" => :help
+#
+# # Any callable (proc, lambda, etc) object is passed the inbound_email record and is a match if true.
+# routing ->(inbound_email) { inbound_email.mail.to.size > 2 } => :multiple_recipients
+#
+# # Any object responding to #match? is called with the inbound_email record as an argument. Match if true.
+# routing CustomAddress.new => :custom
+#
+# # Any inbound_email that has not been already matched will be sent to the BackstopMailbox.
+# routing :all => :backstop
+# end
+#
+# Application mailboxes need to override the #process method, which is invoked by the framework after
+# callbacks have been run. The callbacks available are: +before_processing+, +after_processing+, and
+# +around_processing+. The primary use case is to ensure that certain preconditions to processing are fulfilled
+# using +before_processing+ callbacks.
+#
+# If a precondition fails to be met, you can halt the processing using the +#bounced!+ method,
+# which will silently prevent any further processing, but not actually send out any bounce notice. You
+# can also pair this behavior with the invocation of an Action Mailer class responsible for sending out
+# an actual bounce email. This is done using the #bounce_with method, which takes the mail object returned
+# by an Action Mailer method, like so:
+#
+# class ForwardsMailbox < ApplicationMailbox
+# before_processing :ensure_sender_is_a_user
+#
+# private
+# def ensure_sender_is_a_user
+# unless User.exist?(email_address: mail.from)
+# bounce_with UserRequiredMailer.missing(inbound_email)
+# end
+# end
+# end
+#
+# During the processing of the inbound email, the status will be tracked. Before processing begins,
+# the email will normally have the +pending+ status. Once processing begins, just before callbacks
+# and the #process method is called, the status is changed to +processing+. If processing is allowed to
+# complete, the status is changed to +delivered+. If a bounce is triggered, then +bounced+. If an unhandled
+# exception is bubbled up, then +failed+.
+#
+# Exceptions can be handled at the class level using the familiar
+# ActiveSupport::Rescuable approach:
+#
+# class ForwardsMailbox < ApplicationMailbox
+# rescue_from(ApplicationSpecificVerificationError) { bounced! }
+# end
+#
+# pkg:gem/actionmailbox#lib/action_mailbox/base.rb:66
+class ActionMailbox::Base
+ include ::ActiveSupport::Rescuable
+ include ::ActionMailbox::Routing
+ include ::ActiveSupport::Callbacks
+ include ::ActionMailbox::Callbacks
+ extend ::ActiveSupport::Rescuable::ClassMethods
+ extend ::ActionMailbox::Routing::ClassMethods
+ extend ::ActiveSupport::Callbacks::ClassMethods
+ extend ::ActiveSupport::DescendantsTracker
+ extend ::ActionMailbox::Callbacks::ClassMethods
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:79
+ def initialize(inbound_email); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def __callbacks; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def _process_callbacks; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def _run_process_callbacks(&block); end
+
+ # Immediately sends the given +message+ and changes the inbound email's status to +:bounced+.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:111
+ def bounce_now_with(message); end
+
+ # Enqueues the given +message+ for delivery and changes the inbound email's status to +:bounced+.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:105
+ def bounce_with(message); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:71
+ def bounced!(*, **, &); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:71
+ def delivered!(*, **, &); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:100
+ def finished_processing?; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:70
+ def inbound_email; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:73
+ def logger(&); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:71
+ def mail(*, **, &); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:83
+ def perform_processing; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:96
+ def process; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def rescue_handlers; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def rescue_handlers=(_arg0); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def rescue_handlers?; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def router; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def router=(val); end
+
+ private
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:117
+ def instrumentation_payload; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:124
+ def track_status_of_inbound_email; end
+
+ class << self
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def __callbacks; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def __callbacks=(value); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def _process_callbacks; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def _process_callbacks=(value); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:75
+ def receive(inbound_email); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def rescue_handlers; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def rescue_handlers=(value); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def rescue_handlers?; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def router; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def router=(val); end
+
+ private
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def __class_attr___callbacks; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68
+ def __class_attr___callbacks=(new_value); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def __class_attr_rescue_handlers; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67
+ def __class_attr_rescue_handlers=(new_value); end
+ end
+end
+
+class ActionMailbox::BaseController < ::ActionController::Base
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def authenticate_by_password; end
+ def ensure_configured; end
+ def ingress_name; end
+ def password; end
+
+ class << self
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+# = Action Mailbox \Callbacks
+#
+# Defines the callbacks related to processing.
+#
+# pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:9
+module ActionMailbox::Callbacks
+ extend ::ActiveSupport::Concern
+ include GeneratedInstanceMethods
+ include ::ActiveSupport::Callbacks
+
+ mixes_in_class_methods GeneratedClassMethods
+ mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods
+ mixes_in_class_methods ::ActiveSupport::DescendantsTracker
+ mixes_in_class_methods ::ActionMailbox::Callbacks::ClassMethods
+
+ module GeneratedClassMethods
+ def __callbacks; end
+ def __callbacks=(value); end
+ end
+
+ module GeneratedInstanceMethods
+ def __callbacks; end
+ end
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:22
+module ActionMailbox::Callbacks::ClassMethods
+ # pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:27
+ def after_processing(*methods, &block); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:31
+ def around_processing(*methods, &block); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:23
+ def before_processing(*methods, &block); end
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:13
+ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc)
+
+# pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:12
+class ActionMailbox::Engine < ::Rails::Engine; end
+
+class ActionMailbox::InboundEmail < ::ActionMailbox::Record
+ include ::ActionMailbox::InboundEmail::GeneratedAttributeMethods
+ include ::ActionMailbox::InboundEmail::GeneratedAssociationMethods
+ include ::ActionMailbox::InboundEmail::Routable
+ include ::ActionMailbox::InboundEmail::MessageId
+ include ::ActionMailbox::InboundEmail::Incineratable
+ extend ::ActionMailbox::InboundEmail::MessageId::ClassMethods
+
+ def autosave_associated_records_for_raw_email_attachment(*args); end
+ def autosave_associated_records_for_raw_email_blob(*args); end
+ def instrumentation_payload; end
+ def mail; end
+ def processed?; end
+ def source; end
+
+ class << self
+ def bounced(*args, **); end
+ def delivered(*args, **); end
+ def failed(*args, **); end
+ def not_bounced(*args, **); end
+ def not_delivered(*args, **); end
+ def not_failed(*args, **); end
+ def not_pending(*args, **); end
+ def not_processing(*args, **); end
+ def pending(*args, **); end
+ def processing(*args, **); end
+ def statuses; end
+ def with_attached_raw_email(*args, **); end
+
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr__reflections; end
+ def __class_attr__reflections=(new_value); end
+ def __class_attr__validators; end
+ def __class_attr__validators=(new_value); end
+ def __class_attr_attachment_reflections; end
+ def __class_attr_attachment_reflections=(new_value); end
+ def __class_attr_defined_enums; end
+ def __class_attr_defined_enums=(new_value); end
+ end
+end
+
+module ActionMailbox::InboundEmail::GeneratedAssociationMethods
+ def build_raw_email_attachment(*args, &block); end
+ def build_raw_email_blob(*args, &block); end
+ def create_raw_email_attachment(*args, &block); end
+ def create_raw_email_attachment!(*args, &block); end
+ def create_raw_email_blob(*args, &block); end
+ def create_raw_email_blob!(*args, &block); end
+ def raw_email; end
+ def raw_email=(attachable); end
+ def raw_email_attachment; end
+ def raw_email_attachment=(value); end
+ def raw_email_blob; end
+ def raw_email_blob=(value); end
+ def reload_raw_email_attachment; end
+ def reload_raw_email_blob; end
+ def reset_raw_email_attachment; end
+ def reset_raw_email_blob; end
+end
+
+module ActionMailbox::InboundEmail::GeneratedAttributeMethods; end
+
+module ActionMailbox::InboundEmail::Incineratable
+ extend ::ActiveSupport::Concern
+
+ def incinerate; end
+ def incinerate_later; end
+end
+
+class ActionMailbox::InboundEmail::Incineratable::Incineration
+ def initialize(inbound_email); end
+
+ def run; end
+
+ private
+
+ def due?; end
+ def processed?; end
+end
+
+module ActionMailbox::InboundEmail::MessageId
+ extend ::ActiveSupport::Concern
+
+ mixes_in_class_methods ::ActionMailbox::InboundEmail::MessageId::ClassMethods
+end
+
+module ActionMailbox::InboundEmail::MessageId::ClassMethods
+ def create_and_extract_message_id!(source, **options); end
+
+ private
+
+ def create_and_upload_raw_email!(source); end
+ def extract_message_id(source); end
+ def generate_missing_message_id(message_checksum); end
+end
+
+module ActionMailbox::InboundEmail::Routable
+ extend ::ActiveSupport::Concern
+
+ def route; end
+ def route_later; end
+end
+
+class ActionMailbox::IncinerationJob < ::ActiveJob::Base
+ def perform(inbound_email); end
+
+ class << self
+ def schedule(inbound_email); end
+
+ private
+
+ def __class_attr_queue_name; end
+ def __class_attr_queue_name=(new_value); end
+ def __class_attr_rescue_handlers; end
+ def __class_attr_rescue_handlers=(new_value); end
+ end
+end
+
+module ActionMailbox::Ingresses; end
+module ActionMailbox::Ingresses::Mailgun; end
+
+class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailbox::BaseController
+ def create; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def authenticate; end
+ def authenticated?; end
+ def key; end
+ def mail; end
+
+ class << self
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+class ActionMailbox::Ingresses::Mailgun::InboundEmailsController::Authenticator
+ def initialize(key:, timestamp:, token:, signature:); end
+
+ def authenticated?; end
+ def key; end
+ def signature; end
+ def timestamp; end
+ def token; end
+
+ private
+
+ def expected_signature; end
+ def recent?; end
+ def signed?; end
+end
+
+module ActionMailbox::Ingresses::Mandrill; end
+
+class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMailbox::BaseController
+ def create; end
+ def health_check; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def authenticate; end
+ def authenticated?; end
+ def events; end
+ def key; end
+ def raw_emails; end
+
+ class << self
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+class ActionMailbox::Ingresses::Mandrill::InboundEmailsController::Authenticator
+ def initialize(request, key); end
+
+ def authenticated?; end
+ def key; end
+ def request; end
+
+ private
+
+ def expected_signature; end
+ def given_signature; end
+ def message; end
+end
+
+module ActionMailbox::Ingresses::Postmark; end
+
+class ActionMailbox::Ingresses::Postmark::InboundEmailsController < ::ActionMailbox::BaseController
+ def create; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def mail; end
+
+ class << self
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+module ActionMailbox::Ingresses::Relay; end
+
+class ActionMailbox::Ingresses::Relay::InboundEmailsController < ::ActionMailbox::BaseController
+ def create; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def require_valid_rfc822_message; end
+
+ class << self
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+module ActionMailbox::Ingresses::Sendgrid; end
+
+class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ::ActionMailbox::BaseController
+ def create; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def envelope; end
+ def mail; end
+
+ class << self
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+class ActionMailbox::Record < ::ActiveRecord::Base
+ include ::ActionMailbox::Record::GeneratedAttributeMethods
+ include ::ActionMailbox::Record::GeneratedAssociationMethods
+
+ class << self
+ private
+
+ def __class_attr__validators; end
+ def __class_attr__validators=(new_value); end
+ def __class_attr_defined_enums; end
+ def __class_attr_defined_enums=(new_value); end
+ end
+end
+
+module ActionMailbox::Record::GeneratedAssociationMethods; end
+module ActionMailbox::Record::GeneratedAttributeMethods; end
+
+# = Action Mailbox \Router
+#
+# Encapsulates the routes that live on the ApplicationMailbox and performs the actual routing when
+# an inbound_email is received.
+#
+# pkg:gem/actionmailbox#lib/action_mailbox/router.rb:8
+class ActionMailbox::Router
+ # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:11
+ def initialize; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:21
+ def add_route(address, to:); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:15
+ def add_routes(routes); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:35
+ def mailbox_for(inbound_email); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:25
+ def route(inbound_email); end
+
+ private
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:40
+ def routes; end
+end
+
+# Encapsulates a route, which can then be matched against an inbound_email and provide a lookup of the matching
+# mailbox class. See examples for the different route addresses and how to use them in the ActionMailbox::Base
+# documentation.
+#
+# pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:7
+class ActionMailbox::Router::Route
+ # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:10
+ def initialize(address, to:); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:8
+ def address; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:31
+ def mailbox_class; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:8
+ def mailbox_name; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:16
+ def match?(inbound_email); end
+
+ private
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:36
+ def ensure_valid_address; end
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/router.rb:9
+class ActionMailbox::Router::RoutingError < ::StandardError; end
+
+# See ActionMailbox::Base for how to specify routing.
+#
+# pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:5
+module ActionMailbox::Routing
+ extend ::ActiveSupport::Concern
+
+ mixes_in_class_methods ::ActionMailbox::Routing::ClassMethods
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:12
+module ActionMailbox::Routing::ClassMethods
+ # pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:21
+ def mailbox_for(inbound_email); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:17
+ def route(inbound_email); end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:13
+ def routing(routes); end
+end
+
+class ActionMailbox::RoutingJob < ::ActiveJob::Base
+ def perform(inbound_email); end
+
+ class << self
+ private
+
+ def __class_attr_queue_name; end
+ def __class_attr_queue_name=(new_value); end
+ end
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/test_case.rb:7
+class ActionMailbox::TestCase < ::ActiveSupport::TestCase
+ include ::ActionMailbox::TestHelper
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/test_helper.rb:6
+module ActionMailbox::TestHelper
+ # Create an InboundEmail record using an eml fixture in the format of message/rfc822
+ # referenced with +fixture_name+ located in +test/fixtures/files/fixture_name+.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/test_helper.rb:9
+ def create_inbound_email_from_fixture(fixture_name, status: T.unsafe(nil)); end
+
+ # Creates an InboundEmail by specifying through options or a block.
+ #
+ # ==== Options
+ #
+ # * :status - The +status+ to set for the created InboundEmail.
+ # For possible statuses, see its documentation.
+ #
+ # ==== Creating a simple email
+ #
+ # When you only need to set basic fields like +from+, +to+, +subject+, and
+ # +body+, you can pass them directly as options.
+ #
+ # create_inbound_email_from_mail(from: "david@loudthinking.com", subject: "Hello!")
+ #
+ # ==== Creating a multi-part email
+ #
+ # When you need to create a more intricate email, like a multi-part email
+ # that contains both a plaintext version and an HTML version, you can pass a
+ # block.
+ #
+ # create_inbound_email_from_mail do
+ # to "David Heinemeier Hansson "
+ # from "Bilbo Baggins "
+ # subject "Come down to the Shire!"
+ #
+ # text_part do
+ # body "Please join us for a party at Bag End"
+ # end
+ #
+ # html_part do
+ # body "
Please join us for a party at Bag End
"
+ # end
+ # end
+ #
+ # As with +Mail.new+, you can also use a block parameter to define the parts
+ # of the message:
+ #
+ # create_inbound_email_from_mail do |mail|
+ # mail.to "David Heinemeier Hansson "
+ # mail.from "Bilbo Baggins "
+ # mail.subject "Come down to the Shire!"
+ #
+ # mail.text_part do |part|
+ # part.body "Please join us for a party at Bag End"
+ # end
+ #
+ # mail.html_part do |part|
+ # part.body "
Please join us for a party at Bag End
"
+ # end
+ # end
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/test_helper.rb:63
+ def create_inbound_email_from_mail(status: T.unsafe(nil), **mail_options, &block); end
+
+ # Create an InboundEmail using the raw rfc822 +source+ as text.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/test_helper.rb:72
+ def create_inbound_email_from_source(source, status: T.unsafe(nil)); end
+
+ # Create an InboundEmail from fixture using the same arguments as create_inbound_email_from_fixture
+ # and immediately route it to processing.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/test_helper.rb:79
+ def receive_inbound_email_from_fixture(*args); end
+
+ # Create an InboundEmail using the same options or block as
+ # create_inbound_email_from_mail, then immediately route it for processing.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/test_helper.rb:85
+ def receive_inbound_email_from_mail(**kwargs, &block); end
+
+ # Create an InboundEmail using the same arguments as create_inbound_email_from_source and immediately route it
+ # to processing.
+ #
+ # pkg:gem/actionmailbox#lib/action_mailbox/test_helper.rb:91
+ def receive_inbound_email_from_source(*args); end
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:9
+module ActionMailbox::VERSION; end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:10
+ActionMailbox::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
+
+# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:11
+ActionMailbox::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
+
+# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:13
+ActionMailbox::VERSION::PRE = T.let(T.unsafe(nil), String)
+
+# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:15
+ActionMailbox::VERSION::STRING = T.let(T.unsafe(nil), String)
+
+# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:12
+ActionMailbox::VERSION::TINY = T.let(T.unsafe(nil), Integer)
+
+# pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/address_equality.rb:3
+module Mail
+ class << self
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/from_source.rb:4
+ def from_source(source); end
+ end
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/address_equality.rb:4
+class Mail::Address
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/address_equality.rb:5
+ def ==(other_address); end
+
+ class << self
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/address_wrapping.rb:5
+ def wrap(address); end
+ end
+end
+
+# pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:4
+class Mail::Message
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:21
+ def bcc_addresses; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:17
+ def cc_addresses; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:5
+ def from_address; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/recipients.rb:5
+ def recipients; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:9
+ def recipients_addresses; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:13
+ def to_addresses; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:29
+ def x_forwarded_to_addresses; end
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:25
+ def x_original_to_addresses; end
+
+ private
+
+ # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:34
+ def address_list(obj); end
+end
+
+module Rails; end
+module Rails::Conductor; end
+module Rails::Conductor::ActionMailbox; end
+module Rails::Conductor::ActionMailbox::InboundEmails; end
+
+class Rails::Conductor::ActionMailbox::InboundEmails::SourcesController < ::Rails::Conductor::BaseController
+ def create; end
+ def new; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+
+ class << self
+ private
+
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conductor::BaseController
+ def create; end
+ def index; end
+ def new; end
+ def show; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def create_inbound_email(mail); end
+ def mail_params; end
+ def new_mail; end
+
+ class << self
+ private
+
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+class Rails::Conductor::ActionMailbox::IncineratesController < ::Rails::Conductor::BaseController
+ def create; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+
+ class << self
+ private
+
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+class Rails::Conductor::ActionMailbox::ReroutesController < ::Rails::Conductor::BaseController
+ def create; end
+
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def reroute(inbound_email); end
+
+ class << self
+ private
+
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
+
+class Rails::Conductor::BaseController < ::ActionController::Base
+ private
+
+ def _layout(lookup_context, formats, keys); end
+ def ensure_development_env; end
+
+ class << self
+ private
+
+ def __class_attr___callbacks; end
+ def __class_attr___callbacks=(new_value); end
+ def __class_attr__layout; end
+ def __class_attr__layout=(new_value); end
+ def __class_attr__layout_conditions; end
+ def __class_attr__layout_conditions=(new_value); end
+ def __class_attr_middleware_stack; end
+ def __class_attr_middleware_stack=(new_value); end
+ end
+end
diff --git a/sorbet/rbi/gems/actionmailer@8.0.5.1.rbi b/sorbet/rbi/gems/actionmailer@8.0.5.2.rbi
similarity index 71%
rename from sorbet/rbi/gems/actionmailer@8.0.5.1.rbi
rename to sorbet/rbi/gems/actionmailer@8.0.5.2.rbi
index 9b34b411..91bad8c2 100644
--- a/sorbet/rbi/gems/actionmailer@8.0.5.1.rbi
+++ b/sorbet/rbi/gems/actionmailer@8.0.5.2.rbi
@@ -7,26 +7,26 @@
# :include: ../README.rdoc
#
-# source://actionmailer//lib/action_mailer/gem_version.rb#3
+# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:3
module ActionMailer
extend ::ActiveSupport::Autoload
class << self
- # source://actionmailer//lib/action_mailer/deprecator.rb#4
+ # pkg:gem/actionmailer#lib/action_mailer/deprecator.rb:4
def deprecator; end
- # source://actionmailer//lib/action_mailer.rb#61
+ # pkg:gem/actionmailer#lib/action_mailer.rb:61
def eager_load!; end
# Returns the currently loaded version of Action Mailer as a +Gem::Version+.
#
- # source://actionmailer//lib/action_mailer/gem_version.rb#5
+ # pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:5
def gem_version; end
# Returns the currently loaded version of Action Mailer as a
# +Gem::Version+.
#
- # source://actionmailer//lib/action_mailer/version.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/version.rb:8
def version; end
end
end
@@ -494,9 +494,7 @@ end
# * deliver_later_queue_name - The queue name used by deliver_later with the default
# delivery_job. Mailers can set this to use a custom queue name.
#
-# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
-#
-# source://actionmailer//lib/action_mailer/base.rb#476
+# pkg:gem/actionmailer#lib/action_mailer/base.rb:476
class ActionMailer::Base < ::AbstractController::Base
include ::ActionMailer::Callbacks
include ::ActiveSupport::Callbacks
@@ -538,60 +536,58 @@ class ActionMailer::Base < ::AbstractController::Base
extend ::ActionView::Rendering::ClassMethods
extend ::ActionView::Layouts::ClassMethods
- # @return [Base] a new instance of Base
- #
- # source://actionmailer//lib/action_mailer/base.rb#638
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:638
def initialize; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def _deliver_callbacks; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def _helper_methods; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def _helper_methods=(_arg0); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def _helper_methods?; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout_conditions; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout_conditions?; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def _process_action_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def _run_deliver_callbacks(&block); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def _run_process_action_callbacks(&block); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def _view_cache_dependencies; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def _view_cache_dependencies=(_arg0); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def _view_cache_dependencies?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def asset_host; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def asset_host=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def assets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def assets_dir=(value); end
# Allows you to add attachments to an email, like so:
@@ -623,95 +619,95 @@ class ActionMailer::Base < ::AbstractController::Base
# # or by index
# mail.attachments[0] # => Mail::Part (first attachment)
#
- # source://actionmailer//lib/action_mailer/base.rb#755
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:755
def attachments; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def default_asset_host_protocol; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def default_asset_host_protocol=(value); end
- # source://actionmailer//lib/action_mailer/base.rb#502
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def default_params; end
- # source://actionmailer//lib/action_mailer/base.rb#502
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def default_params=(_arg0); end
- # source://actionmailer//lib/action_mailer/base.rb#502
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def default_params?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def default_static_extension; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def default_static_extension=(value); end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#9
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def deliver_later_queue_name; end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#9
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def deliver_later_queue_name=(_arg0); end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#9
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def deliver_later_queue_name?; end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def delivery_job; end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def delivery_job=(_arg0); end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def delivery_job?; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#19
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_method; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#19
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_method=(_arg0); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#19
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_method?; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_methods; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_methods=(_arg0); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_methods?; end
# Returns an email in the format "Name ".
#
# If the name is a blank string, it returns just the address.
#
- # source://actionmailer//lib/action_mailer/base.rb#679
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:679
def email_address_with_name(address, name); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def enable_fragment_cache_logging; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def enable_fragment_cache_logging=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def file_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def file_settings=(_arg0); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def file_settings?; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def fragment_cache_keys; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def fragment_cache_keys=(_arg0); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def fragment_cache_keys?; end
# Allows you to pass random and unusual headers to the new +Mail::Message+
@@ -749,19 +745,19 @@ class ActionMailer::Base < ::AbstractController::Base
# +nil+ in order to reset the value otherwise another field will be added
# for the same header.
#
- # source://actionmailer//lib/action_mailer/base.rb#717
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:717
def headers(args = T.unsafe(nil)); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def javascripts_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def javascripts_dir=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:489
def logger; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:489
def logger=(value); end
# The main method that creates the message and renders the email templates. There are
@@ -853,142 +849,140 @@ class ActionMailer::Base < ::AbstractController::Base
# format.html
# end
#
- # source://actionmailer//lib/action_mailer/base.rb#864
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:864
def mail(headers = T.unsafe(nil), &block); end
# Returns the name of the mailer object.
#
- # source://actionmailer//lib/action_mailer/base.rb#672
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:672
def mailer_name; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:636
def message; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:636
def message=(_arg0); end
- # source://actionmailer//lib/action_mailer/parameterized.rb#95
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:481
def params; end
- # source://actionmailer//lib/action_mailer/parameterized.rb#93
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:481
def params=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def perform_caching; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def perform_caching=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#16
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def perform_deliveries; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#16
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def perform_deliveries=(val); end
- # source://actionmailer//lib/action_mailer/preview.rb#25
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def preview_interceptors; end
- # source://actionmailer//lib/action_mailer/preview.rb#14
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def preview_paths; end
- # source://actionmailer//lib/action_mailer/base.rb#644
- def process(method_name, *args, **_arg2); end
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:644
+ def process(method_name, *args, **); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def raise_delivery_errors; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def raise_delivery_errors=(val); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def raise_on_missing_callback_actions; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def raise_on_missing_callback_actions=(val); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def relative_url_root; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def relative_url_root=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def rescue_handlers=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def rescue_handlers?; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def sendmail_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def sendmail_settings=(_arg0); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def sendmail_settings?; end
- # source://actionmailer//lib/action_mailer/preview.rb#22
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def show_previews; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def smtp_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def smtp_settings=(_arg0); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def smtp_settings?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def stylesheets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def stylesheets_dir=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def test_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def test_settings=(_arg0); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def test_settings?; end
private
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout(lookup_context, formats, keys); end
- # source://actionmailer//lib/action_mailer/base.rb#1065
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:1065
def _protected_ivars; end
- # source://actionmailer//lib/action_mailer/base.rb#941
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:941
def apply_defaults(headers); end
- # source://actionmailer//lib/action_mailer/base.rb#961
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:961
def assign_headers_to_message(message, headers); end
- # source://actionmailer//lib/action_mailer/base.rb#967
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:967
def collect_responses(headers, &block); end
- # @yield [collector]
- #
- # source://actionmailer//lib/action_mailer/base.rb#977
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:977
def collect_responses_from_block(headers); end
- # source://actionmailer//lib/action_mailer/base.rb#991
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:991
def collect_responses_from_templates(headers); end
- # source://actionmailer//lib/action_mailer/base.rb#984
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:984
def collect_responses_from_text(headers); end
- # source://actionmailer//lib/action_mailer/base.rb#951
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:951
def compute_default(value); end
- # source://actionmailer//lib/action_mailer/base.rb#1034
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:1034
def create_parts_from_responses(m, responses); end
# Translates the +subject+ using \Rails I18n class under [mailer_scope, action_name] scope.
@@ -996,21 +990,21 @@ class ActionMailer::Base < ::AbstractController::Base
# humanized version of the action_name.
# If the subject has interpolations, you can pass them through the +interpolations+ parameter.
#
- # source://actionmailer//lib/action_mailer/base.rb#931
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:931
def default_i18n_subject(interpolations = T.unsafe(nil)); end
- # source://actionmailer//lib/action_mailer/base.rb#1004
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:1004
def each_template(paths, name, &block); end
- # source://actionmailer//lib/action_mailer/base.rb#1047
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:1047
def insert_part(container, response, charset); end
- # source://actionmailer//lib/action_mailer/base.rb#1061
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:1061
def instrument_name; end
# This and #instrument_name is for caching instrument
#
- # source://actionmailer//lib/action_mailer/base.rb#1054
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:1054
def instrument_payload(key); end
# Used by #mail to set the content type of the message.
@@ -1023,139 +1017,132 @@ class ActionMailer::Base < ::AbstractController::Base
# attachments, or the message is multipart, then the default content type is
# used.
#
- # source://actionmailer//lib/action_mailer/base.rb#909
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:909
def set_content_type(m, user_content_type, class_default); end
- # source://actionmailer//lib/action_mailer/base.rb#1013
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:1013
def wrap_inline_attachments(message); end
class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def __callbacks=(value); end
- # source://actionmailer//lib/action_mailer/form_builder.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:483
def _default_form_builder; end
- # source://actionmailer//lib/action_mailer/form_builder.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:483
def _default_form_builder=(value); end
- # source://actionmailer//lib/action_mailer/form_builder.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:483
def _default_form_builder?; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def _deliver_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def _deliver_callbacks=(value); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def _helper_methods; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def _helper_methods=(value); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def _helper_methods?; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/helpers.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def _helpers; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#211
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#211
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout=(value); end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#211
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout?; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout_conditions; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout_conditions=(value); end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def _layout_conditions?; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def _process_action_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def _process_action_callbacks=(value); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def _view_cache_dependencies; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def _view_cache_dependencies=(value); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def _view_cache_dependencies?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def asset_host; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def asset_host=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def assets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
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.
- # If this is an anonymous mailer, this method will return +anonymous+ instead.
- #
- # source://actionmailer//lib/action_mailer/base.rb#570
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:575
def controller_path; end
# Allows to set defaults through app configuration:
#
# config.action_mailer.default_options = { from: "no-reply@example.org" }
#
- # source://actionmailer//lib/action_mailer/base.rb#580
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:580
def default(value = T.unsafe(nil)); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def default_asset_host_protocol; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def default_asset_host_protocol=(value); end
- # Allows to set defaults through app configuration:
- #
- # config.action_mailer.default_options = { from: "no-reply@example.org" }
- #
- # source://actionmailer//lib/action_mailer/base.rb#580
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:584
def default_options=(value = T.unsafe(nil)); end
- # source://actionmailer//lib/action_mailer/base.rb#502
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def default_params; end
- # source://actionmailer//lib/action_mailer/base.rb#502
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def default_params=(value); end
- # source://actionmailer//lib/action_mailer/base.rb#502
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def default_params?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def default_static_extension; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def default_static_extension=(value); end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#9
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def deliver_later_queue_name; end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#9
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def deliver_later_queue_name=(value); end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#9
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def deliver_later_queue_name?; end
# Wraps an email delivery inside of ActiveSupport::Notifications instrumentation.
@@ -1165,405 +1152,400 @@ class ActionMailer::Base < ::AbstractController::Base
# calling +deliver_mail+ directly and passing a +Mail::Message+ will do
# nothing except tell the logger you sent the email.
#
- # source://actionmailer//lib/action_mailer/base.rb#592
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:592
def deliver_mail(mail); end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def delivery_job; end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def delivery_job=(value); end
- # source://actionmailer//lib/action_mailer/queued_delivery.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def delivery_job?; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#19
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_method; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#19
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_method=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#19
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_method?; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_methods; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_methods=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def delivery_methods?; end
# Returns an email in the format "Name ".
#
# If the name is a blank string, it returns just the address.
#
- # source://actionmailer//lib/action_mailer/base.rb#602
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:602
def email_address_with_name(address, name); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def enable_fragment_cache_logging; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def enable_fragment_cache_logging=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def file_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def file_settings=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def file_settings?; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def fragment_cache_keys; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def fragment_cache_keys=(value); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def fragment_cache_keys?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def javascripts_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def javascripts_dir=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:489
def logger; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:489
def logger=(value); end
# Returns the name of the current mailer. This method is also being used as a path for a view lookup.
# If this is an anonymous mailer, this method will return +anonymous+ instead.
+ # Allows to set the name of current mailer.
#
- # source://actionmailer//lib/action_mailer/base.rb#570
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:570
def mailer_name; end
+ # Returns the name of the current mailer. This method is also being used as a path for a view lookup.
+ # If this is an anonymous mailer, this method will return +anonymous+ instead.
# Allows to set the name of current mailer.
#
- # source://actionmailer//lib/action_mailer/base.rb#574
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:574
def mailer_name=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def perform_caching; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def perform_caching=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#16
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def perform_deliveries; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#16
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def perform_deliveries=(val); end
- # source://actionmailer//lib/action_mailer/preview.rb#25
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def preview_interceptors; end
- # source://actionmailer//lib/action_mailer/preview.rb#25
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def preview_interceptors=(val); end
- # source://actionmailer//lib/action_mailer/preview.rb#14
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def preview_paths; end
- # source://actionmailer//lib/action_mailer/preview.rb#14
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def preview_paths=(val); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def raise_delivery_errors; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def raise_delivery_errors=(val); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def raise_on_missing_callback_actions; end
- # source://actionpack/8.0.5.1/lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:493
def raise_on_missing_callback_actions=(val); end
# Register an Interceptor which will be called before mail is sent.
# Either a class, string, or symbol can be passed in as the Interceptor.
# If a string or symbol is passed in it will be camelized and constantized.
#
- # source://actionmailer//lib/action_mailer/base.rb#547
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:547
def register_interceptor(interceptor); end
# Register one or more Interceptors which will be called before mail is sent.
#
- # source://actionmailer//lib/action_mailer/base.rb#521
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:521
def register_interceptors(*interceptors); end
# Register an Observer which will be notified when mail is delivered.
# Either a class, string, or symbol can be passed in as the Observer.
# If a string or symbol is passed in it will be camelized and constantized.
#
- # source://actionmailer//lib/action_mailer/base.rb#533
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:533
def register_observer(observer); end
# Register one or more Observers which will be notified when mail is delivered.
#
- # source://actionmailer//lib/action_mailer/base.rb#511
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:511
def register_observers(*observers); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def relative_url_root; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def relative_url_root=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def rescue_handlers=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def rescue_handlers?; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def sendmail_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def sendmail_settings=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def sendmail_settings?; end
- # source://actionmailer//lib/action_mailer/preview.rb#22
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def show_previews; end
- # source://actionmailer//lib/action_mailer/preview.rb#22
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:482
def show_previews=(val); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def smtp_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def smtp_settings=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def smtp_settings?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def stylesheets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:492
def stylesheets_dir=(value); end
# Emails do not support relative path links.
#
- # @return [Boolean]
- #
- # source://actionmailer//lib/action_mailer/base.rb#937
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:937
def supports_path?; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def test_settings; end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def test_settings=(value); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#52
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def test_settings?; end
# Unregister a previously registered Interceptor.
# Either a class, string, or symbol can be passed in as the Interceptor.
# If a string or symbol is passed in it will be camelized and constantized.
#
- # source://actionmailer//lib/action_mailer/base.rb#554
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:554
def unregister_interceptor(interceptor); end
# Unregister one or more previously registered Interceptors.
#
- # source://actionmailer//lib/action_mailer/base.rb#526
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:526
def unregister_interceptors(*interceptors); end
# Unregister a previously registered Observer.
# Either a class, string, or symbol can be passed in as the Observer.
# If a string or symbol is passed in it will be camelized and constantized.
#
- # source://actionmailer//lib/action_mailer/base.rb#540
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:540
def unregister_observer(observer); end
# Unregister one or more previously registered Observers.
#
- # source://actionmailer//lib/action_mailer/base.rb#516
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:516
def unregister_observers(*observers); end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:477
def __class_attr___callbacks=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:483
def __class_attr__default_form_builder; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:483
def __class_attr__default_form_builder=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def __class_attr__helper_methods; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:490
def __class_attr__helper_methods=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def __class_attr__layout; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def __class_attr__layout=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def __class_attr__layout_conditions; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:496
def __class_attr__layout_conditions=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def __class_attr__view_cache_dependencies; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def __class_attr__view_cache_dependencies=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def __class_attr_default_params; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:502
def __class_attr_default_params=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def __class_attr_deliver_later_queue_name; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def __class_attr_deliver_later_queue_name=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def __class_attr_delivery_job; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:479
def __class_attr_delivery_job=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_delivery_method; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_delivery_method=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_delivery_methods; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_delivery_methods=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_file_settings; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_file_settings=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def __class_attr_fragment_cache_keys; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
def __class_attr_fragment_cache_keys=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def __class_attr_rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:480
def __class_attr_rescue_handlers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_sendmail_settings; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_sendmail_settings=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_smtp_settings; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_smtp_settings=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_test_settings; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:478
def __class_attr_test_settings=(new_value); end
- # source://actionmailer//lib/action_mailer/base.rb#623
- def method_missing(method_name, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:623
+ def method_missing(method_name, *, **, &); end
- # source://actionmailer//lib/action_mailer/base.rb#558
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:558
def observer_class_for(value); end
- # @return [Boolean]
- #
- # source://actionmailer//lib/action_mailer/base.rb#631
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:631
def respond_to_missing?(method, include_all = T.unsafe(nil)); end
- # source://actionmailer//lib/action_mailer/base.rb#610
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:610
def set_payload_for_mail(payload, mail); end
end
end
-# source://actionmailer//lib/action_mailer/base.rb#0
+# pkg:gem/actionmailer#lib/action_mailer/base.rb:490
module ActionMailer::Base::HelperMethods
include ::ActionMailer::MailHelper
include ::ActionText::ContentHelper
include ::ActionText::TagHelper
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching/fragments.rb#34
- def combined_fragment_cache_key(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
+ def combined_fragment_cache_key(*, **, &); end
- # source://actionpack/8.0.5.1/lib/abstract_controller/caching.rb#45
- def view_cache_dependencies(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:494
+ def view_cache_dependencies(*, **, &); end
end
-# source://actionmailer//lib/action_mailer/base.rb#763
+# pkg:gem/actionmailer#lib/action_mailer/base.rb:763
class ActionMailer::Base::LateAttachmentsProxy < ::SimpleDelegator
- # source://actionmailer//lib/action_mailer/base.rb#765
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:765
def []=(_name, _content); end
- # source://actionmailer//lib/action_mailer/base.rb#764
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:764
def inline; end
private
- # @raise [RuntimeError]
- #
- # source://actionmailer//lib/action_mailer/base.rb#768
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:768
def _raise_error; end
end
-# source://actionmailer//lib/action_mailer/base.rb#658
+# pkg:gem/actionmailer#lib/action_mailer/base.rb:658
class ActionMailer::Base::NullMail
- # source://actionmailer//lib/action_mailer/base.rb#659
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:659
def body; end
- # source://actionmailer//lib/action_mailer/base.rb#660
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:660
def header; end
- # source://actionmailer//lib/action_mailer/base.rb#666
- def method_missing(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:666
+ def method_missing(*, **, &); end
- # @return [Boolean]
- #
- # source://actionmailer//lib/action_mailer/base.rb#662
+ # pkg:gem/actionmailer#lib/action_mailer/base.rb:662
def respond_to?(string, include_all = T.unsafe(nil)); end
end
-# source://actionmailer//lib/action_mailer/base.rb#498
+# pkg:gem/actionmailer#lib/action_mailer/base.rb:498
ActionMailer::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array)
-# source://actionmailer//lib/action_mailer/callbacks.rb#4
+# pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:4
module ActionMailer::Callbacks
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -1584,51 +1566,43 @@ module ActionMailer::Callbacks
end
end
-# source://actionmailer//lib/action_mailer/callbacks.rb#12
+# pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:12
module ActionMailer::Callbacks::ClassMethods
# Defines a callback that will get called right after the
# message's delivery method is finished.
#
- # source://actionmailer//lib/action_mailer/callbacks.rb#21
+ # pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:21
def after_deliver(*filters, &blk); end
# Defines a callback that will get called around the message's deliver method.
#
- # source://actionmailer//lib/action_mailer/callbacks.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:26
def around_deliver(*filters, &blk); end
# Defines a callback that will get called right before the
# message is sent to the delivery method.
#
- # source://actionmailer//lib/action_mailer/callbacks.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:15
def before_deliver(*filters, &blk); end
end
-# source://actionmailer//lib/action_mailer/collector.rb#8
+# pkg:gem/actionmailer#lib/action_mailer/collector.rb:8
class ActionMailer::Collector
include ::AbstractController::Collector
- # @return [Collector] a new instance of Collector
- #
- # source://actionmailer//lib/action_mailer/collector.rb#12
+ # pkg:gem/actionmailer#lib/action_mailer/collector.rb:12
def initialize(context, &block); end
- # @raise [ArgumentError]
- #
- # source://actionmailer//lib/action_mailer/collector.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/collector.rb:23
def all(*args, &block); end
- # @raise [ArgumentError]
- #
- # source://actionmailer//lib/action_mailer/collector.rb#18
+ # pkg:gem/actionmailer#lib/action_mailer/collector.rb:18
def any(*args, &block); end
- # source://actionmailer//lib/action_mailer/collector.rb#25
+ # pkg:gem/actionmailer#lib/action_mailer/collector.rb:25
def custom(mime, options = T.unsafe(nil)); end
- # Returns the value of attribute responses.
- #
- # source://actionmailer//lib/action_mailer/collector.rb#10
+ # pkg:gem/actionmailer#lib/action_mailer/collector.rb:10
def responses; end
end
@@ -1637,7 +1611,7 @@ end
# This module handles everything related to mail delivery, from registering
# new delivery methods to configuring the mail object to be sent.
#
-# source://actionmailer//lib/action_mailer/delivery_methods.rb#10
+# pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:10
module ActionMailer::DeliveryMethods
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -1645,7 +1619,7 @@ module ActionMailer::DeliveryMethods
mixes_in_class_methods GeneratedClassMethods
mixes_in_class_methods ::ActionMailer::DeliveryMethods::ClassMethods
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#79
+ # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:79
def wrap_delivery_behavior!(*args); end
module GeneratedClassMethods
@@ -1693,7 +1667,7 @@ end
# Helpers for creating and wrapping delivery behavior, used by DeliveryMethods.
#
-# source://actionmailer//lib/action_mailer/delivery_methods.rb#41
+# pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:41
module ActionMailer::DeliveryMethods::ClassMethods
# Adds a new delivery method through the given class using the given
# symbol as alias and the default options supplied.
@@ -1702,16 +1676,16 @@ module ActionMailer::DeliveryMethods::ClassMethods
# location: '/usr/sbin/sendmail',
# arguments: %w[ -i ]
#
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#51
+ # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:51
def add_delivery_method(symbol, klass, default_options = T.unsafe(nil)); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#43
- def deliveries(&_arg0); end
+ # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:43
+ def deliveries(&); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#43
+ # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:43
def deliveries=(arg); end
- # source://actionmailer//lib/action_mailer/delivery_methods.rb#57
+ # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:57
def wrap_delivery_behavior(mail, method = T.unsafe(nil), options = T.unsafe(nil)); end
end
@@ -1726,7 +1700,7 @@ end
#
# For more information, see +ActionController::FormBuilder+.
#
-# source://actionmailer//lib/action_mailer/form_builder.rb#14
+# pkg:gem/actionmailer#lib/action_mailer/form_builder.rb:14
module ActionMailer::FormBuilder
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -1736,7 +1710,7 @@ module ActionMailer::FormBuilder
# Default form builder for the mailer
#
- # source://actionmailer//lib/action_mailer/form_builder.rb#33
+ # pkg:gem/actionmailer#lib/action_mailer/form_builder.rb:33
def default_form_builder; end
module GeneratedClassMethods
@@ -1748,7 +1722,7 @@ module ActionMailer::FormBuilder
module GeneratedInstanceMethods; end
end
-# source://actionmailer//lib/action_mailer/form_builder.rb#21
+# pkg:gem/actionmailer#lib/action_mailer/form_builder.rb:21
module ActionMailer::FormBuilder::ClassMethods
# Set the form builder to be used as the default for all forms
# in the views rendered by this mailer and its subclasses.
@@ -1756,7 +1730,7 @@ module ActionMailer::FormBuilder::ClassMethods
# ==== Parameters
# * builder - Default form builder, an instance of ActionView::Helpers::FormBuilder
#
- # source://actionmailer//lib/action_mailer/form_builder.rb#27
+ # pkg:gem/actionmailer#lib/action_mailer/form_builder.rb:27
def default_form_builder(builder); end
end
@@ -1771,41 +1745,37 @@ end
#
# ActionMailer::Base.preview_interceptors.delete(ActionMailer::InlinePreviewInterceptor)
#
-# source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#17
+# pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:17
class ActionMailer::InlinePreviewInterceptor
include ::Base64
- # @return [InlinePreviewInterceptor] a new instance of InlinePreviewInterceptor
- #
- # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#26
+ # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:26
def initialize(message); end
- # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#30
+ # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:30
def transform!; end
private
- # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#51
+ # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:51
def data_url(part); end
- # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#55
+ # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:55
def find_part(cid); end
- # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#47
+ # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:47
def html_part; end
- # Returns the value of attribute message.
- #
- # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#45
+ # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:45
def message; end
class << self
- # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#22
+ # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:22
def previewing_email(message); end
end
end
-# source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#18
+# pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:18
ActionMailer::InlinePreviewInterceptor::PATTERN = T.let(T.unsafe(nil), Regexp)
# = Action Mailer \LogSubscriber
@@ -1813,30 +1783,30 @@ ActionMailer::InlinePreviewInterceptor::PATTERN = T.let(T.unsafe(nil), Regexp)
# Implements the ActiveSupport::LogSubscriber for logging notifications when
# email is delivered or received.
#
-# source://actionmailer//lib/action_mailer/log_subscriber.rb#10
+# pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:10
class ActionMailer::LogSubscriber < ::ActiveSupport::LogSubscriber
# An email was delivered.
#
- # source://actionmailer//lib/action_mailer/log_subscriber.rb#12
+ # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:12
def deliver(event); end
# Use the logger configured for ActionMailer::Base.
#
- # source://actionmailer//lib/action_mailer/log_subscriber.rb#38
+ # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:38
def logger; end
# An email was generated.
#
- # source://actionmailer//lib/action_mailer/log_subscriber.rb#28
+ # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:28
def process(event); end
class << self
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:25
def __class_attr_log_levels; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:25
def __class_attr_log_levels=(new_value); end
end
end
@@ -1849,35 +1819,35 @@ end
#
# Exceptions are rescued and handled by the mailer class.
#
-# source://actionmailer//lib/action_mailer/mail_delivery_job.rb#13
+# pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:13
class ActionMailer::MailDeliveryJob < ::ActiveJob::Base
- # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#21
+ # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:21
def perform(mailer, mail_method, delivery_method, args:, kwargs: T.unsafe(nil), params: T.unsafe(nil)); end
private
- # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#40
+ # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:40
def handle_exception_with_mailer_class(exception); end
# "Deserialize" the mailer class name by hand in case another argument
# (like a Global ID reference) raised DeserializationError.
#
- # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#34
+ # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:34
def mailer_class; end
class << self
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:14
def __class_attr_queue_name; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:14
def __class_attr_queue_name=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:19
def __class_attr_rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:19
def __class_attr_rescue_handlers=(new_value); end
end
end
@@ -1888,11 +1858,11 @@ end
# formatting messages, accessing mailer or message instances, and the
# attachments list.
#
-# source://actionmailer//lib/action_mailer/mail_helper.rb#9
+# pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:9
module ActionMailer::MailHelper
# Access the message attachments list.
#
- # source://actionmailer//lib/action_mailer/mail_helper.rb#53
+ # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:53
def attachments; end
# Take the text and format it, indented two spaces for each line, and
@@ -1908,7 +1878,7 @@ module ActionMailer::MailHelper
# block_format text
# # => " This is the paragraph.\n\n * item1\n * item2\n"
#
- # source://actionmailer//lib/action_mailer/mail_helper.rb#22
+ # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:22
def block_format(text); end
# Returns +text+ wrapped at +len+ columns and indented +indent+ spaces.
@@ -1920,17 +1890,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#65
+ # pkg:gem/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#43
+ # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:43
def mailer; end
# Access the message instance.
#
- # source://actionmailer//lib/action_mailer/mail_helper.rb#48
+ # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:48
def message; end
end
@@ -1948,21 +1918,19 @@ end
# Notifier.welcome(User.first).deliver_later # enqueue email delivery as a job through Active Job
# Notifier.welcome(User.first).message # a Mail::Message object
#
-# source://actionmailer//lib/action_mailer/message_delivery.rb#19
+# pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:19
class ActionMailer::MessageDelivery
- # @return [MessageDelivery] a new instance of MessageDelivery
- #
- # source://actionmailer//lib/action_mailer/message_delivery.rb#20
- def initialize(mailer_class, action, *args, **_arg3); end
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:20
+ def initialize(mailer_class, action, *args, **); end
# Method calls are delegated to the Mail::Message that's ready to deliver.
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#31
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:31
def __getobj__; end
# Unused except for delegator internals (dup, marshalling).
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#36
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:36
def __setobj__(mail_message); end
# Enqueues the email to be delivered through Active Job. When the
@@ -1989,7 +1957,7 @@ class ActionMailer::MessageDelivery
# self.delivery_job = RegistrationDeliveryJob
# end
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#102
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:102
def deliver_later(options = T.unsafe(nil)); end
# Enqueues the email to be delivered through Active Job. When the
@@ -2018,14 +1986,14 @@ class ActionMailer::MessageDelivery
# self.delivery_job = RegistrationDeliveryJob
# end
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#75
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:75
def deliver_later!(options = T.unsafe(nil)); end
# Delivers an email:
#
# Notifier.welcome(User.first).deliver_now
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#123
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:123
def deliver_now; end
# Delivers an email without checking +perform_deliveries+ and +raise_delivery_errors+,
@@ -2033,38 +2001,34 @@ class ActionMailer::MessageDelivery
#
# Notifier.welcome(User.first).deliver_now!
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#111
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:111
def deliver_now!; end
# Returns the resulting Mail::Message
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#41
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:41
def message; end
# Was the delegate loaded, causing the mailer action to be processed?
#
- # @return [Boolean]
- #
- # source://actionmailer//lib/action_mailer/message_delivery.rb#46
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:46
def processed?; end
private
- # source://actionmailer//lib/action_mailer/message_delivery.rb#140
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:140
def enqueue_delivery(delivery_method, options = T.unsafe(nil)); end
# Returns the processed Mailer instance. We keep this instance
# on hand so we can run callbacks and delegate exception handling to it.
#
- # source://actionmailer//lib/action_mailer/message_delivery.rb#134
+ # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:134
def processed_mailer; end
end
-# source://actionmailer//lib/action_mailer/test_case.rb#7
+# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:7
class ActionMailer::NonInferrableMailerError < ::StandardError
- # @return [NonInferrableMailerError] a new instance of NonInferrableMailerError
- #
- # source://actionmailer//lib/action_mailer/test_case.rb#8
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:8
def initialize(name); end
end
@@ -2154,14 +2118,14 @@ end
#
# InvitationsMailer.with(inviter: person_a, invitee: person_b).account_invitation.deliver_later
#
-# source://actionmailer//lib/action_mailer/parameterized.rb#89
+# pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:89
module ActionMailer::Parameterized
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionMailer::Parameterized::ClassMethods
end
-# source://actionmailer//lib/action_mailer/parameterized.rb#100
+# pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:100
module ActionMailer::Parameterized::ClassMethods
# Provide the parameters to the mailer in order to use them in the instance methods and callbacks.
#
@@ -2169,156 +2133,142 @@ module ActionMailer::Parameterized::ClassMethods
#
# See Parameterized documentation for full example.
#
- # source://actionmailer//lib/action_mailer/parameterized.rb#106
+ # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:106
def with(params); end
end
-# source://actionmailer//lib/action_mailer/parameterized.rb#111
+# pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:111
class ActionMailer::Parameterized::Mailer
- # @return [Mailer] a new instance of Mailer
- #
- # source://actionmailer//lib/action_mailer/parameterized.rb#112
+ # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:112
def initialize(mailer, params); end
private
- # source://actionmailer//lib/action_mailer/parameterized.rb#117
- def method_missing(method_name, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:117
+ def method_missing(method_name, *, **, &); end
- # @return [Boolean]
- #
- # source://actionmailer//lib/action_mailer/parameterized.rb#125
+ # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:125
def respond_to_missing?(method, include_all = T.unsafe(nil)); end
end
-# source://actionmailer//lib/action_mailer/parameterized.rb#130
+# pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:130
class ActionMailer::Parameterized::MessageDelivery < ::ActionMailer::MessageDelivery
- # @return [MessageDelivery] a new instance of MessageDelivery
- #
- # source://actionmailer//lib/action_mailer/parameterized.rb#131
- def initialize(mailer_class, action, params, *_arg3, **_arg4, &_arg5); end
+ # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:131
+ def initialize(mailer_class, action, params, *, **, &); end
private
- # source://actionmailer//lib/action_mailer/parameterized.rb#144
+ # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:144
def enqueue_delivery(delivery_method, options = T.unsafe(nil)); end
- # source://actionmailer//lib/action_mailer/parameterized.rb#137
+ # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:137
def processed_mailer; end
end
-# source://actionmailer//lib/action_mailer/preview.rb#69
+# pkg:gem/actionmailer#lib/action_mailer/preview.rb:69
class ActionMailer::Preview
extend ::ActiveSupport::DescendantsTracker
- # @return [Preview] a new instance of Preview
- #
- # source://actionmailer//lib/action_mailer/preview.rb#74
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:74
def initialize(params = T.unsafe(nil)); end
- # Returns the value of attribute params.
- #
- # source://actionmailer//lib/action_mailer/preview.rb#72
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:72
def params; end
class << self
# Returns all mailer preview classes.
#
- # source://actionmailer//lib/action_mailer/preview.rb#80
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:80
def all; end
# Returns the mail object for the given email name. The registered preview
# interceptors will be informed so that they can transform the message
# as they would if the mail was actually being delivered.
#
- # source://actionmailer//lib/action_mailer/preview.rb#88
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:88
def call(email, params = T.unsafe(nil)); end
# Returns +true+ if the email exists.
#
- # @return [Boolean]
- #
- # source://actionmailer//lib/action_mailer/preview.rb#101
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:101
def email_exists?(email); end
# Returns all of the available email previews.
#
- # source://actionmailer//lib/action_mailer/preview.rb#96
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:96
def emails; end
# Returns +true+ if the preview exists.
#
- # @return [Boolean]
- #
- # source://actionmailer//lib/action_mailer/preview.rb#106
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:106
def exists?(preview); end
# Find a mailer preview by its underscored class name.
#
- # source://actionmailer//lib/action_mailer/preview.rb#111
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:111
def find(preview); end
# Returns the underscored name of the mailer preview without the suffix.
#
- # source://actionmailer//lib/action_mailer/preview.rb#116
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:116
def preview_name; end
private
- # source://actionmailer//lib/action_mailer/preview.rb#135
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:135
def inform_preview_interceptors(message); end
- # source://actionmailer//lib/action_mailer/preview.rb#121
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:121
def load_previews; end
- # source://actionmailer//lib/action_mailer/preview.rb#127
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:127
def preview_paths; end
- # source://actionmailer//lib/action_mailer/preview.rb#131
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:131
def show_previews; end
end
end
-# source://actionmailer//lib/action_mailer/preview.rb#6
+# pkg:gem/actionmailer#lib/action_mailer/preview.rb:6
module ActionMailer::Previews
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionMailer::Previews::ClassMethods
end
-# source://actionmailer//lib/action_mailer/preview.rb#28
+# pkg:gem/actionmailer#lib/action_mailer/preview.rb:28
module ActionMailer::Previews::ClassMethods
# Register an Interceptor which will be called before mail is previewed.
# Either a class or a string can be passed in as the Interceptor. If a
# string is passed in it will be constantized.
#
- # source://actionmailer//lib/action_mailer/preview.rb#42
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:42
def register_preview_interceptor(interceptor); end
# Register one or more Interceptors which will be called before mail is previewed.
#
- # source://actionmailer//lib/action_mailer/preview.rb#30
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:30
def register_preview_interceptors(*interceptors); end
# Unregister a previously registered Interceptor.
# Either a class or a string can be passed in as the Interceptor. If a
# string is passed in it will be constantized.
#
- # source://actionmailer//lib/action_mailer/preview.rb#53
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:53
def unregister_preview_interceptor(interceptor); end
# Unregister one or more previously registered Interceptors.
#
- # source://actionmailer//lib/action_mailer/preview.rb#35
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:35
def unregister_preview_interceptors(*interceptors); end
private
- # source://actionmailer//lib/action_mailer/preview.rb#58
+ # pkg:gem/actionmailer#lib/action_mailer/preview.rb:58
def interceptor_class_for(interceptor); end
end
-# source://actionmailer//lib/action_mailer/queued_delivery.rb#4
+# pkg:gem/actionmailer#lib/action_mailer/queued_delivery.rb:4
module ActionMailer::QueuedDelivery
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -2344,7 +2294,7 @@ module ActionMailer::QueuedDelivery
end
end
-# source://actionmailer//lib/action_mailer/railtie.rb#9
+# pkg:gem/actionmailer#lib/action_mailer/railtie.rb:9
class ActionMailer::Railtie < ::Rails::Railtie; end
# = Action Mailer \Rescuable
@@ -2354,7 +2304,7 @@ class ActionMailer::Railtie < ::Rails::Railtie; end
# for mailers. Wraps mailer action processing, mail job processing, and mail
# delivery to handle configured errors.
#
-# source://actionmailer//lib/action_mailer/rescuable.rb#10
+# pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:10
module ActionMailer::Rescuable
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -2364,13 +2314,13 @@ module ActionMailer::Rescuable
mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods
mixes_in_class_methods ::ActionMailer::Rescuable::ClassMethods
- # source://actionmailer//lib/action_mailer/rescuable.rb#20
+ # pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:20
def handle_exceptions; end
private
- # source://actionmailer//lib/action_mailer/rescuable.rb#27
- def process(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:27
+ def process(*, **, &); end
module GeneratedClassMethods
def rescue_handlers; end
@@ -2385,13 +2335,13 @@ module ActionMailer::Rescuable
end
end
-# source://actionmailer//lib/action_mailer/rescuable.rb#0
+# pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:14
module ActionMailer::Rescuable::ClassMethods
- # source://actionmailer//lib/action_mailer/rescuable.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:15
def handle_exception(exception); end
end
-# source://actionmailer//lib/action_mailer/test_case.rb#15
+# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:15
class ActionMailer::TestCase < ::ActiveSupport::TestCase
include ::ActiveSupport::Testing::ConstantLookup
include ::ActiveJob::TestHelper
@@ -2402,42 +2352,42 @@ class ActionMailer::TestCase < ::ActiveSupport::TestCase
extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
extend ::ActionMailer::TestCase::Behavior::ClassMethods
- # source://actionmailer//lib/action_mailer/test_case.rb#41
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def _mailer_class; end
- # source://actionmailer//lib/action_mailer/test_case.rb#41
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def _mailer_class=(_arg0); end
- # source://actionmailer//lib/action_mailer/test_case.rb#41
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def _mailer_class?; end
class << self
- # source://actionmailer//lib/action_mailer/test_case.rb#41
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def _mailer_class; end
- # source://actionmailer//lib/action_mailer/test_case.rb#41
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def _mailer_class=(value); end
- # source://actionmailer//lib/action_mailer/test_case.rb#41
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def _mailer_class?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:42
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:42
def __class_attr___callbacks=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def __class_attr__mailer_class; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41
def __class_attr__mailer_class=(new_value); end
end
end
-# source://actionmailer//lib/action_mailer/test_case.rb#32
+# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:32
module ActionMailer::TestCase::Behavior
include ::ActiveSupport::Testing::Assertions
include ::ActiveJob::TestHelper
@@ -2458,30 +2408,30 @@ module ActionMailer::TestCase::Behavior
# an email inside a fixture. See the testing guide for a concrete example:
# https://guides.rubyonrails.org/testing.html#revenge-of-the-fixtures
#
- # source://actionmailer//lib/action_mailer/test_case.rb#82
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:82
def read_fixture(action); end
private
- # source://actionmailer//lib/action_mailer/test_case.rb#115
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:115
def charset; end
- # source://actionmailer//lib/action_mailer/test_case.rb#119
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:119
def encode(subject); end
- # source://actionmailer//lib/action_mailer/test_case.rb#87
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:87
def initialize_test_deliveries; end
- # source://actionmailer//lib/action_mailer/test_case.rb#104
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:104
def restore_delivery_method; end
- # source://actionmailer//lib/action_mailer/test_case.rb#94
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:94
def restore_test_deliveries; end
- # source://actionmailer//lib/action_mailer/test_case.rb#99
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:99
def set_delivery_method(method); end
- # source://actionmailer//lib/action_mailer/test_case.rb#109
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:109
def set_expected_mail; end
module GeneratedClassMethods
@@ -2497,34 +2447,32 @@ module ActionMailer::TestCase::Behavior
end
end
-# source://actionmailer//lib/action_mailer/test_case.rb#48
+# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:48
module ActionMailer::TestCase::Behavior::ClassMethods
- # @raise [NonInferrableMailerError]
- #
- # source://actionmailer//lib/action_mailer/test_case.rb#68
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:68
def determine_default_mailer(name); end
- # source://actionmailer//lib/action_mailer/test_case.rb#60
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:60
def mailer_class; end
- # source://actionmailer//lib/action_mailer/test_case.rb#49
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:49
def tests(mailer); end
end
-# source://actionmailer//lib/action_mailer/test_case.rb#16
+# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:16
module ActionMailer::TestCase::ClearTestDeliveries
extend ::ActiveSupport::Concern
private
- # source://actionmailer//lib/action_mailer/test_case.rb#25
+ # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:25
def clear_test_deliveries; end
end
# Provides helper methods for testing Action Mailer, including #assert_emails
# and #assert_no_emails.
#
-# source://actionmailer//lib/action_mailer/test_helper.rb#9
+# pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:9
module ActionMailer::TestHelper
include ::ActiveSupport::Testing::Assertions
include ::ActiveJob::TestHelper
@@ -2553,7 +2501,7 @@ module ActionMailer::TestHelper
# end
# end
#
- # source://actionmailer//lib/action_mailer/test_helper.rb#35
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:35
def assert_emails(number, &block); end
# Asserts that a specific email has been enqueued, optionally
@@ -2619,7 +2567,7 @@ module ActionMailer::TestHelper
# end
# end
#
- # source://actionmailer//lib/action_mailer/test_helper.rb#157
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:157
def assert_enqueued_email_with(mailer, method, params: T.unsafe(nil), args: T.unsafe(nil), queue: T.unsafe(nil), &block); end
# Asserts that the number of emails enqueued for later delivery matches
@@ -2647,7 +2595,7 @@ module ActionMailer::TestHelper
# end
# end
#
- # source://actionmailer//lib/action_mailer/test_helper.rb#91
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:91
def assert_enqueued_emails(number, &block); end
# Asserts that no emails have been sent.
@@ -2670,7 +2618,7 @@ module ActionMailer::TestHelper
#
# assert_emails 0, &block
#
- # source://actionmailer//lib/action_mailer/test_helper.rb#63
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:63
def assert_no_emails(&block); end
# Asserts that no emails are enqueued for later delivery.
@@ -2689,7 +2637,7 @@ module ActionMailer::TestHelper
# end
# end
#
- # source://actionmailer//lib/action_mailer/test_helper.rb#191
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:191
def assert_no_enqueued_emails(&block); end
# Returns any emails that are sent in the block.
@@ -2707,7 +2655,7 @@ module ActionMailer::TestHelper
# assert_equal "Hi there", emails.first.subject
# end
#
- # source://actionmailer//lib/action_mailer/test_helper.rb#249
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:249
def capture_emails(&block); end
# Delivers all enqueued emails. If a block is given, delivers all of the emails
@@ -2747,29 +2695,29 @@ module ActionMailer::TestHelper
# If the +:at+ option is specified, then only delivers emails enqueued to deliver
# immediately or before the given time.
#
- # source://actionmailer//lib/action_mailer/test_helper.rb#231
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:231
def deliver_enqueued_emails(queue: T.unsafe(nil), at: T.unsafe(nil), &block); end
private
- # source://actionmailer//lib/action_mailer/test_helper.rb#258
+ # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:258
def delivery_job_filter(job); end
end
-# source://actionmailer//lib/action_mailer/gem_version.rb#9
+# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:9
module ActionMailer::VERSION; end
-# source://actionmailer//lib/action_mailer/gem_version.rb#10
+# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:10
ActionMailer::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
-# source://actionmailer//lib/action_mailer/gem_version.rb#11
+# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:11
ActionMailer::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
-# source://actionmailer//lib/action_mailer/gem_version.rb#13
+# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:13
ActionMailer::VERSION::PRE = T.let(T.unsafe(nil), String)
-# source://actionmailer//lib/action_mailer/gem_version.rb#15
+# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:15
ActionMailer::VERSION::STRING = T.let(T.unsafe(nil), String)
-# source://actionmailer//lib/action_mailer/gem_version.rb#12
+# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:12
ActionMailer::VERSION::TINY = T.let(T.unsafe(nil), Integer)
diff --git a/sorbet/rbi/gems/actionpack@8.0.5.1.rbi b/sorbet/rbi/gems/actionpack@8.0.5.2.rbi
similarity index 62%
rename from sorbet/rbi/gems/actionpack@8.0.5.1.rbi
rename to sorbet/rbi/gems/actionpack@8.0.5.2.rbi
index 66e22d7e..1ba9eedf 100644
--- a/sorbet/rbi/gems/actionpack@8.0.5.1.rbi
+++ b/sorbet/rbi/gems/actionpack@8.0.5.2.rbi
@@ -7,41 +7,39 @@
# :markup: markdown
#
-# source://actionpack//lib/abstract_controller/deprecator.rb#5
+# pkg:gem/actionpack#lib/abstract_controller/deprecator.rb:5
module AbstractController
extend ::ActiveSupport::Autoload
class << self
- # source://actionpack//lib/abstract_controller/deprecator.rb#6
+ # pkg:gem/actionpack#lib/abstract_controller/deprecator.rb:6
def deprecator; end
- # source://actionpack//lib/abstract_controller.rb#27
+ # pkg:gem/actionpack#lib/abstract_controller.rb:27
def eager_load!; end
end
end
# Raised when a non-existing controller action is triggered.
#
-# source://actionpack//lib/abstract_controller/base.rb#13
+# pkg:gem/actionpack#lib/abstract_controller/base.rb:13
class AbstractController::ActionNotFound < ::StandardError
include ::DidYouMean::Correctable
- # @return [ActionNotFound] a new instance of ActionNotFound
- #
- # source://actionpack//lib/abstract_controller/base.rb#16
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:16
def initialize(message = T.unsafe(nil), controller = T.unsafe(nil), action = T.unsafe(nil)); end
- # source://actionpack//lib/abstract_controller/base.rb#14
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:14
def action; end
- # source://actionpack//lib/abstract_controller/base.rb#14
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:14
def controller; end
- # source://actionpack//lib/abstract_controller/base.rb#25
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:25
def corrections; end
end
-# source://actionpack//lib/abstract_controller/asset_paths.rb#6
+# pkg:gem/actionpack#lib/abstract_controller/asset_paths.rb:6
module AbstractController::AssetPaths
extend ::ActiveSupport::Concern
end
@@ -53,9 +51,7 @@ end
# their own `render` method, since rendering means different things depending on
# the context.
#
-# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
-#
-# source://actionpack//lib/abstract_controller/base.rb#37
+# pkg:gem/actionpack#lib/abstract_controller/base.rb:37
class AbstractController::Base
include ::ActiveSupport::Configurable
extend ::ActiveSupport::Configurable::ClassMethods
@@ -63,15 +59,13 @@ class AbstractController::Base
# Delegates to the class's ::action_methods.
#
- # source://actionpack//lib/abstract_controller/base.rb#161
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def action_methods; end
- # Returns the name of the action this controller is processing.
- #
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:44
def action_name; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:44
def action_name=(_arg0); end
# Returns true if a method for the action is available and can be dispatched,
@@ -85,33 +79,27 @@ class AbstractController::Base
# #### Parameters
# * `action_name` - The name of an action to be tested
#
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/base.rb#176
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def available_action?(action_name); end
# Delegates to the class's ::controller_path.
#
- # source://actionpack//lib/abstract_controller/base.rb#156
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def controller_path; end
- # Returns the formats that can be processed by the controller.
- #
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:48
def formats; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:48
def formats=(_arg0); end
- # source://actionpack//lib/abstract_controller/base.rb#193
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def inspect; end
# Tests if a response body is set. Used to determine if the `process_action`
# callback needs to be terminated in AbstractController::Callbacks.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/base.rb#182
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def performed?; end
# Calls the action going through the entire Action Dispatch stack.
@@ -120,21 +108,21 @@ class AbstractController::Base
# If no method can handle the action, then an AbstractController::ActionNotFound
# error is raised.
#
- # source://actionpack//lib/abstract_controller/base.rb#143
- def process(action, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
+ def process(action, *, **, &); end
- # Returns the body of the HTTP response sent by the controller.
- #
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:40
def response_body; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:40
def response_body=(_arg0); end
# Actually call the method associated with the action. Override this method if
# you wish to change how action methods are called, not to add additional
# behavior around it. For example, you would override #send_action if you want
# to inject arguments into the method.
+ #
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def send_action(*_arg0); end
private
@@ -156,21 +144,19 @@ class AbstractController::Base
#
# Raise `AbstractController::ActionNotFound`.
#
- # source://actionpack//lib/abstract_controller/base.rb#247
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def _find_action_name(action_name); end
# If the action name was not found, but a method called "action_missing" was
# found, #method_for_action will return "_handle_action_missing". This method
# calls #action_missing with the current action name.
#
- # source://actionpack//lib/abstract_controller/base.rb#227
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def _handle_action_missing(*args); end
# Checks if the action name is valid and returns false otherwise.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/base.rb#284
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def _valid_action_name?(action_name); end
# Returns true if the name can be considered an action because it has a method
@@ -179,9 +165,7 @@ class AbstractController::Base
# #### Parameters
# * `name` - The name of an action to be tested
#
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/base.rb#204
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def action_method?(name); end
# Takes an action name and returns the name of the method that will handle the
@@ -208,7 +192,7 @@ class AbstractController::Base
# * `string` - The name of the method that handles the action
# * `nil` - No method name could be found.
#
- # source://actionpack//lib/abstract_controller/base.rb#275
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
def method_for_action(action_name); end
# Call the action. Override this in a subclass to modify the behavior around
@@ -218,23 +202,19 @@ class AbstractController::Base
# Notice that the first argument is the method to be dispatched which is **not**
# necessarily the same as the action name.
#
- # source://actionpack//lib/abstract_controller/base.rb#214
- def process_action(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:126
+ def process_action(*, **, &); end
class << self
- # Returns the value of attribute abstract.
- #
- # source://actionpack//lib/abstract_controller/base.rb#54
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:54
def abstract; end
# Define a controller as abstract. See internal_methods for more details.
#
- # source://actionpack//lib/abstract_controller/base.rb#58
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:58
def abstract!; end
- # Returns the value of attribute abstract.
- #
- # source://actionpack//lib/abstract_controller/base.rb#54
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:55
def abstract?; end
# A `Set` of method names that should be considered actions. This includes all
@@ -242,14 +222,14 @@ class AbstractController::Base
# internal_methods), adding back in any methods that are internal, but still
# exist on the class itself.
#
- # source://actionpack//lib/abstract_controller/base.rb#93
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:93
def action_methods; end
# action_methods are cached and there is sometimes a need to refresh them.
# ::clear_action_methods! allows you to do that, so next time you run
# action_methods, they will be recalculated.
#
- # source://actionpack//lib/abstract_controller/base.rb#108
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:108
def clear_action_methods!; end
# Returns the full controller name, underscored, without the ending Controller.
@@ -260,13 +240,13 @@ class AbstractController::Base
#
# MyApp::MyPostsController.controller_path # => "my_app/my_posts"
#
- # source://actionpack//lib/abstract_controller/base.rb#120
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:120
def controller_path; end
- # source://actionpack//lib/abstract_controller/base.rb#130
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:130
def eager_load!; end
- # source://actionpack//lib/abstract_controller/base.rb#62
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:62
def inherited(klass); end
# A list of all internal methods for a controller. This finds the first abstract
@@ -276,26 +256,24 @@ class AbstractController::Base
# removed. (ActionController::Metal and ActionController::Base are defined as
# abstract)
#
- # source://actionpack//lib/abstract_controller/base.rb#77
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:77
def internal_methods; end
# Refresh the cached action_methods when a new action_method is added.
#
- # source://actionpack//lib/abstract_controller/base.rb#125
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:125
def method_added(name); end
# Returns true if the given controller is capable of rendering a path. A
# subclass of `AbstractController::Base` may return false. An Email controller
# for example does not support paths, only full URLs.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/base.rb#189
+ # pkg:gem/actionpack#lib/abstract_controller/base.rb:189
def supports_path?; end
end
end
-# source://actionpack//lib/abstract_controller/caching.rb#6
+# pkg:gem/actionpack#lib/abstract_controller/caching.rb:6
module AbstractController::Caching
include ::AbstractController::Caching::ConfigMethods
extend ::ActiveSupport::Concern
@@ -308,14 +286,14 @@ module AbstractController::Caching
mixes_in_class_methods ::AbstractController::Caching::ClassMethods
mixes_in_class_methods ::AbstractController::Caching::ConfigMethods
- # source://actionpack//lib/abstract_controller/caching.rb#54
+ # pkg:gem/actionpack#lib/abstract_controller/caching.rb:54
def view_cache_dependencies; end
private
# Convenience accessor.
#
- # source://actionpack//lib/abstract_controller/caching.rb#60
+ # pkg:gem/actionpack#lib/abstract_controller/caching.rb:60
def cache(key, options = T.unsafe(nil), &block); end
module GeneratedClassMethods
@@ -337,25 +315,23 @@ module AbstractController::Caching
end
end
-# source://actionpack//lib/abstract_controller/caching.rb#48
+# pkg:gem/actionpack#lib/abstract_controller/caching.rb:48
module AbstractController::Caching::ClassMethods
- # source://actionpack//lib/abstract_controller/caching.rb#49
+ # pkg:gem/actionpack#lib/abstract_controller/caching.rb:49
def view_cache_dependency(&dependency); end
end
-# source://actionpack//lib/abstract_controller/caching.rb#14
+# pkg:gem/actionpack#lib/abstract_controller/caching.rb:14
module AbstractController::Caching::ConfigMethods
- # source://actionpack//lib/abstract_controller/caching.rb#15
+ # pkg:gem/actionpack#lib/abstract_controller/caching.rb:15
def cache_store; end
- # source://actionpack//lib/abstract_controller/caching.rb#19
+ # pkg:gem/actionpack#lib/abstract_controller/caching.rb:19
def cache_store=(store); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/caching.rb#24
+ # pkg:gem/actionpack#lib/abstract_controller/caching.rb:24
def cache_configured?; end
end
@@ -374,7 +350,7 @@ end
#
# expire_fragment('name_of_cache')
#
-# source://actionpack//lib/abstract_controller/caching/fragments.rb#21
+# pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:21
module AbstractController::Caching::Fragments
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -388,7 +364,7 @@ module AbstractController::Caching::Fragments
# `ENV["RAILS_APP_VERSION"]` if set, followed by any controller-wide key prefix
# values, ending with the specified `key` value.
#
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#68
+ # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:68
def combined_fragment_cache_key(key); end
# Removes fragments from the cache.
@@ -409,30 +385,28 @@ module AbstractController::Caching::Fragments
# `options` is passed through to the cache store's `delete` method (or
# `delete_matched`, for Regexp keys).
#
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#131
+ # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:131
def expire_fragment(key, options = T.unsafe(nil)); end
# Check if a cached fragment from the location signified by `key` exists (see
# `expire_fragment` for acceptable formats).
#
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#105
+ # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:105
def fragment_exist?(key, options = T.unsafe(nil)); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#144
+ # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:144
def instrument_fragment_cache(name, key, &block); end
# Reads a cached fragment from the location signified by `key` (see
# `expire_fragment` for acceptable formats).
#
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#93
+ # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:93
def read_fragment(key, options = T.unsafe(nil)); end
# Writes `content` to the location signified by `key` (see `expire_fragment` for
# acceptable formats).
#
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#80
+ # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:80
def write_fragment(key, content, options = T.unsafe(nil)); end
module GeneratedClassMethods
@@ -448,7 +422,7 @@ module AbstractController::Caching::Fragments
end
end
-# source://actionpack//lib/abstract_controller/caching/fragments.rb#38
+# pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:38
module AbstractController::Caching::Fragments::ClassMethods
# Allows you to specify controller-wide key prefixes for cache fragments. Pass
# either a constant `value`, or a block which computes a value each time a cache
@@ -470,7 +444,7 @@ module AbstractController::Caching::Fragments::ClassMethods
# end
# end
#
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#58
+ # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:58
def fragment_cache_key(value = T.unsafe(nil), &key); end
end
@@ -493,7 +467,7 @@ end
# * `skip_around_action`
# * `skip_before_action`
#
-# source://actionpack//lib/abstract_controller/callbacks.rb#24
+# pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:24
module AbstractController::Callbacks
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -509,8 +483,8 @@ module AbstractController::Callbacks
# Override `AbstractController::Base#process_action` to run the `process_action`
# callbacks around the normal behavior.
#
- # source://actionpack//lib/abstract_controller/callbacks.rb#259
- def process_action(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:259
+ def process_action(*, **, &); end
module GeneratedClassMethods
def __callbacks; end
@@ -522,35 +496,25 @@ module AbstractController::Callbacks
end
end
-# source://actionpack//lib/abstract_controller/callbacks.rb#39
+# pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:39
class AbstractController::Callbacks::ActionFilter
- # @return [ActionFilter] a new instance of ActionFilter
- #
- # source://actionpack//lib/abstract_controller/callbacks.rb#40
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:40
def initialize(filters, conditional_key, actions); end
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/callbacks.rb#46
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:69
def after(controller); end
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/callbacks.rb#46
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:71
def around(controller); end
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/callbacks.rb#46
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:70
def before(controller); end
- # @return [Boolean]
- #
- # source://actionpack//lib/abstract_controller/callbacks.rb#46
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:46
def match?(controller); end
end
-# source://actionpack//lib/abstract_controller/callbacks.rb#74
+# pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:74
module AbstractController::Callbacks::ClassMethods
# Take callback names and an optional callback proc, normalize them, then call
# the block with each callback. This allows us to abstract the normalization
@@ -566,10 +530,10 @@ module AbstractController::Callbacks::ClassMethods
# * `name` - The callback to be added.
# * `options` - A hash of options to be used when adding the callback.
#
- # source://actionpack//lib/abstract_controller/callbacks.rb#120
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:120
def _insert_callbacks(callbacks, block = T.unsafe(nil)); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#98
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:98
def _normalize_callback_option(options, from, to); end
# If `:only` or `:except` are used, convert the options into the `:if` and
@@ -590,179 +554,177 @@ module AbstractController::Callbacks::ClassMethods
# * `only` - The callback should be run only for this action.
# * `except` - The callback should be run for all actions except this action.
#
- # source://actionpack//lib/abstract_controller/callbacks.rb#93
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:93
def _normalize_callback_options(options); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#231
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:231
def after_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#231
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:252
def append_after_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#231
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:252
def append_around_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#231
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:252
def append_before_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#231
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:231
def around_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#231
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:231
def before_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#237
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:237
def prepend_after_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#237
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:237
def prepend_around_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#237
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:237
def prepend_before_action(*names, &blk); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#245
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:245
def skip_after_action(*names); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#245
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:245
def skip_around_action(*names); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#245
+ # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:245
def skip_before_action(*names); end
end
-# source://actionpack//lib/abstract_controller/collector.rb#8
+# pkg:gem/actionpack#lib/abstract_controller/collector.rb:8
module AbstractController::Collector
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def atom(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def atom(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def bmp(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def bmp(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def css(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def css(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def csv(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def csv(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def gif(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def gif(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def gzip(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def gzip(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def html(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def html(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def ics(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def ics(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def jpeg(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def jpeg(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def js(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def js(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def json(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def json(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def m4a(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def m4a(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def mp3(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def mp3(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def mp4(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def mp4(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def mpeg(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def mpeg(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def multipart_form(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def multipart_form(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def ogg(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def ogg(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def otf(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def otf(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def pdf(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def pdf(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def png(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def png(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def rss(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def rss(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def svg(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def svg(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def text(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def text(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def tiff(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def tiff(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def ttf(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def ttf(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def url_encoded_form(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def url_encoded_form(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def vcf(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def vcf(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def vtt(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def vtt(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def webm(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def webm(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def webp(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def webp(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def woff(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def woff(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def woff2(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def woff2(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def xml(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def xml(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def yaml(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def yaml(*, **, &); end
- # source://actionpack//lib/abstract_controller/collector.rb#12
- def zip(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11
+ def zip(*, **, &); end
private
- # source://actionpack//lib/abstract_controller/collector.rb#27
- def method_missing(symbol, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:27
+ def method_missing(symbol, *, **, &); end
class << self
- # source://actionpack//lib/abstract_controller/collector.rb#9
+ # pkg:gem/actionpack#lib/abstract_controller/collector.rb:9
def generate_method_for_mime(mime); end
end
end
-# source://actionpack//lib/abstract_controller/rendering.rb#10
+# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:10
class AbstractController::DoubleRenderError < ::AbstractController::Error
- # @return [DoubleRenderError] a new instance of DoubleRenderError
- #
- # source://actionpack//lib/abstract_controller/rendering.rb#13
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:13
def initialize(message = T.unsafe(nil)); end
end
-# source://actionpack//lib/abstract_controller/rendering.rb#11
+# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:11
AbstractController::DoubleRenderError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/abstract_controller/error.rb#6
+# pkg:gem/actionpack#lib/abstract_controller/error.rb:6
class AbstractController::Error < ::StandardError; end
-# source://actionpack//lib/abstract_controller/helpers.rb#9
+# pkg:gem/actionpack#lib/abstract_controller/helpers.rb:9
module AbstractController::Helpers
extend ::ActiveSupport::Concern
extend ::AbstractController::Helpers::Resolution
@@ -771,7 +733,7 @@ module AbstractController::Helpers
mixes_in_class_methods GeneratedClassMethods
mixes_in_class_methods ::AbstractController::Helpers::ClassMethods
- # source://actionpack//lib/abstract_controller/helpers.rb#28
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:28
def _helpers; end
module GeneratedClassMethods
@@ -787,24 +749,20 @@ module AbstractController::Helpers
end
end
-# source://actionpack//lib/abstract_controller/helpers.rb#64
+# pkg:gem/actionpack#lib/abstract_controller/helpers.rb:64
module AbstractController::Helpers::ClassMethods
include ::AbstractController::Helpers::Resolution
- # Sets the attribute _helpers
- #
- # @param value the value to set the attribute _helpers to.
- #
- # source://actionpack//lib/abstract_controller/helpers.rb#76
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:76
def _helpers=(_arg0); end
- # source://actionpack//lib/abstract_controller/helpers.rb#218
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:218
def _helpers_for_modification; end
# Clears up all existing helpers in this class, only keeping the helper with the
# same name as this class.
#
- # source://actionpack//lib/abstract_controller/helpers.rb#209
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:209
def clear_helpers; end
# Includes the given modules in the template class.
@@ -858,7 +816,7 @@ module AbstractController::Helpers::ClassMethods
# end
# end
#
- # source://actionpack//lib/abstract_controller/helpers.rb#198
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:198
def helper(*args, &block); end
# Declare a controller method as a helper. For example, the following
@@ -886,55 +844,55 @@ module AbstractController::Helpers::ClassMethods
# * `method[, method]` - A name or names of a method on the controller to be
# made available on the view.
#
- # source://actionpack//lib/abstract_controller/helpers.rb#128
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:128
def helper_method(*methods); end
# When a class is inherited, wrap its helper module in a new module. This
# ensures that the parent class's module can be changed independently of the
# child class's.
#
- # source://actionpack//lib/abstract_controller/helpers.rb#68
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:68
def inherited(klass); end
private
- # source://actionpack//lib/abstract_controller/helpers.rb#237
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:237
def default_helper_module!; end
- # source://actionpack//lib/abstract_controller/helpers.rb#226
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:226
def define_helpers_module(klass, helpers = T.unsafe(nil)); end
end
-# source://actionpack//lib/abstract_controller/helpers.rb#32
+# pkg:gem/actionpack#lib/abstract_controller/helpers.rb:32
module AbstractController::Helpers::Resolution
- # source://actionpack//lib/abstract_controller/helpers.rb#48
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:48
def all_helpers_from_path(path); end
- # source://actionpack//lib/abstract_controller/helpers.rb#57
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:57
def helper_modules_from_paths(paths); end
- # source://actionpack//lib/abstract_controller/helpers.rb#33
+ # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:33
def modules_for_helpers(modules_or_helper_prefixes); end
end
-# source://actionpack//lib/abstract_controller/logger.rb#8
+# pkg:gem/actionpack#lib/abstract_controller/logger.rb:8
module AbstractController::Logger
extend ::ActiveSupport::Concern
include ::ActiveSupport::Benchmarkable
end
-# source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#8
+# pkg:gem/actionpack#lib/abstract_controller/railties/routes_helpers.rb:8
module AbstractController::Railties; end
-# source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#9
+# pkg:gem/actionpack#lib/abstract_controller/railties/routes_helpers.rb:9
module AbstractController::Railties::RoutesHelpers
class << self
- # source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#10
+ # pkg:gem/actionpack#lib/abstract_controller/railties/routes_helpers.rb:10
def with(routes, include_path_helpers = T.unsafe(nil)); end
end
end
-# source://actionpack//lib/abstract_controller/rendering.rb#18
+# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:18
module AbstractController::Rendering
extend ::ActiveSupport::Concern
include ::ActionView::ViewPaths
@@ -946,12 +904,12 @@ module AbstractController::Rendering
#
# Supported options depend on the underlying `render_to_body` implementation.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#26
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:26
def render(*args, &block); end
# Performs the actual template rendering.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#50
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:50
def render_to_body(options = T.unsafe(nil)); end
# Similar to #render, but only returns the rendered template as a string,
@@ -961,18 +919,18 @@ module AbstractController::Rendering
# extends it to be anything that responds to the method each), this method needs
# to be overridden in order to still return a string.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#44
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:44
def render_to_string(*args, &block); end
# Returns `Content-Type` of rendered content.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#54
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:54
def rendered_format; end
# This method should return a hash with assigns. You can overwrite this
# configuration per controller.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#62
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:62
def view_assigns; end
private
@@ -980,70 +938,59 @@ module AbstractController::Rendering
# Normalize args by converting `render "foo"` to `render action: "foo"` and
# `render "foo/bar"` to `render file: "foo/bar"`.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#73
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:73
def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end
# Normalize options.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#88
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:88
def _normalize_options(options); end
# Normalize args and options.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#114
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:114
def _normalize_render(*args, &block); end
# Process the rendered format.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#98
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:98
def _process_format(format); end
# Process extra options.
#
- # source://actionpack//lib/abstract_controller/rendering.rb#93
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:93
def _process_options(options); end
- # source://actionpack//lib/abstract_controller/rendering.rb#101
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:101
def _process_variant(options); end
- # source://actionpack//lib/abstract_controller/rendering.rb#121
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:121
def _protected_ivars; end
- # source://actionpack//lib/abstract_controller/rendering.rb#104
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:104
def _set_html_content_type; end
- # source://actionpack//lib/abstract_controller/rendering.rb#110
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:110
def _set_rendered_content_type(format); end
- # source://actionpack//lib/abstract_controller/rendering.rb#107
+ # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:107
def _set_vary_header; end
end
-# source://actionpack//lib/abstract_controller/rendering.rb#58
+# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:58
AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/abstract_controller/translation.rb#8
+# pkg:gem/actionpack#lib/abstract_controller/translation.rb:8
module AbstractController::Translation
- # Delegates to `I18n.localize`.
- #
- # source://actionpack//lib/abstract_controller/translation.rb#37
+ # pkg:gem/actionpack#lib/abstract_controller/translation.rb:40
def l(object, **options); end
# Delegates to `I18n.localize`.
#
- # source://actionpack//lib/abstract_controller/translation.rb#37
+ # pkg:gem/actionpack#lib/abstract_controller/translation.rb:37
def localize(object, **options); end
- # Delegates to `I18n.translate`.
- #
- # When the given key starts with a period, it will be scoped by the current
- # controller and action. So if you call `translate(".foo")` from
- # `PeopleController#index`, it will convert the call to
- # `I18n.translate("people.index.foo")`. This makes it less repetitive to
- # translate many keys within the same controller / action and gives you a simple
- # framework for scoping them consistently.
- #
- # source://actionpack//lib/abstract_controller/translation.rb#17
+ # pkg:gem/actionpack#lib/abstract_controller/translation.rb:34
def t(key, **options); end
# Delegates to `I18n.translate`.
@@ -1055,7 +1002,7 @@ module AbstractController::Translation
# translate many keys within the same controller / action and gives you a simple
# framework for scoping them consistently.
#
- # source://actionpack//lib/abstract_controller/translation.rb#17
+ # pkg:gem/actionpack#lib/abstract_controller/translation.rb:17
def translate(key, **options); end
end
@@ -1068,7 +1015,7 @@ end
# Note that this module is completely decoupled from HTTP - the only requirement
# is a valid `_routes` implementation.
#
-# source://actionpack//lib/abstract_controller/url_for.rb#14
+# pkg:gem/actionpack#lib/abstract_controller/url_for.rb:14
module AbstractController::UrlFor
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -1077,7 +1024,7 @@ module AbstractController::UrlFor
mixes_in_class_methods GeneratedClassMethods
mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods
- # source://actionpack//lib/abstract_controller/url_for.rb#18
+ # pkg:gem/actionpack#lib/abstract_controller/url_for.rb:18
def _routes; end
module GeneratedClassMethods
@@ -1093,12 +1040,12 @@ module AbstractController::UrlFor
end
end
-# source://actionpack//lib/abstract_controller/url_for.rb#23
+# pkg:gem/actionpack#lib/abstract_controller/url_for.rb:23
module AbstractController::UrlFor::ClassMethods
- # source://actionpack//lib/abstract_controller/url_for.rb#24
+ # pkg:gem/actionpack#lib/abstract_controller/url_for.rb:24
def _routes; end
- # source://actionpack//lib/abstract_controller/url_for.rb#28
+ # pkg:gem/actionpack#lib/abstract_controller/url_for.rb:28
def action_methods; end
end
@@ -1109,23 +1056,24 @@ end
# Action Controller provides a base controller class that can be subclassed to
# implement filters and actions to handle requests. The result of an action is
# typically content generated from views.
+# :markup: markdown
#
-# source://actionpack//lib/action_controller/metal/exceptions.rb#5
+# pkg:gem/actionpack#lib/action_controller/deprecator.rb:5
module ActionController
extend ::ActiveSupport::Autoload
class << self
# See Renderers.add
#
- # source://actionpack//lib/action_controller/metal/renderers.rb#7
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:7
def add_renderer(key, &block); end
- # source://actionpack//lib/action_controller/deprecator.rb#6
+ # pkg:gem/actionpack#lib/action_controller/deprecator.rb:6
def deprecator; end
# See Renderers.remove
#
- # source://actionpack//lib/action_controller/metal/renderers.rb#12
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:12
def remove_renderer(key); end
end
end
@@ -1213,9 +1161,7 @@ end
# to use any other functionality that is not provided by `ActionController::API`
# out of the box.
#
-# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
-#
-# source://actionpack//lib/action_controller/api.rb#92
+# pkg:gem/actionpack#lib/action_controller/api.rb:92
class ActionController::API < ::ActionController::Metal
include ::ActionView::ViewPaths
include ::AbstractController::Rendering
@@ -1266,224 +1212,224 @@ class ActionController::API < ::ActionController::Metal
extend ::ActionController::Instrumentation::ClassMethods
extend ::ActionController::ParamsWrapper::ClassMethods
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _process_action_callbacks; end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _renderers; end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _renderers=(_arg0); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _renderers?; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _run_process_action_callbacks(&block); end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _view_cache_dependencies; end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _view_cache_dependencies=(_arg0); end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _view_cache_dependencies?; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _wrapper_options; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _wrapper_options=(_arg0); end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _wrapper_options?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_static_extension; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_static_extension=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_url_options=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_url_options?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def enable_fragment_cache_logging; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def enable_fragment_cache_logging=(value); end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def etaggers; end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def etaggers=(_arg0); end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def etaggers?; end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def fragment_cache_keys; end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def fragment_cache_keys=(_arg0); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def fragment_cache_keys?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def logger; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def logger=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def perform_caching; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def perform_caching=(value); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_missing_callback_actions; end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_missing_callback_actions=(val); end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_open_redirects; end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_open_redirects=(val); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def rescue_handlers=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def rescue_handlers?; end
class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __callbacks=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _process_action_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _process_action_callbacks=(value); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _renderers; end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _renderers=(value); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _renderers?; end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _view_cache_dependencies; end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _view_cache_dependencies=(value); end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _view_cache_dependencies?; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _wrapper_options; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _wrapper_options=(value); end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def _wrapper_options?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_static_extension; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_static_extension=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_url_options=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def default_url_options?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def enable_fragment_cache_logging; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def enable_fragment_cache_logging=(value); end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def etaggers; end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def etaggers=(value); end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def etaggers?; end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def fragment_cache_keys; end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def fragment_cache_keys=(value); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def fragment_cache_keys?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def logger; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def logger=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def perform_caching; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def perform_caching=(value); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_missing_callback_actions; end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_missing_callback_actions=(val); end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_open_redirects; end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def raise_on_open_redirects=(val); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def rescue_handlers=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def rescue_handlers?; end
# Shortcut helper that returns all the ActionController::API modules except the
@@ -1499,74 +1445,74 @@ class ActionController::API < ::ActionController::Metal
# create an API controller class, instead of listing the modules required
# manually.
#
- # source://actionpack//lib/action_controller/api.rb#107
+ # pkg:gem/actionpack#lib/action_controller/api.rb:107
def without_modules(*modules); end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr___callbacks=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr__renderers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr__renderers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr__view_cache_dependencies; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr__view_cache_dependencies=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr__wrapper_options; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr__wrapper_options=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_default_url_options; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_default_url_options=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_etaggers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_etaggers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_fragment_cache_keys; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_fragment_cache_keys=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:92
def __class_attr_middleware_stack; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:92
def __class_attr_middleware_stack=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/api.rb:149
def __class_attr_rescue_handlers=(new_value); end
end
end
-# source://actionpack//lib/action_controller/api.rb#115
+# pkg:gem/actionpack#lib/action_controller/api.rb:115
ActionController::API::MODULES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_controller/metal/exceptions.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:6
class ActionController::ActionControllerError < ::StandardError; end
-# source://actionpack//lib/action_controller/metal/allow_browser.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:6
module ActionController::AllowBrowser
extend ::ActiveSupport::Concern
@@ -1574,76 +1520,58 @@ module ActionController::AllowBrowser
private
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#63
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:63
def allow_browser(versions:, block:); end
end
-# source://actionpack//lib/action_controller/metal/allow_browser.rb#73
+# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:73
class ActionController::AllowBrowser::BrowserBlocker
- # @return [BrowserBlocker] a new instance of BrowserBlocker
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#80
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:80
def initialize(request, versions:); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#84
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:84
def blocked?; end
- # Returns the value of attribute request.
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#78
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:78
def request; end
- # Returns the value of attribute versions.
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#78
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:78
def versions; end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#105
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:105
def bot?; end
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#121
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:121
def expanded_versions; end
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#117
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:117
def minimum_browser_version_for_browser; end
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#125
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:125
def normalized_browser_name; end
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#89
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:89
def parsed_user_agent; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#97
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:97
def unsupported_browser?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#93
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:93
def user_agent_version_reported?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#109
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:109
def version_below_minimum_required?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#101
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:101
def version_guarded_browser?; end
end
-# source://actionpack//lib/action_controller/metal/allow_browser.rb#74
+# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:74
ActionController::AllowBrowser::BrowserBlocker::SETS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_controller/metal/allow_browser.rb#9
+# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:9
module ActionController::AllowBrowser::ClassMethods
# Specify the browser versions that will be allowed to access all actions (or
# some, as limited by `only:` or `except:`). Only browsers matched in the hash
@@ -1693,26 +1621,24 @@ module ActionController::AllowBrowser::ClassMethods
# allow_browser versions: { opera: 104, chrome: 119 }, only: :show
# end
#
- # source://actionpack//lib/action_controller/metal/allow_browser.rb#57
+ # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:57
def allow_browser(versions:, block: T.unsafe(nil), **options); end
end
-# source://actionpack//lib/action_controller/api/api_rendering.rb#6
+# pkg:gem/actionpack#lib/action_controller/api/api_rendering.rb:6
module ActionController::ApiRendering
extend ::ActiveSupport::Concern
include ::ActionController::Rendering
mixes_in_class_methods ::ActionController::Rendering::ClassMethods
- # source://actionpack//lib/action_controller/api/api_rendering.rb#13
+ # pkg:gem/actionpack#lib/action_controller/api/api_rendering.rb:13
def render_to_body(options = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#9
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:9
class ActionController::BadRequest < ::ActionController::ActionControllerError
- # @return [BadRequest] a new instance of BadRequest
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#10
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:10
def initialize(msg = T.unsafe(nil)); end
end
@@ -1913,9 +1839,7 @@ end
# render action: "overthere" # won't be called if monkeys is nil
# end
#
-# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
-#
-# source://actionpack//lib/action_controller/base.rb#207
+# pkg:gem/actionpack#lib/action_controller/base.rb:207
class ActionController::Base < ::ActionController::Metal
include ::ActionView::ViewPaths
include ::AbstractController::Rendering
@@ -2000,514 +1924,514 @@ class ActionController::Base < ::ActionController::Metal
extend ::ActionController::Instrumentation::ClassMethods
extend ::ActionController::ParamsWrapper::ClassMethods
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def __callbacks; end
- # source://actionpack//lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def _helper_methods; end
- # source://actionpack//lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def _helper_methods=(_arg0); end
- # source://actionpack//lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def _helper_methods?; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout_conditions; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout_conditions?; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def _process_action_callbacks; end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def _renderers; end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def _renderers=(_arg0); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def _renderers?; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def _run_process_action_callbacks(&block); end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def _view_cache_dependencies; end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def _view_cache_dependencies=(_arg0); end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def _view_cache_dependencies?; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def _wrapper_options; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def _wrapper_options=(_arg0); end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def _wrapper_options?; end
- # source://actionpack//lib/action_controller/metal/flash.rb#38
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
def alert; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def allow_forgery_protection; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def allow_forgery_protection=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def asset_host; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def asset_host=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def assets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def assets_dir=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def csrf_token_storage_strategy; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def csrf_token_storage_strategy=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def default_asset_host_protocol; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def default_asset_host_protocol=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def default_static_extension; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def default_static_extension=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def default_url_options=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def default_url_options?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def enable_fragment_cache_logging; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def enable_fragment_cache_logging=(value); end
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def etag_with_template_digest; end
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def etag_with_template_digest=(_arg0); end
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def etag_with_template_digest?; end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def etaggers; end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def etaggers=(_arg0); end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def etaggers?; end
- # source://actionpack//lib/action_controller/metal/flash.rb#12
- def flash(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
+ def flash(*, **, &); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_origin_check; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_origin_check=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_strategy; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_strategy=(value); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def fragment_cache_keys; end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def fragment_cache_keys=(_arg0); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def fragment_cache_keys?; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#70
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def helpers_path; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#70
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def helpers_path=(_arg0); end
- # source://actionpack//lib/action_controller/metal/helpers.rb#70
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def helpers_path?; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#71
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def include_all_helpers; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#71
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def include_all_helpers=(_arg0); end
- # source://actionpack//lib/action_controller/metal/helpers.rb#71
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def include_all_helpers?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def javascripts_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def javascripts_dir=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def log_warning_on_csrf_failure; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def logger; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def logger=(value); end
- # source://actionpack//lib/action_controller/metal/flash.rb#38
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
def notice; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def per_form_csrf_tokens; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def per_form_csrf_tokens=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def perform_caching; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def perform_caching=(value); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def raise_on_missing_callback_actions; end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def raise_on_missing_callback_actions=(val); end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def raise_on_open_redirects; end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def raise_on_open_redirects=(val); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def relative_url_root; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def relative_url_root=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def request_forgery_protection_token; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def request_forgery_protection_token=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def rescue_handlers=(_arg0); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def rescue_handlers?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def stylesheets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def stylesheets_dir=(value); end
private
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#328
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout(lookup_context, formats, keys); end
- # source://actionpack//lib/action_controller/base.rb#324
+ # pkg:gem/actionpack#lib/action_controller/base.rb:324
def _protected_ivars; end
class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def __callbacks=(value); end
- # source://actionpack//lib/action_controller/form_builder.rb#35
+ # pkg:gem/actionpack#lib/action_controller/base.rb:290
def _default_form_builder; end
- # source://actionpack//lib/action_controller/form_builder.rb#35
+ # pkg:gem/actionpack#lib/action_controller/base.rb:290
def _default_form_builder=(value); end
- # source://actionpack//lib/action_controller/form_builder.rb#35
+ # pkg:gem/actionpack#lib/action_controller/base.rb:290
def _default_form_builder?; end
- # source://actionpack//lib/action_controller/metal/flash.rb#10
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
def _flash_types; end
- # source://actionpack//lib/action_controller/metal/flash.rb#10
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
def _flash_types=(value); end
- # source://actionpack//lib/action_controller/metal/flash.rb#10
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
def _flash_types?; end
- # source://actionpack//lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def _helper_methods; end
- # source://actionpack//lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def _helper_methods=(value); end
- # source://actionpack//lib/abstract_controller/helpers.rb#13
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def _helper_methods?; end
- # source://actionpack//lib/abstract_controller/helpers.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def _helpers; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#211
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#211
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout=(value); end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#211
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout?; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout_conditions; end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout_conditions=(value); end
- # source://actionview/8.0.5.1/lib/action_view/layouts.rb#212
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def _layout_conditions?; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def _process_action_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def _process_action_callbacks=(value); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def _renderers; end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def _renderers=(value); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def _renderers?; end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def _view_cache_dependencies; end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def _view_cache_dependencies=(value); end
- # source://actionpack//lib/abstract_controller/caching.rb#44
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def _view_cache_dependencies?; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def _wrapper_options; end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def _wrapper_options=(value); end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#185
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def _wrapper_options?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def allow_forgery_protection; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def allow_forgery_protection=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def asset_host; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def asset_host=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def assets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def assets_dir=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def csrf_token_storage_strategy; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def csrf_token_storage_strategy=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def default_asset_host_protocol; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def default_asset_host_protocol=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def default_static_extension; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def default_static_extension=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def default_url_options=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def default_url_options?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def enable_fragment_cache_logging; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def enable_fragment_cache_logging=(value); end
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def etag_with_template_digest; end
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def etag_with_template_digest=(value); end
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#31
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def etag_with_template_digest?; end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def etaggers; end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def etaggers=(value); end
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def etaggers?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_origin_check; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_origin_check=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_strategy; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def forgery_protection_strategy=(value); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def fragment_cache_keys; end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def fragment_cache_keys=(value); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#26
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def fragment_cache_keys?; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#70
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def helpers_path; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#70
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def helpers_path=(value); end
- # source://actionpack//lib/action_controller/metal/helpers.rb#70
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def helpers_path?; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#71
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def include_all_helpers; end
- # source://actionpack//lib/action_controller/metal/helpers.rb#71
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def include_all_helpers=(value); end
- # source://actionpack//lib/action_controller/metal/helpers.rb#71
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def include_all_helpers?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def javascripts_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def javascripts_dir=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def log_warning_on_csrf_failure; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def logger; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def logger=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def per_form_csrf_tokens; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def per_form_csrf_tokens=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def perform_caching; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def perform_caching=(value); end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def raise_on_missing_callback_actions; end
- # source://actionpack//lib/abstract_controller/callbacks.rb#36
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def raise_on_missing_callback_actions=(val); end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def raise_on_open_redirects; end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:276
def raise_on_open_redirects=(val); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def relative_url_root; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def relative_url_root=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def request_forgery_protection_token; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def request_forgery_protection_token=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def rescue_handlers=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/rescuable.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def rescue_handlers?; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#115
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def stylesheets_dir; end
- # source://activesupport/8.0.5.1/lib/active_support/configurable.rb#116
+ # pkg:gem/actionpack#lib/action_controller/base.rb:273
def stylesheets_dir=(value); end
# Shortcut helper that returns all the modules included in
@@ -2523,168 +2447,168 @@ class ActionController::Base < ::ActionController::Metal
# create a bare controller class, instead of listing the modules required
# manually.
#
- # source://actionpack//lib/action_controller/base.rb#222
+ # pkg:gem/actionpack#lib/action_controller/base.rb:222
def without_modules(*modules); end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
def __class_attr___callbacks=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:290
def __class_attr__default_form_builder; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:290
def __class_attr__default_form_builder=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
def __class_attr__flash_types; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
def __class_attr__flash_types=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def __class_attr__helper_methods; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def __class_attr__helper_methods=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def __class_attr__layout; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def __class_attr__layout=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def __class_attr__layout_conditions; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:277
def __class_attr__layout_conditions=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def __class_attr__renderers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:279
def __class_attr__renderers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def __class_attr__view_cache_dependencies; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def __class_attr__view_cache_dependencies=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def __class_attr__wrapper_options; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:313
def __class_attr__wrapper_options=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def __class_attr_default_url_options; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:275
def __class_attr_default_url_options=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def __class_attr_etag_with_template_digest; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:281
def __class_attr_etag_with_template_digest=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def __class_attr_etaggers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:280
def __class_attr_etaggers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def __class_attr_fragment_cache_keys; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
def __class_attr_fragment_cache_keys=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def __class_attr_helpers_path; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def __class_attr_helpers_path=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def __class_attr_include_all_helpers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:274
def __class_attr_include_all_helpers=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:207
def __class_attr_middleware_stack; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:207
def __class_attr_middleware_stack=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def __class_attr_rescue_handlers; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/base.rb:307
def __class_attr_rescue_handlers=(new_value); end
end
end
-# source://actionpack//lib/action_controller/base.rb#0
+# pkg:gem/actionpack#lib/action_controller/base.rb:274
module ActionController::Base::HelperMethods
include ::ActionText::ContentHelper
include ::ActionText::TagHelper
- # source://ahoy_matey/5.4.0/lib/ahoy/controller.rb#6
- def ahoy(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:330
+ def ahoy(*, **, &); end
- # source://actionpack//lib/action_controller/metal/flash.rb#41
- def alert(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
+ def alert(*, **, &); end
- # source://actionpack//lib/abstract_controller/caching/fragments.rb#34
- def combined_fragment_cache_key(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
+ def combined_fragment_cache_key(*, **, &); end
- # source://actionpack//lib/action_controller/metal/content_security_policy.rb#13
- def content_security_policy?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:292
+ def content_security_policy?(*, **, &); end
- # source://actionpack//lib/action_controller/metal/content_security_policy.rb#14
- def content_security_policy_nonce(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:292
+ def content_security_policy_nonce(*, **, &); end
- # source://actionpack//lib/action_controller/metal/cookies.rb#10
- def cookies(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:288
+ def cookies(*, **, &); end
- # source://ahoy_matey/5.4.0/lib/ahoy/controller.rb#5
- def current_visit(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:330
+ def current_visit(*, **, &); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#102
- def form_authenticity_token(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
+ def form_authenticity_token(*, **, &); end
- # source://actionpack//lib/action_controller/metal/flash.rb#41
- def notice(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:289
+ def notice(*, **, &); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#103
- def protect_against_forgery?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:291
+ def protect_against_forgery?(*, **, &); end
- # source://actionpack//lib/abstract_controller/caching.rb#45
- def view_cache_dependencies(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/base.rb:283
+ def view_cache_dependencies(*, **, &); end
end
-# source://actionpack//lib/action_controller/base.rb#230
+# pkg:gem/actionpack#lib/action_controller/base.rb:230
ActionController::Base::MODULES = T.let(T.unsafe(nil), Array)
# Define some internal variables that should not be propagated to the view.
#
-# source://actionpack//lib/action_controller/base.rb#318
+# pkg:gem/actionpack#lib/action_controller/base.rb:318
ActionController::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/basic_implicit_render.rb:6
module ActionController::BasicImplicitRender
- # source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#13
+ # pkg:gem/actionpack#lib/action_controller/metal/basic_implicit_render.rb:13
def default_render; end
- # source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#7
+ # pkg:gem/actionpack#lib/action_controller/metal/basic_implicit_render.rb:7
def send_action(method, *args); end
end
@@ -2712,7 +2636,7 @@ end
# config.action_controller.cache_store = :mem_cache_store, Memcached::Rails.new('localhost:11211')
# config.action_controller.cache_store = MyOwnStore.new('parameter')
#
-# source://actionpack//lib/action_controller/caching.rb#29
+# pkg:gem/actionpack#lib/action_controller/caching.rb:29
module ActionController::Caching
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -2726,10 +2650,10 @@ module ActionController::Caching
private
- # source://actionpack//lib/action_controller/caching.rb#45
+ # pkg:gem/actionpack#lib/action_controller/caching.rb:45
def instrument_name; end
- # source://actionpack//lib/action_controller/caching.rb#37
+ # pkg:gem/actionpack#lib/action_controller/caching.rb:37
def instrument_payload(key); end
module GeneratedClassMethods
@@ -2751,7 +2675,7 @@ module ActionController::Caching
end
end
-# source://actionpack//lib/action_controller/metal/conditional_get.rb#9
+# pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:9
module ActionController::ConditionalGet
include ::ActionController::Head
extend ::ActiveSupport::Concern
@@ -2769,20 +2693,15 @@ module ActionController::ConditionalGet
# #### Options
#
# `:public`
- # : If true, replaces the default `private` directive with the `public`
# directive.
#
# `:must_revalidate`
- # : If true, adds the `must-revalidate` directive.
#
# `:stale_while_revalidate`
- # : Sets the value of the `stale-while-revalidate` directive.
#
# `:stale_if_error`
- # : Sets the value of the `stale-if-error` directive.
#
# `:immutable`
- # : If true, adds the `immutable` directive.
#
#
# Any additional key-value pairs are concatenated as directives. For a list of
@@ -2809,14 +2728,14 @@ module ActionController::ConditionalGet
# expires_in 1.hour, public: true, "s-maxage": 3.hours, "no-transform": true
# # => Cache-Control: max-age=3600, public, s-maxage=10800, no-transform=true
#
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#290
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:290
def expires_in(seconds, options = T.unsafe(nil)); end
# Sets an HTTP 1.1 `Cache-Control` header of `no-cache`. This means the resource
# will be marked as stale, so clients must always revalidate.
# Intermediate/browser caches may still store the asset.
#
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#309
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:309
def expires_now; end
# Sets the `etag`, `last_modified`, or both on the response, and renders a `304
@@ -2825,45 +2744,36 @@ module ActionController::ConditionalGet
# #### Options
#
# `:etag`
- # : Sets a "weak" ETag validator on the response. See the `:weak_etag` option.
#
# `:weak_etag`
- # : Sets a "weak" ETag validator on the response. Requests that specify an
# `If-None-Match` header may receive a `304 Not Modified` response if the
# ETag matches exactly.
#
- # : A weak ETag indicates semantic equivalence, not byte-for-byte equality, so
# they're good for caching HTML pages in browser caches. They can't be used
# for responses that must be byte-identical, like serving `Range` requests
# within a PDF file.
#
# `:strong_etag`
- # : Sets a "strong" ETag validator on the response. Requests that specify an
# `If-None-Match` header may receive a `304 Not Modified` response if the
# ETag matches exactly.
#
- # : A strong ETag implies exact equality -- the response must match byte for
# byte. This is necessary for serving `Range` requests within a large video
# or PDF file, for example, or for compatibility with some CDNs that don't
# support weak ETags.
#
# `:last_modified`
- # : Sets a "weak" last-update validator on the response. Subsequent requests
# that specify an `If-Modified-Since` header may receive a `304 Not
# Modified` response if `last_modified` <= `If-Modified-Since`.
#
# `:public`
- # : By default the `Cache-Control` header is private. Set this option to
# `true` if you want your application to be cacheable by other devices, such
# as proxy caches.
#
# `:cache_control`
- # : When given, will overwrite an existing `Cache-Control` header. For a list
# of `Cache-Control` directives, see the [article on
# MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control).
#
# `:template`
- # : By default, the template digest for the current controller/action is
# included in ETags. If the action renders a different template, you can
# include its digest instead. If the action doesn't render a template at
# all, you can pass `template: false` to skip any attempt to check for a
@@ -2918,7 +2828,7 @@ module ActionController::ConditionalGet
#
# before_action { fresh_when @article, template: "widgets/show" }
#
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#137
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:137
def fresh_when(object = T.unsafe(nil), etag: T.unsafe(nil), weak_etag: T.unsafe(nil), strong_etag: T.unsafe(nil), last_modified: T.unsafe(nil), public: T.unsafe(nil), cache_control: T.unsafe(nil), template: T.unsafe(nil)); end
# Cache or yield the block. The cache is supposed to never expire.
@@ -2930,13 +2840,13 @@ module ActionController::ConditionalGet
# user's web browser. To allow proxies to cache the response, set `true` to
# indicate that they can serve the cached response to all users.
#
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#321
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:321
def http_cache_forever(public: T.unsafe(nil)); end
# Sets an HTTP 1.1 `Cache-Control` header of `no-store`. This means the resource
# may not be stored in any cache.
#
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#331
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:331
def no_store; end
# Sets the `etag` and/or `last_modified` on the response and checks them against
@@ -3018,14 +2928,12 @@ module ActionController::ConditionalGet
# super if stale?(@article, template: "widgets/show")
# end
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#236
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:236
def stale?(object = T.unsafe(nil), **freshness_kwargs); end
private
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#336
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:336
def combine_etags(validator, options); end
module GeneratedClassMethods
@@ -3041,7 +2949,7 @@ module ActionController::ConditionalGet
end
end
-# source://actionpack//lib/action_controller/metal/conditional_get.rb#18
+# pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:18
module ActionController::ConditionalGet::ClassMethods
# Allows you to consider additional controller-wide information when generating
# an ETag. For example, if you serve pages tailored depending on who's logged in
@@ -3058,11 +2966,11 @@ module ActionController::ConditionalGet::ClassMethods
# end
# end
#
- # source://actionpack//lib/action_controller/metal/conditional_get.rb#33
+ # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:33
def etag(&etagger); end
end
-# source://actionpack//lib/action_controller/metal/content_security_policy.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:6
module ActionController::ContentSecurityPolicy
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -3079,15 +2987,13 @@ module ActionController::ContentSecurityPolicy
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/content_security_policy.rb#74
+ # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:74
def content_security_policy?; end
- # source://actionpack//lib/action_controller/metal/content_security_policy.rb#78
+ # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:78
def content_security_policy_nonce; end
- # source://actionpack//lib/action_controller/metal/content_security_policy.rb#82
+ # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:82
def current_content_security_policy; end
module GeneratedClassMethods
@@ -3106,7 +3012,7 @@ module ActionController::ContentSecurityPolicy
end
end
-# source://actionpack//lib/action_controller/metal/content_security_policy.rb#17
+# pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:17
module ActionController::ContentSecurityPolicy::ClassMethods
# Overrides parts of the globally configured `Content-Security-Policy` header:
#
@@ -3131,7 +3037,7 @@ module ActionController::ContentSecurityPolicy::ClassMethods
# content_security_policy false, only: :index
# end
#
- # source://actionpack//lib/action_controller/metal/content_security_policy.rb#40
+ # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:40
def content_security_policy(enabled = T.unsafe(nil), **options, &block); end
# Overrides the globally configured `Content-Security-Policy-Report-Only`
@@ -3147,11 +3053,11 @@ module ActionController::ContentSecurityPolicy::ClassMethods
# content_security_policy_report_only false, only: :index
# end
#
- # source://actionpack//lib/action_controller/metal/content_security_policy.rb#66
+ # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:66
def content_security_policy_report_only(report_only = T.unsafe(nil), **options); end
end
-# source://actionpack//lib/action_controller/metal/cookies.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/cookies.rb:6
module ActionController::Cookies
extend ::ActiveSupport::Concern
@@ -3160,7 +3066,7 @@ module ActionController::Cookies
# The cookies for the current request. See ActionDispatch::Cookies for more
# information.
#
- # source://actionpack//lib/action_controller/metal/cookies.rb#16
+ # pkg:gem/actionpack#lib/action_controller/metal/cookies.rb:16
def cookies; end
end
@@ -3169,7 +3075,7 @@ end
# Methods for sending arbitrary data and for streaming files to the browser,
# instead of rendering.
#
-# source://actionpack//lib/action_controller/metal/data_streaming.rb#13
+# pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:13
module ActionController::DataStreaming
extend ::ActiveSupport::Concern
include ::ActionController::Rendering
@@ -3213,7 +3119,7 @@ module ActionController::DataStreaming
#
# See `send_file` for more information on HTTP `Content-*` headers and caching.
#
- # source://actionpack//lib/action_controller/metal/data_streaming.rb#122
+ # pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:122
def send_data(data, options = T.unsafe(nil)); end
# Sends the file. This uses a server-appropriate method (such as `X-Sendfile`)
@@ -3272,21 +3178,17 @@ module ActionController::DataStreaming
# 9111](https://www.rfc-editor.org/rfc/rfc9111.html#name-cache-control) for the
# `Cache-Control` header spec.
#
- # @raise [MissingFile]
- #
- # source://actionpack//lib/action_controller/metal/data_streaming.rb#77
+ # pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:77
def send_file(path, options = T.unsafe(nil)); end
- # @raise [ArgumentError]
- #
- # source://actionpack//lib/action_controller/metal/data_streaming.rb#127
+ # pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:127
def send_file_headers!(options); end
end
-# source://actionpack//lib/action_controller/metal/data_streaming.rb#19
+# pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:19
ActionController::DataStreaming::DEFAULT_SEND_FILE_DISPOSITION = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_controller/metal/data_streaming.rb#18
+# pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:18
ActionController::DataStreaming::DEFAULT_SEND_FILE_TYPE = T.let(T.unsafe(nil), String)
# # Action Controller Default Headers
@@ -3294,16 +3196,16 @@ ActionController::DataStreaming::DEFAULT_SEND_FILE_TYPE = T.let(T.unsafe(nil), S
# Allows configuring default headers that will be automatically merged into each
# response.
#
-# source://actionpack//lib/action_controller/metal/default_headers.rb#10
+# pkg:gem/actionpack#lib/action_controller/metal/default_headers.rb:10
module ActionController::DefaultHeaders
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionController::DefaultHeaders::ClassMethods
end
-# source://actionpack//lib/action_controller/metal/default_headers.rb#13
+# pkg:gem/actionpack#lib/action_controller/metal/default_headers.rb:13
module ActionController::DefaultHeaders::ClassMethods
- # source://actionpack//lib/action_controller/metal/default_headers.rb#14
+ # pkg:gem/actionpack#lib/action_controller/metal/default_headers.rb:14
def make_response!(request); end
end
@@ -3315,7 +3217,7 @@ end
# in mind. This does that by including the content of the flash as a component
# in the ETag that's generated for a response.
#
-# source://actionpack//lib/action_controller/metal/etag_with_flash.rb#13
+# pkg:gem/actionpack#lib/action_controller/metal/etag_with_flash.rb:13
module ActionController::EtagWithFlash
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -3356,7 +3258,7 @@ end
# # We're not going to render a template, so omit it from the ETag.
# fresh_when @post, template: false
#
-# source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#25
+# pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:25
module ActionController::EtagWithTemplateDigest
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -3367,10 +3269,10 @@ module ActionController::EtagWithTemplateDigest
private
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#39
+ # pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:39
def determine_template_etag(options); end
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#55
+ # pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:55
def lookup_and_digest_template(template); end
# Pick the template digest to include in the ETag. If the `:template` option is
@@ -3378,7 +3280,7 @@ module ActionController::EtagWithTemplateDigest
# default controller/action template. If `:template` is false, omit the template
# digest from the ETag.
#
- # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#49
+ # pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:49
def pick_template_for_etag(options); end
module GeneratedClassMethods
@@ -3407,10 +3309,10 @@ end
# params.expect!(:a)
# # => ActionController::ExpectedParameterMissing: param is missing or the value is empty or invalid: a
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#49
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:49
class ActionController::ExpectedParameterMissing < ::ActionController::ParameterMissing; end
-# source://actionpack//lib/action_controller/metal/flash.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/flash.rb:6
module ActionController::Flash
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -3420,7 +3322,7 @@ module ActionController::Flash
private
- # source://actionpack//lib/action_controller/metal/flash.rb#53
+ # pkg:gem/actionpack#lib/action_controller/metal/flash.rb:53
def redirect_to(options = T.unsafe(nil), response_options_and_flash = T.unsafe(nil)); end
module GeneratedClassMethods
@@ -3432,9 +3334,9 @@ module ActionController::Flash
module GeneratedInstanceMethods; end
end
-# source://actionpack//lib/action_controller/metal/flash.rb#16
+# pkg:gem/actionpack#lib/action_controller/metal/flash.rb:16
module ActionController::Flash::ClassMethods
- # source://actionpack//lib/action_controller/metal/flash.rb#47
+ # pkg:gem/actionpack#lib/action_controller/metal/flash.rb:47
def action_methods; end
# Creates new flash types. You can pass as many types as you want to create
@@ -3455,7 +3357,7 @@ module ActionController::Flash::ClassMethods
# This method will automatically define a new method for each of the given
# names, and it will be available in your views.
#
- # source://actionpack//lib/action_controller/metal/flash.rb#34
+ # pkg:gem/actionpack#lib/action_controller/metal/flash.rb:34
def add_flash_types(*types); end
end
@@ -3485,7 +3387,7 @@ end
# <%= builder.special_field(:name) %>
# <% end %>
#
-# source://actionpack//lib/action_controller/form_builder.rb#31
+# pkg:gem/actionpack#lib/action_controller/form_builder.rb:31
module ActionController::FormBuilder
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -3495,7 +3397,7 @@ module ActionController::FormBuilder
# Default form builder for the controller
#
- # source://actionpack//lib/action_controller/form_builder.rb#51
+ # pkg:gem/actionpack#lib/action_controller/form_builder.rb:51
def default_form_builder; end
module GeneratedClassMethods
@@ -3507,7 +3409,7 @@ module ActionController::FormBuilder
module GeneratedInstanceMethods; end
end
-# source://actionpack//lib/action_controller/form_builder.rb#38
+# pkg:gem/actionpack#lib/action_controller/form_builder.rb:38
module ActionController::FormBuilder::ClassMethods
# Set the form builder to be used as the default for all forms in the views
# rendered by this controller and its subclasses.
@@ -3516,11 +3418,11 @@ module ActionController::FormBuilder::ClassMethods
# * `builder` - Default form builder, an instance of
# ActionView::Helpers::FormBuilder
#
- # source://actionpack//lib/action_controller/form_builder.rb#45
+ # pkg:gem/actionpack#lib/action_controller/form_builder.rb:45
def default_form_builder(builder); end
end
-# source://actionpack//lib/action_controller/metal/head.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/head.rb:6
module ActionController::Head
# Returns a response that has no content (merely headers). The options argument
# is interpreted to be a hash of header names and values. This allows you to
@@ -3539,14 +3441,12 @@ module ActionController::Head
# See `Rack::Utils::SYMBOL_TO_STATUS_CODE` for a full list of valid `status`
# symbols.
#
- # source://actionpack//lib/action_controller/metal/head.rb#23
+ # pkg:gem/actionpack#lib/action_controller/metal/head.rb:23
def head(status, options = T.unsafe(nil)); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/head.rb#56
+ # pkg:gem/actionpack#lib/action_controller/metal/head.rb:56
def include_content?(status); end
end
@@ -3607,7 +3507,7 @@ end
# 23 Aug 11:30 | Carolina Railhawks Soccer Match
# N/A | Carolina Railhawks Training Workshop
#
-# source://actionpack//lib/action_controller/metal/helpers.rb#63
+# pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:63
module ActionController::Helpers
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -3619,20 +3519,14 @@ module ActionController::Helpers
# Provides a proxy to access helper methods from outside the view.
#
- # source://actionpack//lib/action_controller/metal/helpers.rb#125
+ # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:125
def helpers; end
class << self
- # Returns the value of attribute helpers_path.
- #
- # source://actionpack//lib/action_controller/metal/helpers.rb#66
+ # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:66
def helpers_path; end
- # Sets the attribute helpers_path
- #
- # @param value the value to set the attribute helpers_path to.
- #
- # source://actionpack//lib/action_controller/metal/helpers.rb#66
+ # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:66
def helpers_path=(_arg0); end
end
@@ -3661,7 +3555,7 @@ module ActionController::Helpers
end
end
-# source://actionpack//lib/action_controller/metal/helpers.rb#74
+# pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:74
module ActionController::Helpers::ClassMethods
# Declares helper accessors for controller attributes. For example, the
# following adds new `name` and `name=` instance methods to a controller and
@@ -3672,7 +3566,7 @@ module ActionController::Helpers::ClassMethods
# #### Parameters
# * `attrs` - Names of attributes to be converted into helpers.
#
- # source://actionpack//lib/action_controller/metal/helpers.rb#84
+ # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:84
def helper_attr(*attrs); end
# Provides a proxy to access helper methods from outside the view.
@@ -3682,7 +3576,7 @@ module ActionController::Helpers::ClassMethods
# [helper](rdoc-ref:AbstractController::Helpers::ClassMethods#helper) instead
# when using `capture`.
#
- # source://actionpack//lib/action_controller/metal/helpers.rb#94
+ # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:94
def helpers; end
# Override modules_for_helpers to accept `:all` as argument, which loads all
@@ -3695,20 +3589,20 @@ module ActionController::Helpers::ClassMethods
# #### Returns
# * `array` - A normalized list of modules for the list of helpers provided.
#
- # source://actionpack//lib/action_controller/metal/helpers.rb#112
+ # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:112
def modules_for_helpers(args); end
private
# Extract helper names from files in `app/helpers/***/**_helper.rb`
#
- # source://actionpack//lib/action_controller/metal/helpers.rb#119
+ # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:119
def all_application_helpers; end
end
# HTTP Basic, Digest, and Token authentication.
#
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#11
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:11
module ActionController::HttpAuthentication; end
# # HTTP Basic authentication
@@ -3769,65 +3663,61 @@ module ActionController::HttpAuthentication; end
# assert_equal 200, status
# end
#
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#69
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:69
module ActionController::HttpAuthentication::Basic
extend ::ActionController::HttpAuthentication::Basic
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#130
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:130
def auth_param(request); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#126
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:126
def auth_scheme(request); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#108
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:108
def authenticate(request, &login_procedure); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#138
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:138
def authentication_request(controller, realm, message); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#122
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:122
def decode_credentials(request); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#134
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:134
def encode_credentials(user_name, password); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#114
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:114
def has_basic_credentials?(request); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#118
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:118
def user_name_and_password(request); end
end
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#72
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:72
module ActionController::HttpAuthentication::Basic::ControllerMethods
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#95
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:95
def authenticate_or_request_with_http_basic(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#99
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:99
def authenticate_with_http_basic(&login_procedure); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#86
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:86
def http_basic_authenticate_or_request_with(name:, password:, realm: T.unsafe(nil), message: T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#103
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:103
def request_http_basic_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#75
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:75
module ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
# Enables HTTP Basic authentication.
#
# See ActionController::HttpAuthentication::Basic for example usage.
#
- # @raise [ArgumentError]
- #
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#79
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:79
def http_basic_authenticate_with(name:, password:, realm: T.unsafe(nil), **options); end
end
@@ -3875,28 +3765,28 @@ end
# before they reach your application. You can debug this situation by logging
# all environment variables, and check for HTTP_AUTHORIZATION, amongst others.
#
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#189
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:189
module ActionController::HttpAuthentication::Digest
extend ::ActionController::HttpAuthentication::Digest
# Returns true on a valid response, false otherwise.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#215
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:215
def authenticate(request, realm, &password_procedure); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#274
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:274
def authentication_header(controller, realm); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#281
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:281
def authentication_request(controller, realm, message = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#267
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:267
def decode_credentials(header); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#263
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:263
def decode_credentials_header(request); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#258
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:258
def encode_credentials(http_method, credentials, password, password_is_ha1); end
# Returns the expected response for a request of `http_method` to `uri` with the
@@ -3904,10 +3794,10 @@ module ActionController::HttpAuthentication::Digest
# `password_is_ha1` is set to `true` by default, since best practice is to store
# ha1 digest instead of a plain-text password.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#248
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:248
def expected_response(http_method, uri, credentials, password, password_is_ha1 = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#254
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:254
def ha1(credentials, password); end
# Uses an MD5 digest based on time to generate a value to be used only once.
@@ -3947,22 +3837,22 @@ module ActionController::HttpAuthentication::Digest
# secret key from the Rails session secret generated upon creation of project.
# Ensures the time cannot be modified by client.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#330
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:330
def nonce(secret_key, time = T.unsafe(nil)); end
# Opaque based on digest of secret key
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#348
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:348
def opaque(secret_key); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#288
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:288
def secret_token(request); end
# Returns false unless the request credentials response value matches the
# expected value. First try the password as a ha1 digest password. If this
# fails, then try it as a plain text password.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#222
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:222
def validate_digest_response(request, realm, &password_procedure); end
# Might want a shorter timeout depending on whether the request is a PATCH, PUT,
@@ -3970,30 +3860,30 @@ module ActionController::HttpAuthentication::Digest
# the Stale directive is implemented. This would allow a user to use new nonce
# without prompting the user again for their username and password.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#341
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:341
def validate_nonce(secret_key, request, value, seconds_to_timeout = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#192
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:192
module ActionController::HttpAuthentication::Digest::ControllerMethods
# Authenticate using an HTTP Digest, or otherwise render an HTTP header
# requesting the client to send a Digest.
#
# See ActionController::HttpAuthentication::Digest for example usage.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#197
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:197
def authenticate_or_request_with_http_digest(realm = T.unsafe(nil), message = T.unsafe(nil), &password_procedure); end
# Authenticate using an HTTP Digest. Returns true if authentication is
# successful, false otherwise.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#203
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:203
def authenticate_with_http_digest(realm = T.unsafe(nil), &password_procedure); end
# Render an HTTP header requesting the client to send a Digest for
# authentication.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#209
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:209
def request_http_digest_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end
end
@@ -4070,7 +3960,7 @@ end
#
# RewriteRule ^(.*)$ dispatch.fcgi [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]
#
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#425
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:425
module ActionController::HttpAuthentication::Token
extend ::ActionController::HttpAuthentication::Token
@@ -4088,7 +3978,7 @@ module ActionController::HttpAuthentication::Token
#
# authenticate(controller) { |token, options| ... }
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#472
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:472
def authenticate(controller, &login_procedure); end
# Sets a WWW-Authenticate header to let the client know a token is desired.
@@ -4100,7 +3990,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#555
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:555
def authentication_request(controller, realm, message = T.unsafe(nil)); end
# Encodes the given token and options into an Authorization header value.
@@ -4112,24 +4002,24 @@ module ActionController::HttpAuthentication::Token
# * `token` - String token.
# * `options` - Optional Hash of the options.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#539
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:539
def encode_credentials(token, options = T.unsafe(nil)); end
# Takes `raw_params` and turns it into an array of parameters.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#507
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:507
def params_array_from(raw_params); end
# This method takes an authorization body and splits up the key-value pairs by
# the standardized `:`, `;`, or `\t` delimiters defined in
# `AUTHN_PAIR_DELIMITERS`.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#519
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:519
def raw_params(auth); end
# This removes the `"` characters wrapping the value.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#512
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:512
def rewrite_param_values(array_params); end
# Parses the token and options out of the token Authorization header. The value
@@ -4147,17 +4037,17 @@ module ActionController::HttpAuthentication::Token
#
# * `request` - ActionDispatch::Request instance with the current headers.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#494
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:494
def token_and_options(request); end
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#502
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:502
def token_params_from(auth); end
end
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#428
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:428
ActionController::HttpAuthentication::Token::AUTHN_PAIR_DELIMITERS = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#431
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:431
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
@@ -4166,7 +4056,7 @@ module ActionController::HttpAuthentication::Token::ControllerMethods
#
# See ActionController::HttpAuthentication::Token for example usage.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#438
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:438
def authenticate_or_request_with_http_token(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end
# Authenticate using an HTTP Bearer token. Returns the return value of
@@ -4174,20 +4064,20 @@ module ActionController::HttpAuthentication::Token::ControllerMethods
#
# See ActionController::HttpAuthentication::Token for example usage.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#446
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:446
def authenticate_with_http_token(&login_procedure); end
# Render an HTTP header requesting the client to send a Bearer token for
# authentication.
#
- # source://actionpack//lib/action_controller/metal/http_authentication.rb#452
+ # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:452
def request_http_token_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#426
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:426
ActionController::HttpAuthentication::Token::TOKEN_KEY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_controller/metal/http_authentication.rb#427
+# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:427
ActionController::HttpAuthentication::Token::TOKEN_REGEX = T.let(T.unsafe(nil), Regexp)
# # Action Controller Implicit Render
@@ -4218,21 +4108,19 @@ ActionController::HttpAuthentication::Token::TOKEN_REGEX = T.let(T.unsafe(nil),
# Finally, if we DON'T find a template AND the request isn't a browser page
# load, then we implicitly respond with `204 No Content`.
#
-# source://actionpack//lib/action_controller/metal/implicit_render.rb#33
+# pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:33
module ActionController::ImplicitRender
include ::ActionController::BasicImplicitRender
- # source://actionpack//lib/action_controller/metal/implicit_render.rb#37
+ # pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:37
def default_render; end
- # source://actionpack//lib/action_controller/metal/implicit_render.rb#56
+ # pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:56
def method_for_action(action_name); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/implicit_render.rb#63
+ # pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:63
def interactive_browser_request?; end
end
@@ -4245,7 +4133,7 @@ end
#
# Check ActiveRecord::Railties::ControllerRuntime for an example.
#
-# source://actionpack//lib/action_controller/metal/instrumentation.rb#16
+# pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:16
module ActionController::Instrumentation
extend ::ActiveSupport::Concern
include ::ActiveSupport::Benchmarkable
@@ -4253,22 +4141,25 @@ module ActionController::Instrumentation
mixes_in_class_methods ::ActionController::Instrumentation::ClassMethods
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#23
- def initialize(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:23
+ def initialize(*, **, &); end
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#49
- def redirect_to(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:49
+ def redirect_to(*); end
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#28
- def render(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:28
+ def render(*); end
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#43
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:43
def send_data(data, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#36
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:36
def send_file(path, options = T.unsafe(nil)); end
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:21
def view_runtime; end
+
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:21
def view_runtime=(_arg0); end
private
@@ -4276,7 +4167,7 @@ module ActionController::Instrumentation
# Every time after an action is processed, this method is invoked with the
# payload, so you can add more information.
#
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#105
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:105
def append_info_to_payload(payload); end
# A hook which allows you to clean up any time, wrongly taken into account in
@@ -4286,32 +4177,32 @@ module ActionController::Instrumentation
# super - time_taken_in_something_expensive
# end
#
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#99
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:99
def cleanup_view_runtime; end
# A hook invoked every time a before callback is halted.
#
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#89
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:89
def halted_callback_hook(filter, _); end
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#59
- def process_action(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:59
+ def process_action(*); end
end
-# source://actionpack//lib/action_controller/metal/instrumentation.rb#109
+# pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:109
module ActionController::Instrumentation::ClassMethods
# A hook which allows other frameworks to log what happened during controller
# process action. This method should return an array with the messages to be
# added.
#
- # source://actionpack//lib/action_controller/metal/instrumentation.rb#113
+ # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:113
def log_process_action(payload); end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#10
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:10
class ActionController::InvalidAuthenticityToken < ::ActionController::ActionControllerError; end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#13
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:13
class ActionController::InvalidCrossOriginRequest < ::ActionController::ActionControllerError; end
# Raised when initializing Parameters with keys that aren't strings or symbols.
@@ -4319,7 +4210,7 @@ class ActionController::InvalidCrossOriginRequest < ::ActionController::ActionCo
# ActionController::Parameters.new(123 => 456)
# # => ActionController::InvalidParameterKey: all keys must be Strings or Symbols, got: Integer
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#84
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:84
class ActionController::InvalidParameterKey < ::ArgumentError; end
# # Action Controller Live
@@ -4404,7 +4295,7 @@ class ActionController::InvalidParameterKey < ::ArgumentError; end
#
# By default, no keys are excluded to maintain backward compatibility.
#
-# source://actionpack//lib/action_controller/metal/live.rb#91
+# pkg:gem/actionpack#lib/action_controller/metal/live.rb:91
module ActionController::Live
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -4412,22 +4303,29 @@ module ActionController::Live
mixes_in_class_methods GeneratedClassMethods
mixes_in_class_methods ::ActionController::Live::ClassMethods
- # source://actionpack//lib/action_controller/test_case.rb#37
+ # Ensure we clean up any thread locals we copied so that the thread can reused.
+ #
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:427
def clean_up_thread_locals(*args); end
- # source://actionpack//lib/action_controller/metal/live.rb#94
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:94
def live_streaming_excluded_keys; end
- # source://actionpack//lib/action_controller/metal/live.rb#94
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:94
def live_streaming_excluded_keys=(val); end
- # source://actionpack//lib/action_controller/test_case.rb#28
+ # Spawn a new thread to serve up the controller in. This is to get around the
+ # fact that Rack isn't based around IOs and we need to use a thread to stream
+ # data from the response bodies. Nobody should call this method except in Rails
+ # internals. Seriously!
+ #
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:418
def new_controller_thread; end
- # source://actionpack//lib/action_controller/metal/live.rb#311
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:317
def process(name); end
- # source://actionpack//lib/action_controller/metal/live.rb#360
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:366
def response_body=(body); end
# Sends a stream to the browser, which is helpful when you're generating exports
@@ -4456,41 +4354,36 @@ module ActionController::Live
# end
# end
#
- # source://actionpack//lib/action_controller/metal/live.rb#390
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:396
def send_stream(filename:, disposition: T.unsafe(nil), type: T.unsafe(nil)); end
private
- # source://actionpack//lib/action_controller/metal/live.rb#429
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:435
def log_error(exception); end
- # Ensure we clean up any thread locals we copied so that the thread can reused.
# Because of the above, we need to prevent the clearing of thread locals, since
# no new thread is actually spawned in the test environment.
#
- # source://actionpack//lib/action_controller/metal/live.rb#421
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:34
def original_clean_up_thread_locals(locals, thread); end
- # Spawn a new thread to serve up the controller in. This is to get around the
- # fact that Rack isn't based around IOs and we need to use a thread to stream
- # data from the response bodies. Nobody should call this method except in Rails
- # internals. Seriously!
# Disable controller / rendering threads in tests. User tests can access the
# database on the main thread, so they could open a txn, then the controller
# thread will open a new connection and try to access data that's only visible
# to the main thread's txn. This is the problem in #23483.
#
- # source://actionpack//lib/action_controller/metal/live.rb#412
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:25
def original_new_controller_thread; end
class << self
- # source://actionpack//lib/action_controller/metal/live.rb#94
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:94
def live_streaming_excluded_keys; end
- # source://actionpack//lib/action_controller/metal/live.rb#94
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:94
def live_streaming_excluded_keys=(val); end
- # source://actionpack//lib/action_controller/metal/live.rb#425
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:431
def live_thread_pool_executor; end
end
@@ -4503,13 +4396,11 @@ module ActionController::Live
module GeneratedInstanceMethods; end
end
-# source://actionpack//lib/action_controller/metal/live.rb#192
+# pkg:gem/actionpack#lib/action_controller/metal/live.rb:192
class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer
include ::MonitorMixin
- # @return [Buffer] a new instance of Buffer
- #
- # source://actionpack//lib/action_controller/metal/live.rb#207
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:207
def initialize(response); end
# Inform the producer/writing thread that the client has disconnected; the
@@ -4517,18 +4408,18 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer
#
# See also #close.
#
- # source://actionpack//lib/action_controller/metal/live.rb#255
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:259
def abort; end
- # source://actionpack//lib/action_controller/metal/live.rb#274
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:280
def call_on_error; end
- # Write a 'close' event to the buffer; the producer/writing thread uses this to
- # notify us that it's finished supplying content.
+ # Close the buffer; the producer/writing thread uses this to notify us that
+ # it's finished supplying content.
#
# See also #abort.
#
- # source://actionpack//lib/action_controller/metal/live.rb#243
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:247
def close; end
# Is the client still connected and waiting for content?
@@ -4536,9 +4427,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer
# The result of calling `write` when this is `false` is determined by
# `ignore_disconnect`.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/live.rb#266
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:272
def connected?; end
# Ignore that the client has disconnected.
@@ -4547,7 +4436,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer
# result in the written content being silently discarded. If this value is
# `false` (the default), a ClientDisconnected exception will be raised.
#
- # source://actionpack//lib/action_controller/metal/live.rb#205
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:205
def ignore_disconnect; end
# Ignore that the client has disconnected.
@@ -4556,60 +4445,54 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer
# result in the written content being silently discarded. If this value is
# `false` (the default), a ClientDisconnected exception will be raised.
#
- # source://actionpack//lib/action_controller/metal/live.rb#205
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:205
def ignore_disconnect=(_arg0); end
- # source://actionpack//lib/action_controller/metal/live.rb#270
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:276
def on_error(&block); end
- # source://actionpack//lib/action_controller/metal/live.rb#215
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:215
def write(string); end
# Same as `write` but automatically include a newline at the end of the string.
#
- # source://actionpack//lib/action_controller/metal/live.rb#235
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:239
def writeln(string); end
private
- # source://actionpack//lib/action_controller/metal/live.rb#290
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:296
def build_queue(queue_size); end
- # source://actionpack//lib/action_controller/metal/live.rb#279
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:285
def each_chunk(&block); end
class << self
- # Returns the value of attribute queue_size.
- #
- # source://actionpack//lib/action_controller/metal/live.rb#196
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:196
def queue_size; end
- # Sets the attribute queue_size
- #
- # @param value the value to set the attribute queue_size to.
- #
- # source://actionpack//lib/action_controller/metal/live.rb#196
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:196
def queue_size=(_arg0); end
end
end
-# source://actionpack//lib/action_controller/metal/live.rb#100
+# pkg:gem/actionpack#lib/action_controller/metal/live.rb:100
module ActionController::Live::ClassMethods
- # source://actionpack//lib/action_controller/metal/live.rb#101
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:101
def make_response!(request); end
end
-# source://actionpack//lib/action_controller/metal/live.rb#189
+# pkg:gem/actionpack#lib/action_controller/metal/live.rb:189
class ActionController::Live::ClientDisconnected < ::RuntimeError; end
-# source://actionpack//lib/action_controller/metal/live.rb#295
+# pkg:gem/actionpack#lib/action_controller/metal/live.rb:301
class ActionController::Live::Response < ::ActionDispatch::Response
private
- # source://actionpack//lib/action_controller/metal/live.rb#297
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:303
def before_committed; end
- # source://actionpack//lib/action_controller/metal/live.rb#304
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:310
def build_buffer(response, body); end
end
@@ -4623,13 +4506,10 @@ end
# options you have configured. You may choose to set the following options:
#
# `:event`
-# : If specified, an event with this name will be dispatched on the browser.
#
# `:retry`
-# : The reconnection time in milliseconds used when attempting to send the event.
#
# `:id`
-# : If the connection dies while sending an SSE to the browser, then the
# server will receive a `Last-Event-ID` header with value equal to `id`.
#
# After setting an option in the constructor of the SSE object, all future SSEs
@@ -4655,106 +4535,104 @@ end
# Note: SSEs are not currently supported by IE. However, they are supported by
# Chrome, Firefox, Opera, and Safari.
#
-# source://actionpack//lib/action_controller/metal/live.rb#153
+# pkg:gem/actionpack#lib/action_controller/metal/live.rb:153
class ActionController::Live::SSE
- # @return [SSE] a new instance of SSE
- #
- # source://actionpack//lib/action_controller/metal/live.rb#156
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:156
def initialize(stream, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/live.rb#161
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:161
def close; end
- # source://actionpack//lib/action_controller/metal/live.rb#165
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:165
def write(object, options = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_controller/metal/live.rb#175
+ # pkg:gem/actionpack#lib/action_controller/metal/live.rb:175
def perform_write(json, options); end
end
-# source://actionpack//lib/action_controller/metal/live.rb#154
+# pkg:gem/actionpack#lib/action_controller/metal/live.rb:154
ActionController::Live::SSE::PERMITTED_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_controller/test_case.rb#184
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:184
class ActionController::LiveTestResponse < ::ActionController::Live::Response
# Was there a server-side error?
#
- # source://rack/3.2.7/lib/rack/response.rb#187
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:192
def error?; end
# Was the URL not found?
#
- # source://rack/3.2.7/lib/rack/response.rb#197
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:189
def missing?; end
# Was the response successful?
#
- # source://rack/3.2.7/lib/rack/response.rb#184
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:186
def success?; end
end
-# source://actionpack//lib/action_controller/log_subscriber.rb#6
+# pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:6
class ActionController::LogSubscriber < ::ActiveSupport::LogSubscriber
- # source://actionpack//lib/action_controller/log_subscriber.rb#80
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:78
def exist_fragment?(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#80
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:78
def expire_fragment(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#47
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:47
def halted_callback(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#90
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:90
def logger; end
- # source://actionpack//lib/action_controller/log_subscriber.rb#26
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:26
def process_action(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#80
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:78
def read_fragment(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#57
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:57
def redirect_to(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#62
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:62
def send_data(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#52
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:52
def send_file(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#9
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:9
def start_processing(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#67
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:67
def unpermitted_parameters(event); end
- # source://actionpack//lib/action_controller/log_subscriber.rb#80
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:78
def write_fragment(event); end
class << self
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:24
def __class_attr_log_levels; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:24
def __class_attr_log_levels=(new_value); end
end
end
-# source://actionpack//lib/action_controller/log_subscriber.rb#7
+# pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7
ActionController::LogSubscriber::INTERNAL_PARAMS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_controller/metal/logging.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/logging.rb:6
module ActionController::Logging
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionController::Logging::ClassMethods
end
-# source://actionpack//lib/action_controller/metal/logging.rb#9
+# pkg:gem/actionpack#lib/action_controller/metal/logging.rb:9
module ActionController::Logging::ClassMethods
# Set a different log level per request.
#
@@ -4763,7 +4641,7 @@ module ActionController::Logging::ClassMethods
# log_at :debug, if: -> { cookies[:debug] }
# end
#
- # source://actionpack//lib/action_controller/metal/logging.rb#17
+ # pkg:gem/actionpack#lib/action_controller/metal/logging.rb:17
def log_at(level, **options); end
end
@@ -4824,149 +4702,113 @@ end
# You can refer to the modules included in ActionController::Base to see other
# features you can bring into your metal controller.
#
-# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
-#
-# source://actionpack//lib/action_controller/metal.rb#121
+# pkg:gem/actionpack#lib/action_controller/metal.rb:121
class ActionController::Metal < ::AbstractController::Base
include ::ActionController::Testing::Functional
- # @return [Metal] a new instance of Metal
- #
- # source://actionpack//lib/action_controller/metal.rb#210
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:210
def initialize; end
- # Delegates to ActionDispatch::Response#content_type
- #
- # source://actionpack//lib/action_controller/metal.rb#204
- def content_type(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:204
+ def content_type(*, **, &); end
- # Delegates to ActionDispatch::Response#content_type=
- #
- # source://actionpack//lib/action_controller/metal.rb#192
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:192
def content_type=(arg); end
# Delegates to the class's ::controller_name.
#
- # source://actionpack//lib/action_controller/metal.rb#156
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:156
def controller_name; end
- # source://actionpack//lib/action_controller/metal.rb#249
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:249
def dispatch(name, request, response); end
- # Delegates to ActionDispatch::Response#headers.
- #
- # source://actionpack//lib/action_controller/metal.rb#180
- def headers(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:180
+ def headers(*, **, &); end
- # Delegates to ActionDispatch::Response#location
- #
- # source://actionpack//lib/action_controller/metal.rb#200
- def location(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:200
+ def location(*, **, &); end
- # Delegates to ActionDispatch::Response#location=
- #
- # source://actionpack//lib/action_controller/metal.rb#188
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:188
def location=(arg); end
- # Delegates to ActionDispatch::Response#media_type
- #
- # source://actionpack//lib/action_controller/metal.rb#208
- def media_type(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:208
+ def media_type(*, **, &); end
- # source://actionpack//lib/action_controller/metal.rb#288
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def middleware_stack; end
- # source://actionpack//lib/action_controller/metal.rb#288
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def middleware_stack=(_arg0); end
- # source://actionpack//lib/action_controller/metal.rb#288
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def middleware_stack?; end
- # source://actionpack//lib/action_controller/metal.rb#219
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:219
def params; end
- # source://actionpack//lib/action_controller/metal.rb#223
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:223
def params=(val); end
# Tests if render or redirect has already happened.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal.rb#245
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:245
def performed?; end
- # :attr_reader: request
- #
- # The ActionDispatch::Request instance for the current request.
- #
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:164
def request; end
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:164
def request=(_arg0); end
- # source://actionpack//lib/action_controller/metal.rb#284
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:284
def reset_session; end
- # :attr_reader: response
- #
- # The ActionDispatch::Response instance for the current response.
- #
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attr_internal.rb#43
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:170
def response; end
# Assign the response and mark it as committed. No further processing will
# occur.
#
- # source://actionpack//lib/action_controller/metal.rb#268
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:268
def response=(response); end
- # source://actionpack//lib/action_controller/metal.rb#234
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:234
def response_body=(body); end
- # Delegates to ActionDispatch::Response#status
- #
- # source://actionpack//lib/action_controller/metal.rb#196
- def response_code(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:227
+ def response_code(*, **, &); end
- # The ActionDispatch::Request::Session instance for the current request.
- # See further details in the
- # [Active Controller Session guide](https://guides.rubyonrails.org/action_controller_overview.html#session).
- #
- # source://actionpack//lib/action_controller/metal.rb#176
- def session(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:176
+ def session(*, **, &); end
- # source://actionpack//lib/action_controller/metal.rb#275
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:275
def set_request!(request); end
- # source://actionpack//lib/action_controller/metal.rb#257
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:257
def set_response!(response); end
- # Delegates to ActionDispatch::Response#status
- #
- # source://actionpack//lib/action_controller/metal.rb#196
- def status(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:196
+ def status(*, **, &); end
- # Delegates to ActionDispatch::Response#status=
- #
- # source://actionpack//lib/action_controller/metal.rb#184
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:184
def status=(arg); end
- # source://actionpack//lib/action_controller/metal.rb#280
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:280
def to_a; end
# Basic `url_for` that can be overridden for more robust functionality.
#
- # source://actionpack//lib/action_controller/metal.rb#230
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:230
def url_for(string); end
class << self
# Returns a Rack endpoint for the given action name.
#
- # source://actionpack//lib/action_controller/metal.rb#315
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:315
def action(name); end
- # source://actionpack//lib/action_controller/metal.rb#140
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:140
def action_encoding_template(action); end
# Returns the last part of the controller's name, underscored, without the
@@ -4976,16 +4818,16 @@ class ActionController::Metal < ::AbstractController::Base
# #### Returns
# * `string`
#
- # source://actionpack//lib/action_controller/metal.rb#130
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:130
def controller_name; end
# Direct dispatch to the controller. Instantiates the controller, then executes
# the action named `name`.
#
- # source://actionpack//lib/action_controller/metal.rb#331
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:331
def dispatch(name, req, res); end
- # source://actionpack//lib/action_controller/metal.rb#134
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:134
def make_response!(request); end
# The middleware stack used by this controller.
@@ -5001,44 +4843,40 @@ class ActionController::Metal < ::AbstractController::Base
# (https://guides.rubyonrails.org/rails_on_rack.html#action-dispatcher-middleware-stack)
# in the guides.
#
- # source://actionpack//lib/action_controller/metal.rb#310
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:310
def middleware; end
- # source://actionpack//lib/action_controller/metal.rb#288
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def middleware_stack; end
- # source://actionpack//lib/action_controller/metal.rb#288
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def middleware_stack=(value); end
- # source://actionpack//lib/action_controller/metal.rb#288
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def middleware_stack?; end
# Pushes the given Rack middleware and its arguments to the bottom of the
# middleware stack.
#
- # source://actionpack//lib/action_controller/metal.rb#293
- def use(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:293
+ def use(*, **, &); end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def __class_attr_middleware_stack; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:288
def __class_attr_middleware_stack=(new_value); end
- # @private
- #
- # source://actionpack//lib/action_controller/metal.rb#146
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:146
def inherited(subclass); end
end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#52
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:52
class ActionController::MethodNotAllowed < ::ActionController::ActionControllerError
- # @return [MethodNotAllowed] a new instance of MethodNotAllowed
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#53
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:53
def initialize(*allowed_methods); end
end
@@ -5051,40 +4889,36 @@ end
# use AuthenticationMiddleware, except: [:index, :show]
# end
#
-# source://actionpack//lib/action_controller/metal.rb#18
+# pkg:gem/actionpack#lib/action_controller/metal.rb:18
class ActionController::MiddlewareStack < ::ActionDispatch::MiddlewareStack
- # source://actionpack//lib/action_controller/metal.rb#31
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:31
def build(action, app = T.unsafe(nil), &block); end
private
- # source://actionpack//lib/action_controller/metal.rb#44
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:44
def build_middleware(klass, args, block); end
end
-# source://actionpack//lib/action_controller/metal.rb#41
+# pkg:gem/actionpack#lib/action_controller/metal.rb:41
ActionController::MiddlewareStack::EXCLUDE = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_controller/metal.rb#40
+# pkg:gem/actionpack#lib/action_controller/metal.rb:40
ActionController::MiddlewareStack::INCLUDE = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_controller/metal.rb#19
+# pkg:gem/actionpack#lib/action_controller/metal.rb:19
class ActionController::MiddlewareStack::Middleware < ::ActionDispatch::MiddlewareStack::Middleware
- # @return [Middleware] a new instance of Middleware
- #
- # source://actionpack//lib/action_controller/metal.rb#20
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:20
def initialize(klass, args, actions, strategy, block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal.rb#26
+ # pkg:gem/actionpack#lib/action_controller/metal.rb:26
def valid?(action); end
end
-# source://actionpack//lib/action_controller/metal.rb#42
+# pkg:gem/actionpack#lib/action_controller/metal.rb:42
ActionController::MiddlewareStack::NULL = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_controller/metal/mime_responds.rb#8
+# pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:8
module ActionController::MimeResponds
# Without web-service support, an action which collects the data for displaying
# a list of people might look something like this:
@@ -5289,10 +5123,7 @@ module ActionController::MimeResponds
# format.html.phone # this gets rendered
# end
#
- # @raise [ArgumentError]
- # @yield [collector]
- #
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#211
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:211
def respond_to(*mimes); end
end
@@ -5318,122 +5149,102 @@ end
# determine which specific mime-type it should respond with for the current
# request, with this response then being accessible by calling #response.
#
-# source://actionpack//lib/action_controller/metal/mime_responds.rb#251
+# pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:251
class ActionController::MimeResponds::Collector
include ::AbstractController::Collector
- # @return [Collector] a new instance of Collector
- #
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#255
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:255
def initialize(mimes, variant = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#262
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:269
def all(*args, &block); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#262
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:262
def any(*args, &block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#280
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:280
def any_response?; end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#271
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:271
def custom(mime_type, &block); end
- # Returns the value of attribute format.
- #
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#253
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:253
def format; end
- # Sets the attribute format
- #
- # @param value the value to set the attribute format to.
- #
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#253
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:253
def format=(_arg0); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#297
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:297
def negotiate_format(request); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#284
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:284
def response; end
end
-# source://actionpack//lib/action_controller/metal/mime_responds.rb#301
+# pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:301
class ActionController::MimeResponds::Collector::VariantCollector
- # @return [VariantCollector] a new instance of VariantCollector
- #
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#302
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:302
def initialize(variant = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#307
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:316
def all(*args, &block); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#307
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:307
def any(*args, &block); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#318
- def method_missing(name, *_arg1, &block); end
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:318
+ def method_missing(name, *, &block); end
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#322
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:322
def variant; end
private
- # source://actionpack//lib/action_controller/metal/mime_responds.rb#331
+ # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:331
def variant_key; end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#96
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:96
class ActionController::MissingExactTemplate < ::ActionController::UnknownFormat
- # @return [MissingExactTemplate] a new instance of MissingExactTemplate
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#99
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:99
def initialize(message, controller, action_name); end
- # Returns the value of attribute action_name.
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#97
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:97
def action_name; end
- # Returns the value of attribute controller.
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#97
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:97
def controller; end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#61
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:61
class ActionController::MissingFile < ::ActionController::ActionControllerError; end
# See `Responder#api_behavior`
#
-# source://actionpack//lib/action_controller/metal/renderers.rb#17
+# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:17
class ActionController::MissingRenderer < ::LoadError
- # @return [MissingRenderer] a new instance of MissingRenderer
- #
- # source://actionpack//lib/action_controller/metal/renderers.rb#18
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:18
def initialize(format); end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#58
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:58
class ActionController::NotImplemented < ::ActionController::MethodNotAllowed; end
# Specify binary encoding for parameters for a given action.
#
-# source://actionpack//lib/action_controller/metal/parameter_encoding.rb#7
+# pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:7
module ActionController::ParameterEncoding
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionController::ParameterEncoding::ClassMethods
end
-# source://actionpack//lib/action_controller/metal/parameter_encoding.rb#10
+# pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:10
module ActionController::ParameterEncoding::ClassMethods
- # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#20
+ # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:20
def action_encoding_template(action); end
- # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#11
+ # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:11
def inherited(klass); end
# Specify the encoding for a parameter on an action. If not specified the
@@ -5462,10 +5273,10 @@ module ActionController::ParameterEncoding::ClassMethods
# where an application must handle data but encoding of the data is unknown,
# like file system data.
#
- # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#79
+ # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:79
def param_encoding(action, param, encoding); end
- # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#16
+ # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:16
def setup_param_encode; end
# Specify that a given action's parameters should all be encoded as ASCII-8BIT
@@ -5493,7 +5304,7 @@ module ActionController::ParameterEncoding::ClassMethods
# encoded as ASCII-8BIT. This is useful in the case where an application must
# handle data but encoding of the data is unknown, like file system data.
#
- # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#50
+ # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:50
def skip_parameter_encoding(action); end
end
@@ -5507,20 +5318,18 @@ end
# params.expect(a: [])
# # => ActionController::ParameterMissing: param is missing or the value is empty or invalid: a
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#25
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:25
class ActionController::ParameterMissing < ::KeyError
- # @return [ParameterMissing] a new instance of ParameterMissing
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#28
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:28
def initialize(param, keys = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#37
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:37
def corrections; end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#26
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:26
def keys; end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#26
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:26
def param; end
end
@@ -5598,7 +5407,7 @@ end
# params[:key] # => "value"
# params["key"] # => "value"
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#160
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:160
class ActionController::Parameters
include ::ActiveSupport::DeepMergeable
@@ -5619,15 +5428,13 @@ class ActionController::Parameters
# params.permitted? # => true
# Person.new(params) # => #
#
- # @return [Parameters] a new instance of Parameters
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#287
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:286
def initialize(parameters = T.unsafe(nil), logging_context = T.unsafe(nil)); end
# Returns true if another `Parameters` object contains the same content and
# permitted flag.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#301
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:300
def ==(other); end
# Returns a parameter for the given `key`. If not found, returns `nil`.
@@ -5636,46 +5443,46 @@ class ActionController::Parameters
# params[:person] # => #"Francesco"} permitted: false>
# params[:none] # => nil
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#797
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:805
def [](key); end
# Assigns a value to a given `key`. The given key may still get filtered out
# when #permit is called.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#803
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:811
def []=(key, value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:262
def always_permitted_parameters; end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:262
def always_permitted_parameters=(val); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def as_json(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:249
+ def as_json(*, **, &); end
# Returns a new `ActionController::Parameters` instance with `nil` values
# removed.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#974
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:982
def compact; end
# Removes all `nil` values in place and returns `self`, or `nil` if no changes
# were made.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#980
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:988
def compact!; end
# Returns a new `ActionController::Parameters` instance without the blank
# values. Uses Object#blank? for determining if a value is blank.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#986
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:994
def compact_blank; end
# Removes all blank values in place and returns self. Uses Object#blank? for
# determining if a value is blank.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#992
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1000
def compact_blank!; end
# Attribute that keeps track of converted arrays, if any, to avoid double
@@ -5686,32 +5493,30 @@ class ActionController::Parameters
# that converts values. Also, we are not going to build a new array object per
# fetch.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#435
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:443
def converted_arrays; end
# Returns a duplicate `ActionController::Parameters` instance with the same
# permitted parameters.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1092
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1100
def deep_dup; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1027
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1035
def deep_merge?(other_hash); end
# Returns a new `ActionController::Parameters` instance with the results of
# running `block` once for every key. This includes the keys from the root hash
# and from all nested hashes and arrays. The values are unchanged.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#924
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:932
def deep_transform_keys(&block); end
# Returns the same `ActionController::Parameters` instance with changed keys.
# This includes the keys from the root hash and from all nested hashes and
# arrays. The values are unchanged.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#933
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:941
def deep_transform_keys!(&block); end
# Deletes a key-value pair from `Parameters` and returns the value. If `key` is
@@ -5719,12 +5524,10 @@ class ActionController::Parameters
# returns the result). This method is similar to #extract!, which returns the
# corresponding `ActionController::Parameters` object.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#942
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:950
def delete(key, &block); end
- # Removes items that the block evaluates to true and returns self.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#966
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:978
def delete_if(&block); end
# Extracts the nested parameter from the given `keys` by calling `dig` at each
@@ -5737,39 +5540,37 @@ class ActionController::Parameters
# params2 = ActionController::Parameters.new(foo: [10, 11, 12])
# params2.dig(:foo, 1) # => 11
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#841
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:849
def dig(*keys); end
- # Convert all hashes in values into parameters, then yield each pair in the same
- # way as `Hash#each_pair`.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#402
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:409
def each(&block); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def each_key(*_arg0, **_arg1, &_arg2); end
+ # Calls block once for each key in the parameters, passing the key. If no block
+ # is given, an enumerator is returned instead.
+ #
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:424
+ def each_key(&block); end
# Convert all hashes in values into parameters, then yield each pair in the same
# way as `Hash#each_pair`.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#402
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:401
def each_pair(&block); end
# Convert all hashes in values into parameters, then yield each value in the
# same way as `Hash#each_value`.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#414
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:413
def each_value(&block); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def empty?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:249
+ def empty?(*, **, &); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1086
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1094
def encode_with(coder); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#309
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:308
def eql?(other); end
# Returns a new `ActionController::Parameters` instance that filters out the
@@ -5779,11 +5580,11 @@ class ActionController::Parameters
# params.except(:a, :b) # => #3} permitted: false>
# params.except(:d) # => #1, "b"=>2, "c"=>3} permitted: false>
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#869
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:877
def except(*keys); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def exclude?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:249
+ def exclude?(*, **, &); end
# `expect` is the preferred way to require and permit parameters.
# It is safer than the previous recommendation to call `permit` and `require`
@@ -5885,7 +5686,7 @@ class ActionController::Parameters
# permitted.is_a?(Array) # => true
# permitted.size # => 2
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#772
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:780
def expect(*filters); end
# Same as `expect`, but raises an `ActionController::ExpectedParameterMissing`
@@ -5895,7 +5696,7 @@ class ActionController::Parameters
# internal API where incorrectly formatted params would indicate a bug
# in a client library that should be fixed.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#786
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:794
def expect!(*filters); end
# Removes and returns the key/value pairs matching the given keys.
@@ -5904,7 +5705,7 @@ class ActionController::Parameters
# params.extract!(:a, :b) # => #1, "b"=>2} permitted: false>
# params # => #3} permitted: false>
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#879
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:887
def extract!(*keys); end
# Returns parameter value for the given `key` separated by `delimiter`.
@@ -5920,7 +5721,7 @@ class ActionController::Parameters
# params = ActionController::Parameters.new(tags: "ruby,rails,,web")
# params.extract_value(:tags, delimiter: ",") # => ["ruby", "rails", "", "web"]
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1110
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1118
def extract_value(key, delimiter: T.unsafe(nil)); end
# Returns a parameter for the given `key`. If the `key` can't be found, there
@@ -5937,56 +5738,45 @@ class ActionController::Parameters
# params.fetch(:none, "Francesco") # => "Francesco"
# params.fetch(:none) { "Francesco" } # => "Francesco"
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#820
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:828
def fetch(key, *args); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def has_key?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:252
+ def has_key?(*, **, &); end
# Returns true if the given value is present for some key in the parameters.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#997
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1005
def has_value?(value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#315
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:314
def hash; end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def include?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:249
+ def include?(*, **, &); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1068
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1076
def init_with(coder); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1055
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1063
def inspect; end
- # Equivalent to Hash#keep_if, but returns `nil` if no changes were made.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#953
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:965
def keep_if(&block); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def key?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:253
+ def key?(*, **, &); end
- # :method: to_s
- #
- # :call-seq:
- # to_s()
- #
- # Returns the content of the parameters as a string.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def keys(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:249
+ def keys(*, **, &); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def member?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:254
+ def member?(*, **, &); end
# Returns a new `ActionController::Parameters` instance with all keys from
# `other_hash` merged into current hash.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1011
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1019
def merge(other_hash); end
# :call-seq: merge!(other_hash)
@@ -5994,7 +5784,7 @@ class ActionController::Parameters
# Returns the current `ActionController::Parameters` instance with `other_hash`
# merged into current hash.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1022
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1030
def merge!(other_hash, &block); end
# Returns a new `ActionController::Parameters` instance that includes only the
@@ -6135,7 +5925,7 @@ class ActionController::Parameters
# params.permit(person: { '0': [:email], '1': [:phone]}).to_h
# # => {"person"=>{"0"=>{"email"=>"none@test.com"}, "1"=>{"phone"=>"555-6789"}}}
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#668
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:676
def permit(*filters); end
# Sets the `permitted` attribute to `true`. This can be used to pass mass
@@ -6151,7 +5941,7 @@ class ActionController::Parameters
# params.permitted? # => true
# Person.new(params) # => #
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#461
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:469
def permit!; end
# Returns `true` if the parameter is permitted, `false` otherwise.
@@ -6161,20 +5951,18 @@ class ActionController::Parameters
# params.permit!
# params.permitted? # => true
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#445
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:453
def permitted?; end
# Returns a new `ActionController::Parameters` instance with items that the
# block evaluates to true removed.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#961
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:969
def reject(&block); end
# Removes items that the block evaluates to true and returns self.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#966
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:974
def reject!(&block); end
# This method accepts both a single key and an array of keys.
@@ -6224,80 +6012,33 @@ class ActionController::Parameters
# params.expect(person: :name).require(:name)
# end
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#519
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:527
def require(key); end
- # This method accepts both a single key and an array of keys.
- #
- # When passed a single key, if it exists and its associated value is either
- # present or the singleton `false`, returns said value:
- #
- # ActionController::Parameters.new(person: { name: "Francesco" }).require(:person)
- # # => #"Francesco"} permitted: false>
- #
- # Otherwise raises ActionController::ParameterMissing:
- #
- # ActionController::Parameters.new.require(:person)
- # # ActionController::ParameterMissing: param is missing or the value is empty or invalid: person
- #
- # ActionController::Parameters.new(person: nil).require(:person)
- # # ActionController::ParameterMissing: param is missing or the value is empty or invalid: person
- #
- # ActionController::Parameters.new(person: "\t").require(:person)
- # # ActionController::ParameterMissing: param is missing or the value is empty or invalid: person
- #
- # ActionController::Parameters.new(person: {}).require(:person)
- # # ActionController::ParameterMissing: param is missing or the value is empty or invalid: person
- #
- # When given an array of keys, the method tries to require each one of them in
- # order. If it succeeds, an array with the respective return values is returned:
- #
- # params = ActionController::Parameters.new(user: { ... }, profile: { ... })
- # user_params, profile_params = params.require([:user, :profile])
- #
- # Otherwise, the method re-raises the first exception found:
- #
- # params = ActionController::Parameters.new(user: {}, profile: {})
- # user_params, profile_params = params.require([:user, :profile])
- # # ActionController::ParameterMissing: param is missing or the value is empty or invalid: user
- #
- # This method is not recommended for fetching terminal values because it does
- # not permit the values. For example, this can cause problems:
- #
- # # CAREFUL
- # params = ActionController::Parameters.new(person: { name: "Finn" })
- # name = params.require(:person).require(:name) # CAREFUL
- #
- # It is recommended to use `expect` instead:
- #
- # def person_params
- # params.expect(person: :name).require(:name)
- # end
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#519
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:537
def required(key); end
# Returns a new `ActionController::Parameters` instance with all keys from
# current hash merged into `other_hash`.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1033
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1041
def reverse_merge(other_hash); end
# Returns the current `ActionController::Parameters` instance with current hash
# merged into `other_hash`.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1042
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1050
def reverse_merge!(other_hash); end
# Returns a new `ActionController::Parameters` instance with only items that the
# block evaluates to true.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#948
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:956
def select(&block); end
# Equivalent to Hash#keep_if, but returns `nil` if no changes were made.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#953
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:961
def select!(&block); end
# Returns a new `ActionController::Parameters` instance that includes only the
@@ -6307,20 +6048,20 @@ class ActionController::Parameters
# params.slice(:a, :b) # => #1, "b"=>2} permitted: false>
# params.slice(:d) # => #
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#852
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:860
def slice(*keys); end
# Returns the current `ActionController::Parameters` instance which contains
# only the given `keys`.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#858
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:866
def slice!(*keys); end
# This is required by ActiveModel attribute assignment, so that user can pass
# `Parameters` to a mass assignment methods in a model. It should not matter as
# we are using `HashWithIndifferentAccess` internally.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1051
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1059
def stringify_keys; end
# Returns a safe ActiveSupport::HashWithIndifferentAccess representation of the
@@ -6336,7 +6077,7 @@ class ActionController::Parameters
# safe_params = params.permit(:name)
# safe_params.to_h # => {"name"=>"Senjougahara Hitagi"}
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#331
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:330
def to_h(&block); end
# Returns a safe `Hash` representation of the parameters with all unpermitted
@@ -6352,37 +6093,10 @@ class ActionController::Parameters
# safe_params = params.permit(:name)
# safe_params.to_hash # => {"name"=>"Senjougahara Hitagi"}
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#351
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:350
def to_hash; end
- # Returns a string representation of the receiver suitable for use as a URL
- # query string:
- #
- # params = ActionController::Parameters.new({
- # name: "David",
- # nationality: "Danish"
- # })
- # params.to_query
- # # => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash
- #
- # safe_params = params.permit(:name, :nationality)
- # safe_params.to_query
- # # => "name=David&nationality=Danish"
- #
- # An optional namespace can be passed to enclose key names:
- #
- # params = ActionController::Parameters.new({
- # name: "David",
- # nationality: "Danish"
- # })
- # safe_params = params.permit(:name, :nationality)
- # safe_params.to_query("user")
- # # => "user%5Bname%5D=David&user%5Bnationality%5D=Danish"
- #
- # The string pairs `"key=value"` that conform the query string are sorted
- # lexicographically in ascending order.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#381
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:383
def to_param(*args); end
# Returns a string representation of the receiver suitable for use as a URL
@@ -6412,11 +6126,11 @@ class ActionController::Parameters
# The string pairs `"key=value"` that conform the query string are sorted
# lexicographically in ascending order.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#381
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:380
def to_query(*args); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250
- def to_s(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:249
+ def to_s(*, **, &); end
# Returns an unsafe, unfiltered ActiveSupport::HashWithIndifferentAccess
# representation of the parameters.
@@ -6428,32 +6142,22 @@ class ActionController::Parameters
# params.to_unsafe_h
# # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"}
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#395
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:394
def to_unsafe_h; end
- # Returns an unsafe, unfiltered ActiveSupport::HashWithIndifferentAccess
- # representation of the parameters.
- #
- # params = ActionController::Parameters.new({
- # name: "Senjougahara Hitagi",
- # oddity: "Heavy stone crab"
- # })
- # params.to_unsafe_h
- # # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"}
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#395
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:397
def to_unsafe_hash; end
# Returns a new `ActionController::Parameters` instance with the results of
# running `block` once for every key. The values are unchanged.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#906
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:914
def transform_keys(&block); end
# Performs keys transformation and returns the altered
# `ActionController::Parameters` instance.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#915
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:923
def transform_keys!(&block); end
# Returns a new `ActionController::Parameters` instance with the results of
@@ -6463,88 +6167,63 @@ class ActionController::Parameters
# params.transform_values { |x| x * 2 }
# # => #2, "b"=>4, "c"=>6} permitted: false>
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#889
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:897
def transform_values; end
# Performs values transformation and returns the altered
# `ActionController::Parameters` instance.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#898
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:906
def transform_values!; end
- # Returns true if the given value is present for some key in the parameters.
- #
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#997
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1009
def value?(value); end
# Returns a new array of the values of the parameters.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#424
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:432
def values; end
# Returns values that were assigned to the given `keys`. Note that all the
# `Hash` objects will be converted to `ActionController::Parameters`.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1005
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1013
def values_at(*keys); end
- # Returns a new `ActionController::Parameters` instance with all keys from
- # current hash merged into `other_hash`.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1033
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1046
def with_defaults(other_hash); end
- # Returns the current `ActionController::Parameters` instance with current hash
- # merged into `other_hash`.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1042
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1054
def with_defaults!(other_hash); end
- # Returns a new `ActionController::Parameters` instance that filters out the
- # given `keys`.
- #
- # params = ActionController::Parameters.new(a: 1, b: 2, c: 3)
- # params.except(:a, :b) # => #3} permitted: false>
- # params.except(:d) # => #1, "b"=>2, "c"=>3} permitted: false>
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#869
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:880
def without(*keys); end
protected
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1123
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1131
def each_nested_attribute; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1119
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1127
def nested_attributes?; end
- # Returns the value of attribute parameters.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1115
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1123
def parameters; end
# Filters self and optionally checks for unpermitted keys
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1130
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1138
def permit_filters(filters, on_unpermitted: T.unsafe(nil), explicit_arrays: T.unsafe(nil)); end
- # Sets the attribute permitted
- #
- # @param value the value to set the attribute permitted to.
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1117
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1125
def permitted=(_arg0); end
private
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1192
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1200
def _deep_transform_keys_in_object(object, &block); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1211
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1219
def _deep_transform_keys_in_object!(object, &block); end
# When an array is expected, you must specify an array explicitly
@@ -6565,63 +6244,57 @@ class ActionController::Parameters
#
# { pies: { flavor: "cherry" } }
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1256
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1264
def array_filter?(filter); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1172
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1180
def convert_hashes_to_parameters(key, value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1156
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1164
def convert_parameters_to_hashes(value, using, &block); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1178
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1186
def convert_value_to_parameters(value); end
# Called when an explicit array filter is encountered.
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1261
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1269
def each_array_element(object, filter, &block); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1349
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1357
def hash_filter(params, filter, on_unpermitted: T.unsafe(nil), explicit_arrays: T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1434
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1442
def initialize_copy(source); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1150
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1158
def new_instance_with_inherited_permitted_status(hash); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1343
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1351
def non_scalar?(value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1417
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1425
def permit_any_in_array(array); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1400
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1408
def permit_any_in_parameters(params); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1379
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1387
def permit_array_of_hashes(value, filter, on_unpermitted:, explicit_arrays:); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1375
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1383
def permit_array_of_scalars(value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1385
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1393
def permit_hash(value, filter, on_unpermitted:, explicit_arrays:); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1395
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1403
def permit_hash_or_array(value, filter, on_unpermitted:, explicit_arrays:); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1361
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1369
def permit_value(value, filter, on_unpermitted:, explicit_arrays:); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1314
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1322
def permitted_scalar?(value); end
# Adds existing keys to the params if their values are scalar.
@@ -6635,53 +6308,49 @@ class ActionController::Parameters
#
# puts params.keys # => ["zipcode"]
#
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1328
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1336
def permitted_scalar_filter(params, permitted_key); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1232
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1240
def specify_numeric_keys?(filter); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1286
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1294
def unpermitted_keys(params); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1272
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1280
def unpermitted_parameters!(params, on_unpermitted: T.unsafe(nil)); end
class << self
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#165
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:165
def action_on_unpermitted_parameters; end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#165
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:165
def action_on_unpermitted_parameters=(val); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:262
def always_permitted_parameters; end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:262
def always_permitted_parameters=(val); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1059
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1067
def hook_into_yaml_loading; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#266
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:265
def nested_attribute?(key, value); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#163
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:163
def permit_all_parameters; end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#163
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:163
def permit_all_parameters=(val); end
end
end
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1347
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1355
ActionController::Parameters::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1348
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1356
ActionController::Parameters::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
# This is a list of permitted scalar types that includes the ones supported in
@@ -6693,7 +6362,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#1298
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1306
ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Array)
# # Action Controller Params Wrapper
@@ -6769,7 +6438,7 @@ ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Arra
# wrap_parameters false
# end
#
-# source://actionpack//lib/action_controller/metal/params_wrapper.rb#83
+# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:83
module ActionController::ParamsWrapper
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -6779,39 +6448,37 @@ module ActionController::ParamsWrapper
private
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#277
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:277
def _extract_parameters(parameters); end
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#299
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:299
def _perform_parameter_wrapping; end
# Returns the list of parameters which will be selected for wrapped.
#
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#273
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:273
def _wrap_parameters(parameters); end
# Checks if we should perform parameters wrapping.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#289
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:289
def _wrapper_enabled?; end
# Returns the list of enabled formats.
#
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#268
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:268
def _wrapper_formats; end
# Returns the wrapper key which will be used to store wrapped parameters.
#
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#263
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:263
def _wrapper_key; end
# Performs parameters wrapping upon the request. Called automatically by the
# metal call stack.
#
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#257
- def process_action(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:257
+ def process_action(*); end
module GeneratedClassMethods
def _wrapper_options; end
@@ -6826,15 +6493,15 @@ module ActionController::ParamsWrapper
end
end
-# source://actionpack//lib/action_controller/metal/params_wrapper.rb#188
+# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:188
module ActionController::ParamsWrapper::ClassMethods
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#189
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:189
def _set_wrapper_options(options); end
# Sets the default wrapper key or model which will be used to determine wrapper
# key and attribute names. Called automatically when the module is inherited.
#
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#244
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:244
def inherited(klass); end
# Sets the name of the wrapper key, or the model which `ParamsWrapper` would use
@@ -6865,39 +6532,25 @@ module ActionController::ParamsWrapper::ClassMethods
# * `:exclude` - The list of attribute names which parameters wrapper will
# exclude from a nested hash.
#
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#221
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:221
def wrap_parameters(name_or_model_or_options, options = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_controller/metal/params_wrapper.rb#86
+# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:86
ActionController::ParamsWrapper::EXCLUDE_PARAMETERS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_controller/metal/params_wrapper.rb#88
+# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:88
class ActionController::ParamsWrapper::Options < ::Struct
- # @return [Options] a new instance of Options
- #
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#97
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:97
def initialize(name, format, include, exclude, klass, model); end
- # Returns the value of attribute include
- #
- # @return [Object] the current value of include
- #
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#108
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:108
def include; end
- # Returns the value of attribute model
- #
- # @return [Object] the current value of model
- #
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#104
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:104
def model; end
- # Returns the value of attribute name
- #
- # @return [Object] the current value of name
- #
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#141
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:141
def name; end
private
@@ -6910,23 +6563,23 @@ class ActionController::ParamsWrapper::Options < ::Struct
# This method also does namespace lookup. Foo::Bar::UsersController will try to
# find Foo::Bar::User, Foo::User and finally User.
#
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#165
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:165
def _default_wrap_model; end
class << self
- # source://actionpack//lib/action_controller/metal/params_wrapper.rb#89
+ # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:89
def from_hash(hash); end
end
end
-# source://actionpack//lib/action_controller/metal/permissions_policy.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/permissions_policy.rb:6
module ActionController::PermissionsPolicy
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionController::PermissionsPolicy::ClassMethods
end
-# source://actionpack//lib/action_controller/metal/permissions_policy.rb#9
+# pkg:gem/actionpack#lib/action_controller/metal/permissions_policy.rb:9
module ActionController::PermissionsPolicy::ClassMethods
# Overrides parts of the globally configured `Feature-Policy` header:
#
@@ -6945,23 +6598,23 @@ module ActionController::PermissionsPolicy::ClassMethods
# end
# end
#
- # source://actionpack//lib/action_controller/metal/permissions_policy.rb#27
+ # pkg:gem/actionpack#lib/action_controller/metal/permissions_policy.rb:27
def permissions_policy(**options, &block); end
end
-# source://actionpack//lib/action_controller/railtie.rb#13
+# pkg:gem/actionpack#lib/action_controller/railtie.rb:13
class ActionController::Railtie < ::Rails::Railtie; end
-# source://actionpack//lib/action_controller/railties/helpers.rb#6
+# pkg:gem/actionpack#lib/action_controller/railties/helpers.rb:6
module ActionController::Railties; end
-# source://actionpack//lib/action_controller/railties/helpers.rb#7
+# pkg:gem/actionpack#lib/action_controller/railties/helpers.rb:7
module ActionController::Railties::Helpers
- # source://actionpack//lib/action_controller/railties/helpers.rb#8
+ # pkg:gem/actionpack#lib/action_controller/railties/helpers.rb:8
def inherited(klass); end
end
-# source://actionpack//lib/action_controller/metal/rate_limiting.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:6
module ActionController::RateLimiting
extend ::ActiveSupport::Concern
@@ -6969,11 +6622,11 @@ module ActionController::RateLimiting
private
- # source://actionpack//lib/action_controller/metal/rate_limiting.rb#61
+ # pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:61
def rate_limiting(to:, within:, by:, with:, store:, name:); end
end
-# source://actionpack//lib/action_controller/metal/rate_limiting.rb#9
+# pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:9
module ActionController::RateLimiting::ClassMethods
# Applies a rate limit to all actions or those specified by the normal
# `before_action` filters with `only:` and `except:`.
@@ -7021,11 +6674,11 @@ module ActionController::RateLimiting::ClassMethods
# rate_limit to: 10, within: 5.minutes, name: "long-term"
# end
#
- # source://actionpack//lib/action_controller/metal/rate_limiting.rb#55
+ # pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:55
def rate_limit(to:, within:, by: T.unsafe(nil), with: T.unsafe(nil), store: T.unsafe(nil), name: T.unsafe(nil), **options); end
end
-# source://actionpack//lib/action_controller/metal/redirecting.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:6
module ActionController::Redirecting
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -7038,14 +6691,14 @@ module ActionController::Redirecting
mixes_in_class_methods GeneratedClassMethods
mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods
- # source://actionpack//lib/action_controller/metal/redirecting.rb#159
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:159
def _compute_redirect_to_location(request, options); end
# Soft deprecated alias for #redirect_back_or_to where the `fallback_location`
# location is supplied as a keyword argument instead of the first positional
# argument.
#
- # source://actionpack//lib/action_controller/metal/redirecting.rb#122
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:122
def redirect_back(fallback_location:, allow_other_host: T.unsafe(nil), **args); end
# Redirects the browser to the page that issued the request (the referrer) if
@@ -7072,7 +6725,7 @@ module ActionController::Redirecting
# All other options that can be passed to #redirect_to are accepted as options,
# and the behavior is identical.
#
- # source://actionpack//lib/action_controller/metal/redirecting.rb#149
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:149
def redirect_back_or_to(fallback_location, allow_other_host: T.unsafe(nil), **options); end
# Redirects the browser to the target specified in `options`. This parameter can
@@ -7159,9 +6812,7 @@ module ActionController::Redirecting
# See #url_from for more information on what an internal and safe URL is, or how
# to fall back to an alternate redirect URL in the unsafe case.
#
- # @raise [ActionControllerError]
- #
- # source://actionpack//lib/action_controller/metal/redirecting.rb#103
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:103
def redirect_to(options = T.unsafe(nil), response_options = T.unsafe(nil)); end
# Verifies the passed `location` is an internal URL that's safe to redirect to
@@ -7189,30 +6840,28 @@ module ActionController::Redirecting
# `url_for(@post)`. However, #url_from is meant to take an external parameter to
# verify as in `url_from(params[:redirect_url])`.
#
- # source://actionpack//lib/action_controller/metal/redirecting.rb#203
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:203
def url_from(location); end
private
- # source://actionpack//lib/action_controller/metal/redirecting.rb#209
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:209
def _allow_other_host; end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#223
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:223
def _enforce_open_redirect_protection(location, allow_other_host:); end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#242
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:242
def _ensure_url_is_http_header_safe(url); end
- # source://actionpack//lib/action_controller/metal/redirecting.rb#213
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:213
def _extract_redirect_to_status(options, response_options); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/redirecting.rb#231
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:231
def _url_host_allowed?(url); end
class << self
- # source://actionpack//lib/action_controller/metal/redirecting.rb#159
+ # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:176
def _compute_redirect_to_location(request, options); end
end
@@ -7229,13 +6878,13 @@ module ActionController::Redirecting
end
end
-# source://actionpack//lib/action_controller/metal/redirecting.rb#14
+# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:14
ActionController::Redirecting::ILLEGAL_HEADER_VALUE_REGEX = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_controller/metal/redirecting.rb#12
+# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:12
class ActionController::Redirecting::UnsafeRedirectError < ::StandardError; end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#16
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:16
class ActionController::RenderError < ::ActionController::ActionControllerError; end
# # Action Controller Renderer
@@ -7259,7 +6908,7 @@ class ActionController::RenderError < ::ActionController::ActionControllerError;
# ApplicationController.render template: "posts/show", assigns: { post: Post.first }
# PostsController.render :show, assigns: { post: Post.first }
#
-# source://actionpack//lib/action_controller/renderer.rb#27
+# pkg:gem/actionpack#lib/action_controller/renderer.rb:27
class ActionController::Renderer
# Initializes a new Renderer.
#
@@ -7290,73 +6939,66 @@ class ActionController::Renderer
# `Rails.application.config.force_ssl` if `default_url_options` does not specify
# a `protocol`.
#
- # @return [Renderer] a new instance of Renderer
- #
- # source://actionpack//lib/action_controller/renderer.rb#110
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:110
def initialize(controller, env, defaults); end
- # Returns the value of attribute controller.
- #
- # source://actionpack//lib/action_controller/renderer.rb#28
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:28
def controller; end
- # source://actionpack//lib/action_controller/renderer.rb#121
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:121
def defaults; end
# Creates a new renderer using the same controller, but with a new Rack env.
#
# ApplicationController.renderer.new(method: "post")
#
- # source://actionpack//lib/action_controller/renderer.rb#72
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:72
def new(env = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/renderer.rb#150
- def normalize_env(env, &_arg1); end
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:150
+ def normalize_env(env, &); end
# Renders a template to a string, just like
# ActionController::Rendering#render_to_string.
#
- # source://actionpack//lib/action_controller/renderer.rb#128
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:128
def render(*args); end
- # Renders a template to a string, just like
- # ActionController::Rendering#render_to_string.
- #
- # source://actionpack//lib/action_controller/renderer.rb#128
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:137
def render_to_string(*args); end
# Creates a new renderer using the same controller, but with the given defaults
# merged on top of the previous defaults.
#
- # source://actionpack//lib/action_controller/renderer.rb#78
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:78
def with_defaults(defaults); end
private
- # source://actionpack//lib/action_controller/renderer.rb#152
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:152
def env_for_request; end
class << self
# Creates a new renderer using the given controller class. See ::new.
#
- # source://actionpack//lib/action_controller/renderer.rb#64
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:64
def for(controller, env = T.unsafe(nil), defaults = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/renderer.rb#35
+ # pkg:gem/actionpack#lib/action_controller/renderer.rb:35
def normalize_env(env); end
end
end
-# source://actionpack//lib/action_controller/renderer.rb#30
+# pkg:gem/actionpack#lib/action_controller/renderer.rb:30
ActionController::Renderer::DEFAULTS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_controller/renderer.rb#148
+# pkg:gem/actionpack#lib/action_controller/renderer.rb:148
ActionController::Renderer::DEFAULT_ENV = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_controller/renderer.rb#140
+# pkg:gem/actionpack#lib/action_controller/renderer.rb:140
ActionController::Renderer::RACK_KEY_TRANSLATION = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_controller/metal/renderers.rb#23
+# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:23
module ActionController::Renderers
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -7364,16 +7006,16 @@ module ActionController::Renderers
mixes_in_class_methods GeneratedClassMethods
mixes_in_class_methods ::ActionController::Renderers::ClassMethods
- # source://actionpack//lib/action_controller/metal/renderers.rb#143
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:143
def _render_to_body_with_renderer(options); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#170
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:74
def _render_with_renderer_js(js, options); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#154
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:74
def _render_with_renderer_json(json, options); end
- # source://actionpack//lib/action_controller/metal/renderers.rb#175
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:74
def _render_with_renderer_xml(xml, options); end
# Called by `render` in AbstractController::Rendering which sets the return
@@ -7382,11 +7024,11 @@ module ActionController::Renderers
# If no renderer is found, `super` returns control to
# `ActionView::Rendering.render_to_body`, if present.
#
- # source://actionpack//lib/action_controller/metal/renderers.rb#139
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:139
def render_to_body(options); end
class << self
- # source://actionpack//lib/action_controller/metal/renderers.rb#89
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:89
def _render_with_renderer_method_name(key); end
# Adds a new renderer to call within controller actions. A renderer is invoked
@@ -7418,7 +7060,7 @@ module ActionController::Renderers
# end
# end
#
- # source://actionpack//lib/action_controller/metal/renderers.rb#73
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:73
def add(key, &block); end
# This method is the opposite of add method.
@@ -7427,7 +7069,7 @@ module ActionController::Renderers
#
# ActionController::Renderers.remove(:csv)
#
- # source://actionpack//lib/action_controller/metal/renderers.rb#83
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:83
def remove(key); end
end
@@ -7447,7 +7089,7 @@ end
# Used in ActionController::Base and ActionController::API to include all
# renderers by default.
#
-# source://actionpack//lib/action_controller/metal/renderers.rb#36
+# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:36
module ActionController::Renderers::All
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -7469,8 +7111,11 @@ module ActionController::Renderers::All
end
end
-# source://actionpack//lib/action_controller/metal/renderers.rb#93
+# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:93
module ActionController::Renderers::ClassMethods
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:131
+ def use_renderer(*args); end
+
# Adds, by name, a renderer or renderers to the `_renderers` available to call
# within controller actions.
#
@@ -7505,54 +7150,17 @@ module ActionController::Renderers::ClassMethods
# You must specify a `use_renderer`, else the `controller.renderer` and
# `controller._renderers` will be `nil`, and the action will fail.
#
- # source://actionpack//lib/action_controller/metal/renderers.rb#127
- def use_renderer(*args); end
-
- # Adds, by name, a renderer or renderers to the `_renderers` available to call
- # within controller actions.
- #
- # It is useful when rendering from an ActionController::Metal controller or
- # otherwise to add an available renderer proc to a specific controller.
- #
- # Both ActionController::Base and ActionController::API include
- # ActionController::Renderers::All, making all renderers available in the
- # controller. See Renderers::RENDERERS and Renderers.add.
- #
- # Since ActionController::Metal controllers cannot render, the controller must
- # include AbstractController::Rendering, ActionController::Rendering, and
- # ActionController::Renderers, and have at least one renderer.
- #
- # Rather than including ActionController::Renderers::All and including all
- # renderers, you may specify which renderers to include by passing the renderer
- # name or names to `use_renderers`. For example, a controller that includes only
- # the `:json` renderer (`_render_with_renderer_json`) might look like:
- #
- # class MetalRenderingController < ActionController::Metal
- # include AbstractController::Rendering
- # include ActionController::Rendering
- # include ActionController::Renderers
- #
- # use_renderers :json
- #
- # def show
- # render json: record
- # end
- # end
- #
- # You must specify a `use_renderer`, else the `controller.renderer` and
- # `controller._renderers` will be `nil`, and the action will fail.
- #
- # source://actionpack//lib/action_controller/metal/renderers.rb#127
- def use_renderers(*args); end
-end
+ # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:127
+ def use_renderers(*args); end
+end
# A Set containing renderer names that correspond to available renderer procs.
# Default values are `:json`, `:js`, `:xml`.
#
-# source://actionpack//lib/action_controller/metal/renderers.rb#28
+# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:28
ActionController::Renderers::RENDERERS = T.let(T.unsafe(nil), Set)
-# source://actionpack//lib/action_controller/metal/rendering.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:6
module ActionController::Rendering
extend ::ActiveSupport::Concern
@@ -7592,39 +7200,33 @@ module ActionController::Rendering
# #### Rendering Mode
#
# `:partial`
- # : See ActionView::PartialRenderer for details.
#
# render partial: "posts/form", locals: { post: Post.new }
# # => renders app/views/posts/_form.html.erb
#
# `:file`
- # : Renders the contents of a file. This option should **not** be used with
# unsanitized user input.
#
# render file: "/path/to/some/file"
# # => renders /path/to/some/file
#
# `:inline`
- # : Renders an ERB template string.
#
# @name = "World"
# render inline: "
Hello, <%= @name %>!
"
# # => renders "
Hello, World!
"
#
# `:body`
- # : Renders the provided text, and sets the content type as `text/plain`.
#
# render body: "Hello, World!"
# # => renders "Hello, World!"
#
# `:plain`
- # : Renders the provided text, and sets the content type as `text/plain`.
#
# render plain: "Hello, World!"
# # => renders "Hello, World!"
#
# `:html`
- # : Renders the provided HTML string, and sets the content type as
# `text/html`. If the string is not `html_safe?`, performs HTML escaping on
# the string before rendering.
#
@@ -7635,7 +7237,6 @@ module ActionController::Rendering
# # => renders "<h1>Hello, World!</h1>"
#
# `:json`
- # : Renders the provided object as JSON, and sets the content type as
# `application/json`. If the object is not a string, it will be converted to
# JSON by calling `to_json`.
#
@@ -7643,7 +7244,6 @@ module ActionController::Rendering
# # => renders "{\"hello\":\"world\"}"
#
# `:renderable`
- # : Renders the provided object by calling `render_in` with the current view
# context. The response format is determined by calling `format` on the
# renderable if it responds to `format`, falling back to `text/html` by
# default.
@@ -7658,19 +7258,16 @@ module ActionController::Rendering
# #### Options
#
# `:assigns`
- # : Hash of instance variable assignments for the template.
#
# render inline: "
Hello, <%= @name %>!
", assigns: { name: "World" }
# # => renders "
Hello, World!
"
#
# `:locals`
- # : Hash of local variable assignments for the template.
#
# render inline: "
Hello, <%= name %>!
", locals: { name: "World" }
# # => renders "
Hello, World!
"
#
# `:layout`
- # : The layout template to render. Can also be `false` or `true` to disable or
# (re)enable the default layout template.
#
# render "posts/show", layout: "holiday"
@@ -7683,7 +7280,6 @@ module ActionController::Rendering
# # => renders "
Hello, World!
" with the default layout
#
# `:status`
- # : The HTTP status code to send with the response. Can be specified as a
# number or as the status name in Symbol form. Defaults to 200.
#
# render "posts/new", status: 422
@@ -7695,12 +7291,10 @@ module ActionController::Rendering
# --
# Check for double render errors and set the content_type after rendering.
#
- # @raise [::AbstractController::DoubleRenderError]
- #
- # source://actionpack//lib/action_controller/metal/rendering.rb#165
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:165
def render(*args); end
- # source://actionpack//lib/action_controller/metal/rendering.rb#185
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:185
def render_to_body(options = T.unsafe(nil)); end
# Similar to #render, but only returns the rendered template as a string,
@@ -7708,64 +7302,64 @@ module ActionController::Rendering
# --
# Override render_to_string because body can now be set to a Rack body.
#
- # source://actionpack//lib/action_controller/metal/rendering.rb#174
- def render_to_string(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:174
+ def render_to_string(*); end
private
# Normalize both text and status options.
#
- # source://actionpack//lib/action_controller/metal/rendering.rb#227
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:234
def _normalize_options(options); end
- # source://actionpack//lib/action_controller/metal/rendering.rb#241
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:248
def _normalize_text(options); end
# Process controller specific options, as status, content-type and location.
#
- # source://actionpack//lib/action_controller/metal/rendering.rb#250
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:257
def _process_options(options); end
- # source://actionpack//lib/action_controller/metal/rendering.rb#196
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:196
def _process_variant(options); end
- # source://actionpack//lib/action_controller/metal/rendering.rb#202
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:202
def _render_in_priorities(options); end
- # source://actionpack//lib/action_controller/metal/rendering.rb#210
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:210
def _set_html_content_type; end
- # source://actionpack//lib/action_controller/metal/rendering.rb#214
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:214
def _set_rendered_content_type(format); end
- # source://actionpack//lib/action_controller/metal/rendering.rb#220
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:220
def _set_vary_header; end
# Before processing, set the request formats in current controller formats.
#
- # source://actionpack//lib/action_controller/metal/rendering.rb#191
- def process_action(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:191
+ def process_action(*); end
end
-# source://actionpack//lib/action_controller/metal/rendering.rb#11
+# pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:11
module ActionController::Rendering::ClassMethods
- # source://actionpack//lib/action_controller/metal/rendering.rb#23
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:23
def inherited(klass); end
- # source://actionpack//lib/action_controller/metal/rendering.rb#13
- def render(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:13
+ def render(*, **, &); end
# Returns a renderer instance (inherited from ActionController::Renderer) for
# the controller.
#
- # source://actionpack//lib/action_controller/metal/rendering.rb#17
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:17
def renderer; end
- # source://actionpack//lib/action_controller/metal/rendering.rb#19
+ # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:19
def setup_renderer!; end
end
-# source://actionpack//lib/action_controller/metal/rendering.rb#9
+# pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:9
ActionController::Rendering::RENDER_FORMATS_IN_PRIORITY = T.let(T.unsafe(nil), Array)
# # Action Controller Request Forgery Protection
@@ -7816,7 +7410,7 @@ ActionController::Rendering::RENDER_FORMATS_IN_PRIORITY = T.let(T.unsafe(nil), A
# Learn more about CSRF attacks and securing your application in the [Ruby on
# Rails Security Guide](https://guides.rubyonrails.org/security.html).
#
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#63
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:63
module ActionController::RequestForgeryProtection
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -7831,136 +7425,122 @@ module ActionController::RequestForgeryProtection
mixes_in_class_methods ::AbstractController::Callbacks::ClassMethods
mixes_in_class_methods ::ActionController::RequestForgeryProtection::ClassMethods
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#366
- def initialize(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:366
+ def initialize(*, **, &); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#376
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:376
def commit_csrf_token(request); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#371
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:371
def reset_csrf_token(request); end
private
# Checks if any of the authenticity tokens from the request are valid.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#469
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:469
def any_authenticity_token_valid?; end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#550
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:550
def compare_with_global_token(token, session = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#546
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:546
def compare_with_real_token(token, session = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#587
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:587
def csrf_token_hmac(session, identifier); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#665
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:665
def decode_csrf_token(encoded_csrf_token); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#661
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:661
def encode_csrf_token(csrf_token); end
# The form's authenticity parameter. Override to provide your own.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#607
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:607
def form_authenticity_param; end
# Creates the authenticity token for the current request.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#481
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:481
def form_authenticity_token(form_options: T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#657
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:657
def generate_csrf_token; end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#583
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:583
def global_csrf_token(session = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#401
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:401
def handle_unverified_request; end
# GET requests are checked for cross-origin JavaScript after rendering.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#439
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:439
def mark_for_same_origin_verification!; end
# If the `verify_authenticity_token` before_action ran, verify that JavaScript
# responses are only served to same-origin GET requests.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#445
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:445
def marked_for_same_origin_verification?; end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#539
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:539
def mask_token(raw_token); end
# Creates a masked version of the authenticity token that varies on each
# request. The masking is used to mitigate SSL attacks like BREACH.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#487
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:487
def masked_authenticity_token(form_options: T.unsafe(nil)); end
# Check for cross-origin JavaScript responses.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#450
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:450
def non_xhr_javascript_response?; end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#637
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:637
def normalize_action_path(action_path); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#647
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:647
def normalize_relative_action_path(rel_action_path); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#576
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:576
def per_form_csrf_token(session, action_path, method); end
# Checks if the controller allows forgery protection.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#612
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:612
def protect_against_forgery?; end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#568
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:568
def real_csrf_token(_session = T.unsafe(nil)); end
# Possible authenticity tokens sent in the request.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#476
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:476
def request_authenticity_tokens; end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#532
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:532
def unmask_token(masked_token); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#411
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:411
def unverified_request_warning_message; end
# Checks the client's masked token to see if it matches the session token.
# Essentially the inverse of `masked_authenticity_token`.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#502
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:502
def valid_authenticity_token?(session, encoded_masked_token); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#554
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:554
def valid_per_form_csrf_token?(token, session = T.unsafe(nil)); end
# Checks if the request originated from the same origin by looking at the Origin
# header.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#627
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:627
def valid_request_origin?; end
# Returns true or false if a request is verified. Checks:
@@ -7970,9 +7550,7 @@ module ActionController::RequestForgeryProtection
# params?
# * Does the `X-CSRF-Token` header match the form_authenticity_token?
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#463
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:463
def verified_request?; end
# The actual before_action that is used to verify the CSRF token. Don't override
@@ -7985,17 +7563,17 @@ module ActionController::RequestForgeryProtection
# responses are for XHR requests, ensuring they follow the browser's same-origin
# policy.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#391
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:391
def verify_authenticity_token; end
# If `verify_authenticity_token` was run (indicating that we have
# forgery protection enabled for this request) then also verify that we aren't
# serving an unauthorized cross-origin response.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#429
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:429
def verify_same_origin_request; end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#595
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:595
def xor_byte_strings(s1, s2); end
module GeneratedClassMethods
@@ -8014,16 +7592,16 @@ module ActionController::RequestForgeryProtection
end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#454
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:454
ActionController::RequestForgeryProtection::AUTHENTICITY_TOKEN_LENGTH = T.let(T.unsafe(nil), Integer)
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#419
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:419
ActionController::RequestForgeryProtection::CROSS_ORIGIN_JAVASCRIPT_WARNING = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#64
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:64
ActionController::RequestForgeryProtection::CSRF_TOKEN = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#106
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:106
module ActionController::RequestForgeryProtection::ClassMethods
# Turn on request forgery protection. Bear in mind that GET and HEAD requests
# are not checked.
@@ -8118,7 +7696,7 @@ module ActionController::RequestForgeryProtection::ClassMethods
# protect_from_forgery store: CustomStore.new
# end
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#199
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:199
def protect_from_forgery(options = T.unsafe(nil)); end
# Turn off request forgery protection. This is a wrapper for:
@@ -8127,137 +7705,113 @@ module ActionController::RequestForgeryProtection::ClassMethods
#
# See `skip_before_action` for allowed options.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#216
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:216
def skip_forgery_protection(options = T.unsafe(nil)); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#248
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:248
def is_storage_strategy?(object); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#221
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:221
def protection_method_class(name); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#236
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:236
def storage_strategy(name); end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#333
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:333
class ActionController::RequestForgeryProtection::CookieStore
- # @return [CookieStore] a new instance of CookieStore
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#334
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:334
def initialize(cookie = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#338
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:338
def fetch(request); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#361
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:361
def reset(request); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#350
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:350
def store(request, csrf_token); end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#580
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:580
ActionController::RequestForgeryProtection::GLOBAL_CSRF_TOKEN_IDENTIFIER = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#616
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:616
ActionController::RequestForgeryProtection::NULL_ORIGIN_MESSAGE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#253
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:253
module ActionController::RequestForgeryProtection::ProtectionMethods; end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#306
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:306
class ActionController::RequestForgeryProtection::ProtectionMethods::Exception
- # @return [Exception] a new instance of Exception
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#309
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:309
def initialize(controller); end
- # @raise [ActionController::InvalidAuthenticityToken]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#313
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:313
def handle_unverified_request; end
- # Returns the value of attribute warning_message.
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#307
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:307
def warning_message; end
- # Sets the attribute warning_message
- #
- # @param value the value to set the attribute warning_message to.
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#307
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:307
def warning_message=(_arg0); end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#254
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:254
class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession
- # @return [NullSession] a new instance of NullSession
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#255
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:255
def initialize(controller); end
# This is the method that defines the application behavior when a request is
# found to be unverified.
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#261
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:261
def handle_unverified_request; end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#289
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:289
class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullCookieJar < ::ActionDispatch::Cookies::CookieJar
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#290
- def write(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:290
+ def write(*); end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#270
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:270
class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash < ::Rack::Session::Abstract::SessionHash
- # @return [NullSessionHash] a new instance of NullSessionHash
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#271
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:271
def initialize(req); end
# no-op
#
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#278
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:278
def destroy; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#284
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:284
def enabled?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#280
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:280
def exists?; end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#296
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:296
class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession
- # @return [ResetSession] a new instance of ResetSession
- #
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#297
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:297
def initialize(controller); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#301
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:301
def handle_unverified_request; end
end
-# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#319
+# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:319
class ActionController::RequestForgeryProtection::SessionStore
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#320
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:320
def fetch(request); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#328
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:328
def reset(request); end
- # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#324
+ # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:324
def store(request, csrf_token); end
end
@@ -8268,7 +7822,7 @@ end
# controllers, wrapping actions to handle configured errors, and configuring
# when detailed exceptions must be shown.
#
-# source://actionpack//lib/action_controller/metal/rescue.rb#12
+# pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:12
module ActionController::Rescue
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -8283,15 +7837,13 @@ module ActionController::Rescue
# `request.local?` so local requests in production still show the detailed
# exception pages.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/metal/rescue.rb#21
+ # pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:21
def show_detailed_exceptions?; end
private
- # source://actionpack//lib/action_controller/metal/rescue.rb#26
- def process_action(*_arg0); end
+ # pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:26
+ def process_action(*); end
module GeneratedClassMethods
def rescue_handlers; end
@@ -8317,39 +7869,31 @@ end
# end
# end
#
-# source://actionpack//lib/action_controller/metal/exceptions.rb#88
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:88
class ActionController::RespondToMismatchError < ::ActionController::ActionControllerError
- # @return [RespondToMismatchError] a new instance of RespondToMismatchError
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#91
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:91
def initialize(message = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#89
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:89
ActionController::RespondToMismatchError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_controller/metal/exceptions.rb#19
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:19
class ActionController::RoutingError < ::ActionController::ActionControllerError
- # @return [RoutingError] a new instance of RoutingError
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#21
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:21
def initialize(message, failures = T.unsafe(nil)); end
- # Returns the value of attribute failures.
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#20
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:20
def failures; end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#64
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:64
class ActionController::SessionOverflowError < ::ActionController::ActionControllerError
- # @return [SessionOverflowError] a new instance of SessionOverflowError
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#67
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:67
def initialize(message = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#65
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:65
ActionController::SessionOverflowError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String)
# # Action Controller Streaming
@@ -8516,13 +8060,13 @@ ActionController::SessionOverflowError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), S
#
# Rack 3+ compatible servers all support streaming.
#
-# source://actionpack//lib/action_controller/metal/streaming.rb#169
+# pkg:gem/actionpack#lib/action_controller/metal/streaming.rb:169
module ActionController::Streaming
private
# Call render_body if we are streaming instead of usual `render`.
#
- # source://actionpack//lib/action_controller/metal/streaming.rb#172
+ # pkg:gem/actionpack#lib/action_controller/metal/streaming.rb:172
def _render_template(options); end
end
@@ -8595,27 +8139,25 @@ end
# See ActionController::Parameters.require, and
# ActionController::Parameters.permit for more information.
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1508
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1516
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#1511
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1519
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#1526
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1534
def params=(value); end
end
-# source://actionpack//lib/action_controller/template_assertions.rb#6
+# pkg:gem/actionpack#lib/action_controller/template_assertions.rb:6
module ActionController::TemplateAssertions
- # @raise [NoMethodError]
- #
- # source://actionpack//lib/action_controller/template_assertions.rb#7
+ # pkg:gem/actionpack#lib/action_controller/template_assertions.rb:7
def assert_template(options = T.unsafe(nil), message = T.unsafe(nil)); end
end
@@ -8673,14 +8215,14 @@ end
# ActionController::TestCase will also automatically provide the following
# instance variables for use in the tests:
#
-# : The controller instance that will be tested.
+# @controller
#
-# : An ActionController::TestRequest, representing the current HTTP request.
+# @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.
#
-# : An ActionDispatch::TestResponse object, representing the response of the
+# @response
# last HTTP response. In the above example, `@response` becomes valid after
# calling `post`. If the various assert methods are not sufficient, then you
# may use this object to inspect the HTTP response in detail.
@@ -8738,7 +8280,7 @@ end
#
# assert_redirected_to page_url(title: 'foo')
#
-# source://actionpack//lib/action_controller/test_case.rb#368
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:368
class ActionController::TestCase < ::ActiveSupport::TestCase
include ::ActiveSupport::Testing::ConstantLookup
include ::ActionDispatch::TestProcess::FixtureFile
@@ -8755,48 +8297,48 @@ class ActionController::TestCase < ::ActiveSupport::TestCase
extend ::ActionController::TestCase::Behavior::ClassMethods
extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods
- # source://actionpack//lib/action_controller/test_case.rb#599
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def _controller_class; end
- # source://actionpack//lib/action_controller/test_case.rb#599
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def _controller_class=(_arg0); end
- # source://actionpack//lib/action_controller/test_case.rb#599
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def _controller_class?; end
class << self
- # source://actionpack//lib/action_controller/test_case.rb#599
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def _controller_class; end
- # source://actionpack//lib/action_controller/test_case.rb#599
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def _controller_class=(value); end
- # source://actionpack//lib/action_controller/test_case.rb#599
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def _controller_class?; end
- # source://actionpack//lib/action_controller/test_case.rb#369
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:369
def executor_around_each_request; end
- # source://actionpack//lib/action_controller/test_case.rb#369
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:369
def executor_around_each_request=(_arg0); end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:600
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:600
def __class_attr___callbacks=(new_value); end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def __class_attr__controller_class; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:599
def __class_attr__controller_class=(new_value); end
end
end
-# source://actionpack//lib/action_controller/test_case.rb#371
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:371
module ActionController::TestCase::Behavior
include ::ActionDispatch::TestProcess::FixtureFile
include ::ActionDispatch::TestProcess
@@ -8815,19 +8357,19 @@ module ActionController::TestCase::Behavior
mixes_in_class_methods ::ActionController::TestCase::Behavior::ClassMethods
mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods
- # source://actionpack//lib/action_controller/test_case.rb#592
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:592
def build_response(klass); end
- # source://actionpack//lib/action_controller/test_case.rb#552
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:552
def controller_class_name; end
# Simulate a DELETE request with the given parameters and set/volley the
# response. See `get` for more details.
#
- # source://actionpack//lib/action_controller/test_case.rb#463
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:463
def delete(action, **args); end
- # source://actionpack//lib/action_controller/test_case.rb#556
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:556
def generated_path(generated_extras); end
# Simulate a GET request with the given parameters.
@@ -8854,25 +8396,25 @@ module ActionController::TestCase::Behavior
# Note that the request method is not verified. The different methods are
# available to make the tests more expressive.
#
- # source://actionpack//lib/action_controller/test_case.rb#439
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:439
def get(action, **args); end
# Simulate a HEAD request with the given parameters and set/volley the response.
# See `get` for more details.
#
- # source://actionpack//lib/action_controller/test_case.rb#469
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:469
def head(action, **args); end
# Simulate a PATCH request with the given parameters and set/volley the
# response. See `get` for more details.
#
- # source://actionpack//lib/action_controller/test_case.rb#451
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:451
def patch(action, **args); end
# Simulate a POST request with the given parameters and set/volley the response.
# See `get` for more details.
#
- # source://actionpack//lib/action_controller/test_case.rb#445
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:445
def post(action, **args); end
# Simulate an HTTP request to `action` by specifying request method, parameters
@@ -8915,49 +8457,45 @@ module ActionController::TestCase::Behavior
#
# Note that the request method is not verified.
#
- # source://actionpack//lib/action_controller/test_case.rb#512
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:512
def process(action, method: T.unsafe(nil), params: T.unsafe(nil), session: T.unsafe(nil), body: T.unsafe(nil), flash: T.unsafe(nil), format: T.unsafe(nil), xhr: T.unsafe(nil), as: T.unsafe(nil)); end
# Simulate a PUT request with the given parameters and set/volley the response.
# See `get` for more details.
#
- # source://actionpack//lib/action_controller/test_case.rb#457
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:457
def put(action, **args); end
- # source://actionpack//lib/action_controller/test_case.rb#560
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:560
def query_parameter_names(generated_extras); end
- # Returns the value of attribute request.
- #
- # source://actionpack//lib/action_controller/test_case.rb#377
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:377
def request; end
- # Returns the value of attribute response.
- #
- # source://actionpack//lib/action_controller/test_case.rb#377
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:377
def response; end
- # source://actionpack//lib/action_controller/test_case.rb#564
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:564
def setup_controller_request_and_response; end
private
- # source://actionpack//lib/action_controller/test_case.rb#685
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:685
def check_required_ivars; end
- # source://actionpack//lib/action_controller/test_case.rb#681
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:681
def document_root_element; end
- # source://actionpack//lib/action_controller/test_case.rb#635
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:635
def process_controller_response(action, cookies, xhr); end
- # source://actionpack//lib/action_controller/test_case.rb#671
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:671
def scrub_env!(env); end
- # source://actionpack//lib/action_controller/test_case.rb#605
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:605
def setup_request(controller_class_name, action, parameters, session, flash, xhr); end
- # source://actionpack//lib/action_controller/test_case.rb#627
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:627
def wrap_execution(&block); end
module GeneratedClassMethods
@@ -8973,15 +8511,15 @@ module ActionController::TestCase::Behavior
end
end
-# source://actionpack//lib/action_controller/test_case.rb#379
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:379
module ActionController::TestCase::Behavior::ClassMethods
- # source://actionpack//lib/action_controller/test_case.rb#401
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:401
def controller_class; end
- # source://actionpack//lib/action_controller/test_case.rb#397
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:397
def controller_class=(new_class); end
- # source://actionpack//lib/action_controller/test_case.rb#409
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:409
def determine_default_controller_class(name); end
# Sets the controller class name. Useful if the name can't be inferred from test
@@ -8991,118 +8529,109 @@ module ActionController::TestCase::Behavior::ClassMethods
# tests :widget
# tests 'widget'
#
- # source://actionpack//lib/action_controller/test_case.rb#386
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:386
def tests(controller_class); end
end
# ActionController::TestCase will be deprecated and moved to a gem in the
# future. Please use ActionDispatch::IntegrationTest going forward.
#
-# source://actionpack//lib/action_controller/test_case.rb#46
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:46
class ActionController::TestRequest < ::ActionDispatch::TestRequest
- # @return [TestRequest] a new instance of TestRequest
- #
- # source://actionpack//lib/action_controller/test_case.rb#69
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:69
def initialize(env, session, controller_class); end
- # source://actionpack//lib/action_controller/test_case.rb#88
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:88
def assign_parameters(routes, controller_path, action, parameters, generated_path, query_string_keys); end
- # source://actionpack//lib/action_controller/test_case.rb#84
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:84
def content_type=(type); end
- # Returns the value of attribute controller_class.
- #
- # source://actionpack//lib/action_controller/test_case.rb#54
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:54
def controller_class; end
- # source://actionpack//lib/action_controller/test_case.rb#80
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:80
def query_string=(string); end
private
- # source://actionpack//lib/action_controller/test_case.rb#179
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:179
def params_parsers; end
class << self
# Create a new test request with default `env` values.
#
- # source://actionpack//lib/action_controller/test_case.rb#57
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:57
def create(controller_class); end
- # source://actionpack//lib/action_controller/test_case.rb#50
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:50
def new_session; end
private
- # source://actionpack//lib/action_controller/test_case.rb#64
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:64
def default_env; end
end
end
-# source://actionpack//lib/action_controller/test_case.rb#47
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:47
ActionController::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_controller/test_case.rb#151
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:151
ActionController::TestRequest::ENCODER = T.let(T.unsafe(nil), T.untyped)
# Methods #destroy and #load! are overridden to avoid calling methods on the
+# @store object, which does not exist for the TestSession class.
#
-# source://actionpack//lib/action_controller/test_case.rb#197
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:197
class ActionController::TestSession < ::Rack::Session::Abstract::PersistedSecure::SecureSessionHash
- # @return [TestSession] a new instance of TestSession
- #
- # source://actionpack//lib/action_controller/test_case.rb#200
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:200
def initialize(session = T.unsafe(nil), id = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/test_case.rb#220
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:220
def destroy; end
- # source://actionpack//lib/action_controller/test_case.rb#224
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:224
def dig(*keys); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/test_case.rb#233
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:233
def enabled?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_controller/test_case.rb#208
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:208
def exists?; end
- # source://actionpack//lib/action_controller/test_case.rb#229
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:229
def fetch(key, *args, &block); end
- # source://actionpack//lib/action_controller/test_case.rb#237
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:237
def id_was; end
- # source://actionpack//lib/action_controller/test_case.rb#212
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:212
def keys; end
- # source://actionpack//lib/action_controller/test_case.rb#216
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:216
def values; end
private
- # source://actionpack//lib/action_controller/test_case.rb#242
+ # pkg:gem/actionpack#lib/action_controller/test_case.rb:242
def load!; end
end
-# source://actionpack//lib/action_controller/test_case.rb#198
+# pkg:gem/actionpack#lib/action_controller/test_case.rb:198
ActionController::TestSession::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_controller/metal/testing.rb#6
+# pkg:gem/actionpack#lib/action_controller/metal/testing.rb:6
module ActionController::Testing; end
# Behavior specific to functional tests
#
-# source://actionpack//lib/action_controller/metal/testing.rb#8
+# pkg:gem/actionpack#lib/action_controller/metal/testing.rb:8
module ActionController::Testing::Functional
- # source://actionpack//lib/action_controller/metal/testing.rb#9
+ # pkg:gem/actionpack#lib/action_controller/metal/testing.rb:9
def clear_instance_variables_between_requests; end
- # source://actionpack//lib/action_controller/metal/testing.rb#18
+ # pkg:gem/actionpack#lib/action_controller/metal/testing.rb:18
def recycle!; end
end
@@ -9113,18 +8642,16 @@ end
# params.to_h
# # => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#74
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:74
class ActionController::UnfilteredParameters < ::ArgumentError
- # @return [UnfilteredParameters] a new instance of UnfilteredParameters
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#75
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:75
def initialize; end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#75
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:75
class ActionController::UnknownFormat < ::ActionController::ActionControllerError; end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#72
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:72
class ActionController::UnknownHttpMethod < ::ActionController::ActionControllerError; end
# Raised when a supplied parameter is not expected and
@@ -9135,14 +8662,12 @@ class ActionController::UnknownHttpMethod < ::ActionController::ActionController
# params.permit(:c)
# # => ActionController::UnpermittedParameters: found unpermitted parameters: :a, :b
#
-# source://actionpack//lib/action_controller/metal/strong_parameters.rb#59
+# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:59
class ActionController::UnpermittedParameters < ::IndexError
- # @return [UnpermittedParameters] a new instance of UnpermittedParameters
- #
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#62
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:62
def initialize(params); end
- # source://actionpack//lib/action_controller/metal/strong_parameters.rb#60
+ # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:60
def params; end
end
@@ -9168,7 +8693,7 @@ end
# end
# end
#
-# source://actionpack//lib/action_controller/metal/url_for.rb#27
+# pkg:gem/actionpack#lib/action_controller/metal/url_for.rb:27
module ActionController::UrlFor
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -9178,10 +8703,10 @@ module ActionController::UrlFor
mixes_in_class_methods GeneratedClassMethods
mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods
- # source://actionpack//lib/action_controller/metal/url_for.rb#32
- def initialize(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_controller/metal/url_for.rb:32
+ def initialize(*, **, &); end
- # source://actionpack//lib/action_controller/metal/url_for.rb#37
+ # pkg:gem/actionpack#lib/action_controller/metal/url_for.rb:37
def url_options; end
module GeneratedClassMethods
@@ -9197,31 +8722,23 @@ module ActionController::UrlFor
end
end
-# source://actionpack//lib/action_controller/metal/exceptions.rb#27
+# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:27
class ActionController::UrlGenerationError < ::ActionController::ActionControllerError
include ::DidYouMean::Correctable
- # @return [UrlGenerationError] a new instance of UrlGenerationError
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#30
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:30
def initialize(message, routes = T.unsafe(nil), route_name = T.unsafe(nil), method_name = T.unsafe(nil)); end
- # source://actionpack//lib/action_controller/metal/exceptions.rb#41
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:41
def corrections; end
- # Returns the value of attribute method_name.
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#28
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:28
def method_name; end
- # Returns the value of attribute route_name.
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#28
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:28
def route_name; end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_controller/metal/exceptions.rb#28
+ # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:28
def routes; end
end
@@ -9233,63 +8750,60 @@ end
# defined by the user, and does advanced processing related to HTTP such as
# MIME-type negotiation, decoding parameters in POST, PATCH, or PUT bodies,
# handling HTTP caching logic, cookies and sessions.
+# :markup: markdown
#
-# source://actionpack//lib/action_dispatch/deprecator.rb#5
+# pkg:gem/actionpack#lib/action_dispatch/deprecator.rb:5
module ActionDispatch
extend ::ActiveSupport::Autoload
- # source://actionpack//lib/action_dispatch.rb#141
+ # pkg:gem/actionpack#lib/action_dispatch.rb:141
def eager_load!; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch.rb:127
def test_app; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch.rb:127
def test_app=(val); end
class << self
- # source://actionpack//lib/action_dispatch/deprecator.rb#6
+ # pkg:gem/actionpack#lib/action_dispatch/deprecator.rb:6
def deprecator; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch.rb:127
def test_app; end
- # source://actionpack//lib/action_dispatch.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch.rb:127
def test_app=(val); end
end
end
-# source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:9
class ActionDispatch::ActionableExceptions
- # @return [ActionableExceptions] a new instance of ActionableExceptions
- #
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:12
def initialize(app); end
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#16
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:16
def call(env); end
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10
def endpoint; end
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10
def endpoint=(val); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:26
def actionable_request?(request); end
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:30
def redirect_to(location); end
class << self
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10
def endpoint; end
- # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10
def endpoint=(val); end
end
end
@@ -9298,44 +8812,37 @@ end
# not inherit from Response because it doesn't need it. That means it does not
# have headers or a body.
#
-# source://actionpack//lib/action_dispatch/testing/assertion_response.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:9
class ActionDispatch::AssertionResponse
# Accepts a specific response status code as an Integer (404) or String ('404')
# or a response status range as a Symbol pseudo-code (:success, indicating any
# 200-299 status code).
#
- # @raise [ArgumentError]
- # @return [AssertionResponse] a new instance of AssertionResponse
- #
- # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:22
def initialize(code_or_name); end
- # Returns the value of attribute code.
- #
- # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:10
def code; end
- # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:35
def code_and_name; end
- # Returns the value of attribute name.
- #
- # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:10
def name; end
private
- # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:40
def code_from_name(name); end
- # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:44
def name_from_code(code); end
end
-# source://actionpack//lib/action_dispatch/testing/assertion_response.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:12
ActionDispatch::AssertionResponse::GENERIC_RESPONSE_CODES = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#6
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:6
module ActionDispatch::Assertions
include ::ActionDispatch::Assertions::ResponseAssertions
include ::Rails::Dom::Testing::Assertions::DomAssertions
@@ -9346,13 +8853,13 @@ module ActionDispatch::Assertions
mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods
- # source://actionpack//lib/action_dispatch/testing/assertions.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions.rb:17
def html_document; end
end
# A small suite of assertions that test responses from Rails applications.
#
-# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:8
module ActionDispatch::Assertions::ResponseAssertions
# Asserts that the response is a redirect to a URL matching the given options.
#
@@ -9372,7 +8879,7 @@ module ActionDispatch::Assertions::ResponseAssertions
# # Permanently).
# assert_redirected_to "/some/path", status: :moved_permanently
#
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:60
def assert_redirected_to(url_options = T.unsafe(nil), options = T.unsafe(nil), message = T.unsafe(nil)); end
# Asserts that the response is one of the following types:
@@ -9393,42 +8900,42 @@ module ActionDispatch::Assertions::ResponseAssertions
# # Asserts that the response code was status code 401 (unauthorized)
# assert_response 401
#
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#33
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:33
def assert_response(type, message = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#115
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:115
def code_with_name(code_or_name); end
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:104
def exception_if_present; end
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#89
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:89
def generate_response_message(expected, actual = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#109
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:109
def location_if_redirected; end
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#80
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:80
def normalize_argument_to_redirection(fragment); end
# Proxy to to_param if the object will respond to it.
#
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#76
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:76
def parameterize(value); end
- # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#99
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:99
def response_body_if_short; end
end
-# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:9
ActionDispatch::Assertions::ResponseAssertions::RESPONSE_PREDICATES = T.let(T.unsafe(nil), Hash)
# Suite of assertions to test routes generated by Rails and the handling of
# requests made to them.
#
-# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#15
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:15
module ActionDispatch::Assertions::RoutingAssertions
extend ::ActiveSupport::Concern
@@ -9454,7 +8961,7 @@ module ActionDispatch::Assertions::RoutingAssertions
# # Asserts that the generated route gives us our custom route
# assert_generates "changesets/12", { controller: 'scm', action: 'show_diff', revision: "12" }
#
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#208
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:208
def assert_generates(expected_path, options, defaults = T.unsafe(nil), extras = T.unsafe(nil), message = T.unsafe(nil)); end
# Asserts that the routing of the given `path` was handled correctly and that
@@ -9494,7 +9001,7 @@ module ActionDispatch::Assertions::RoutingAssertions
# # Test a custom route
# assert_recognizes({controller: 'items', action: 'show', id: '1'}, 'view/item1')
#
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#168
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:168
def assert_recognizes(expected_options, path, extras = T.unsafe(nil), msg = T.unsafe(nil)); end
# Asserts that path and options match both ways; in other words, it verifies
@@ -9520,15 +9027,15 @@ module ActionDispatch::Assertions::RoutingAssertions
# # Tests a route with an HTTP method
# assert_routing({ method: 'put', path: '/product/321' }, { controller: "product", action: "update", id: "321" })
#
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#252
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:252
def assert_routing(path, options, defaults = T.unsafe(nil), extras = T.unsafe(nil), message = T.unsafe(nil)); end
# ROUTES TODO: These assertions should really work in an integration context
#
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#265
- def method_missing(selector, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:265
+ def method_missing(selector, *, **, &); end
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:107
def setup; end
# A helper to make it easier to test different route configurations. This method
@@ -9544,29 +9051,27 @@ module ActionDispatch::Assertions::RoutingAssertions
# assert_equal "/users", users_path
# end
#
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#125
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:125
def with_routing(config = T.unsafe(nil), &block); end
private
- # @yield [@routes]
- #
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#274
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:274
def create_routes(config = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#340
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:340
def fail_on(exception_class, message); end
# Recognizes the route for a given path.
#
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#306
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:306
def recognized_request_for(path, extras = T.unsafe(nil), msg); end
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#298
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:298
def reset_routes(old_routes, old_controller); end
end
-# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#80
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:80
module ActionDispatch::Assertions::RoutingAssertions::ClassMethods
# A helper to make it easier to test different route configurations. This method
# temporarily replaces @routes with a new RouteSet instance before each test.
@@ -9580,33 +9085,31 @@ module ActionDispatch::Assertions::RoutingAssertions::ClassMethods
# end
# end
#
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:93
def with_routing(&block); end
end
-# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#18
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:18
module ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting
extend ::ActiveSupport::Concern
mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:40
def with_routing(&block); end
private
- # @yield [routes]
- #
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:50
def create_routes; end
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:72
def reset_routes(old_routes, old_routes_call_method, old_integration_session); end
end
-# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#21
+# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:21
module ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods
- # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:22
def with_routing(&block); end
end
@@ -9618,14 +9121,12 @@ end
# middleware makes the server assume that the proxy already terminated SSL, and
# that the request really is HTTPS.
#
-# source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#13
+# pkg:gem/actionpack#lib/action_dispatch/middleware/assume_ssl.rb:13
class ActionDispatch::AssumeSSL
- # @return [AssumeSSL] a new instance of AssumeSSL
- #
- # source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/assume_ssl.rb:14
def initialize(app); end
- # source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#18
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/assume_ssl.rb:18
def call(env); end
end
@@ -9633,92 +9134,90 @@ end
#
# Provides callbacks to be executed before and after dispatching the request.
#
-# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:9
class ActionDispatch::Callbacks
include ::ActiveSupport::Callbacks
extend ::ActiveSupport::Callbacks::ClassMethods
extend ::ActiveSupport::DescendantsTracker
- # @return [Callbacks] a new instance of Callbacks
- #
- # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:24
def initialize(app); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12
def _call_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12
def _run_call_callbacks(&block); end
- # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:28
def call(env); end
class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10
def __callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10
def __callbacks=(value); end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12
def _call_callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12
def _call_callbacks=(value); end
- # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:19
def after(*args, &block); end
- # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:15
def before(*args, &block); end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10
def __class_attr___callbacks; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10
def __class_attr___callbacks=(new_value); end
end
end
-# source://actionpack//lib/action_dispatch/constants.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:8
module ActionDispatch::Constants; end
-# source://actionpack//lib/action_dispatch/constants.rb#23
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:23
ActionDispatch::Constants::CONTENT_ENCODING = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#24
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:24
ActionDispatch::Constants::CONTENT_SECURITY_POLICY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#25
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:25
ActionDispatch::Constants::CONTENT_SECURITY_POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#27
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:27
ActionDispatch::Constants::FEATURE_POLICY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#26
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:26
ActionDispatch::Constants::LOCATION = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#30
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:30
ActionDispatch::Constants::SERVER_TIMING = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#31
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:31
ActionDispatch::Constants::STRICT_TRANSPORT_SECURITY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#37
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:37
ActionDispatch::Constants::UNPROCESSABLE_CONTENT = T.let(T.unsafe(nil), Symbol)
-# source://actionpack//lib/action_dispatch/constants.rb#22
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:22
ActionDispatch::Constants::VARY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#29
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:29
ActionDispatch::Constants::X_CASCADE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/constants.rb#28
+# pkg:gem/actionpack#lib/action_dispatch/constants.rb:28
ActionDispatch::Constants::X_REQUEST_ID = T.let(T.unsafe(nil), String)
# # Action Dispatch Content Security Policy
@@ -9741,16 +9240,12 @@ ActionDispatch::Constants::X_REQUEST_ID = T.let(T.unsafe(nil), String)
# policy.report_uri "/csp-violation-report-endpoint"
# end
#
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#28
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:28
class ActionDispatch::ContentSecurityPolicy
- # @return [ContentSecurityPolicy] a new instance of 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#182
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:182
def initialize; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def base_uri(*sources); end
# Specify whether to prevent the user agent from loading any assets over HTTP
@@ -9762,48 +9257,46 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.block_all_mixed_content false
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#210
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:210
def block_all_mixed_content(enabled = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#299
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:299
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#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def child_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def connect_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def default_src(*sources); end
- # Returns the value of attribute directives.
- #
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#180
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:180
def directives; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def font_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def form_action(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def frame_ancestors(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def frame_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def img_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def manifest_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def media_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def object_src(*sources); end
# Restricts the set of plugins that can be embedded:
@@ -9814,10 +9307,10 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.plugin_types
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#226
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:226
def plugin_types(*types); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def prefetch_src(*sources); end
# Enable the [report-uri](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri)
@@ -9826,7 +9319,7 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.report_uri "/csp-violation-report-endpoint"
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#240
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:240
def report_uri(uri); end
# Specify asset types for which [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) is required:
@@ -9837,10 +9330,10 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.require_sri_for
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#252
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:252
def require_sri_for(*types); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
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)
@@ -9856,28 +9349,28 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.sandbox false
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#273
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:273
def sandbox(*values); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def script_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def script_src_attr(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def script_src_elem(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def style_src(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def style_src_attr(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def style_src_elem(*sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def trusted_types(*sources); end
# Specify whether user agents should treat any assets over HTTP as HTTPS:
@@ -9888,130 +9381,122 @@ class ActionDispatch::ContentSecurityPolicy
#
# policy.upgrade_insecure_requests false
#
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#291
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:291
def upgrade_insecure_requests(enabled = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192
def worker_src(*sources); end
private
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#324
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:324
def apply_mapping(source); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#305
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:305
def apply_mappings(sources); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#358
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:358
def build_directive(directive, sources, context); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#330
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:330
def build_directives(context, nonce, nonce_directives); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#386
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:386
def hash_source?(source); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:187
def initialize_copy(other); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#382
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:382
def nonce_directive?(directive, nonce_directives); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#364
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:364
def resolve_source(source, context); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#346
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:346
def validate(directive, sources); end
end
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#176
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:176
ActionDispatch::ContentSecurityPolicy::DEFAULT_NONCE_DIRECTIVES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#149
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:149
ActionDispatch::ContentSecurityPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#174
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:174
ActionDispatch::ContentSecurityPolicy::HASH_SOURCE_ALGORITHM_PREFIXES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#29
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:29
class ActionDispatch::ContentSecurityPolicy::InvalidDirectiveError < ::StandardError; end
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#128
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:128
ActionDispatch::ContentSecurityPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#32
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:32
class ActionDispatch::ContentSecurityPolicy::Middleware
- # @return [Middleware] a new instance of Middleware
- #
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#33
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:33
def initialize(app); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#37
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:37
def call(env); end
private
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#59
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:59
def header_name(request); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:67
def policy_present?(headers); end
end
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#73
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:73
module ActionDispatch::ContentSecurityPolicy::Request
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#80
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:80
def content_security_policy; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#84
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:84
def content_security_policy=(policy); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#112
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:112
def content_security_policy_nonce; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:104
def content_security_policy_nonce_directives; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#108
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:108
def content_security_policy_nonce_directives=(generator); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#96
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:96
def content_security_policy_nonce_generator; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:100
def content_security_policy_nonce_generator=(generator); end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#88
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:88
def content_security_policy_report_only; end
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#92
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:92
def content_security_policy_report_only=(value); end
private
- # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:123
def generate_content_security_policy_nonce; end
end
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#77
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:77
ActionDispatch::ContentSecurityPolicy::Request::NONCE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#78
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:78
ActionDispatch::ContentSecurityPolicy::Request::NONCE_DIRECTIVES = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#76
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:76
ActionDispatch::ContentSecurityPolicy::Request::NONCE_GENERATOR = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#74
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:74
ActionDispatch::ContentSecurityPolicy::Request::POLICY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#75
+# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:75
ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String)
# Read and write data to cookies through ActionController::Cookies#cookies.
@@ -10112,70 +9597,69 @@ ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY = T.let(T.uns
# Possible values are `nil`, `:none`, `:lax`, and `:strict`. Defaults to
# `:lax`.
#
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#195
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:195
class ActionDispatch::Cookies
- # @return [Cookies] a new instance of Cookies
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#700
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:715
def initialize(app); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#704
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:719
def call(env); end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#201
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:201
ActionDispatch::Cookies::AUTHENTICATED_ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#506
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:514
class ActionDispatch::Cookies::AbstractCookieJar
include ::ActionDispatch::Cookies::ChainedCookieJars
- # @return [AbstractCookieJar] a new instance of AbstractCookieJar
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#509
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:517
def initialize(parent_jar); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#513
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:521
def [](name); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#525
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:533
def []=(name, options); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:544
+ def upgraded(name); end
+
protected
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#537
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:549
def request; end
private
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#555
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:567
def commit(name, options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#548
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:560
def cookie_metadata(name, options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#540
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:552
def expiry_options(options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#554
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:566
def parse(name, data, purpose: T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#207
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:207
ActionDispatch::Cookies::COOKIES_DIGEST = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#208
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:208
ActionDispatch::Cookies::COOKIES_ROTATIONS = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#209
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:209
ActionDispatch::Cookies::COOKIES_SAME_SITE_PROTECTION = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#206
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:206
ActionDispatch::Cookies::COOKIES_SERIALIZER = T.let(T.unsafe(nil), String)
# Include in a cookie jar to allow chaining, e.g. `cookies.permanent.signed`.
#
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#219
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:219
module ActionDispatch::Cookies::ChainedCookieJars
# Returns a jar that'll automatically encrypt cookie values before sending them
# to the client and will decrypt them for read. If the cookie was tampered with
@@ -10195,7 +9679,7 @@ module ActionDispatch::Cookies::ChainedCookieJars
#
# cookies.encrypted[:discount] # => 45
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#274
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:274
def encrypted; end
# Returns a jar that'll automatically set the assigned cookies to have an
@@ -10213,7 +9697,7 @@ module ActionDispatch::Cookies::ChainedCookieJars
# cookies.permanent.signed[:remember_me] = current_user.id
# # => Set-Cookie: remember_me=BAhU--848956038e692d7046deab32b7131856ab20e14e; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#234
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:234
def permanent; end
# Returns a jar that'll automatically generate a signed representation of cookie
@@ -10232,73 +9716,65 @@ module ActionDispatch::Cookies::ChainedCookieJars
#
# cookies.signed[:discount] # => 45
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#253
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:253
def signed; end
# Returns the `signed` or `encrypted` jar, preferring `encrypted` if
# `secret_key_base` is set. Used by ActionDispatch::Session::CookieStore to
# avoid the need to introduce new cookie stores.
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#281
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:281
def signed_or_encrypted; end
private
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#304
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:304
def encrypted_cookie_cipher; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#298
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:298
def prepare_upgrade_legacy_hmac_aes_cbc_cookies?; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#308
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:308
def signed_cookie_digest; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#291
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:291
def upgrade_legacy_hmac_aes_cbc_cookies?; end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#313
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:313
class ActionDispatch::Cookies::CookieJar
include ::ActionDispatch::Cookies::ChainedCookieJars
include ::Enumerable
- # @return [CookieJar] a new instance of CookieJar
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#324
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:324
def initialize(request); end
# Returns the value of the cookie by `name`, or `nil` if no such cookie exists.
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#345
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:346
def [](name); end
# Sets the cookie named `name`. The second argument may be the cookie's value or
# a hash of options as documented above.
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#379
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:380
def []=(name, options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:449
def always_write_cookie; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:449
def always_write_cookie=(val); end
# Removes all cookies on the client machine by calling `delete` for each cookie.
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#425
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:427
def clear(options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#334
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:335
def commit!; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#332
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:333
def committed?; end
# Removes the cookie on the client machine by setting the value to an empty
@@ -10307,191 +9783,180 @@ class ActionDispatch::Cookies::CookieJar
#
# Returns the value of the cookie, or `nil` if the cookie does not exist.
#
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#404
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:406
def delete(name, options = T.unsafe(nil)); end
# Whether the given cookie is to be deleted by this CookieJar. Like `[]=`, you
# can pass in an options hash to test if a deletion applies to a specific
# `:path`, `:domain` etc.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#418
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:420
def deleted?(name, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#340
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:341
def each(&block); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#349
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:350
def fetch(name, *args, &block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#353
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:357
def has_key?(name); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#353
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:354
def key?(name); end
- # Returns the value of attribute request.
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#322
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:322
def request; end
# Returns the cookies as Hash.
+ #
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:360
def to_hash(*_arg0); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#373
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:374
def to_header; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#361
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:362
def update(other_hash); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#366
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:367
def update_cookies_from_jar; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#429
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:431
+ def upgraded(name); end
+
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:435
def write(response); end
private
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#444
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:452
def escape(string); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#452
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:460
def handle_options(options); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#448
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:456
def write_cookie?(cookie); end
class << self
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:449
def always_write_cookie; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:449
def always_write_cookie=(val); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#316
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:316
def build(req, cookies); end
end
end
# Raised when storing more than 4K of session data.
#
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#216
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:216
class ActionDispatch::Cookies::CookieOverflow < ::StandardError; end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#203
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:203
ActionDispatch::Cookies::ENCRYPTED_COOKIE_CIPHER = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#199
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:199
ActionDispatch::Cookies::ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#200
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:200
ActionDispatch::Cookies::ENCRYPTED_SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#648
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:663
class ActionDispatch::Cookies::EncryptedKeyRotatingCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar
include ::ActionDispatch::Cookies::SerializedCookieJars
- # @return [EncryptedKeyRotatingCookieJar] a new instance of EncryptedKeyRotatingCookieJar
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#651
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:666
def initialize(parent_jar); end
private
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#693
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:708
def commit(name, options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#685
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:700
def parse(name, encrypted_message, purpose: T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#197
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:197
ActionDispatch::Cookies::GENERATOR_KEY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#196
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:196
ActionDispatch::Cookies::HTTP_HEADER = T.let(T.unsafe(nil), String)
# Cookies can typically store 4096 bytes.
#
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#213
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:213
ActionDispatch::Cookies::MAX_COOKIE_SIZE = T.let(T.unsafe(nil), Integer)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#558
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:570
class ActionDispatch::Cookies::PermanentCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar
private
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#560
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:572
def commit(name, options); end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#205
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:205
ActionDispatch::Cookies::SECRET_KEY_BASE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#204
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:204
ActionDispatch::Cookies::SIGNED_COOKIE_DIGEST = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#198
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:198
ActionDispatch::Cookies::SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#565
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:577
module ActionDispatch::Cookies::SerializedCookieJars
protected
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#569
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:581
def digest; end
private
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#612
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:627
def check_for_overflow!(name, options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#608
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:623
def commit(name, options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#594
- def parse(name, dumped, force_reserialize: T.unsafe(nil), **_arg3); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:606
+ def parse(name, dumped, force_reserialize: T.unsafe(nil), **); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#588
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:600
def reserialize?(dumped); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#574
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:586
def serializer; end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#566
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:578
ActionDispatch::Cookies::SerializedCookieJars::SERIALIZER = ActiveSupport::MessageEncryptor::NullSerializer
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#619
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:634
class ActionDispatch::Cookies::SignedKeyRotatingCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar
include ::ActionDispatch::Cookies::SerializedCookieJars
- # @return [SignedKeyRotatingCookieJar] a new instance of SignedKeyRotatingCookieJar
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#622
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:637
def initialize(parent_jar); end
private
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#641
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:656
def commit(name, options); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#635
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:650
def parse(name, signed_message, purpose: T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#202
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:202
ActionDispatch::Cookies::USE_AUTHENTICATED_COOKIE_ENCRYPTION = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#210
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:210
ActionDispatch::Cookies::USE_COOKIES_WITH_METADATA = T.let(T.unsafe(nil), String)
# # Action Dispatch DebugExceptions
@@ -10499,66 +9964,60 @@ ActionDispatch::Cookies::USE_COOKIES_WITH_METADATA = T.let(T.unsafe(nil), String
# This middleware is responsible for logging exceptions and showing a debugging
# page in case the request is local.
#
-# source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#15
+# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:15
class ActionDispatch::DebugExceptions
- # @return [DebugExceptions] a new instance of DebugExceptions
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:23
def initialize(app, routes_app = T.unsafe(nil), response_format = T.unsafe(nil), interceptors = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:30
def call(env); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#200
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:200
def api_request?(content_type); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:118
def create_template(request, wrapper); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:50
def invoke_interceptors(request, exception, wrapper); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#174
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:174
def log_array(logger, lines, request); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#137
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:137
def log_error(request, wrapper); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#204
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:204
def log_rescued_responses?(request); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#186
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:186
def logger(request); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#133
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:133
def render(status, body, format); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:58
def render_exception(request, exception, wrapper); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#94
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:94
def render_for_api_request(content_type, wrapper); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#80
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:80
def render_for_browser_request(request, wrapper); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#194
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:194
def routes_inspector(exception); end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#190
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:190
def stderr_logger; end
class << self
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#16
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:16
def interceptors; end
- # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#18
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:18
def register_interceptor(object = T.unsafe(nil), &block); end
end
end
@@ -10587,293 +10046,255 @@ end
# This middleware exposes operational details of the server, with no access
# control. It should only be enabled when in use, and removed thereafter.
#
-# source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#29
+# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:29
class ActionDispatch::DebugLocks
- # @return [DebugLocks] a new instance of DebugLocks
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:30
def initialize(app, path = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:35
def call(env); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#108
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:108
def blocked_by?(victim, blocker, all_threads); end
- # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#49
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:49
def render_details(req); end
end
-# source://actionpack//lib/action_dispatch/middleware/debug_view.rb#11
+# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:11
class ActionDispatch::DebugView < ::ActionView::Base
- # @return [DebugView] a new instance of DebugView
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:14
def initialize(assigns); end
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:20
def compiled_method_container; end
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:44
def debug_hash(object); end
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#36
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:36
def debug_headers(headers); end
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:24
def debug_params(params); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#62
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:62
def params_valid?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:58
def protect_against_forgery?; end
- # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#48
- def render(*_arg0); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:48
+ def render(*); end
end
-# source://actionpack//lib/action_dispatch/middleware/debug_view.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:12
ActionDispatch::DebugView::RESCUES_TEMPLATE_PATHS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#11
+# pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:11
class ActionDispatch::ExceptionWrapper
- # @return [ExceptionWrapper] a new instance of ExceptionWrapper
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:50
def initialize(backtrace_cleaner, exception); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#101
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:101
def actions; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#113
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:113
def annotated_source_code; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#135
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:135
def application_trace; end
- # Returns the value of attribute backtrace_cleaner.
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:48
def backtrace_cleaner; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#89
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:89
def corrections; end
- # Returns the value of attribute exception.
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:48
def exception; end
- # Returns the value of attribute exception_class_name.
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:48
def exception_class_name; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#228
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:228
def exception_id; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#224
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:224
def exception_inspect; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#216
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:216
def exception_name; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#129
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:129
def exception_trace; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:77
def failures; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:93
def file_name; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#139
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:139
def framework_trace; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:143
def full_trace; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#73
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:73
def has_cause?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#81
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:81
def has_corrections?; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#97
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:97
def line_number; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#220
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:220
def message; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:85
def original_message; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#194
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:194
def rescue_response?; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12
def rescue_responses; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12
def rescue_responses=(val); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#121
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:121
def rescue_template; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:30
def rescue_templates; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:30
def rescue_templates=(val); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#61
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:61
def routing_error?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#179
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:179
def show?(request); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:43
def silent_exceptions; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:43
def silent_exceptions=(val); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#198
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:198
def source_extracts; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#212
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:212
def source_to_show_id; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#125
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:125
def status_code; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:69
def sub_template_message; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#65
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:65
def template_error?; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#204
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:204
def trace_to_show; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#147
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:147
def traces; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#105
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:105
def unwrapped_exception; end
- # Returns the value of attribute wrapped_causes.
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:48
def wrapped_causes; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#39
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:39
def wrapper_exceptions; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#39
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:39
def wrapper_exceptions=(val); end
private
- # Returns the value of attribute backtrace.
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#252
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:252
def backtrace; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#254
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:254
def build_backtrace; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#277
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:277
def causes_for(exception); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#287
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:287
def clean_backtrace(*args); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#340
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:340
def extract_file_and_line_number(trace); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#295
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:295
def extract_source(trace); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#324
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:324
def extract_source_fragment_lines(source_lines, line); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#330
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:330
def source_fragment(path, line); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#283
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:283
def wrapped_causes_for(exception, backtrace_cleaner); end
class << self
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12
def rescue_responses; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12
def rescue_responses=(val); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:30
def rescue_templates; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:30
def rescue_templates=(val); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:43
def silent_exceptions; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:43
def silent_exceptions=(val); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#175
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:175
def status_code_for_exception(class_name); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#39
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:39
def wrapper_exceptions; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#39
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:39
def wrapper_exceptions=(val); end
end
end
-# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#233
+# pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:233
class ActionDispatch::ExceptionWrapper::SourceMapLocation
- # @return [SourceMapLocation] a new instance of SourceMapLocation
- #
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#234
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:234
def initialize(location, template); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#239
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:239
def spot(exc); end
end
-# source://actionpack//lib/action_dispatch/middleware/executor.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/middleware/executor.rb:8
class ActionDispatch::Executor
- # @return [Executor] a new instance of Executor
- #
- # source://actionpack//lib/action_dispatch/middleware/executor.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/executor.rb:9
def initialize(app, executor); end
- # source://actionpack//lib/action_dispatch/middleware/executor.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/executor.rb:13
def call(env); end
end
@@ -10893,40 +10314,32 @@ end
# "index"` to change the default `path`/index.html, and optional additional
# response headers.
#
-# source://actionpack//lib/action_dispatch/middleware/static.rb#47
+# pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:47
class ActionDispatch::FileHandler
- # @return [FileHandler] a new instance of FileHandler
- #
- # source://actionpack//lib/action_dispatch/middleware/static.rb#55
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:55
def initialize(root, index: T.unsafe(nil), headers: T.unsafe(nil), precompressed: T.unsafe(nil), compressible_content_types: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/static.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:69
def attempt(env); end
- # source://actionpack//lib/action_dispatch/middleware/static.rb#65
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:65
def call(env); end
private
- # source://actionpack//lib/action_dispatch/middleware/static.rb#185
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:185
def clean_path(path_info); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/static.rb#149
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:149
def compressible?(content_type); end
- # @yield [path, content_type || "text/plain"]
- #
- # source://actionpack//lib/action_dispatch/middleware/static.rb#162
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:162
def each_candidate_filepath(path_info); end
- # source://actionpack//lib/action_dispatch/middleware/static.rb#153
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:153
def each_precompressed_filepath(filepath); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/static.rb#144
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:144
def file_readable?(path); end
# Match a URI path to a static file to be served.
@@ -10940,22 +10353,22 @@ class ActionDispatch::FileHandler
# If a matching file is found, the path and necessary response headers
# (Content-Type, Content-Encoding) are returned.
#
- # source://actionpack//lib/action_dispatch/middleware/static.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:104
def find_file(path_info, accept_encoding:); end
- # source://actionpack//lib/action_dispatch/middleware/static.rb#80
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:80
def serve(request, filepath, content_headers); end
- # source://actionpack//lib/action_dispatch/middleware/static.rb#112
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:112
def try_files(filepath, content_type, accept_encoding:); end
- # source://actionpack//lib/action_dispatch/middleware/static.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:122
def try_precompressed_files(filepath, headers, accept_encoding:); end
end
# `Accept-Encoding` value -> file extension
#
-# source://actionpack//lib/action_dispatch/middleware/static.rb#49
+# pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:49
ActionDispatch::FileHandler::PRECOMPRESSED = T.let(T.unsafe(nil), Hash)
# # Action Dispatch Flash
@@ -11001,46 +10414,44 @@ ActionDispatch::FileHandler::PRECOMPRESSED = T.let(T.unsafe(nil), Hash)
#
# See docs on the FlashHash class for more details about the flash.
#
-# source://actionpack//lib/action_dispatch/middleware/flash.rb#50
+# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:50
class ActionDispatch::Flash
class << self
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#312
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:312
def new(app); end
end
end
-# source://actionpack//lib/action_dispatch/middleware/flash.rb#119
+# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:119
class ActionDispatch::Flash::FlashHash
include ::Enumerable
- # @return [FlashHash] a new instance of FlashHash
- #
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#149
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:149
def initialize(flashes = T.unsafe(nil), discard = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#169
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:169
def [](k); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#163
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:163
def []=(k, v); end
# Convenience accessor for `flash[:alert]`.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#280
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:280
def alert; end
# Convenience accessor for `flash[:alert]=`.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#285
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:285
def alert=(message); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#204
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:204
def clear; end
# Immediately deletes the single flash entry. Use this method when you want
# remove the message within the current action. See also #discard.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#189
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:189
def delete(key); end
# Marks the entire flash or a single flash entry to be discarded by the end of
@@ -11052,15 +10463,13 @@ class ActionDispatch::Flash::FlashHash
# Use this method when you want to display the message in the current action but
# not in the next one. See also #delete.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#264
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:264
def discard(k = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#209
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:209
def each(&block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#200
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:200
def empty?; end
# Keeps either the entire current flash or a specific flash entry available for
@@ -11069,28 +10478,26 @@ class ActionDispatch::Flash::FlashHash
# flash.keep # keeps the entire flash
# flash.keep(:notice) # keeps only the "notice" entry, the rest of the flash is discarded
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#250
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:250
def keep(k = T.unsafe(nil)); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#183
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:183
def key?(name); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#179
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:179
def keys; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#173
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:213
def merge!(h); end
# Convenience accessor for `flash[:notice]`.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#290
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:290
def notice; end
# Convenience accessor for `flash[:notice]=`.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#295
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:295
def notice=(message); end
# Sets a flash that will not be available to the next action, only to the
@@ -11114,10 +10521,10 @@ class ActionDispatch::Flash::FlashHash
# flash.now.notice = "Good luck now!"
# # Equivalent to flash.now[:notice] = "Good luck now!"
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#241
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:241
def now; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#215
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:215
def replace(h); end
# Mark for removal entries that were kept, and delete unkept ones.
@@ -11125,100 +10532,90 @@ class ActionDispatch::Flash::FlashHash
# This method is called automatically by filters, so you generally don't need to
# care about it.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#274
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:274
def sweep; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#196
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:196
def to_hash; end
# Builds a hash containing the flashes to keep for the next request. If there
# are none to keep, returns `nil`.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:143
def to_session_value; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#173
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:173
def update(h); end
protected
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#300
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:300
def now_is_loaded?; end
private
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#155
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:155
def initialize_copy(other); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#305
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:305
def stringify_array(array); end
class << self
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:122
def from_session_value(value); end
end
end
-# source://actionpack//lib/action_dispatch/middleware/flash.rb#90
+# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:90
class ActionDispatch::Flash::FlashNow
- # @return [FlashNow] a new instance of FlashNow
- #
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:93
def initialize(flash); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:104
def [](k); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#97
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:97
def []=(k, v); end
# Convenience accessor for `flash.now[:alert]=`.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#109
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:109
def alert=(message); end
- # Returns the value of attribute flash.
- #
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:91
def flash; end
- # Sets the attribute flash
- #
- # @param value the value to set the attribute flash to.
- #
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:91
def flash=(_arg0); end
# Convenience accessor for `flash.now[:notice]=`.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#114
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:114
def notice=(message); end
end
-# source://actionpack//lib/action_dispatch/middleware/flash.rb#51
+# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:51
ActionDispatch::Flash::KEY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/flash.rb#53
+# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:53
module ActionDispatch::Flash::RequestMethods
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#71
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:71
def commit_flash; end
# Access the contents of the flash. Returns a ActionDispatch::Flash::FlashHash.
#
# See ActionDispatch::Flash for example usage.
#
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#57
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:57
def flash; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#63
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:63
def flash=(flash); end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:67
def flash_hash; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#84
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:84
def reset_session; end
end
@@ -11239,119 +10636,107 @@ end
# info if `config.consider_all_requests_local` is set to true, otherwise the
# body is empty.
#
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#22
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:22
class ActionDispatch::HostAuthorization
- # @return [HostAuthorization] a new instance of HostAuthorization
- #
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:127
def initialize(app, hosts, exclude: T.unsafe(nil), response_app: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#135
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:135
def call(env); end
private
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#151
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:151
def blocked_hosts(request); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#163
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:163
def excluded?(request); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#167
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:167
def mark_as_authorized(request); end
end
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#23
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:23
ActionDispatch::HostAuthorization::ALLOWED_HOSTS_IN_DEVELOPMENT = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#88
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:88
class ActionDispatch::HostAuthorization::DefaultResponseApp
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:91
def call(env); end
private
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:122
def available_logger(request); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#114
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:114
def log_error(request); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:107
def response(format, body); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:100
def response_body(request); end
end
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#89
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:89
ActionDispatch::HostAuthorization::DefaultResponseApp::RESPONSE_STATUS = T.let(T.unsafe(nil), Integer)
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#26
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:26
ActionDispatch::HostAuthorization::IPV4_HOSTNAME = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#27
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:27
ActionDispatch::HostAuthorization::IPV6_HOSTNAME = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#28
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:28
ActionDispatch::HostAuthorization::IPV6_HOSTNAME_WITH_PORT = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#24
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:24
ActionDispatch::HostAuthorization::PORT_REGEX = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#35
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:35
class ActionDispatch::HostAuthorization::Permissions
- # @return [Permissions] a new instance of Permissions
- #
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#36
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:36
def initialize(hosts); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:44
def allows?(host); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:40
def empty?; end
private
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#83
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:83
def extract_hostname(host); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#61
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:61
def sanitize_hosts(hosts); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#71
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:71
def sanitize_regexp(host); end
- # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#75
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:75
def sanitize_string(host); end
end
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#25
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:25
ActionDispatch::HostAuthorization::SUBDOMAIN_REGEX = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#29
+# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:29
ActionDispatch::HostAuthorization::VALID_IP_HOSTNAME = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch.rb#95
+# pkg:gem/actionpack#lib/action_dispatch.rb:95
module ActionDispatch::Http
extend ::ActiveSupport::Autoload
end
-# source://actionpack//lib/action_dispatch/http/cache.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:7
module ActionDispatch::Http::Cache; end
-# source://actionpack//lib/action_dispatch/http/cache.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:8
module ActionDispatch::Http::Cache::Request
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#32
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:32
def etag_matches?(etag); end
# Check response freshness (`Last-Modified` and `ETag`) against request
@@ -11361,62 +10746,54 @@ module ActionDispatch::Http::Cache::Request
# `config.action_dispatch.strict_freshness`.
# Reference: http://tools.ietf.org/html/rfc7232#section-6
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#45
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:45
def fresh?(response); end
- # source://actionpack//lib/action_dispatch/http/cache.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:14
def if_modified_since; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:20
def if_none_match; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:24
def if_none_match_etags; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:28
def not_modified?(modified_at); end
- # source://actionpack//lib/action_dispatch/http/cache.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12
def strict_freshness; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12
def strict_freshness=(val); end
class << self
- # source://actionpack//lib/action_dispatch/http/cache.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12
def strict_freshness; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12
def strict_freshness=(val); end
end
end
-# source://actionpack//lib/action_dispatch/http/cache.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:9
ActionDispatch::Http::Cache::Request::HTTP_IF_MODIFIED_SINCE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:10
ActionDispatch::Http::Cache::Request::HTTP_IF_NONE_MATCH = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#68
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:68
module ActionDispatch::Http::Cache::Response
- # Returns the value of attribute cache_control.
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:69
def cache_control; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:85
def date; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#95
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:95
def date=(utc_time); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:91
def date?; end
# This method sets a weak ETag validator on the response so browsers and proxies
@@ -11438,141 +10815,127 @@ module ActionDispatch::Http::Cache::Response
# Weak ETags are what we almost always need, so they're the default. Check out
# #strong_etag= to provide a strong ETag validator.
#
- # source://actionpack//lib/action_dispatch/http/cache.rb#117
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:117
def etag=(weak_validators); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#129
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:129
def etag?; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#71
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:71
def last_modified; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#81
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:81
def last_modified=(utc_time); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:77
def last_modified?; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#125
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:125
def strong_etag=(strong_validators); end
# True if an ETag is set, and it isn't a weak validator (not preceded with
# `W/`).
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#138
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:138
def strong_etag?; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#121
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:121
def weak_etag=(weak_validators); end
# True if an ETag is set, and it's a weak validator (preceded with `W/`).
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/cache.rb#132
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:132
def weak_etag?; end
private
- # source://actionpack//lib/action_dispatch/http/cache.rb#161
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:161
def cache_control_headers; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#155
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:155
def cache_control_segments; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#151
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:151
def generate_strong_etag(validators); end
- # source://actionpack//lib/action_dispatch/http/cache.rb#147
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:147
def generate_weak_etag(validators); end
- # source://actionpack//lib/action_dispatch/http/cache.rb#191
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:191
def handle_conditional_get!; end
- # source://actionpack//lib/action_dispatch/http/cache.rb#200
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:200
def merge_and_normalize_cache_control!(cache_control); end
- # source://actionpack//lib/action_dispatch/http/cache.rb#179
+ # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:179
def prepare_cache_control!; end
end
-# source://actionpack//lib/action_dispatch/http/cache.rb#143
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:143
ActionDispatch::Http::Cache::Response::DATE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#183
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:183
ActionDispatch::Http::Cache::Response::DEFAULT_CACHE_CONTROL = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#189
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:189
ActionDispatch::Http::Cache::Response::IMMUTABLE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#144
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:144
ActionDispatch::Http::Cache::Response::LAST_MODIFIED = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#188
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:188
ActionDispatch::Http::Cache::Response::MUST_REVALIDATE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#185
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:185
ActionDispatch::Http::Cache::Response::NO_CACHE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#184
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:184
ActionDispatch::Http::Cache::Response::NO_STORE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#187
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:187
ActionDispatch::Http::Cache::Response::PRIVATE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#186
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:186
ActionDispatch::Http::Cache::Response::PUBLIC = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/cache.rb#145
+# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:145
ActionDispatch::Http::Cache::Response::SPECIAL_KEYS = T.let(T.unsafe(nil), Set)
-# source://actionpack//lib/action_dispatch/http/content_disposition.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:7
class ActionDispatch::Http::ContentDisposition
- # @return [ContentDisposition] a new instance of ContentDisposition
- #
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:14
def initialize(disposition:, filename:); end
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:21
def ascii_filename; end
- # Returns the value of attribute disposition.
- #
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:12
def disposition; end
- # Returns the value of attribute filename.
- #
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:12
def filename; end
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#31
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:31
def to_s; end
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#27
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:27
def utf8_filename; end
private
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:40
def percent_escape(string, pattern); end
class << self
- # source://actionpack//lib/action_dispatch/http/content_disposition.rb#8
+ # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:8
def format(disposition:, filename:); end
end
end
-# source://actionpack//lib/action_dispatch/http/content_disposition.rb#25
+# pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:25
ActionDispatch::Http::ContentDisposition::RFC_5987_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/content_disposition.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:19
ActionDispatch::Http::ContentDisposition::TRADITIONAL_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp)
# # Action Dispatch HTTP Filter Parameters
@@ -11586,73 +10949,71 @@ ActionDispatch::Http::ContentDisposition::TRADITIONAL_ESCAPED_CHAR = T.let(T.uns
# For more information about filter behavior, see
# ActiveSupport::ParameterFilter.
#
-# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:19
module ActionDispatch::Http::FilterParameters
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:24
def initialize; end
# Returns a hash of request.env with all sensitive data replaced.
#
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:40
def filtered_env; end
# Returns a hash of parameters with all sensitive data replaced.
#
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#33
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:33
def filtered_parameters; end
# Reconstructs a path with all sensitive GET parameters replaced.
#
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#45
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:45
def filtered_path; end
# Returns the `ActiveSupport::ParameterFilter` object used to filter in this
# request.
#
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#51
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:51
def parameter_filter; end
private
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:60
def env_filter; end
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#71
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:71
def filtered_query_string; end
- # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:67
def parameter_filter_for(filters); end
end
-# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#20
+# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:20
ActionDispatch::Http::FilterParameters::ENV_MATCH = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#22
+# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:22
ActionDispatch::Http::FilterParameters::NULL_ENV_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter)
-# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#21
+# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:21
ActionDispatch::Http::FilterParameters::NULL_PARAM_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter)
-# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:7
module ActionDispatch::Http::FilterRedirect
- # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:10
def filtered_location; end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#27
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:27
def location_filter_match?; end
- # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:19
def location_filters; end
- # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#37
+ # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:37
def parameter_filtered_location; end
end
-# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:8
ActionDispatch::Http::FilterRedirect::FILTERED = T.let(T.unsafe(nil), String)
# # Action Dispatch HTTP Headers
@@ -11677,34 +11038,32 @@ ActionDispatch::Http::FilterRedirect::FILTERED = T.let(T.unsafe(nil), String)
# headers["X_Custom_Header"] # => nil
# headers["X-Custom-Header"] # => "token"
#
-# source://actionpack//lib/action_dispatch/http/headers.rb#28
+# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:28
class ActionDispatch::Http::Headers
include ::Enumerable
- # @return [Headers] a new instance of Headers
- #
- # source://actionpack//lib/action_dispatch/http/headers.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:58
def initialize(request); end
# Returns the value for the given key mapped to @env.
#
- # source://actionpack//lib/action_dispatch/http/headers.rb#63
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:63
def [](key); end
# Sets the given value for the key mapped to @env.
#
- # source://actionpack//lib/action_dispatch/http/headers.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:68
def []=(key, value); end
# Add a value to a multivalued header like `Vary` or `Accept-Encoding`.
#
- # source://actionpack//lib/action_dispatch/http/headers.rb#73
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:73
def add(key, value); end
- # source://actionpack//lib/action_dispatch/http/headers.rb#98
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:98
def each(&block); end
- # source://actionpack//lib/action_dispatch/http/headers.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:118
def env; end
# Returns the value for the given key mapped to @env.
@@ -11714,29 +11073,25 @@ class ActionDispatch::Http::Headers
#
# If the code block is provided, then it will be run and its result returned.
#
- # source://actionpack//lib/action_dispatch/http/headers.rb#90
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:90
def fetch(key, default = T.unsafe(nil)); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/headers.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:80
def include?(key); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/headers.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:77
def key?(key); end
# Returns a new Http::Headers instance containing the contents of
# `headers_or_env` and the original instance.
#
- # source://actionpack//lib/action_dispatch/http/headers.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:104
def merge(headers_or_env); end
# Adds the contents of `headers_or_env` to original instance entries; duplicate
# keys are overwritten with the values from `headers_or_env`.
#
- # source://actionpack//lib/action_dispatch/http/headers.rb#112
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:112
def merge!(headers_or_env); end
private
@@ -11744,36 +11099,36 @@ class ActionDispatch::Http::Headers
# Converts an HTTP header name to an environment variable name if it is not
# contained within the headers hash.
#
- # source://actionpack//lib/action_dispatch/http/headers.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:123
def env_name(key); end
class << self
- # source://actionpack//lib/action_dispatch/http/headers.rb#54
+ # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:54
def from_hash(hash); end
end
end
-# source://actionpack//lib/action_dispatch/http/headers.rb#29
+# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:29
ActionDispatch::Http::Headers::CGI_VARIABLES = T.let(T.unsafe(nil), Set)
-# source://actionpack//lib/action_dispatch/http/headers.rb#82
+# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:82
ActionDispatch::Http::Headers::DEFAULT = T.let(T.unsafe(nil), Object)
-# source://actionpack//lib/action_dispatch/http/headers.rb#50
+# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:50
ActionDispatch::Http::Headers::HTTP_HEADER = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:9
module ActionDispatch::Http::MimeNegotiation
extend ::ActiveSupport::Concern
# Returns the accepted MIME type for the request.
#
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#42
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:42
def accepts; end
# The MIME type of the HTTP request, such as [Mime](:xml).
#
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:24
def content_mime_type; end
# Returns the MIME type for the format used in the request.
@@ -11787,7 +11142,7 @@ module ActionDispatch::Http::MimeNegotiation
# # GET /posts/5
# request.format # => Mime[:html] or Mime[:js], or request.accepts.first
#
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:68
def format(_view_path = T.unsafe(nil)); end
# Sets the format by string extension, which can be used to force custom formats
@@ -11802,10 +11157,10 @@ module ActionDispatch::Http::MimeNegotiation
# end
# end
#
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#120
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:120
def format=(extension); end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:72
def formats; end
# Sets the formats by string extensions. This differs from #format= by allowing
@@ -11824,62 +11179,59 @@ module ActionDispatch::Http::MimeNegotiation
# end
# end
#
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#140
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:140
def formats=(extensions); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#37
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:37
def has_content_type?; end
# Returns the first MIME type that matches the provided array of MIME types.
#
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#148
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:148
def negotiate_mime(order); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#160
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:160
def should_apply_vary_header?; end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#105
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:105
def variant; end
# Sets the variant for template.
#
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#95
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:95
def variant=(variant); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:164
+ def vary_headers; end
+
private
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#184
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:194
def format_from_path_extension; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#169
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:179
def params_readable?; end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#180
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:190
def use_accept_header; end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#175
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:185
def valid_accept_header; end
end
# We use normal content negotiation unless you include **/** in your list, in
# which case we assume you're a browser and send HTML.
#
-# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#167
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:177
ActionDispatch::Http::MimeNegotiation::BROWSER_LIKE_ACCEPTS = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:12
class ActionDispatch::Http::MimeNegotiation::InvalidType < ::Mime::Type::InvalidMimeType; end
-# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#14
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:14
ActionDispatch::Http::MimeNegotiation::RESCUABLE_MIME_FORMAT_ERRORS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/parameters.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:7
module ActionDispatch::Http::Parameters
extend ::ActiveSupport::Concern
@@ -11887,12 +11239,10 @@ module ActionDispatch::Http::Parameters
# Returns both GET and POST parameters in a single hash.
#
- # source://actionpack//lib/action_dispatch/http/parameters.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:52
def parameters; end
- # Returns both GET and POST parameters in a single hash.
- #
- # source://actionpack//lib/action_dispatch/http/parameters.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:65
def params; end
# Returns a hash with the parameters used to form the path of the request.
@@ -11900,25 +11250,25 @@ module ActionDispatch::Http::Parameters
#
# { action: "my_action", controller: "my_controller" }
#
- # source://actionpack//lib/action_dispatch/http/parameters.rb#84
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:84
def path_parameters; end
- # source://actionpack//lib/action_dispatch/http/parameters.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:67
def path_parameters=(parameters); end
private
- # source://actionpack//lib/action_dispatch/http/parameters.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:102
def log_parse_error_once; end
- # source://actionpack//lib/action_dispatch/http/parameters.rb#114
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:114
def params_parsers; end
- # source://actionpack//lib/action_dispatch/http/parameters.rb#89
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:89
def parse_formatted_parameters(parsers); end
end
-# source://actionpack//lib/action_dispatch/http/parameters.rb#36
+# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:36
module ActionDispatch::Http::Parameters::ClassMethods
# Configure the parameter parser for a given MIME type.
#
@@ -11930,37 +11280,35 @@ module ActionDispatch::Http::Parameters::ClassMethods
# new_parsers = original_parsers.merge(xml: xml_parser)
# ActionDispatch::Request.parameter_parsers = new_parsers
#
- # source://actionpack//lib/action_dispatch/http/parameters.rb#46
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:46
def parameter_parsers=(parsers); end
end
-# source://actionpack//lib/action_dispatch/http/parameters.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:12
ActionDispatch::Http::Parameters::DEFAULT_PARSERS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/parameters.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:10
ActionDispatch::Http::Parameters::PARAMETERS_KEY = T.let(T.unsafe(nil), String)
# Raised when raw data from the request cannot be parsed by the parser defined
# for request's content MIME type.
#
-# source://actionpack//lib/action_dispatch/http/parameters.rb#21
+# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:21
class ActionDispatch::Http::Parameters::ParseError < ::StandardError
- # @return [ParseError] a new instance of ParseError
- #
- # source://actionpack//lib/action_dispatch/http/parameters.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:22
def initialize(message = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/http/url.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:9
module ActionDispatch::Http::URL
- # source://actionpack//lib/action_dispatch/http/url.rb#181
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:181
def initialize; end
# Returns the domain part of a host, such as "rubyonrails.org" in
# "www.rubyonrails.org". You can specify a different `tld_length`, such as 2 to
# catch rubyonrails.co.uk in "www.rubyonrails.co.uk".
#
- # source://actionpack//lib/action_dispatch/http/url.rb#324
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:324
def domain(tld_length = T.unsafe(nil)); end
# Returns the host for this request, such as "example.com".
@@ -11968,7 +11316,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.host # => "example.com"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#228
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:228
def host; end
# Returns a host:port string for this request, such as "example.com" or
@@ -11984,7 +11332,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.host_with_port # => "example.com:8080"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#244
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:244
def host_with_port; end
# Returns a number port suffix like 8080 if the port number of this request is
@@ -11996,7 +11344,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.optional_port # => 8080
#
- # source://actionpack//lib/action_dispatch/http/url.rb#294
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:294
def optional_port; end
# Returns the port number of this request as an integer.
@@ -12007,7 +11355,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.port # => 8080
#
- # source://actionpack//lib/action_dispatch/http/url.rb#255
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:255
def port; end
# Returns a string port suffix, including colon, like ":8080" if the port number
@@ -12019,7 +11367,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.port_string # => ":8080"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#306
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:306
def port_string; end
# Returns 'https://' if this is an SSL request and 'http://' otherwise.
@@ -12030,7 +11378,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com', 'HTTPS' => 'on'
# req.protocol # => "https://"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#202
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:202
def protocol; end
# Returns the host and port for this request, such as "example.com:8080".
@@ -12044,13 +11392,13 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.raw_host_with_port # => "example.com:8080"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#216
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:216
def raw_host_with_port; end
- # source://actionpack//lib/action_dispatch/http/url.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:14
def secure_protocol; end
- # source://actionpack//lib/action_dispatch/http/url.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:14
def secure_protocol=(val); end
# Returns the requested port, such as 8080, based on SERVER_PORT.
@@ -12061,7 +11409,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'SERVER_PORT' => '8080'
# req.server_port # => 8080
#
- # source://actionpack//lib/action_dispatch/http/url.rb#317
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:317
def server_port; end
# Returns the standard port number for this request's protocol.
@@ -12069,7 +11417,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.standard_port # => 80
#
- # source://actionpack//lib/action_dispatch/http/url.rb#267
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:267
def standard_port; end
# Returns whether this request is using the standard port.
@@ -12080,16 +11428,14 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
# req.standard_port? # => false
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/url.rb#282
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:282
def standard_port?; end
# Returns all the subdomains as a string, so `"dev.www"` would be returned for
# "dev.www.rubyonrails.org". You can specify a different `tld_length`, such as 2
# to catch `"www"` instead of `"www.rubyonrails"` in "www.rubyonrails.co.uk".
#
- # source://actionpack//lib/action_dispatch/http/url.rb#339
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:339
def subdomain(tld_length = T.unsafe(nil)); end
# Returns all the subdomains as an array, so `["dev", "www"]` would be returned
@@ -12097,13 +11443,13 @@ module ActionDispatch::Http::URL
# as 2 to catch `["www"]` instead of `["www", "rubyonrails"]` in
# "www.rubyonrails.co.uk".
#
- # source://actionpack//lib/action_dispatch/http/url.rb#332
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:332
def subdomains(tld_length = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/url.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:15
def tld_length; end
- # source://actionpack//lib/action_dispatch/http/url.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:15
def tld_length=(val); end
# Returns the complete URL used for this request.
@@ -12111,7 +11457,7 @@ module ActionDispatch::Http::URL
# req = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com'
# req.url # => "http://example.com"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#191
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:191
def url; end
class << self
@@ -12122,7 +11468,7 @@ module ActionDispatch::Http::URL
# # Second-level domain example
# extract_domain('dev.www.example.co.uk', 2) # => "example.co.uk"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:24
def extract_domain(host, tld_length); end
# Returns the subdomains of a host as a String given the domain level.
@@ -12132,7 +11478,7 @@ module ActionDispatch::Http::URL
# # Second-level domain example
# extract_subdomain('dev.www.example.co.uk', 2) # => "dev.www"
#
- # source://actionpack//lib/action_dispatch/http/url.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:48
def extract_subdomain(host, tld_length); end
# Returns the subdomains of a host as an Array given the domain level.
@@ -12142,70 +11488,68 @@ module ActionDispatch::Http::URL
# # Second-level domain example
# extract_subdomains('dev.www.example.co.uk', 2) # => ["dev", "www"]
#
- # source://actionpack//lib/action_dispatch/http/url.rb#34
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:34
def extract_subdomains(host, tld_length); end
- # source://actionpack//lib/action_dispatch/http/url.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:60
def full_url_for(options); end
- # source://actionpack//lib/action_dispatch/http/url.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:72
def path_for(options); end
- # source://actionpack//lib/action_dispatch/http/url.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:14
def secure_protocol; end
- # source://actionpack//lib/action_dispatch/http/url.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:14
def secure_protocol=(val); end
- # source://actionpack//lib/action_dispatch/http/url.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:15
def tld_length; end
- # source://actionpack//lib/action_dispatch/http/url.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:15
def tld_length=(val); end
- # source://actionpack//lib/action_dispatch/http/url.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:52
def url_for(options); end
private
- # source://actionpack//lib/action_dispatch/http/url.rb#92
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:92
def add_anchor(path, anchor); end
- # source://actionpack//lib/action_dispatch/http/url.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:85
def add_params(path, params); end
- # source://actionpack//lib/action_dispatch/http/url.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:107
def build_host_url(host, port, protocol, options, path); end
- # source://actionpack//lib/action_dispatch/http/url.rb#98
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:98
def extract_domain_from(host, tld_length); end
- # source://actionpack//lib/action_dispatch/http/url.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:102
def extract_subdomains_from(host, tld_length); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/url.rb#131
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:131
def named_host?(host); end
- # source://actionpack//lib/action_dispatch/http/url.rb#148
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:148
def normalize_host(_host, options); end
- # source://actionpack//lib/action_dispatch/http/url.rb#168
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:168
def normalize_port(port, protocol); end
- # source://actionpack//lib/action_dispatch/http/url.rb#135
+ # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:135
def normalize_protocol(protocol); end
end
end
-# source://actionpack//lib/action_dispatch/http/url.rb#11
+# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:11
ActionDispatch::Http::URL::HOST_REGEXP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/url.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:10
ActionDispatch::Http::URL::IP_HOST_REGEXP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/url.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:12
ActionDispatch::Http::URL::PROTOCOL_REGEXP = T.let(T.unsafe(nil), Regexp)
# # Action Dispatch HTTP UploadedFile
@@ -12219,111 +11563,106 @@ ActionDispatch::Http::URL::PROTOCOL_REGEXP = T.let(T.unsafe(nil), Regexp)
# object is finalized Ruby unlinks the file, so there is no need to clean them
# with a separate maintenance task.
#
-# source://actionpack//lib/action_dispatch/http/upload.rb#17
+# pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:17
class ActionDispatch::Http::UploadedFile
- # @raise [ArgumentError]
- # @return [UploadedFile] a new instance of UploadedFile
- #
- # source://actionpack//lib/action_dispatch/http/upload.rb#31
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:31
def initialize(hash); end
# Shortcut for `tempfile.close`.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#73
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:73
def close(unlink_now = T.unsafe(nil)); end
# A string with the MIME type of the file.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:22
def content_type; end
# A string with the MIME type of the file.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:22
def content_type=(_arg0); end
# Shortcut for `tempfile.eof?`.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/upload.rb#98
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:98
def eof?; end
# A string with the headers of the multipart request.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#29
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:29
def headers; end
# A string with the headers of the multipart request.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#29
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:29
def headers=(_arg0); end
# Shortcut for `tempfile.open`.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:68
def open; end
# The basename of the file in the client.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:19
def original_filename; end
# The basename of the file in the client.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:19
def original_filename=(_arg0); end
# Shortcut for `tempfile.path`.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#78
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:78
def path; end
# Shortcut for `tempfile.read`.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#63
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:63
def read(length = T.unsafe(nil), buffer = T.unsafe(nil)); end
# Shortcut for `tempfile.rewind`.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#88
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:88
def rewind; end
# Shortcut for `tempfile.size`.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:93
def size; end
# A `Tempfile` object with the actual uploaded file. Note that some of its
# interface is available directly.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:26
def tempfile; end
# A `Tempfile` object with the actual uploaded file. Note that some of its
# interface is available directly.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:26
def tempfile=(_arg0); end
- # source://actionpack//lib/action_dispatch/http/upload.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:102
def to_io; end
# Shortcut for `tempfile.to_path`.
#
- # source://actionpack//lib/action_dispatch/http/upload.rb#83
+ # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:83
def to_path; end
end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#14
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:14
module ActionDispatch::Integration; end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#15
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:15
module ActionDispatch::Integration::RequestHelpers
# Performs a DELETE request with the given parameters. See
# ActionDispatch::Integration::Session#process for more details.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#42
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:42
def delete(path, **args); end
# Follow a single redirect response. If the last response was not a redirect, an
@@ -12334,47 +11673,47 @@ module ActionDispatch::Integration::RequestHelpers
#
# The HTTP_REFERER header will be set to the previous url.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#65
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:65
def follow_redirect!(headers: T.unsafe(nil), **args); end
# Performs a GET request with the given parameters. See
# ActionDispatch::Integration::Session#process for more details.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#18
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:18
def get(path, **args); end
# Performs a HEAD request with the given parameters. See
# ActionDispatch::Integration::Session#process for more details.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:48
def head(path, **args); end
# Performs an OPTIONS request with the given parameters. See
# ActionDispatch::Integration::Session#process for more details.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#54
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:54
def options(path, **args); end
# Performs a PATCH request with the given parameters. See
# ActionDispatch::Integration::Session#process for more details.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:30
def patch(path, **args); end
# Performs a POST request with the given parameters. See
# ActionDispatch::Integration::Session#process for more details.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:24
def post(path, **args); end
# Performs a PUT request with the given parameters. See
# ActionDispatch::Integration::Session#process for more details.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#36
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:36
def put(path, **args); end
end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#335
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:335
module ActionDispatch::Integration::Runner
include ::ActionDispatch::Assertions::RoutingAssertions
include ::ActionDispatch::Assertions::ResponseAssertions
@@ -12384,57 +11723,55 @@ module ActionDispatch::Integration::Runner
include ::ActionDispatch::Assertions
extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods
- # source://actionpack//lib/action_dispatch/testing/integration.rb#343
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:343
def initialize(*args, &blk); end
- # Returns the value of attribute app.
- #
- # source://actionpack//lib/action_dispatch/testing/integration.rb#340
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:340
def app; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#413
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:413
def assertions; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#417
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:417
def assertions=(assertions); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def assigns(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def assigns(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#348
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:348
def before_setup; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def cookies(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def cookies(*, **, &); end
# Copy the instance variables from the current session instance into the test
# instance.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#423
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:423
def copy_session_variables!; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#363
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:363
def create_session(app); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#429
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:429
def default_url_options; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#433
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:433
def default_url_options=(options); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def delete(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def delete(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def follow_redirect!(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def follow_redirect!(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def get(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def get(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def head(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def head(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#353
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:353
def integration_session; end
# Open a new session instance. If a block is given, the new session is yielded
@@ -12447,47 +11784,45 @@ module ActionDispatch::Integration::Runner
# By default, a single session is automatically created for you, but you can use
# this method to open multiple sessions that ought to be tested simultaneously.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#405
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:405
def open_session; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def patch(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def patch(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def post(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def post(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#386
- def put(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:385
+ def put(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#375
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:375
def remove!; end
# Reset the current session. This is useful for testing multiple sessions in a
# single test case.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#359
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:359
def reset!; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#341
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:341
def root_session; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#341
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:341
def root_session=(_arg0); end
private
# Delegate unhandled messages to the current session instance.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#443
- def method_missing(method, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:443
+ def method_missing(method, *, **, &); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/testing/integration.rb#438
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:438
def respond_to_missing?(method, _); end
end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#338
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:338
ActionDispatch::Integration::Runner::APP_SESSIONS = T.let(T.unsafe(nil), Hash)
# An instance of this class represents a set of requests and responses performed
@@ -12498,7 +11833,7 @@ ActionDispatch::Integration::Runner::APP_SESSIONS = T.let(T.unsafe(nil), Hash)
# Typically, you will instantiate a new session using Runner#open_session,
# rather than instantiating a Session directly.
#
-# source://actionpack//lib/action_dispatch/testing/integration.rb#91
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:91
class ActionDispatch::Integration::Session
include ::Minitest::Assertions
include ::ActionDispatch::Assertions::RoutingAssertions
@@ -12516,67 +11851,60 @@ class ActionDispatch::Integration::Session
# Create and initialize a new Session instance.
#
- # @return [Session] a new instance of Session
- #
- # source://actionpack//lib/action_dispatch/testing/integration.rb#133
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:133
def initialize(app); end
# The Accept header to send.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#110
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:110
def accept; end
# The Accept header to send.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#110
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:110
def accept=(_arg0); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#97
- def body(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97
+ def body(*, **, &); end
# A reference to the controller instance used by the last request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#119
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:119
def controller; end
# A map of the cookies returned by the last response, and which will be sent
# with the next request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#114
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:114
def cookies; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def default_url_options=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def default_url_options?; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#97
- def headers(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97
+ def headers(*, **, &); end
# The hostname used in the last request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#101
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:101
def host; end
- # Sets the attribute host
# Set the host name to use in the next request.
#
# session.host! "www.example.com"
#
- # @param value the value to set the attribute host to.
- #
- # source://actionpack//lib/action_dispatch/testing/integration.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:316
def host!(_arg0); end
- # Sets the attribute host
- #
- # @param value the value to set the attribute host to.
+ # The hostname used in the last request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:104
def host=(_arg0); end
# Specify whether or not the session should mimic a secure HTTPS request.
@@ -12584,7 +11912,7 @@ class ActionDispatch::Integration::Session
# session.https!
# session.https!(false)
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#180
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:180
def https!(flag = T.unsafe(nil)); end
# Returns `true` if the session is mimicking a secure HTTPS request.
@@ -12593,13 +11921,11 @@ class ActionDispatch::Integration::Session
# # ...
# end
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/testing/integration.rb#189
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:189
def https?; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#98
- def path(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:98
+ def path(*, **, &); end
# Performs the actual request.
#
@@ -12635,35 +11961,35 @@ class ActionDispatch::Integration::Session
#
# process :get, '/author', params: { since: 201501011400 }
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#226
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:226
def process(method, path, params: T.unsafe(nil), headers: T.unsafe(nil), env: T.unsafe(nil), xhr: T.unsafe(nil), as: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#97
- def redirect?(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97
+ def redirect?(*, **, &); end
# The remote_addr used in the last request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:107
def remote_addr; end
# The remote_addr used in the last request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:107
def remote_addr=(_arg0); end
# A reference to the request instance used by the last request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:122
def request; end
# A running counter of the number of requests processed.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#128
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:128
def request_count; end
# A running counter of the number of requests processed.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#128
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:128
def request_count=(_arg0); end
# Resets the instance. This can be used to reset the state information in an
@@ -12671,57 +11997,55 @@ class ActionDispatch::Integration::Session
#
# session.reset!
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#156
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:156
def reset!; end
# A reference to the response instance used by the last request.
#
- # source://actionpack//lib/action_dispatch/testing/integration.rb#125
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:125
def response; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#97
- def status(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97
+ def status(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#97
- def status_message(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97
+ def status_message(*, **, &); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#140
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:140
def url_options; end
private
- # source://actionpack//lib/action_dispatch/testing/integration.rb#319
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:319
def _mock_session; end
- # @yield [location]
- #
- # source://actionpack//lib/action_dispatch/testing/integration.rb#327
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:327
def build_expanded_path(path); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#323
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:323
def build_full_uri(path, env); end
class << self
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def default_url_options=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def default_url_options?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def __class_attr_default_url_options; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130
def __class_attr_default_url_options=(new_value); end
end
end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#92
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:92
ActionDispatch::Integration::Session::DEFAULT_HOST = T.let(T.unsafe(nil), String)
# An integration test spans multiple controllers and actions, tying them all
@@ -12919,7 +12243,7 @@ ActionDispatch::Integration::Session::DEFAULT_HOST = T.let(T.unsafe(nil), String
# Consult the [Rails Testing Guide](https://guides.rubyonrails.org/testing.html)
# for more.
#
-# source://actionpack//lib/action_dispatch/testing/integration.rb#650
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:650
class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase
include ::ActionDispatch::TestProcess::FixtureFile
include ::ActionDispatch::Assertions::RoutingAssertions
@@ -12940,7 +12264,7 @@ class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase
extend ::ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods
end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#660
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:660
module ActionDispatch::IntegrationTest::Behavior
include ::ActionDispatch::Assertions::RoutingAssertions
include ::ActionDispatch::Assertions::ResponseAssertions
@@ -12959,162 +12283,139 @@ module ActionDispatch::IntegrationTest::Behavior
mixes_in_class_methods ::ActionDispatch::IntegrationTest::Behavior::ClassMethods
mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods
- # source://actionpack//lib/action_dispatch/testing/integration.rb#693
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:693
def app; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#697
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:697
def document_root_element; end
end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#675
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:675
module ActionDispatch::IntegrationTest::Behavior::ClassMethods
- # source://actionpack//lib/action_dispatch/testing/integration.rb#676
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:676
def app; end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#684
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:684
def app=(app); end
- # source://actionpack//lib/action_dispatch/testing/integration.rb#688
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:688
def register_encoder(*args, **options); end
end
-# source://actionpack//lib/action_dispatch/testing/integration.rb#653
+# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:653
module ActionDispatch::IntegrationTest::UrlOptions
extend ::ActiveSupport::Concern
- # source://actionpack//lib/action_dispatch/testing/integration.rb#655
+ # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:655
def url_options; end
end
-# source://actionpack//lib/action_dispatch/http/param_error.rb#21
+# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:21
class ActionDispatch::InvalidParameterError < ::ActionDispatch::ParamError; end
# :stopdoc:
#
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#6
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:6
module ActionDispatch::Journey; end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:9
class ActionDispatch::Journey::Ast
- # @return [Ast] a new instance of Ast
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:13
def initialize(tree, formatted); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#38
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:38
def glob?; end
- # Returns the value of attribute names.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10
def names; end
- # Returns the value of attribute path_params.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10
def path_params; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#25
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:25
def requirements=(requirements); end
- # Returns the value of attribute tree.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:11
def root; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#34
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:34
def route=(route); end
- # Returns the value of attribute terminals.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10
def terminals; end
- # Returns the value of attribute tree.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10
def tree; end
- # Returns the value of attribute wildcard_options.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10
def wildcard_options; end
private
- # Returns the value of attribute stars.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:43
def stars; end
- # Returns the value of attribute symbols.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:43
def symbols; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#45
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:45
def visit_tree(formatted); end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:8
class ActionDispatch::Journey::Format
- # @return [Format] a new instance of Format
- #
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:24
def initialize(parts); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#39
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:39
def evaluate(hash); end
class << self
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#16
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:16
def required_path(symbol); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:20
def required_segment(symbol); end
end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:9
ActionDispatch::Journey::Format::ESCAPE_PATH = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:10
ActionDispatch::Journey::Format::ESCAPE_SEGMENT = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
class ActionDispatch::Journey::Format::Parameter < ::Struct
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:13
def escape(value); end
- # Returns the value of attribute escaper
- #
- # @return [Object] the current value of escaper
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def escaper; end
- # Sets the attribute escaper
- #
- # @param value [Object] the value to set the attribute escaper to.
- # @return [Object] the newly set value
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def escaper=(_); end
- # Returns the value of attribute name
- #
- # @return [Object] the current value of name
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def name; end
- # Sets the attribute name
- #
- # @param value [Object] the value to set the attribute name to.
- # @return [Object] the newly set value
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def name=(_); end
class << self
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def [](*_arg0); end
+
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def inspect; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def keyword_init?; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def members; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12
def new(*_arg0); end
end
end
@@ -13122,842 +12423,668 @@ end
# The Formatter class is used for formatting URLs. For example, parameters
# passed to `url_for` in Rails will eventually call Formatter#generate.
#
-# source://actionpack//lib/action_dispatch/journey/formatter.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:12
class ActionDispatch::Journey::Formatter
- # @return [Formatter] a new instance of Formatter
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:15
def initialize(routes); end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#110
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:110
def clear; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#114
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:114
def eager_load!; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#61
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:61
def generate(name, options, path_parameters); end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:13
def routes; end
private
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#214
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:214
def build_cache; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#225
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:225
def cache; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#120
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:120
def extract_parameterized_parts(route, options, recall); end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#147
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:147
def match_route(name, options); end
# Returns an array populated with missing keys if any are present.
#
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#186
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:186
def missing_keys(route, parts); end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:143
def named_routes; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#169
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:169
def non_recursive(cache, options); end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#206
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:206
def possibles(cache, options, depth = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/journey/formatter.rb#34
+# pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:34
class ActionDispatch::Journey::Formatter::MissingRoute
- # @return [MissingRoute] a new instance of MissingRoute
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#37
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:37
def initialize(constraints, missing_keys, unmatched_keys, routes, name); end
- # Returns the value of attribute constraints.
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35
def constraints; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#53
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:53
def message; end
- # Returns the value of attribute missing_keys.
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35
def missing_keys; end
- # Returns the value of attribute name.
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35
def name; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#49
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:49
def params; end
- # @raise [ActionController::UrlGenerationError]
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#45
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:45
def path(method_name); end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35
def routes; end
- # Returns the value of attribute unmatched_keys.
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35
def unmatched_keys; end
end
-# source://actionpack//lib/action_dispatch/journey/formatter.rb#20
+# pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:20
class ActionDispatch::Journey::Formatter::RouteWithParams
- # @return [RouteWithParams] a new instance of RouteWithParams
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:23
def initialize(route, parameterized_parts, params); end
- # Returns the value of attribute params.
- #
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:21
def params; end
- # source://actionpack//lib/action_dispatch/journey/formatter.rb#29
+ # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:29
def path(_); end
end
-# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:9
module ActionDispatch::Journey::GTG; end
-# source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:10
class ActionDispatch::Journey::GTG::Builder
- # @return [Builder] a new instance of Builder
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:15
def initialize(root); end
- # Returns the value of attribute ast.
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:13
def ast; end
- # Returns the value of attribute endpoints.
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:13
def endpoints; end
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:87
def firstpos(node); end
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#108
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:108
def lastpos(node); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#66
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:66
def nullable?(node); end
- # Returns the value of attribute root.
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:13
def root; end
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:21
def transition_table; end
private
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#130
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:130
def build_followpos; end
- # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:143
def symbol(edge); end
end
-# source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#11
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:11
ActionDispatch::Journey::GTG::Builder::DUMMY_END_NODE = T.let(T.unsafe(nil), ActionDispatch::Journey::Nodes::Dummy)
-# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:10
class ActionDispatch::Journey::GTG::MatchData
- # @return [MatchData] a new instance of MatchData
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:13
def initialize(memos); end
- # Returns the value of attribute memos.
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#11
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:11
def memos; end
end
-# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#18
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:18
class ActionDispatch::Journey::GTG::Simulator
- # @return [Simulator] a new instance of Simulator
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:23
def initialize(transition_table); end
- # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#27
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:27
def memos(string); end
- # Returns the value of attribute tt.
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:21
def tt; end
end
-# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:19
ActionDispatch::Journey::GTG::Simulator::INITIAL_STATE = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:10
class ActionDispatch::Journey::GTG::TransitionTable
include ::ActionDispatch::Journey::NFA::Dot
- # @return [TransitionTable] a new instance of TransitionTable
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#18
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:18
def initialize; end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#165
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:165
def []=(from, to, sym); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#34
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:34
def accepting?(state); end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:30
def accepting_states; end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:26
def add_accepting(state); end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#38
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:38
def add_memo(idx, memo); end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:100
def as_json(options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#46
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:46
def eclosure(t); end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#42
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:42
def memo(idx); end
- # Returns the value of attribute memos.
- #
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:13
def memos; end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:50
def move(t, full_string, start_index, end_index); end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#182
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:182
def states; end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#117
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:117
def to_svg; end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#189
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:189
def transitions; end
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:127
def visualizer(paths, title = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#200
+ # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:200
def states_hash_for(sym); end
end
-# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#15
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:15
ActionDispatch::Journey::GTG::TransitionTable::DEFAULT_EXP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#16
+# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:16
ActionDispatch::Journey::GTG::TransitionTable::DEFAULT_EXP_ANCHORED = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/journey/nfa/dot.rb:7
module ActionDispatch::Journey::NFA; end
-# source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/journey/nfa/dot.rb:8
module ActionDispatch::Journey::NFA::Dot
- # source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nfa/dot.rb:9
def to_dot; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#68
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:68
module ActionDispatch::Journey::Nodes; end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#181
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:181
class ActionDispatch::Journey::Nodes::Binary < ::ActionDispatch::Journey::Nodes::Node
- # @return [Binary] a new instance of Binary
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#184
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:184
def initialize(left, right); end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#189
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:189
def children; end
- # Returns the value of attribute right.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#182
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:182
def right; end
- # Sets the attribute right
- #
- # @param value the value to set the attribute right to.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#182
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:182
def right=(_arg0); end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#192
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:192
class ActionDispatch::Journey::Nodes::Cat < ::ActionDispatch::Journey::Nodes::Binary
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#193
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:193
def cat?; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#194
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:194
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#133
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:133
class ActionDispatch::Journey::Nodes::Dot < ::ActionDispatch::Journey::Nodes::Terminal
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#134
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:134
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#121
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:121
class ActionDispatch::Journey::Nodes::Dummy < ::ActionDispatch::Journey::Nodes::Literal
- # @return [Dummy] a new instance of Dummy
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:122
def initialize(x = T.unsafe(nil)); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#126
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:126
def literal?; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#158
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:158
class ActionDispatch::Journey::Nodes::Group < ::ActionDispatch::Journey::Nodes::Unary
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#160
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:160
def group?; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#159
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:159
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#116
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:116
class ActionDispatch::Journey::Nodes::Literal < ::ActionDispatch::Journey::Nodes::Terminal
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#117
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:117
def literal?; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:118
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#69
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:69
class ActionDispatch::Journey::Nodes::Node
include ::Enumerable
- # @return [Node] a new instance of Node
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:74
def initialize(left); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:107
def cat?; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#79
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:79
def each(&block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#108
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:108
def group?; end
- # Returns the value of attribute left.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72
def left; end
- # Sets the attribute left
- #
- # @param value the value to set the attribute left to.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72
def left=(_arg0); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:104
def literal?; end
- # Returns the value of attribute memo.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72
def memo; end
- # Sets the attribute memo
- #
- # @param value the value to set the attribute memo to.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72
def memo=(_arg0); end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#95
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:95
def name; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#106
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:106
def star?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:103
def symbol?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#105
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:105
def terminal?; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:87
def to_dot; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#83
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:83
def to_s; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:91
def to_sym; end
- # @raise [NotImplementedError]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#99
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:99
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#197
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:197
class ActionDispatch::Journey::Nodes::Or < ::ActionDispatch::Journey::Nodes::Node
- # @return [Or] a new instance of Or
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#200
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:200
def initialize(children); end
- # Returns the value of attribute children.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#198
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:198
def children; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#204
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:204
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#129
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:129
class ActionDispatch::Journey::Nodes::Slash < ::ActionDispatch::Journey::Nodes::Terminal
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#130
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:130
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#163
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:163
class ActionDispatch::Journey::Nodes::Star < ::ActionDispatch::Journey::Nodes::Unary
- # @return [Star] a new instance of Star
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#166
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:166
def initialize(left); end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#176
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:176
def name; end
- # Returns the value of attribute regexp.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#164
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:164
def regexp; end
- # Sets the attribute regexp
- #
- # @param value the value to set the attribute regexp to.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#164
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:164
def regexp=(_arg0); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#173
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:173
def star?; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#174
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:174
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#137
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:137
class ActionDispatch::Journey::Nodes::Symbol < ::ActionDispatch::Journey::Nodes::Terminal
- # @return [Symbol] a new instance of Symbol
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#144
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:144
def initialize(left, regexp = T.unsafe(nil)); end
- # Returns the value of attribute name.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#140
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:140
def name; end
- # Returns the value of attribute regexp.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#138
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:138
def regexp; end
- # Sets the attribute regexp
- #
- # @param value the value to set the attribute regexp to.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#138
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:138
def regexp=(_arg0); end
- # Returns the value of attribute regexp.
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#138
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:139
def symbol; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#151
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:151
def symbol?; end
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#150
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:150
def type; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#142
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:142
ActionDispatch::Journey::Nodes::Symbol::DEFAULT_EXP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#143
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:143
ActionDispatch::Journey::Nodes::Symbol::GREEDY_EXP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#111
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:111
class ActionDispatch::Journey::Nodes::Terminal < ::ActionDispatch::Journey::Nodes::Node
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:112
def symbol; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#113
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:113
def terminal?; end
end
-# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#154
+# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:154
class ActionDispatch::Journey::Nodes::Unary < ::ActionDispatch::Journey::Nodes::Node
- # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#155
+ # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:155
def children; end
end
-# source://actionpack//lib/action_dispatch/journey/parser.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:8
class ActionDispatch::Journey::Parser
include ::ActionDispatch::Journey::Nodes
- # @return [Parser] a new instance of Parser
- #
- # source://actionpack//lib/action_dispatch/journey/parser.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:15
def initialize; end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:20
def parse(string); end
private
- # source://actionpack//lib/action_dispatch/journey/parser.rb#27
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:27
def advance_token; end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#31
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:31
def do_parse; end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:58
def parse_expression; end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:35
def parse_expressions; end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:74
def parse_group; end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:52
def parse_or(lhs); end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:68
def parse_star; end
- # source://actionpack//lib/action_dispatch/journey/parser.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:86
def parse_terminal; end
class << self
- # source://actionpack//lib/action_dispatch/journey/parser.rb#11
+ # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:11
def parse(string); end
end
end
-# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:7
module ActionDispatch::Journey::Path; end
-# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:8
class ActionDispatch::Journey::Path::Pattern
- # @return [Pattern] a new instance of Pattern
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#11
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:11
def initialize(ast, requirements, separators, anchored); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#159
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:163
def =~(other); end
- # Returns the value of attribute anchored.
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9
def anchored; end
- # Returns the value of attribute ast.
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9
def ast; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#25
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:25
def build_formatter; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#29
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:29
def eager_load!; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#159
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:159
def match(other); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#165
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:165
def match?(other); end
- # Returns the value of attribute names.
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9
def names; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#62
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:62
def optional_names; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:58
def required_names; end
- # Returns the value of attribute requirements.
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9
def requirements; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#36
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:36
def requirements_anchored?; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#177
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:177
def requirements_for_missing_keys_check; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#169
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:169
def source; end
- # Returns the value of attribute spec.
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9
def spec; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#173
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:173
def to_regexp; end
private
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#188
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:188
def offsets; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#184
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:184
def regexp_visitor; end
end
-# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#68
+# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:68
class ActionDispatch::Journey::Path::Pattern::AnchoredRegexp < ::ActionDispatch::Journey::Visitors::Visitor
- # @return [AnchoredRegexp] a new instance of AnchoredRegexp
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:69
def initialize(separator, matchers); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#76
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:76
def accept(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#80
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:80
def visit_CAT(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#97
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:100
def visit_DOT(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:93
def visit_GROUP(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#97
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:97
def visit_LITERAL(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#111
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:111
def visit_OR(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:102
def visit_SLASH(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#106
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:106
def visit_STAR(node); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#84
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:84
def visit_SYMBOL(node); end
end
-# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#124
+# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:124
class ActionDispatch::Journey::Path::Pattern::MatchData
- # @return [MatchData] a new instance of MatchData
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:127
def initialize(names, offsets, match); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#141
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:141
def [](x); end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#133
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:133
def captures; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#146
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:146
def length; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#137
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:137
def named_captures; end
- # Returns the value of attribute names.
- #
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#125
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:125
def names; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#150
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:150
def post_match; end
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#154
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:154
def to_s; end
end
-# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#117
+# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:117
class ActionDispatch::Journey::Path::Pattern::UnanchoredRegexp < ::ActionDispatch::Journey::Path::Pattern::AnchoredRegexp
- # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:118
def accept(node); end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:8
class ActionDispatch::Journey::Route
# +path+ is a path constraint.
# `constraints` is a hash of constraints to be applied to this route.
#
- # @return [Route] a new instance of Route
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:58
def initialize(name:, path:, app: T.unsafe(nil), constraints: T.unsafe(nil), required_defaults: T.unsafe(nil), defaults: T.unsafe(nil), request_method_match: T.unsafe(nil), precedence: T.unsafe(nil), scope_options: T.unsafe(nil), internal: T.unsafe(nil), source_location: T.unsafe(nil)); end
- # Returns the value of attribute app.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def app; end
- # Returns the value of attribute ast.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def ast; end
- # Returns the value of attribute constraints.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:12
def conditions; end
- # Returns the value of attribute constraints.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def constraints; end
- # Returns the value of attribute defaults.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def defaults; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#144
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:144
def dispatcher?; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#80
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:80
def eager_load!; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:122
def format(path_options); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#140
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:140
def glob?; end
- # Returns the value of attribute internal.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def internal; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#166
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:166
def ip; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#148
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:148
def matches?(request); end
- # Returns the value of attribute name.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def name; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#117
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:117
def parts; end
- # Returns the value of attribute path.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def path; end
- # Returns the value of attribute precedence.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def precedence; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#130
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:130
def required_default?(key); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#134
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:134
def required_defaults; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#105
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:105
def required_keys; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#126
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:126
def required_parts; end
# Needed for `bin/rails routes`. Picks up succinctly defined requirements for a
@@ -13969,261 +13096,243 @@ class ActionDispatch::Journey::Route
# will have {:controller=>"photos", :action=>"show", :[id=>/](A-Z){5}/} as
# requirements.
#
- # source://actionpack//lib/action_dispatch/journey/route.rb#95
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:95
def requirements; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#170
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:170
def requires_matching_verb?; end
- # Returns the value of attribute scope_options.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def scope_options; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#109
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:109
def score(supplied_keys); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#117
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:120
def segment_keys; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#101
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:101
def segments; end
- # Returns the value of attribute source_location.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9
def source_location; end
- # source://actionpack//lib/action_dispatch/journey/route.rb#174
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:174
def verb; end
private
- # source://actionpack//lib/action_dispatch/journey/route.rb#183
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:183
def match_verb(request); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#179
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:179
def verbs; end
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#49
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:49
def verb_matcher(verb); end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#14
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:14
module ActionDispatch::Journey::Route::VerbMatchers; end
-# source://actionpack//lib/action_dispatch/journey/route.rb#36
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:36
class ActionDispatch::Journey::Route::VerbMatchers::All
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#37
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:37
def call(_); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#38
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:38
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::DELETE
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::GET
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::HEAD
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::LINK
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::OPTIONS
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::PATCH
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::POST
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::PUT
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::TRACE
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#19
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
class ActionDispatch::Journey::Route::VerbMatchers::UNLINK
class << self
- # source://actionpack//lib/action_dispatch/journey/route.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def call(req); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17
def verb; end
end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#26
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:26
class ActionDispatch::Journey::Route::VerbMatchers::Unknown
- # @return [Unknown] a new instance of Unknown
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#29
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:29
def initialize(verb); end
- # source://actionpack//lib/action_dispatch/journey/route.rb#33
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:33
def call(request); end
- # Returns the value of attribute verb.
- #
- # source://actionpack//lib/action_dispatch/journey/route.rb#27
+ # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:27
def verb; end
end
-# source://actionpack//lib/action_dispatch/journey/route.rb#15
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:15
ActionDispatch::Journey::Route::VerbMatchers::VERBS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/journey/route.rb#41
+# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:41
ActionDispatch::Journey::Route::VerbMatchers::VERB_TO_CLASS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:7
class ActionDispatch::Journey::Router
- # @return [Router] a new instance of Router
- #
- # source://actionpack//lib/action_dispatch/journey/router.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:22
def initialize(routes); end
- # source://actionpack//lib/action_dispatch/journey/router.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:26
def eager_load!; end
- # source://actionpack//lib/action_dispatch/journey/router.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:68
def recognize(rails_req); end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_dispatch/journey/router.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:20
def routes; end
- # Sets the attribute routes
- #
- # @param value the value to set the attribute routes to.
- #
- # source://actionpack//lib/action_dispatch/journey/router.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:20
def routes=(_arg0); end
- # source://actionpack//lib/action_dispatch/journey/router.rb#33
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:33
def serve(req); end
- # source://actionpack//lib/action_dispatch/journey/router.rb#81
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:81
def visualizer; end
private
- # source://actionpack//lib/action_dispatch/journey/router.rb#95
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:95
def ast; end
- # source://actionpack//lib/action_dispatch/journey/router.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:103
def custom_routes; end
- # source://actionpack//lib/action_dispatch/journey/router.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:107
def filter_routes(path); end
- # source://actionpack//lib/action_dispatch/journey/router.rb#112
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:112
def find_routes(req); end
- # source://actionpack//lib/action_dispatch/journey/router.rb#137
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:137
def match_head_routes(routes, req); end
- # source://actionpack//lib/action_dispatch/journey/router.rb#89
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:89
def partitioned_routes; end
- # source://actionpack//lib/action_dispatch/journey/router.rb#99
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:99
def simulator; end
end
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:8
class ActionDispatch::Journey::Router::Utils
class << self
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:91
def escape_fragment(fragment); end
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#83
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:83
def escape_path(path); end
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:87
def escape_segment(segment); end
# Normalizes URI path.
@@ -14237,7 +13346,7 @@ class ActionDispatch::Journey::Router::Utils
# normalize_path("") # => "/"
# normalize_path("/%ab") # => "/%AB"
#
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:19
def normalize_path(path); end
# Replaces any escaped sequences with their unescaped representations.
@@ -14245,384 +13354,368 @@ class ActionDispatch::Journey::Router::Utils
# uri = "/topics?title=Ruby%20on%20Rails"
# unescape_uri(uri) #=> "/topics?title=Ruby on Rails"
#
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#99
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:99
def unescape_uri(uri); end
end
end
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#81
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:81
ActionDispatch::Journey::Router::Utils::ENCODER = T.let(T.unsafe(nil), ActionDispatch::Journey::Router::Utils::UriEncoder)
# URI path and fragment escaping https://tools.ietf.org/html/rfc3986
#
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#34
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:34
class ActionDispatch::Journey::Router::Utils::UriEncoder
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:52
def escape_fragment(fragment); end
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#56
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:56
def escape_path(path); end
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:60
def escape_segment(segment); end
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#64
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:64
def unescape_uri(uri); end
private
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#70
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:70
def escape(component, pattern); end
- # source://actionpack//lib/action_dispatch/journey/router/utils.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:74
def percent_encode(unsafe); end
end
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#41
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:41
ActionDispatch::Journey::Router::Utils::UriEncoder::ALPHA = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#39
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:39
ActionDispatch::Journey::Router::Utils::UriEncoder::DEC2HEX = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#42
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:42
ActionDispatch::Journey::Router::Utils::UriEncoder::DIGIT = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#38
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:38
ActionDispatch::Journey::Router::Utils::UriEncoder::EMPTY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#35
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:35
ActionDispatch::Journey::Router::Utils::UriEncoder::ENCODE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#46
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:46
ActionDispatch::Journey::Router::Utils::UriEncoder::ESCAPED = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#48
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:48
ActionDispatch::Journey::Router::Utils::UriEncoder::FRAGMENT = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#50
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:50
ActionDispatch::Journey::Router::Utils::UriEncoder::PATH = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#49
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:49
ActionDispatch::Journey::Router::Utils::UriEncoder::SEGMENT = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#44
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:44
ActionDispatch::Journey::Router::Utils::UriEncoder::SUB_DELIMS = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#43
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:43
ActionDispatch::Journey::Router::Utils::UriEncoder::UNRESERVED = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#36
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:36
ActionDispatch::Journey::Router::Utils::UriEncoder::US_ASCII = T.let(T.unsafe(nil), Encoding)
-# source://actionpack//lib/action_dispatch/journey/router/utils.rb#37
+# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:37
ActionDispatch::Journey::Router::Utils::UriEncoder::UTF_8 = T.let(T.unsafe(nil), Encoding)
# The Routing table. Contains all routes for a system. Routes can be added to
# the table by calling Routes#add_route.
#
-# source://actionpack//lib/action_dispatch/journey/routes.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:9
class ActionDispatch::Journey::Routes
include ::Enumerable
- # @return [Routes] a new instance of Routes
- #
- # source://actionpack//lib/action_dispatch/journey/routes.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:14
def initialize(routes = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:67
def add_route(name, mapping); end
- # Returns the value of attribute anchored_routes.
- #
- # source://actionpack//lib/action_dispatch/journey/routes.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:12
def anchored_routes; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#53
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:53
def ast; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#39
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:39
def clear; end
- # Returns the value of attribute custom_routes.
- #
- # source://actionpack//lib/action_dispatch/journey/routes.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:12
def custom_routes; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:35
def each(&block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/routes.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:22
def empty?; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#31
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:31
def last; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:26
def length; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#45
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:45
def partition_route(route); end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_dispatch/journey/routes.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:12
def routes; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:60
def simulator; end
- # source://actionpack//lib/action_dispatch/journey/routes.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:29
def size; end
private
- # source://actionpack//lib/action_dispatch/journey/routes.rb#76
+ # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:76
def clear_cache!; end
end
-# source://actionpack//lib/action_dispatch/journey/scanner.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:9
class ActionDispatch::Journey::Scanner
- # @return [Scanner] a new instance of Scanner
- #
- # source://actionpack//lib/action_dispatch/journey/scanner.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:28
def initialize; end
- # source://actionpack//lib/action_dispatch/journey/scanner.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:48
def last_literal; end
- # source://actionpack//lib/action_dispatch/journey/scanner.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:44
def last_string; end
- # source://actionpack//lib/action_dispatch/journey/scanner.rb#37
+ # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:37
def next_token; end
- # source://actionpack//lib/action_dispatch/journey/scanner.rb#33
+ # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:33
def scan_setup(str); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/journey/scanner.rb#69
+ # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:69
def next_byte_is_not_a_token?; end
- # source://actionpack//lib/action_dispatch/journey/scanner.rb#55
+ # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:55
def scan; end
end
-# source://actionpack//lib/action_dispatch/journey/scanner.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:10
ActionDispatch::Journey::Scanner::STATIC_TOKENS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/journey/scanner.rb#20
+# pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:20
class ActionDispatch::Journey::Scanner::Scanner < ::StringScanner; end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#55
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:55
module ActionDispatch::Journey::Visitors; end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#196
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:196
class ActionDispatch::Journey::Visitors::Dot < ::ActionDispatch::Journey::Visitors::FunctionalVisitor
- # @return [Dot] a new instance of Dot
- #
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#197
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:197
def initialize; end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#202
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:202
def accept(node, seed = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#217
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:217
def binary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#224
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:224
def nary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#256
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:256
def terminal(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#231
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:231
def unary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#241
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:241
def visit_CAT(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#236
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:236
def visit_GROUP(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#251
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:251
def visit_OR(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#246
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:246
def visit_STAR(node, seed); end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#262
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:262
ActionDispatch::Journey::Visitors::Dot::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::Dot)
# Loop through the requirements AST.
#
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#161
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:161
class ActionDispatch::Journey::Visitors::Each < ::ActionDispatch::Journey::Visitors::FunctionalVisitor
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#162
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:162
def visit(node, block); end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#167
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:167
ActionDispatch::Journey::Visitors::Each::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::Each)
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#136
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:136
class ActionDispatch::Journey::Visitors::FormatBuilder < ::ActionDispatch::Journey::Visitors::Visitor
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#137
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:137
def accept(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#140
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:140
def binary(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#138
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:138
def terminal(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#144
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:144
def visit_GROUP(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#146
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:146
def visit_STAR(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#150
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:150
def visit_SYMBOL(n); end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#97
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:97
class ActionDispatch::Journey::Visitors::FunctionalVisitor
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:100
def accept(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#108
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:108
def binary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#113
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:113
def nary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#124
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:124
def terminal(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:118
def unary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:104
def visit(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#111
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:111
def visit_CAT(n, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#128
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:128
def visit_DOT(n, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#121
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:121
def visit_GROUP(n, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#125
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:125
def visit_LITERAL(n, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#116
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:116
def visit_OR(n, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:127
def visit_SLASH(n, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:122
def visit_STAR(n, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#126
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:126
def visit_SYMBOL(n, seed); end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#98
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:98
ActionDispatch::Journey::Visitors::FunctionalVisitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#170
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:170
class ActionDispatch::Journey::Visitors::String < ::ActionDispatch::Journey::Visitors::FunctionalVisitor
private
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#172
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:172
def binary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#176
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:176
def nary(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#185
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:185
def terminal(node, seed); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#189
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:189
def visit_GROUP(node, seed); end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#193
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:193
ActionDispatch::Journey::Visitors::String::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::String)
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#56
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:56
class ActionDispatch::Journey::Visitors::Visitor
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#59
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:59
def accept(node); end
private
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:68
def binary(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:74
def nary(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:85
def terminal(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#79
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:79
def unary(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#64
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:64
def visit(node); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:72
def visit_CAT(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#89
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:89
def visit_DOT(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#82
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:82
def visit_GROUP(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:86
def visit_LITERAL(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:77
def visit_OR(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#88
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:88
def visit_SLASH(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#83
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:83
def visit_STAR(n); end
- # source://actionpack//lib/action_dispatch/journey/visitors.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:87
def visit_SYMBOL(n); end
end
-# source://actionpack//lib/action_dispatch/journey/visitors.rb#57
+# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:57
ActionDispatch::Journey::Visitors::Visitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/log_subscriber.rb#6
+# pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:6
class ActionDispatch::LogSubscriber < ::ActiveSupport::LogSubscriber
- # source://actionpack//lib/action_dispatch/log_subscriber.rb#7
+ # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:7
def redirect(event); end
class << self
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:21
def __class_attr_log_levels; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:21
def __class_attr_log_levels=(new_value); end
end
end
@@ -14633,21 +13726,17 @@ end
# stack](https://guides.rubyonrails.org/rails_on_rack.html#action-dispatcher-middleware-stack)
# in the guides.
#
-# source://actionpack//lib/action_dispatch/middleware/stack.rb#14
+# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:14
class ActionDispatch::MiddlewareStack
include ::Enumerable
- # @return [MiddlewareStack] a new instance of MiddlewareStack
- # @yield [_self]
- # @yieldparam _self [ActionDispatch::MiddlewareStack] the object that the method was called on
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#76
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:76
def initialize(*args); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:93
def [](i); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#166
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:166
def build(app = T.unsafe(nil), &block); end
# Deletes a middleware from the middleware stack.
@@ -14655,7 +13744,7 @@ class ActionDispatch::MiddlewareStack
# Returns the array of middlewares not including the deleted item, or returns
# nil if the target is not found.
#
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#131
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:131
def delete(target); end
# Deletes a middleware from the middleware stack.
@@ -14663,233 +13752,209 @@ class ActionDispatch::MiddlewareStack
# Returns the array of middlewares not including the deleted item, or raises
# `RuntimeError` if the target is not found.
#
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#139
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:139
def delete!(target); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#81
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:81
def each(&block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#106
- def insert(index, klass, *args, **_arg3, &block); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:106
+ def insert(index, klass, *args, **, &block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#114
- def insert_after(index, *args, **_arg2, &block); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:114
+ def insert_after(index, *args, **, &block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#106
- def insert_before(index, klass, *args, **_arg3, &block); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:112
+ def insert_before(index, klass, *args, **, &block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#89
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:89
def last; end
- # Returns the value of attribute middlewares.
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:74
def middlewares; end
- # Sets the attribute middlewares
- #
- # @param value the value to set the attribute middlewares to.
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:74
def middlewares=(_arg0); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:143
def move(target, source); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#153
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:153
def move_after(target, source); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:151
def move_before(target, source); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:85
def size; end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#120
- def swap(target, *args, **_arg2, &block); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:120
+ def swap(target, *args, **, &block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#97
- def unshift(klass, *args, **_arg2, &block); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:97
+ def unshift(klass, *args, **, &block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#161
- def use(klass, *args, **_arg2, &block); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:161
+ def use(klass, *args, **, &block); end
private
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#178
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:178
def assert_index(index, where); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#184
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:184
def build_middleware(klass, args, block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#188
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:188
def index_of(klass); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:102
def initialize_copy(other); end
end
# This class is used to instrument the execution of a single middleware. It
# proxies the `call` method transparently and instruments the method call.
#
-# source://actionpack//lib/action_dispatch/middleware/stack.rb#54
+# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:54
class ActionDispatch::MiddlewareStack::InstrumentationProxy
- # @return [InstrumentationProxy] a new instance of InstrumentationProxy
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#57
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:57
def initialize(middleware, class_name); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#65
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:65
def call(env); end
end
-# source://actionpack//lib/action_dispatch/middleware/stack.rb#55
+# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:55
ActionDispatch::MiddlewareStack::InstrumentationProxy::EVENT_NAME = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/middleware/stack.rb#15
+# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:15
class ActionDispatch::MiddlewareStack::Middleware
- # @return [Middleware] a new instance of Middleware
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#18
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:18
def initialize(klass, args, block); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:26
def ==(middleware); end
- # Returns the value of attribute args.
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#16
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:16
def args; end
- # Returns the value of attribute block.
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#16
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:16
def block; end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:43
def build(app); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#47
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:47
def build_instrumented(app); end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:35
def inspect; end
- # Returns the value of attribute klass.
- #
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#16
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:16
def klass; end
- # source://actionpack//lib/action_dispatch/middleware/stack.rb#24
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:24
def name; end
end
-# source://actionpack//lib/action_dispatch.rb#50
+# pkg:gem/actionpack#lib/action_dispatch.rb:50
class ActionDispatch::MissingController < ::NameError; end
-# source://actionpack//lib/action_dispatch/http/param_builder.rb#4
+# pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:4
class ActionDispatch::ParamBuilder
- # @return [ParamBuilder] a new instance of ParamBuilder
- #
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:15
def initialize(param_depth_limit); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:23
def default; end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:23
def default=(val); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:50
def from_hash(hash, encoding_template: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#34
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:34
def from_pairs(pairs, encoding_template: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:30
def from_query_string(qs, separator: T.unsafe(nil), encoding_template: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19
def ignore_leading_brackets; end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19
def ignore_leading_brackets=(val); end
- # Returns the value of attribute param_depth_limit.
- #
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:13
def param_depth_limit; end
private
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#162
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:162
def make_params; end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#166
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:166
def new_depth_limit(param_depth_limit); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#174
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:174
def params_hash_has_key?(hash, key); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#170
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:170
def params_hash_type?(obj); end
- # @raise [ParamsTooDeepError]
- #
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#65
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:65
def store_nested_param(params, name, v, depth, encoding_template = T.unsafe(nil)); end
class << self
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:23
def default; end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:23
def default=(val); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#27
- def from_hash(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:27
+ def from_hash(*, **, &); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#27
- def from_pairs(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:27
+ def from_pairs(*, **, &); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#27
- def from_query_string(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:27
+ def from_query_string(*, **, &); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19
def ignore_leading_brackets; end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19
def ignore_leading_brackets=(val); end
- # source://actionpack//lib/action_dispatch/http/param_builder.rb#9
+ # --
+ # This implementation is based on Rack::QueryParser,
+ # Copyright (C) 2007-2021 Leah Neukirchen
+ #
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:9
def make_default(param_depth_limit); end
end
end
-# source://actionpack//lib/action_dispatch/http/param_builder.rb#21
+# pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:21
ActionDispatch::ParamBuilder::LEADING_BRACKETS_COMPAT = T.let(T.unsafe(nil), FalseClass)
-# source://actionpack//lib/action_dispatch/http/param_error.rb#4
+# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:4
class ActionDispatch::ParamError < ::ActionDispatch::Http::Parameters::ParseError
- # @return [ParamError] a new instance of ParamError
- #
- # source://actionpack//lib/action_dispatch/http/param_error.rb#5
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:5
def initialize(message = T.unsafe(nil)); end
class << self
- # source://actionpack//lib/action_dispatch/http/param_error.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:9
def ===(other); end
end
end
-# source://actionpack//lib/action_dispatch/http/param_error.rb#18
+# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:18
class ActionDispatch::ParameterTypeError < ::ActionDispatch::ParamError; end
-# source://actionpack//lib/action_dispatch/http/param_error.rb#24
+# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:24
class ActionDispatch::ParamsTooDeepError < ::ActionDispatch::ParamError; end
# # Action Dispatch PermissionsPolicy
@@ -14916,152 +13981,140 @@ class ActionDispatch::ParamsTooDeepError < ::ActionDispatch::ParamError; end
# use the new name for the middleware but keep the old header name and
# implementation for now.
#
-# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#31
+# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:31
class ActionDispatch::PermissionsPolicy
- # @return [PermissionsPolicy] a new instance of PermissionsPolicy
- # @yield [_self]
- # @yieldparam _self [ActionDispatch::PermissionsPolicy] the object that the method was called on
- #
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#113
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:113
def initialize; end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def accelerometer(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def ambient_light_sensor(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def autoplay(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#132
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:132
def build(context = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def camera(*sources); end
- # Returns the value of attribute directives.
- #
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#111
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:111
def directives; end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def display_capture(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def encrypted_media(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def fullscreen(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def geolocation(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def gyroscope(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def hid(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def idle_detection(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def keyboard_map(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def magnetometer(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def microphone(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def midi(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def payment(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def picture_in_picture(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def screen_wake_lock(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def serial(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def sync_xhr(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def usb(*sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123
def web_share(*sources); end
private
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#150
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:150
def apply_mapping(source); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#137
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:137
def apply_mappings(sources); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#168
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:168
def build_directive(sources, context); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#156
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:156
def build_directives(context); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:118
def initialize_copy(other); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#172
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:172
def resolve_source(source, context); end
end
# List of available permissions can be found at
# https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md#policy-controlled-features
#
-# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#84
+# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:84
ActionDispatch::PermissionsPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#77
+# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:77
ActionDispatch::PermissionsPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#32
+# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:32
class ActionDispatch::PermissionsPolicy::Middleware
- # @return [Middleware] a new instance of Middleware
- #
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#33
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:33
def initialize(app); end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#37
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:37
def call(env); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:60
def policy_empty?(policy); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#56
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:56
def policy_present?(headers); end
end
-# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#65
+# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:65
module ActionDispatch::PermissionsPolicy::Request
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:68
def permissions_policy; end
- # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:72
def permissions_policy=(policy); end
end
-# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#66
+# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:66
ActionDispatch::PermissionsPolicy::Request::POLICY = T.let(T.unsafe(nil), String)
# # Action Dispatch PublicExceptions
@@ -15077,46 +14130,38 @@ ActionDispatch::PermissionsPolicy::Request::POLICY = T.let(T.unsafe(nil), String
# When a request with a content type other than HTML is made, this middleware
# will attempt to convert error information into the appropriate response type.
#
-# source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#18
+# pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:18
class ActionDispatch::PublicExceptions
- # @return [PublicExceptions] a new instance of PublicExceptions
- #
- # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:21
def initialize(public_path); end
- # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#25
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:25
def call(env); end
- # Returns the value of attribute public_path.
- #
- # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:19
def public_path; end
- # Sets the attribute public_path
- #
- # @param value the value to set the attribute public_path to.
- #
- # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:19
def public_path=(_arg0); end
private
- # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:43
def render(status, content_type, body); end
- # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:52
def render_format(status, content_type, body); end
- # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#57
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:57
def render_html(status); end
end
-# source://actionpack//lib/action_dispatch/http/query_parser.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:7
class ActionDispatch::QueryParser
- # source://actionpack//lib/action_dispatch/http/query_parser.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:12
def strict_query_string_separator; end
- # source://actionpack//lib/action_dispatch/http/query_parser.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:12
def strict_query_string_separator=(val); end
class << self
@@ -15125,30 +14170,30 @@ class ActionDispatch::QueryParser
# giving a nil value for keys that do not use '='. Callers that need
# the standard's interpretation can use `v.to_s`.
#
- # source://actionpack//lib/action_dispatch/http/query_parser.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:20
def each_pair(s, separator = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/query_parser.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:12
def strict_query_string_separator; end
- # source://actionpack//lib/action_dispatch/http/query_parser.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:12
def strict_query_string_separator=(val); end
end
end
-# source://actionpack//lib/action_dispatch/http/query_parser.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:10
ActionDispatch::QueryParser::COMMON_SEP = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/query_parser.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:9
ActionDispatch::QueryParser::COMPAT_SEP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/query_parser.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:8
ActionDispatch::QueryParser::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/query_parser.rb#14
+# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:14
ActionDispatch::QueryParser::SEMICOLON_COMPAT = T.let(T.unsafe(nil), FalseClass)
-# source://actionpack//lib/action_dispatch/railtie.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/railtie.rb:10
class ActionDispatch::Railtie < ::Rails::Railtie; end
# # Action Dispatch Reloader
@@ -15160,7 +14205,7 @@ class ActionDispatch::Railtie < ::Rails::Railtie; end
# ActionDispatch::Reloader is included in the middleware stack only if reloading
# is enabled, which it is by the default in `development` mode.
#
-# source://actionpack//lib/action_dispatch/middleware/reloader.rb#14
+# pkg:gem/actionpack#lib/action_dispatch/middleware/reloader.rb:14
class ActionDispatch::Reloader < ::ActionDispatch::Executor; end
# # Action Dispatch RemoteIp
@@ -15189,7 +14234,7 @@ class ActionDispatch::Reloader < ::ActionDispatch::Executor; end
# middleware runs. Alternatively, remove this middleware to avoid inadvertently
# relying on it.
#
-# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#33
+# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:33
class ActionDispatch::RemoteIp
# Create a new `RemoteIp` middleware instance.
#
@@ -15206,9 +14251,7 @@ class ActionDispatch::RemoteIp
# `custom_proxies` parameter. That way, the middleware will ignore those IP
# addresses, and return the one that you want.
#
- # @return [RemoteIp] a new instance of RemoteIp
- #
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#65
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:65
def initialize(app, ip_spoofing_check = T.unsafe(nil), custom_proxies = T.unsafe(nil)); end
# Since the IP address may not be needed, we store the object here without
@@ -15216,17 +14259,13 @@ class ActionDispatch::RemoteIp
# those requests that do need to know the IP, the GetIp#calculate_ip method will
# calculate the memoized client IP address.
#
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:93
def call(env); end
- # Returns the value of attribute check_ip.
- #
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#49
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:49
def check_ip; end
- # Returns the value of attribute proxies.
- #
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#49
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:49
def proxies; end
end
@@ -15234,11 +14273,9 @@ end
# an actual IP address. If the ActionDispatch::Request#remote_ip method is
# called, this class will calculate the value and then memoize it.
#
-# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#102
+# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:102
class ActionDispatch::RemoteIp::GetIp
- # @return [GetIp] a new instance of GetIp
- #
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:103
def initialize(req, check_ip, proxies); end
# Sort through the various IP address headers, looking for the IP most likely to
@@ -15260,25 +14297,25 @@ class ActionDispatch::RemoteIp::GetIp
# list of IPs, remove known and trusted proxies, and then take the last address
# left, which was presumably set by one of those proxies.
#
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:127
def calculate_ip; end
# Memoizes the value returned by #calculate_ip and returns it for
# ActionDispatch::Request to use.
#
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#171
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:171
def to_s; end
private
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#191
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:191
def filter_proxies(ips); end
- # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#176
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:176
def ips_from(header); end
end
-# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#34
+# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:34
class ActionDispatch::RemoteIp::IpSpoofAttackError < ::StandardError; end
# The default trusted IPs list simply includes IP addresses that are guaranteed
@@ -15286,10 +14323,10 @@ class ActionDispatch::RemoteIp::IpSpoofAttackError < ::StandardError; end
# ultimate client IP in production, and so are discarded. See
# https://en.wikipedia.org/wiki/Private_network for details.
#
-# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#40
+# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:40
ActionDispatch::RemoteIp::TRUSTED_PROXIES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/request.rb#20
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:20
class ActionDispatch::Request
include ::ActionDispatch::Flash::RequestMethods
include ::Rack::Request::Helpers
@@ -15304,87 +14341,85 @@ class ActionDispatch::Request
include ::ActionDispatch::RequestCookieMethods
extend ::ActionDispatch::Http::Parameters::ClassMethods
- # @return [Request] a new instance of Request
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#64
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:64
def initialize(env); end
# Override Rack's GET method to support indifferent access.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#395
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:395
def GET; end
# Override Rack's POST method to support indifferent access.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#408
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:408
def POST; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def accept; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def accept_charset; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def accept_encoding; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def accept_language; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def auth_type; end
# Returns the authorization header regardless of whether it was specified
# directly or through one of the proxy alternatives.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#460
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:460
def authorization; end
# The request body is an IO input stream. If the RAW_POST_DATA environment
# variable is already set, wrap it in a StringIO.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#357
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:357
def body; end
- # source://actionpack//lib/action_dispatch/http/request.rb#377
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:377
def body_stream; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def cache_control; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def client_ip; end
- # source://actionpack//lib/action_dispatch/http/request.rb#79
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:79
def commit_cookie_jar!; end
- # source://actionpack//lib/action_dispatch/http/request.rb#492
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:492
def commit_csrf_token; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#71
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:481
def commit_flash; end
# Returns the content length of the request as an integer.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#292
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:292
def content_length; end
- # source://actionpack//lib/action_dispatch/http/request.rb#88
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:88
def controller_class; end
- # source://actionpack//lib/action_dispatch/http/request.rb#94
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:94
def controller_class_for(name); end
- # source://actionpack//lib/action_dispatch/http/request.rb#190
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:190
def controller_instance; end
- # source://actionpack//lib/action_dispatch/http/request.rb#194
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:194
def controller_instance=(controller); end
- # source://actionpack//lib/action_dispatch/http/request.rb#176
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:176
def engine_script_name(_routes); end
- # source://actionpack//lib/action_dispatch/http/request.rb#180
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:180
def engine_script_name=(name); end
# Determine whether the request body contains form-data by checking the request
@@ -15395,12 +14430,10 @@ class ActionDispatch::Request
# A request body is not assumed to contain form-data when no `Content-Type`
# header is provided and the request_method is POST.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#373
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:373
def form_data?; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def from; end
# Returns the `String` full path including params of the last URL requested.
@@ -15411,53 +14444,49 @@ class ActionDispatch::Request
# # get "/articles?page=2"
# request.fullpath # => "/articles?page=2"
#
- # source://actionpack//lib/action_dispatch/http/request.rb#271
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:271
def fullpath; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def gateway_interface; end
# Provides access to the request's HTTP headers, for example:
#
# request.headers["Content-Type"] # => "text/plain"
#
- # source://actionpack//lib/action_dispatch/http/request.rb#232
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:232
def headers; end
- # source://actionpack//lib/action_dispatch/http/request.rb#198
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:198
def http_auth_salt; end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23
def ignore_accept_header; end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23
def ignore_accept_header=(val); end
- # source://actionpack//lib/action_dispatch/http/request.rb#484
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:484
def inspect; end
# Returns the IP address of client as a `String`.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#306
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:306
def ip; end
# Returns true if the request has a header matching the given key parameter.
#
# request.key? :ip_spoofing_check # => true
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#115
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:115
def key?(key); end
# True if the request came from localhost, 127.0.0.1, or ::1.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#468
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:468
def local?; end
- # source://actionpack//lib/action_dispatch/http/request.rb#477
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:477
def logger; end
# The `String` MIME type of the request.
@@ -15465,7 +14494,7 @@ class ActionDispatch::Request
# # get "/articles"
# request.media_type # => "application/x-www-form-urlencoded"
#
- # source://actionpack//lib/action_dispatch/http/request.rb#287
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:287
def media_type; end
# Returns the original value of the environment's REQUEST_METHOD, even if it was
@@ -15474,18 +14503,18 @@ class ActionDispatch::Request
# For debugging purposes, when called with arguments this method will fall back
# to Object#method
#
- # source://actionpack//lib/action_dispatch/http/request.rb#212
- def method(*args, **_arg1); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:212
+ def method(*args, **); end
# Returns a symbol form of the #method.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#225
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:225
def method_symbol; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def negotiate; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def origin; end
# Returns a `String` with the last requested path including their params.
@@ -15496,10 +14525,10 @@ class ActionDispatch::Request
# # get '/foo?bar'
# request.original_fullpath # => '/foo?bar'
#
- # source://actionpack//lib/action_dispatch/http/request.rb#260
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:260
def original_fullpath; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def original_script_name; end
# Returns the original request URL as a `String`.
@@ -15507,53 +14536,49 @@ 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#279
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:279
def original_url; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def path_translated; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def pragma; end
- # Override Rack's GET method to support indifferent access.
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#395
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:405
def query_parameters; end
- # Returns the value of attribute rack_request.
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:77
def rack_request; end
# 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#348
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:348
def raw_post; end
- # source://rack/3.2.7/lib/rack/request.rb#202
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:145
def raw_request_method; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def remote_addr; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def remote_host; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def remote_ident; end
# Returns the IP address of client as a `String`, usually set by the RemoteIp
# middleware.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#312
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:312
def remote_ip; end
- # source://actionpack//lib/action_dispatch/http/request.rb#316
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:316
def remote_ip=(remote_ip); end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def remote_user; end
# Returns the unique request id, which is based on either the `X-Request-Id`
@@ -15565,10 +14590,10 @@ class ActionDispatch::Request
# logging or debugging. This relies on the Rack variable set by the
# ActionDispatch::RequestId middleware.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#331
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:331
def request_id; end
- # source://actionpack//lib/action_dispatch/http/request.rb#335
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:335
def request_id=(id); end
# Returns the HTTP method that the application should see. In the case where the
@@ -15577,32 +14602,30 @@ class ActionDispatch::Request
# the application should use), this method returns the overridden value, not the
# original.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#152
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:152
def request_method; end
- # source://actionpack//lib/action_dispatch/http/request.rb#184
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:184
def request_method=(request_method); end
# Returns a symbol form of the #request_method.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#203
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:203
def request_method_symbol; end
- # Override Rack's POST method to support indifferent access.
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#408
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:435
def request_parameters; end
- # source://actionpack//lib/action_dispatch/http/request.rb#472
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:472
def request_parameters=(params); end
- # source://actionpack//lib/action_dispatch/http/request.rb#437
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:437
def request_parameters_list; end
- # source://actionpack//lib/action_dispatch/http/request.rb#488
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:488
def reset_csrf_token; end
- # source://actionpack//lib/action_dispatch/middleware/flash.rb#84
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:381
def reset_session; end
# Returns the URI pattern of the matched route for the request, using the same
@@ -15610,16 +14633,16 @@ class ActionDispatch::Request
#
# request.route_uri_pattern # => "/:controller(/:action(/:id))(.:format)"
#
- # source://actionpack//lib/action_dispatch/http/request.rb#160
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:160
def route_uri_pattern; end
- # source://actionpack//lib/action_dispatch/http/request.rb#164
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:164
def route_uri_pattern=(pattern); end
- # source://actionpack//lib/action_dispatch/http/request.rb#168
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:168
def routes; end
- # source://actionpack//lib/action_dispatch/http/request.rb#172
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:172
def routes=(routes); end
# Early Hints is an HTTP/2 status code that indicates hints to help a client
@@ -15636,227 +14659,202 @@ class ActionDispatch::Request
# or {stylesheet_link_tag}[rdoc-ref:ActionView::Helpers::AssetTagHelper#stylesheet_link_tag]
# the Early Hints headers are included by default if supported.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#249
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:249
def send_early_hints(links); end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def server_name; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def server_protocol; end
# Returns the lowercase name of the HTTP server software.
#
- # source://actionpack//lib/action_dispatch/http/request.rb#342
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:342
def server_software; end
- # source://actionpack//lib/action_dispatch/http/request.rb#386
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:386
def session=(session); end
- # source://actionpack//lib/action_dispatch/http/request.rb#390
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:390
def session_options=(options); end
- # Returns the unique request id, which is based on either the `X-Request-Id`
- # header that can be generated by a firewall, load balancer, or web server, or
- # by the RequestId middleware (which sets the `action_dispatch.request_id`
- # environment variable).
- #
- # 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#331
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:339
def uuid; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def version; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def x_csrf_token; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def x_forwarded_for; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def x_forwarded_host; end
- # source://actionpack//lib/action_dispatch/http/request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:50
def x_request_id; end
- # Returns true if the `X-Requested-With` header contains "XMLHttpRequest"
- # (case-insensitive), which may need to be manually added depending on the
- # choice of JavaScript libraries and frameworks.
- #
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#300
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:303
def xhr?; end
# Returns true if the `X-Requested-With` header contains "XMLHttpRequest"
# (case-insensitive), which may need to be manually added depending on the
# choice of JavaScript libraries and frameworks.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/request.rb#300
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:300
def xml_http_request?; end
private
- # source://actionpack//lib/action_dispatch/http/request.rb#497
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:497
def check_method(name); end
- # source://actionpack//lib/action_dispatch/http/request.rb#505
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:505
def default_session; end
- # source://actionpack//lib/action_dispatch/http/request.rb#535
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:535
def fallback_request_parameters; end
- # source://actionpack//lib/action_dispatch/http/request.rb#509
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:509
def read_body_stream; end
- # source://actionpack//lib/action_dispatch/http/request.rb#521
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:521
def reset_stream(body_stream); end
class << self
- # source://actionpack//lib/action_dispatch/http/request.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:60
def empty; end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23
def ignore_accept_header; end
- # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23
def ignore_accept_header=(val); end
- # source://actionpack//lib/action_dispatch/http/parameters.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:24
def parameter_parsers; end
end
end
-# source://actionpack//lib/action_dispatch/http/request.rb#321
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:321
ActionDispatch::Request::ACTION_DISPATCH_REQUEST_ID = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/request.rb#36
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:36
ActionDispatch::Request::ENV_METHODS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/request.rb#136
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:136
ActionDispatch::Request::HTTP_METHODS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/request.rb#138
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:138
ActionDispatch::Request::HTTP_METHOD_LOOKUP = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/request.rb#34
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:34
ActionDispatch::Request::LOCALHOST = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/request.rb#82
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:82
class ActionDispatch::Request::PASS_NOT_FOUND
class << self
- # source://actionpack//lib/action_dispatch/http/request.rb#83
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:83
def action(_); end
- # source://actionpack//lib/action_dispatch/http/request.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:85
def action_encoding_template(action); end
- # source://actionpack//lib/action_dispatch/http/request.rb#84
+ # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:84
def call(_); end
end
end
# HTTP methods from [RFC 2518: HTTP Extensions for Distributed Authoring -- WEBDAV](https://www.ietf.org/rfc/rfc2518.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#122
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:122
ActionDispatch::Request::RFC2518 = T.let(T.unsafe(nil), Array)
# HTTP methods from [RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1](https://www.ietf.org/rfc/rfc2616.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#120
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:120
ActionDispatch::Request::RFC2616 = T.let(T.unsafe(nil), Array)
# HTTP methods from [RFC 3253: Versioning Extensions to WebDAV](https://www.ietf.org/rfc/rfc3253.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#124
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:124
ActionDispatch::Request::RFC3253 = T.let(T.unsafe(nil), Array)
# HTTP methods from [RFC 3648: WebDAV Ordered Collections Protocol](https://www.ietf.org/rfc/rfc3648.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#126
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:126
ActionDispatch::Request::RFC3648 = T.let(T.unsafe(nil), Array)
# HTTP methods from [RFC 3744: WebDAV Access Control Protocol](https://www.ietf.org/rfc/rfc3744.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#128
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:128
ActionDispatch::Request::RFC3744 = T.let(T.unsafe(nil), Array)
# HTTP methods from [RFC 4791: Calendaring Extensions to WebDAV](https://www.ietf.org/rfc/rfc4791.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#132
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:132
ActionDispatch::Request::RFC4791 = T.let(T.unsafe(nil), Array)
# HTTP methods from [RFC 5323: WebDAV SEARCH](https://www.ietf.org/rfc/rfc5323.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#130
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:130
ActionDispatch::Request::RFC5323 = T.let(T.unsafe(nil), Array)
# HTTP methods from [RFC 5789: PATCH Method for HTTP](https://www.ietf.org/rfc/rfc5789.txt)
#
-# source://actionpack//lib/action_dispatch/http/request.rb#134
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:134
ActionDispatch::Request::RFC5789 = T.let(T.unsafe(nil), Array)
# Session is responsible for lazily loading the session from store.
#
-# source://actionpack//lib/action_dispatch/request/session.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:10
class ActionDispatch::Request::Session
- # @return [Session] a new instance of Session
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#76
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:76
def initialize(by, req, enabled: T.unsafe(nil)); end
# Returns value of the key stored in the session or `nil` if the given key is
# not found in the session.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#114
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:114
def [](key); end
# Writes given value to given key of the session.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#154
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:154
def []=(key, value); end
# Clears the session.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#161
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:161
def clear; end
# Deletes given key from the session.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#194
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:194
def delete(key); end
- # source://actionpack//lib/action_dispatch/request/session.rb#99
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:99
def destroy; end
# Returns the nested value specified by the sequence of keys, returning `nil` if
# any intermediate step is `nil`.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#127
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:127
def dig(*keys); end
- # source://actionpack//lib/action_dispatch/request/session.rb#245
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:245
def each(&block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#240
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:240
def empty?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:91
def enabled?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#230
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:230
def exists?; end
# Returns value of the given key from the session, or raises `KeyError` if can't
@@ -15874,79 +14872,52 @@ class ActionDispatch::Request::Session
# end
# # => :bar
#
- # source://actionpack//lib/action_dispatch/request/session.rb#213
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:213
def fetch(key, default = T.unsafe(nil), &block); end
# Returns true if the session has the given key or false.
#
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#134
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:134
def has_key?(key); end
- # source://actionpack//lib/action_dispatch/request/session.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:87
def id; end
- # source://actionpack//lib/action_dispatch/request/session.rb#249
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:249
def id_was; end
- # Returns true if the session has the given key or false.
- #
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#134
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:139
def include?(key); end
- # source://actionpack//lib/action_dispatch/request/session.rb#222
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:222
def inspect; end
- # Returns true if the session has the given key or false.
- #
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#134
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:138
def key?(key); end
# Returns keys of the session as Array.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#142
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:142
def keys; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#236
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:236
def loaded?; end
- # Updates the session with given Hash.
- #
- # session.to_hash
- # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2"}
- #
- # session.update({ "foo" => "bar" })
- # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"}
- #
- # session.to_hash
- # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"}
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#183
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:191
def merge!(hash); end
- # source://actionpack//lib/action_dispatch/request/session.rb#95
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:95
def options; end
- # Writes given value to given key of the session.
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#154
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:158
def store(key, value); end
- # Returns the session as Hash.
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#167
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:171
def to_h; end
# Returns the session as Hash.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#167
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:167
def to_hash; end
# Updates the session with given Hash.
@@ -15960,265 +14931,255 @@ class ActionDispatch::Request::Session
# session.to_hash
# # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"}
#
- # source://actionpack//lib/action_dispatch/request/session.rb#183
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:183
def update(hash); end
# Returns values of the session as Array.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#148
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:148
def values; end
private
- # source://actionpack//lib/action_dispatch/request/session.rb#271
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:271
def load!; end
- # source://actionpack//lib/action_dispatch/request/session.rb#267
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:267
def load_for_delete!; end
- # source://actionpack//lib/action_dispatch/request/session.rb#255
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:255
def load_for_read!; end
- # source://actionpack//lib/action_dispatch/request/session.rb#259
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:259
def load_for_write!; end
class << self
# Creates a session hash, merging the properties of the previous session if any.
#
- # source://actionpack//lib/action_dispatch/request/session.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:19
def create(store, req, default_options); end
- # source://actionpack//lib/action_dispatch/request/session.rb#43
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:43
def delete(req); end
- # source://actionpack//lib/action_dispatch/request/session.rb#29
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:29
def disabled(req); end
- # source://actionpack//lib/action_dispatch/request/session.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:35
def find(req); end
- # source://actionpack//lib/action_dispatch/request/session.rb#39
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:39
def set(req, session); end
end
end
-# source://actionpack//lib/action_dispatch/request/session.rb#11
+# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:11
class ActionDispatch::Request::Session::DisabledSessionError < ::StandardError; end
-# source://actionpack//lib/action_dispatch/request/session.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:12
ActionDispatch::Request::Session::ENV_SESSION_KEY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/request/session.rb#13
+# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:13
ActionDispatch::Request::Session::ENV_SESSION_OPTIONS_KEY = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/request/session.rb#47
+# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:47
class ActionDispatch::Request::Session::Options
- # @return [Options] a new instance of Options
- #
- # source://actionpack//lib/action_dispatch/request/session.rb#56
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:56
def initialize(by, default_options); end
- # source://actionpack//lib/action_dispatch/request/session.rb#61
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:61
def [](key); end
- # source://actionpack//lib/action_dispatch/request/session.rb#71
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:71
def []=(k, v); end
- # source://actionpack//lib/action_dispatch/request/session.rb#65
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:65
def id(req); end
- # source://actionpack//lib/action_dispatch/request/session.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:72
def to_hash; end
- # source://actionpack//lib/action_dispatch/request/session.rb#73
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:73
def values_at(*args); end
class << self
- # source://actionpack//lib/action_dispatch/request/session.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:52
def find(req); end
- # source://actionpack//lib/action_dispatch/request/session.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:48
def set(req, options); end
end
end
# Singleton object used to determine if an optional param wasn't specified.
#
-# source://actionpack//lib/action_dispatch/request/session.rb#16
+# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:16
ActionDispatch::Request::Session::Unspecified = T.let(T.unsafe(nil), Object)
-# source://actionpack//lib/action_dispatch/http/request.rb#58
+# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:58
ActionDispatch::Request::TRANSFER_ENCODING = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/request/utils.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:9
class ActionDispatch::Request::Utils
- # source://actionpack//lib/action_dispatch/request/utils.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10
def perform_deep_munge; end
- # source://actionpack//lib/action_dispatch/request/utils.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10
def perform_deep_munge=(val); end
class << self
- # source://actionpack//lib/action_dispatch/request/utils.rb#31
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:31
def check_param_encoding(params); end
- # source://actionpack//lib/action_dispatch/request/utils.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:12
def each_param_value(params, &block); end
- # source://actionpack//lib/action_dispatch/request/utils.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:23
def normalize_encode_params(params); end
- # source://actionpack//lib/action_dispatch/request/utils.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10
def perform_deep_munge; end
- # source://actionpack//lib/action_dispatch/request/utils.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10
def perform_deep_munge=(val); end
- # source://actionpack//lib/action_dispatch/request/utils.rb#46
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:46
def set_binary_encoding(request, params, controller, action); end
end
end
-# source://actionpack//lib/action_dispatch/request/utils.rb#85
+# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:85
class ActionDispatch::Request::Utils::CustomParamEncoder
class << self
- # source://actionpack//lib/action_dispatch/request/utils.rb#106
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:106
def action_encoding_template(request, controller, action); end
- # source://actionpack//lib/action_dispatch/request/utils.rb#101
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:101
def encode(request, params, controller, action); end
- # source://actionpack//lib/action_dispatch/request/utils.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:86
def encode_for_template(params, encoding_template); end
end
end
# Remove nils from the params hash.
#
-# source://actionpack//lib/action_dispatch/request/utils.rb#77
+# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:77
class ActionDispatch::Request::Utils::NoNilParamEncoder < ::ActionDispatch::Request::Utils::ParamEncoder
class << self
- # source://actionpack//lib/action_dispatch/request/utils.rb#78
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:78
def handle_array(params); end
end
end
-# source://actionpack//lib/action_dispatch/request/utils.rb#50
+# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:50
class ActionDispatch::Request::Utils::ParamEncoder
class << self
- # source://actionpack//lib/action_dispatch/request/utils.rb#71
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:71
def handle_array(params); end
# Convert nested Hash to HashWithIndifferentAccess.
#
- # source://actionpack//lib/action_dispatch/request/utils.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:52
def normalize_encode_params(params); end
end
end
-# source://actionpack//lib/action_dispatch/middleware/cookies.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:12
module ActionDispatch::RequestCookieMethods
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:50
def authenticated_encrypted_cookie_salt; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:13
def cookie_jar; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:30
def cookie_jar=(jar); end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#78
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:78
def cookies_digest; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#82
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:82
def cookies_rotations; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:74
def cookies_same_site_protection; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#70
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:70
def cookies_serializer; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:58
def encrypted_cookie_cipher; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#42
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:42
def encrypted_cookie_salt; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#46
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:46
def encrypted_signed_cookie_salt; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:26
def have_cookie_jar?; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#34
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:34
def key_generator; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#66
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:66
def secret_key_base; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#62
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:62
def signed_cookie_digest; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#38
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:38
def signed_cookie_salt; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#54
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:54
def use_authenticated_cookie_encryption; end
- # source://actionpack//lib/action_dispatch/middleware/cookies.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:86
def use_cookies_with_metadata; end
end
-# source://actionpack//lib/action_dispatch/testing/request_encoder.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:9
class ActionDispatch::RequestEncoder
- # @return [RequestEncoder] a new instance of RequestEncoder
- #
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:21
def initialize(mime_name, param_encoder, response_parser, content_type); end
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#34
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:34
def accept_header; end
- # Returns the value of attribute content_type.
- #
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:19
def content_type; end
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#38
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:38
def encode_params(params); end
- # Returns the value of attribute response_parser.
- #
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:19
def response_parser; end
class << self
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#47
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:47
def encoder(name); end
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#42
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:42
def parser(content_type); end
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#51
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:51
def register_encoder(mime_name, param_encoder: T.unsafe(nil), response_parser: T.unsafe(nil), content_type: T.unsafe(nil)); end
end
end
-# source://actionpack//lib/action_dispatch/testing/request_encoder.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:10
class ActionDispatch::RequestEncoder::IdentityEncoder
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:12
def accept_header; end
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#11
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:11
def content_type; end
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:13
def encode_params(params); end
- # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:14
def response_parser; end
end
@@ -16238,22 +15199,20 @@ end
# The unique request id can be used to trace a request end-to-end and would
# typically end up being part of log files from multiple pieces of the stack.
#
-# source://actionpack//lib/action_dispatch/middleware/request_id.rb#24
+# pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:24
class ActionDispatch::RequestId
- # @return [RequestId] a new instance of RequestId
- #
- # source://actionpack//lib/action_dispatch/middleware/request_id.rb#25
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:25
def initialize(app, header:); end
- # source://actionpack//lib/action_dispatch/middleware/request_id.rb#31
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:31
def call(env); end
private
- # source://actionpack//lib/action_dispatch/middleware/request_id.rb#46
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:46
def internal_request_id; end
- # source://actionpack//lib/action_dispatch/middleware/request_id.rb#38
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:38
def make_request_id(request_id); end
end
@@ -16285,61 +15244,57 @@ end
# end
# end
#
-# source://actionpack//lib/action_dispatch/http/response.rb#38
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:38
class ActionDispatch::Response
include ::Rack::Response::Helpers
include ::ActionDispatch::Http::FilterRedirect
include ::ActionDispatch::Http::Cache::Response
include ::MonitorMixin
- # @return [Response] a new instance of Response
- # @yield [_self]
- # @yieldparam _self [ActionDispatch::Response] the object that the method was called on
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#197
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:197
def initialize(status = T.unsafe(nil), headers = T.unsafe(nil), body = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/response.rb#89
- def [](*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:89
+ def [](*, **, &); end
- # source://actionpack//lib/action_dispatch/http/response.rb#89
- def []=(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:89
+ def []=(*, **, &); end
# Aliasing these off because AD::Http::Cache::Response defines them.
#
- # source://rack/3.2.7/lib/rack/response.rb#290
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:107
def _cache_control; end
- # source://rack/3.2.7/lib/rack/response.rb#294
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:108
def _cache_control=(value); end
- # source://actionpack//lib/action_dispatch/http/response.rb#433
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:433
def abort; end
- # source://actionpack//lib/action_dispatch/http/response.rb#223
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:223
def await_commit; end
- # source://actionpack//lib/action_dispatch/http/response.rb#229
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:229
def await_sent; end
# Returns the content of the response as a string. This contains the contents of
# any calls to `render`.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#356
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:356
def body; end
# Allows you to manually set or override the response body.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#371
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:371
def body=(body); end
- # source://actionpack//lib/action_dispatch/http/response.rb#420
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:420
def body_parts; end
# The charset of the response. HTML wants to know the encoding of the content
# you're giving them, so we need to send that along.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#326
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:326
def charset; end
# Sets the HTTP character set. In case of `nil` parameter it sets the charset to
@@ -16348,28 +15303,26 @@ class ActionDispatch::Response
# response.charset = 'utf-16' # => 'utf-16'
# response.charset = nil # => 'utf-8'
#
- # source://actionpack//lib/action_dispatch/http/response.rb#315
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:315
def charset=(charset); end
- # source://actionpack//lib/action_dispatch/http/response.rb#429
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:429
def close; end
# Returns a string to ensure compatibility with `Net::HTTPResponse`.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#337
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:337
def code; end
- # source://actionpack//lib/action_dispatch/http/response.rb#233
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:233
def commit!; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#257
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:257
def committed?; end
# Content type of response.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#295
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:295
def content_type; end
# Sets the HTTP response's content MIME type. For example, in the controller you
@@ -16381,57 +15334,41 @@ class ActionDispatch::Response
# character set information will also be included in the content type
# information.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#285
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:285
def content_type=(content_type); end
# Returns the response cookies, converted to a Hash of (name => value) pairs
#
# assert_equal 'AuthorOfNewPage', r.cookies['author']
#
- # source://actionpack//lib/action_dispatch/http/response.rb#456
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:456
def cookies; end
- # source://actionpack//lib/action_dispatch/http/response.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102
def default_charset; end
- # source://actionpack//lib/action_dispatch/http/response.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102
def default_charset=(val); end
- # source://actionpack//lib/action_dispatch/http/response.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103
def default_headers; end
- # source://actionpack//lib/action_dispatch/http/response.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103
def default_headers=(val); end
- # source://actionpack//lib/action_dispatch/http/response.rb#221
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:221
def delete_header(key); end
- # source://actionpack//lib/action_dispatch/http/response.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:91
def each(&block); end
- # source://actionpack//lib/action_dispatch/http/response.rb#219
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:219
def get_header(key); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#218
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:218
def has_header?(key); end
- # The headers for the response.
- #
- # header["Content-Type"] # => "text/plain"
- # header["Content-Type"] = "application/json"
- # header["Content-Type"] # => "application/json"
- #
- # Also aliased as `headers`.
- #
- # headers["Content-Type"] # => "text/plain"
- # headers["Content-Type"] = "application/json"
- # headers["Content-Type"] # => "application/json"
- #
- # Also aliased as `header` for compatibility.
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:87
def header; end
# The headers for the response.
@@ -16448,12 +15385,12 @@ class ActionDispatch::Response
#
# Also aliased as `header` for compatibility.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:85
def headers; end
# Media type of response.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#300
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:300
def media_type; end
# Returns the corresponding message for the current HTTP status code:
@@ -16464,91 +15401,74 @@ class ActionDispatch::Response
# response.status = 404
# response.message # => "Not Found"
#
- # source://actionpack//lib/action_dispatch/http/response.rb#349
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:349
def message; end
- # Turns the Response into a Rack-compatible array of the status, headers, and
- # body. Allows explicit splatting:
- #
- # status, headers, body = *response
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#447
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:451
def prepare!; end
# The location header we'll be responding with.
#
- # source://rack/3.2.7/lib/rack/response.rb#262
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:427
def redirect_url; end
# The request that the response is responding to.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:67
def request; end
# The request that the response is responding to.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:67
def request=(_arg0); end
- # source://actionpack//lib/action_dispatch/http/response.rb#416
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:416
def reset_body!; end
# The response code of the request.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#332
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:332
def response_code; end
# Send the file stored at `path` as the response body.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#411
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:411
def send_file(path); end
- # source://actionpack//lib/action_dispatch/http/response.rb#241
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:241
def sending!; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#256
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:256
def sending?; end
- # source://actionpack//lib/action_dispatch/http/response.rb#304
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:304
def sending_file=(v); end
- # source://actionpack//lib/action_dispatch/http/response.rb#249
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:249
def sent!; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#258
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:258
def sent?; end
- # source://actionpack//lib/action_dispatch/http/response.rb#220
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:220
def set_header(key, v); end
# The HTTP status code.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#70
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:70
def status; end
# Sets the HTTP status code.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#273
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:273
def status=(status); end
- # Returns the corresponding message for the current HTTP status code:
- #
- # response.status = 200
- # response.message # => "OK"
- #
- # response.status = 404
- # response.message # => "Not Found"
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#349
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:352
def status_message; end
# The underlying body, as a streamable object.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#195
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:195
def stream; end
# Turns the Response into a Rack-compatible array of the status, headers, and
@@ -16556,154 +15476,143 @@ class ActionDispatch::Response
#
# status, headers, body = *response
#
- # source://actionpack//lib/action_dispatch/http/response.rb#447
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:447
def to_a; end
- # source://actionpack//lib/action_dispatch/http/response.rb#366
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:366
def write(string); end
private
- # source://actionpack//lib/action_dispatch/http/response.rb#522
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:522
def assign_default_content_type_and_charset!; end
- # source://actionpack//lib/action_dispatch/http/response.rb#500
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:500
def before_committed; end
- # source://actionpack//lib/action_dispatch/http/response.rb#508
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:508
def before_sending; end
- # source://actionpack//lib/action_dispatch/http/response.rb#518
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:518
def build_buffer(response, body); end
- # source://actionpack//lib/action_dispatch/http/response.rb#574
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:574
def handle_no_content!; end
- # source://actionpack//lib/action_dispatch/http/response.rb#480
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:480
def parse_content_type(content_type); end
# Small internal convenience method to get the parsed version of the current
# content type header.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#490
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:490
def parsed_content_type_header; end
- # source://actionpack//lib/action_dispatch/http/response.rb#581
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:581
def rack_response(status, headers); end
- # source://actionpack//lib/action_dispatch/http/response.rb#494
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:494
def set_content_type(content_type, charset); end
class << self
- # source://actionpack//lib/action_dispatch/http/response.rb#185
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:185
def create(status = T.unsafe(nil), headers = T.unsafe(nil), body = T.unsafe(nil), default_headers: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/response.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102
def default_charset; end
- # source://actionpack//lib/action_dispatch/http/response.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102
def default_charset=(val); end
- # source://actionpack//lib/action_dispatch/http/response.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103
def default_headers; end
- # source://actionpack//lib/action_dispatch/http/response.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103
def default_headers=(val); end
- # source://actionpack//lib/action_dispatch/http/response.rb#190
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:190
def merge_default_headers(original, default); end
- # source://actionpack//lib/action_dispatch/http/response.rb#51
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:51
def rack_status_code(status); end
end
end
-# source://actionpack//lib/action_dispatch/http/response.rb#114
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:114
class ActionDispatch::Response::Buffer
- # @return [Buffer] a new instance of Buffer
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#115
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:115
def initialize(response, buf); end
- # @raise [IOError]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#148
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:155
def <<(string); end
- # source://actionpack//lib/action_dispatch/http/response.rb#167
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:167
def abort; end
- # source://actionpack//lib/action_dispatch/http/response.rb#140
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:140
def body; end
- # source://actionpack//lib/action_dispatch/http/response.rb#170
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:170
def close; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#175
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:175
def closed?; end
- # source://actionpack//lib/action_dispatch/http/response.rb#157
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:157
def each(&block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#124
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:124
def respond_to?(method, include_private = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/response.rb#132
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:132
def to_ary; end
- # @raise [IOError]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#148
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:148
def write(string); end
private
- # source://actionpack//lib/action_dispatch/http/response.rb#180
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:180
def each_chunk(&block); end
end
-# source://actionpack//lib/action_dispatch/http/response.rb#122
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:122
ActionDispatch::Response::Buffer::BODY_METHODS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/response.rb#98
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:98
ActionDispatch::Response::CONTENT_TYPE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/response.rb#474
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:474
ActionDispatch::Response::CONTENT_TYPE_PARSER = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/http/response.rb#471
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
class ActionDispatch::Response::ContentTypeHeader < ::Struct
- # Returns the value of attribute charset
- #
- # @return [Object] the current value of charset
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def charset; end
- # Sets the attribute charset
- #
- # @param value [Object] the value to set the attribute charset to.
- # @return [Object] the newly set value
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def charset=(_); end
- # Returns the value of attribute mime_type
- #
- # @return [Object] the current value of mime_type
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def mime_type; end
- # Sets the attribute mime_type
- #
- # @param value [Object] the value to set the attribute mime_type to.
- # @return [Object] the newly set value
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def mime_type=(_); end
class << self
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def [](*_arg0); end
+
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def inspect; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def keyword_init?; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def members; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:471
def new(*_arg0); end
end
end
@@ -16712,79 +15621,71 @@ end
# will usually intercept the response and uses the path directly, so there is no
# reason to open the file.
#
-# source://actionpack//lib/action_dispatch/http/response.rb#389
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:389
class ActionDispatch::Response::FileBody
- # @return [FileBody] a new instance of FileBody
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#392
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:392
def initialize(path); end
- # source://actionpack//lib/action_dispatch/http/response.rb#396
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:396
def body; end
# Stream the file's contents if Rack::Sendfile isn't present.
#
- # source://actionpack//lib/action_dispatch/http/response.rb#401
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:401
def each; end
- # source://actionpack//lib/action_dispatch/http/response.rb#390
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:390
def to_path; end
end
# To be deprecated:
#
-# source://actionpack//lib/action_dispatch/http/response.rb#64
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:64
ActionDispatch::Response::Header = Rack::Headers
-# source://actionpack//lib/action_dispatch/http/response.rb#42
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:42
ActionDispatch::Response::Headers = Rack::Headers
-# source://actionpack//lib/action_dispatch/http/response.rb#100
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:100
ActionDispatch::Response::NO_CONTENT_CODES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/http/response.rb#472
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:472
ActionDispatch::Response::NullContentTypeHeader = T.let(T.unsafe(nil), ActionDispatch::Response::ContentTypeHeader)
-# source://actionpack//lib/action_dispatch/http/response.rb#530
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:530
class ActionDispatch::Response::RackBody
- # @return [RackBody] a new instance of RackBody
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#531
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:531
def initialize(response); end
- # source://actionpack//lib/action_dispatch/http/response.rb#543
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:543
def body; end
- # source://actionpack//lib/action_dispatch/http/response.rb#565
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:565
def call(*arguments, &block); end
- # source://actionpack//lib/action_dispatch/http/response.rb#537
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:537
def close; end
- # source://actionpack//lib/action_dispatch/http/response.rb#561
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:561
def each(*args, &block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#549
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:549
def respond_to?(method, include_private = T.unsafe(nil)); end
- # Returns the value of attribute response.
- #
- # source://actionpack//lib/action_dispatch/http/response.rb#535
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:535
def response; end
- # source://actionpack//lib/action_dispatch/http/response.rb#557
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:557
def to_ary; end
- # source://actionpack//lib/action_dispatch/http/response.rb#569
+ # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:569
def to_path; end
end
-# source://actionpack//lib/action_dispatch/http/response.rb#547
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:547
ActionDispatch::Response::RackBody::BODY_METHODS = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/response.rb#99
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:99
ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String)
# The routing module provides URL rewriting in native Ruby. It's a way to
@@ -17030,149 +15931,135 @@ ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String)
# Target a specific controller with `-c`, or grep routes using `-g`. Useful in
# conjunction with `--expanded` which displays routes vertically.
#
-# source://actionpack//lib/action_dispatch/routing.rb#248
+# pkg:gem/actionpack#lib/action_dispatch/routing.rb:248
module ActionDispatch::Routing
extend ::ActiveSupport::Autoload
end
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#155
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:155
module ActionDispatch::Routing::ConsoleFormatter; end
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#156
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:156
class ActionDispatch::Routing::ConsoleFormatter::Base
- # @return [Base] a new instance of Base
- #
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#157
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:157
def initialize; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#171
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:171
def header(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#174
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:174
def no_routes(routes, filter); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#161
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:161
def result; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#168
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:168
def section(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#165
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:165
def section_title(title); end
end
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#228
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:228
class ActionDispatch::Routing::ConsoleFormatter::Expanded < ::ActionDispatch::Routing::ConsoleFormatter::Base
- # @return [Expanded] a new instance of Expanded
- #
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#229
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:229
def initialize(width: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#238
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:238
def section(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#234
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:234
def section_title(title); end
private
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#243
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:243
def draw_expanded_section(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#258
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:258
def route_header(index:); end
end
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#192
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:192
class ActionDispatch::Routing::ConsoleFormatter::Sheet < ::ActionDispatch::Routing::ConsoleFormatter::Base
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#201
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:201
def header(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#197
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:197
def section(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#193
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:193
def section_title(title); end
private
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#215
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:215
def draw_header(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#206
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:206
def draw_section(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#221
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:221
def widths(routes); end
end
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#263
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:263
class ActionDispatch::Routing::ConsoleFormatter::Unused < ::ActionDispatch::Routing::ConsoleFormatter::Sheet
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#264
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:264
def header(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#272
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:272
def no_routes(routes, filter); end
end
-# source://actionpack//lib/action_dispatch/routing/endpoint.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:7
class ActionDispatch::Routing::Endpoint
- # source://actionpack//lib/action_dispatch/routing/endpoint.rb#11
+ # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:11
def app; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/endpoint.rb#8
+ # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:8
def dispatcher?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/endpoint.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:14
def engine?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/endpoint.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:10
def matches?(req); end
- # source://actionpack//lib/action_dispatch/routing/endpoint.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:12
def rack_app; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/endpoint.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:9
def redirect?; end
end
-# source://actionpack//lib/action_dispatch/routing.rb#260
+# pkg:gem/actionpack#lib/action_dispatch/routing.rb:260
ActionDispatch::Routing::HTTP_METHODS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#285
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:285
class ActionDispatch::Routing::HtmlTableFormatter
- # @return [HtmlTableFormatter] a new instance of HtmlTableFormatter
- #
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#286
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:286
def initialize(view); end
# The header is part of the HTML page, so we don't construct it here.
#
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#300
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:300
def header(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#303
- def no_routes(*_arg0); end
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:303
+ def no_routes(*); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#316
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:316
def result; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#295
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:295
def section(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#291
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:291
def section_title(title); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#14
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:14
class ActionDispatch::Routing::Mapper
include ::ActionDispatch::Routing::Mapper::Base
include ::ActionDispatch::Routing::Mapper::HttpHelpers
@@ -17182,57 +16069,51 @@ class ActionDispatch::Routing::Mapper
include ::ActionDispatch::Routing::Mapper::Resources
include ::ActionDispatch::Routing::Mapper::CustomUrls
- # @return [Mapper] a new instance of Mapper
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2378
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2378
def initialize(set); end
class << self
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#27
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:27
def backtrace_cleaner; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#27
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:27
def backtrace_cleaner=(val); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#412
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:412
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#397
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:397
def normalize_path(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:26
def route_source_locations; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:26
def route_source_locations=(val); end
end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#15
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:15
class ActionDispatch::Routing::Mapper::BacktraceCleaner < ::ActiveSupport::BacktraceCleaner
- # @return [BacktraceCleaner] a new instance of BacktraceCleaner
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#16
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:16
def initialize; end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#416
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:416
module ActionDispatch::Routing::Mapper::Base
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#640
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:643
def default_url_options(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#640
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:640
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#652
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:652
def has_named_route?(name); end
# Matches a URL pattern to one or more routes.
@@ -17294,13 +16175,10 @@ module ActionDispatch::Routing::Mapper::Base
# Any options not seen here are passed on as params with the URL.
#
# :controller
- # : The route's controller.
#
# :action
- # : The route's action.
#
# :param
- # : Overrides the default resource identifier `:id` (name of the dynamic
# segment used to generate the routes). You can access that segment from
# your controller using `params[<:param>]`. In your router:
#
@@ -17329,10 +16207,8 @@ module ActionDispatch::Routing::Mapper::Base
# user_path(user) # => "/users/Phusion"
#
# :path
- # : The path prefix for the routes.
#
# :module
- # : The namespace for :controller.
#
# match 'path', to: 'c#a', module: 'sekret', controller: 'posts', via: :get
# # => Sekret::PostsController
@@ -17340,17 +16216,14 @@ module ActionDispatch::Routing::Mapper::Base
# See `Scoping#namespace` for its scope equivalent.
#
# :as
- # : The name used to generate routing helpers.
#
# :via
- # : Allowed HTTP verb(s) for route.
#
# match 'path', to: 'c#a', via: :get
# match 'path', to: 'c#a', via: [:get, :post]
# match 'path', to: 'c#a', via: :all
#
# :to
- # : Points to a `Rack` endpoint. Can be an object that responds to `call` or a
# string representing a controller's action.
#
# match 'path', to: 'controller#action', via: :get
@@ -17358,7 +16231,6 @@ module ActionDispatch::Routing::Mapper::Base
# match 'path', to: RackApp, via: :get
#
# :on
- # : Shorthand for wrapping routes in a specific RESTful context. Valid values
# are `:member`, `:collection`, and `:new`. Only use within `resource(s)`
# block. For example:
#
@@ -17375,7 +16247,6 @@ module ActionDispatch::Routing::Mapper::Base
# end
#
# :constraints
- # : Constrains parameters with a hash of regular expressions or an object that
# responds to `matches?`. In addition, constraints other than path can also
# be specified with any object that responds to `===` (e.g. String, Array,
# Range, etc.).
@@ -17392,7 +16263,6 @@ module ActionDispatch::Routing::Mapper::Base
# See `Scoping#constraints` for more examples with its scope equivalent.
#
# :defaults
- # : Sets defaults for parameters
#
# # Sets params[:format] to 'jpg' by default
# match 'path', to: 'c#a', defaults: { format: 'jpg' }, via: :get
@@ -17400,17 +16270,15 @@ module ActionDispatch::Routing::Mapper::Base
# See `Scoping#defaults` for its scope equivalent.
#
# :anchor
- # : Boolean to anchor a `match` pattern. Default is true. When set to false,
# the pattern matches any request prefixed with the given path.
#
# # Matches any request starting with 'path'
# match 'path', to: 'c#a', anchor: false, via: :get
#
# :format
- # : 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#592
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:592
def match(path, options = T.unsafe(nil)); end
# Mount a Rack-based application to be used within the application.
@@ -17429,25 +16297,21 @@ module ActionDispatch::Routing::Mapper::Base
# This will generate the `exciting_path` and `exciting_url` helpers which can be
# used to navigate to this mounted app.
#
- # @raise [ArgumentError]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#610
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:610
def mount(app, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#645
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:645
def with_default_scope(scope, &block); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#661
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:661
def app_name(app, rails_app); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#670
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:670
def define_generate_prefix(app, name); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#657
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:657
def rails_app?(app); end
end
@@ -17472,7 +16336,7 @@ end
# concerns :commentable
# end
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2091
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2091
module ActionDispatch::Routing::Mapper::Concerns
# Define a routing concern using a name.
#
@@ -17529,7 +16393,7 @@ module ActionDispatch::Routing::Mapper::Concerns
# Any routing helpers can be used inside a concern. If using a callable, they're
# accessible from the Mapper that's passed to `call`.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2146
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2146
def concern(name, callable = T.unsafe(nil), &block); end
# Use the named concerns
@@ -17544,53 +16408,43 @@ module ActionDispatch::Routing::Mapper::Concerns
# concerns :commentable
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2162
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2162
def concerns(*args); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#29
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:29
class ActionDispatch::Routing::Mapper::Constraints < ::ActionDispatch::Routing::Endpoint
- # @return [Constraints] a new instance of Constraints
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:35
def initialize(app, constraints, strategy); end
- # Returns the value of attribute app.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:30
def app; end
- # Returns the value of attribute constraints.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:30
def constraints; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:50
def dispatcher?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:52
def matches?(req); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#59
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:59
def serve(req); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#66
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:66
def constraint_args(constraint, request); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#33
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:33
ActionDispatch::Routing::Mapper::Constraints::CALL = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#32
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:32
ActionDispatch::Routing::Mapper::Constraints::SERVE = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2174
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2174
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 of routing helpers,
@@ -17642,7 +16496,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#2224
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2224
def direct(name, options = T.unsafe(nil), &block); end
# Define custom polymorphic mappings of models to URLs. This alters the behavior
@@ -17690,11 +16544,11 @@ 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#2276
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2276
def resolve(*args, &block); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#705
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:705
module ActionDispatch::Routing::Mapper::HttpHelpers
# Define a route that recognizes HTTP CONNECT (and GET) requests. More
# specifically this recognizes HTTP/1 protocol upgrade requests and HTTP/2
@@ -17703,7 +16557,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# connect 'live', to: 'live#index'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#760
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:760
def connect(*args, &block); end
# Define a route that only recognizes HTTP DELETE. For supported arguments, see
@@ -17711,7 +16565,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# delete 'broccoli', to: 'food#broccoli'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#742
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:742
def delete(*args, &block); end
# Define a route that only recognizes HTTP GET. For supported arguments, see
@@ -17719,7 +16573,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# get 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#710
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:710
def get(*args, &block); end
# Define a route that only recognizes HTTP OPTIONS. For supported arguments, see
@@ -17727,7 +16581,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# options 'carrots', to: 'food#carrots'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#750
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:750
def options(*args, &block); end
# Define a route that only recognizes HTTP PATCH. For supported arguments, see
@@ -17735,7 +16589,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# patch 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#726
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:726
def patch(*args, &block); end
# Define a route that only recognizes HTTP POST. For supported arguments, see
@@ -17743,7 +16597,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# post 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#718
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:718
def post(*args, &block); end
# Define a route that only recognizes HTTP PUT. For supported arguments, see
@@ -17751,153 +16605,131 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# put 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#734
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:734
def put(*args, &block); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#765
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:765
def map_method(method, args, &block); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#83
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:83
class ActionDispatch::Routing::Mapper::Mapping
- # @return [Mapping] a new instance of Mapping
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#132
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:132
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#190
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:190
def application; end
- # Returns the value of attribute ast.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def ast; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#194
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:194
def conditions; end
- # Returns the value of attribute default_action.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def default_action; end
- # Returns the value of attribute default_controller.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def default_controller; end
- # Returns the value of attribute defaults.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def defaults; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#183
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:183
def make_route(name, precedence); end
- # Returns the value of attribute path.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def path; end
- # Returns the value of attribute required_defaults.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def required_defaults; end
- # Returns the value of attribute requirements.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def requirements; end
- # Returns the value of attribute scope_options.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def scope_options; end
- # Returns the value of attribute to.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#87
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87
def to; end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#334
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:334
def add_controller_module(controller, modyoule); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#295
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:295
def app(blocks); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#353
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:353
def blocks(callable_constraint); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#198
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:198
def build_conditions(current_conditions, request_class); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#307
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:307
def check_controller_and_action(path_params, controller, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#322
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:322
def check_part(name, part, path_params, hash); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#360
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:360
def constraints(options, path_params); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#374
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:374
def dispatcher(raise_on_name_error); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#213
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:213
def intern(object); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#291
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:291
def normalize_defaults(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#259
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:259
def normalize_format(formatted); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#217
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:217
def normalize_options!(options, path_params, modyoule); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#207
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:207
def request_method; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#378
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:378
def route_source_location; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#253
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:253
def split_constraints(path_params, constraints); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#346
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:346
def translate_controller(controller); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#275
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:275
def verify_regexp_requirements(requirements, wildcard_options); end
class << self
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#90
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:90
def build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:104
def check_via(via); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#116
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:116
def normalize_path(path, format); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#128
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:128
def optional_format?(path, format); end
end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#84
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:84
ActionDispatch::Routing::Mapper::Mapping::ANCHOR_CHARACTERS_REGEX = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#181
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:181
ActionDispatch::Routing::Mapper::Mapping::JOINED_SEPARATORS = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#85
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:85
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 for a
@@ -17938,7 +16770,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#1157
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1157
module ActionDispatch::Routing::Mapper::Resources
# To add a route to the collection:
#
@@ -17952,7 +16784,7 @@ module ActionDispatch::Routing::Mapper::Resources
# and route to the search action of `PhotosController`. It will also create the
# `search_photos_url` and `search_photos_path` route helpers.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1559
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1559
def collection(&block); end
# Loads another routes file with the given `name` located inside the
@@ -17978,7 +16810,7 @@ module ActionDispatch::Routing::Mapper::Resources
# 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#1668
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1668
def draw(name); end
# Matches a URL pattern to one or more routes. For more information, see
@@ -17987,7 +16819,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#1689
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1689
def match(path, *rest, &block); end
# To add a member route, add a member block into the resource block:
@@ -18002,18 +16834,18 @@ module ActionDispatch::Routing::Mapper::Resources
# action of `PhotosController`. It will also create the `preview_photo_url` and
# `preview_photo_path` helpers.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1580
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1580
def member(&block); end
# See ActionDispatch::Routing::Mapper::Scoping#namespace.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1627
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1627
def namespace(path, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1606
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1606
def nested(&block); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1596
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1596
def new(&block); end
# Sometimes, you have a resource that clients always look up without referencing
@@ -18046,7 +16878,7 @@ module ActionDispatch::Routing::Mapper::Resources
# ### Options
# Takes same options as [resources](rdoc-ref:#resources)
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1348
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1348
def resource(*resources, &block); end
# In Rails, a resourceful route provides a mapping between HTTP verbs and URLs
@@ -18086,7 +16918,6 @@ module ActionDispatch::Routing::Mapper::Resources
# Takes same options as [match](rdoc-ref:Base#match) as well as:
#
# :path_names
- # : Allows you to change the segment component of the `edit` and `new`
# actions. Actions not specified are not changed.
#
# resources :posts, path_names: { new: "brand_new" }
@@ -18094,7 +16925,6 @@ module ActionDispatch::Routing::Mapper::Resources
# The above example will now change /posts/new to /posts/brand_new.
#
# :path
- # : Allows you to change the path prefix for the resource.
#
# resources :posts, path: 'postings'
#
@@ -18102,19 +16932,16 @@ module ActionDispatch::Routing::Mapper::Resources
# /posts.
#
# :only
- # : Only generate routes for the given actions.
#
# resources :cows, only: :show
# resources :cows, only: [:show, :index]
#
# :except
- # : Generate all routes except for the given actions.
#
# resources :cows, except: :show
# resources :cows, except: [:show, :index]
#
# :shallow
- # : Generates shallow routes for nested resource(s). When placed on a parent
# resource, generates shallow routes for all nested resources.
#
# resources :posts, shallow: true do
@@ -18136,7 +16963,6 @@ module ActionDispatch::Routing::Mapper::Resources
# parameter.
#
# :shallow_path
- # : Prefixes nested shallow routes with the specified path.
#
# scope shallow_path: "sekret" do
# resources :posts do
@@ -18156,7 +16982,6 @@ module ActionDispatch::Routing::Mapper::Resources
# comment DELETE /sekret/comments/:id(.:format)
#
# :shallow_prefix
- # : Prefixes nested shallow route names with specified prefix.
#
# scope shallow_prefix: "sekret" do
# resources :posts do
@@ -18176,11 +17001,9 @@ module ActionDispatch::Routing::Mapper::Resources
# sekret_comment DELETE /comments/:id(.:format)
#
# :format
- # : Allows you to specify the default value for optional `format` segment or
# disable it by supplying `false`.
#
# :param
- # : Allows you to override the default param name of `:id` in the URL.
#
#
# ### Examples
@@ -18191,10 +17014,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#1518
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1518
def resources(*resources, &block); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1315
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1315
def resources_path_names(options); end
# You can specify what Rails should route "/" to with the root method:
@@ -18211,262 +17034,224 @@ module ActionDispatch::Routing::Mapper::Resources
# 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#1736
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1736
def root(path, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1635
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1635
def shallow; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1642
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1642
def shallow?; end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1800
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1800
def action_options?(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1897
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1897
def action_path(name); end
- # @raise [ArgumentError]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2038
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2038
def add_route(action, controller, options, _path, to, via, formatted, anchor, options_constraints); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1951
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1951
def api_only?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1814
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1814
def applicable_actions_for(method); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1795
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1795
def apply_action_options(method, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1761
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1761
def apply_common_behavior_for(method, resources, options, &block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1873
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1873
def canonical_action?(action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2023
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2023
def decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2008
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2008
def get_to_from_path(path, to, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1962
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1962
def map_match(paths, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2065
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2065
def match_root_route(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1913
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1913
def name_for_action(as, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1850
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1850
def nested_options; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1831
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1831
def nested_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1869
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1869
def param_constraint; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1865
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1865
def param_constraint?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1757
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1757
def parent_resource; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1887
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1887
def path_for_action(action, path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1955
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1955
def path_scope(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1901
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1901
def prefix_name_for_action(as, action); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1827
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1827
def resource_method_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1842
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1842
def resource_scope(resource, &block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1823
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1823
def resource_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1804
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1804
def scope_action_options(method); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1939
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1939
def set_member_mappings_for_resource; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1859
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1859
def shallow_nesting_depth; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1877
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1877
def shallow_scope; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2019
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2019
def using_match_shorthand?(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1835
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1835
def with_scope_level(kind); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1162
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1162
ActionDispatch::Routing::Mapper::Resources::CANONICAL_ACTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1161
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1161
ActionDispatch::Routing::Mapper::Resources::RESOURCE_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1164
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1164
class ActionDispatch::Routing::Mapper::Resources::Resource
- # @return [Resource] a new instance of Resource
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1177
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1177
def initialize(entities, api_only, shallow, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1204
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1204
def actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1212
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1212
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#1236
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1236
def collection_name; end
- # Returns the value of attribute path.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1175
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1244
def collection_scope; end
- # Returns the value of attribute controller.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1175
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1175
def controller; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1200
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1200
def default_actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1228
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1232
def member_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1246
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1246
def member_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1220
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1220
def name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1256
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1256
def nested_param; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1260
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1260
def nested_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1252
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1252
def new_scope(new_path); end
- # Returns the value of attribute param.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1175
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1175
def param; end
- # Returns the value of attribute path.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1175
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1175
def path; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1224
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1224
def plural; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1240
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1240
def resource_scope; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1264
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1264
def shallow?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1246
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1250
def shallow_scope; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1268
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1268
def singleton?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1228
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1228
def singular; end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1271
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1271
def invalid_only_except_options(options, valid_actions); end
class << self
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1166
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1166
def default_actions(api_only); end
end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1276
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1276
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#1287
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1287
def initialize(entities, api_only, shallow, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1302
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1307
def collection_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1294
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1294
def default_actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1302
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1306
def member_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1175
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1309
def member_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1175
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1310
def nested_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1298
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1298
def plural; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1312
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1312
def singleton?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1302
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1302
def singular; end
class << self
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1278
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1278
def default_actions(api_only); end
end
end
@@ -18474,90 +17259,72 @@ 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#1160
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1160
ActionDispatch::Routing::Mapper::Resources::VALID_ON_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2290
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2290
class ActionDispatch::Routing::Mapper::Scope
include ::Enumerable
- # @return [Scope] a new instance of Scope
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2300
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2300
def initialize(hash, parent = T.unsafe(nil), scope_level = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2359
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2359
def [](key); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2326
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2326
def action_name(name_prefix, prefix, collection_name, member_name); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2367
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2367
def each; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2363
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2363
def frame; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2306
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2306
def nested?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2351
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2351
def new(hash); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2355
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2355
def new_level(level); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2310
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2310
def null?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2347
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2347
def options; end
- # Returns the value of attribute parent.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2298
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2298
def parent; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2322
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2322
def resource_method_scope?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2343
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2343
def resource_scope?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2318
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2318
def resources?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2314
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2314
def root?; end
- # Returns the value of attribute scope_level.
- #
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2298
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2298
def scope_level; end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2291
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2291
ActionDispatch::Routing::Mapper::Scope::OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2296
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2296
ActionDispatch::Routing::Mapper::Scope::RESOURCE_METHOD_SCOPES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2295
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2295
ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2375
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2375
ActionDispatch::Routing::Mapper::Scope::ROOT = T.let(T.unsafe(nil), ActionDispatch::Routing::Mapper::Scope)
# You may wish to organize groups of controllers under a namespace. Most
@@ -18614,7 +17381,7 @@ ActionDispatch::Routing::Mapper::Scope::ROOT = T.let(T.unsafe(nil), ActionDispat
# PATCH/PUT /admin/posts/1
# DELETE /admin/posts/1
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#826
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:826
module ActionDispatch::Routing::Mapper::Scoping
# ### Parameter Restriction
# Allows you to constrain the nested routes based on a set of rules. For
@@ -18675,7 +17442,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :iphones
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1034
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1034
def constraints(constraints = T.unsafe(nil), &block); end
# Scopes routes to a specific controller
@@ -18684,7 +17451,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# match "bacon", action: :bacon, via: :get
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#916
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:916
def controller(controller); end
# Allows you to set default parameters for a route, such as this:
@@ -18695,7 +17462,7 @@ module ActionDispatch::Routing::Mapper::Scoping
#
# Using this, the `:id` parameter here will default to 'home'.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1045
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1045
def defaults(defaults = T.unsafe(nil)); end
# Scopes routes to a specific namespace. For example:
@@ -18737,7 +17504,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :posts
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#961
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:961
def namespace(path, options = T.unsafe(nil), &block); end
# Scopes a set of routes to the given default options.
@@ -18771,95 +17538,93 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :posts
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#857
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:857
def scope(*args); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1077
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1077
def merge_action_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1061
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1061
def merge_as_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1101
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1101
def merge_blocks_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1093
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1093
def merge_constraints_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1073
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1073
def merge_controller_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1097
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1097
def merge_defaults_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1085
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1085
def merge_format_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1069
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1069
def merge_module_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1107
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1107
def merge_options_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1089
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1089
def merge_path_names_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1053
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1053
def merge_path_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1057
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1057
def merge_shallow_path_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1065
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1065
def merge_shallow_prefix_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1111
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1111
def merge_shallow_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1115
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1115
def merge_to_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1081
+ # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1081
def merge_via_scope(parent, child); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#909
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:909
ActionDispatch::Routing::Mapper::Scoping::POISON = T.let(T.unsafe(nil), Object)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#24
+# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:24
ActionDispatch::Routing::Mapper::URL_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/redirection.rb#114
+# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:114
class ActionDispatch::Routing::OptionRedirect < ::ActionDispatch::Routing::Redirect
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:143
def inspect; end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:115
def options; end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#117
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:117
def path(params, request); end
end
-# source://actionpack//lib/action_dispatch/routing/redirection.rb#89
+# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:89
class ActionDispatch::Routing::PathRedirect < ::ActionDispatch::Routing::Redirect
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#104
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:104
def inspect; end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#92
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:92
def path(params, request); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#109
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:109
def interpolation_required?(string, params); end
end
-# source://actionpack//lib/action_dispatch/routing/redirection.rb#90
+# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:90
ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp)
# # Action Dispatch Routing PolymorphicRoutes
@@ -18921,23 +17686,23 @@ ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp)
# polymorphic_url([blog, @post]) # calls blog.post_path(@post)
# form_with(model: [blog, @post]) # => "/blog/posts/1"
#
-# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#66
+# pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:66
module ActionDispatch::Routing::PolymorphicRoutes
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#162
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156
def edit_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#158
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156
def edit_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#162
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156
def new_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#158
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156
def new_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end
# Returns the path component of a URL for the given record.
#
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#133
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:133
def polymorphic_path(record_or_hash_or_array, options = T.unsafe(nil)); end
# Constructs a call to a named RESTful route for the given record and returns
@@ -18983,149 +17748,133 @@ module ActionDispatch::Routing::PolymorphicRoutes
# # the class of a record will also map to the collection
# polymorphic_url(Comment) # same as comments_url()
#
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#110
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:110
def polymorphic_url(record_or_hash_or_array, options = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#177
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:177
def polymorphic_mapping(record); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#173
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:173
def polymorphic_path_for_action(action, record_or_hash, options); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#169
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:169
def polymorphic_url_for_action(action, record_or_hash, options); end
end
-# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#185
+# pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:185
class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder
- # @return [HelperMethodBuilder] a new instance of HelperMethodBuilder
- #
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#248
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:248
def initialize(key_strategy, prefix, suffix); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#262
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:262
def handle_class(klass); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#266
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:266
def handle_class_call(target, klass); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#293
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:293
def handle_list(list); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#270
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:270
def handle_model(record); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#284
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:284
def handle_model_call(target, record); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#254
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:254
def handle_string(record); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#258
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:258
def handle_string_call(target, str); end
- # Returns the value of attribute prefix.
- #
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#246
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:246
def prefix; end
- # Returns the value of attribute suffix.
- #
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#246
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:246
def suffix; end
private
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#347
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:347
def get_method_for_class(klass); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#352
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:352
def get_method_for_string(str); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#339
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:339
def polymorphic_mapping(target, record); end
class << self
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#196
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:196
def build(action, type); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#188
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:188
def get(action, type); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#194
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:194
def path; end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#210
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:210
def plural(prefix, suffix); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#214
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:214
def polymorphic_method(recipient, record_or_hash_or_array, action, type, options); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#206
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:206
def singular(prefix, suffix); end
- # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#193
+ # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:193
def url; end
end
end
-# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#186
+# pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:186
ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder::CACHE = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/routing/redirection.rb#12
+# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:12
class ActionDispatch::Routing::Redirect < ::ActionDispatch::Routing::Endpoint
- # @return [Redirect] a new instance of Redirect
- #
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:15
def initialize(status, block); end
- # Returns the value of attribute block.
- #
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:13
def block; end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:35
def build_response(req); end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:22
def call(env); end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:67
def inspect; end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#63
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:63
def path(params, request); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#20
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:20
def redirect?; end
- # Returns the value of attribute status.
- #
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:13
def status; end
private
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#76
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:76
def escape(params); end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#80
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:80
def escape_fragment(params); end
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#84
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:84
def escape_path(params); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:72
def relative_path?(path); end
end
-# source://actionpack//lib/action_dispatch/routing/redirection.rb#148
+# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:148
module ActionDispatch::Routing::Redirection
# Redirect any path to another path:
#
@@ -19182,133 +17931,97 @@ module ActionDispatch::Routing::Redirection
#
# get 'accounts/:name' => redirect(SubdomainRedirector.new('api'))
#
- # @raise [ArgumentError]
- #
- # source://actionpack//lib/action_dispatch/routing/redirection.rb#204
+ # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:204
def redirect(*args, &block); end
end
# The RouteSet contains a collection of Route instances, representing the routes
# typically defined in `config/routes.rb`.
#
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#17
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:17
class ActionDispatch::Routing::RouteSet
- # @return [RouteSet] a new instance of RouteSet
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#388
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:388
def initialize(config = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#676
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:676
def add_polymorphic_mapping(klass, options, &block); end
- # @raise [ArgumentError]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#645
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:645
def add_route(mapping, name); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#680
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:680
def add_url_helper(name, options, &block); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#419
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:419
def api_only?; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#466
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:466
def append(&block); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#905
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:905
def call(env); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#490
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:490
def clear!; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#440
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:440
def default_env; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#423
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:423
def default_scope; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#427
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:427
def default_scope=(new_default_scope); end
- # Returns the value of attribute default_url_options.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#356
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:356
def default_url_options; end
- # Sets the attribute default_url_options
- #
- # @param value the value to set the attribute default_url_options to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#356
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:356
def default_url_options=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#511
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:511
def define_mounted_helper(name, script_namer = T.unsafe(nil)); end
- # Returns the value of attribute disable_clear_and_finalize.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#355
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:355
def disable_clear_and_finalize; end
- # Sets the attribute disable_clear_and_finalize
- #
- # @param value the value to set the attribute disable_clear_and_finalize to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#355
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:355
def disable_clear_and_finalize=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#459
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:459
def draw(&block); end
- # Returns the value of attribute draw_paths.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#356
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:356
def draw_paths; end
- # Sets the attribute draw_paths
- #
- # @param value the value to set the attribute draw_paths to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#356
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:356
def draw_paths=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#408
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:408
def eager_load!; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#641
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:641
def empty?; end
- # Returns the value of attribute env_key.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#357
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:357
def env_key; end
# Generate the path indicated by the arguments, and return an array of the keys
# that were not used to generate it.
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#820
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:820
def extra_keys(options, recall = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#484
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:484
def finalize!; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#848
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:848
def find_script_name(options); end
- # Returns the value of attribute formatter.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def formatter; end
- # Sets the attribute formatter
- #
- # @param value the value to set the attribute formatter to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def formatter=(_arg0); end
# Returns a Route matching the given requirements, or `nil` if none are found.
@@ -19323,273 +18036,221 @@ class ActionDispatch::Routing::RouteSet
#
# Rails.application.routes.from_requirements(controller: "posts", action: "show")
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#29
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:29
def from_requirements(requirements); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#824
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:824
def generate_extras(options, recall = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#538
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:538
def generate_url_helpers(supports_path); end
# Since the router holds references to many parts of the system like engines,
# controllers and the application itself, inspecting the route set can actually
# be really slow, therefore we default alias inspect to to_s.
+ #
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:37
def inspect; end
# Contains all the mounted helpers across different engines and the `main_app`
# helper for the application. You can include this in your classes if you want
# to access routes for other engines.
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#507
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:507
def mounted_helpers; end
- # Returns the value of attribute named_routes.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def named_routes; end
- # Sets the attribute named_routes
- #
- # @param value the value to set the attribute named_routes to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def named_routes=(_arg0); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#844
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:844
def optimize_routes_generation?; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#852
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:852
def path_for(options, route_name = T.unsafe(nil), reserved = T.unsafe(nil)); end
- # Returns the value of attribute polymorphic_mappings.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#357
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:357
def polymorphic_mappings; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#470
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:470
def prepend(&block); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#911
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:911
def recognize_path(path, environment = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#926
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:926
def recognize_path_with_request(req, path, extras, raise_on_missing: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#415
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:415
def relative_url_root; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#431
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:431
def request_class; end
- # Returns the value of attribute resources_path_names.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#355
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:355
def resources_path_names; end
- # Sets the attribute resources_path_names
- #
- # @param value the value to set the attribute resources_path_names to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#355
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:355
def resources_path_names=(_arg0); end
- # Returns the value of attribute router.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def router; end
- # Sets the attribute router
- #
- # @param value the value to set the attribute router to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def router=(_arg0); end
- # Returns the value of attribute set.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:359
def routes; end
- # Returns the value of attribute set.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def set; end
- # Sets the attribute set
- #
- # @param value the value to set the attribute set to.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#354
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354
def set=(_arg0); end
# The `options` argument must be a hash whose keys are **symbols**.
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#857
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:857
def url_for(options, route_name = T.unsafe(nil), url_strategy = T.unsafe(nil), method_name = T.unsafe(nil), reserved = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#530
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:530
def url_helpers(supports_path = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#474
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:474
def eval_block(block); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#835
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:835
def generate(route_name, options, recall = T.unsafe(nil), method_name = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#435
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:435
def make_request(env); end
class << self
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#361
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:361
def default_resources_path_names; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#365
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:365
def new_with_config(config); end
end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#384
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
class ActionDispatch::Routing::RouteSet::Config < ::Struct
- # Returns the value of attribute api_only
- #
- # @return [Object] the current value of api_only
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def api_only; end
- # Sets the attribute api_only
- #
- # @param value [Object] the value to set the attribute api_only to.
- # @return [Object] the newly set value
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def api_only=(_); end
- # Returns the value of attribute default_scope
- #
- # @return [Object] the current value of default_scope
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def default_scope; end
- # Sets the attribute default_scope
- #
- # @param value [Object] the value to set the attribute default_scope to.
- # @return [Object] the newly set value
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def default_scope=(_); end
- # Returns the value of attribute relative_url_root
- #
- # @return [Object] the current value of relative_url_root
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def relative_url_root; end
- # Sets the attribute relative_url_root
- #
- # @param value [Object] the value to set the attribute relative_url_root to.
- # @return [Object] the newly set value
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def relative_url_root=(_); end
class << self
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def [](*_arg0); end
+
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def inspect; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def keyword_init?; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def members; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384
def new(*_arg0); end
end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#684
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:684
class ActionDispatch::Routing::RouteSet::CustomUrlHelper
- # @return [CustomUrlHelper] a new instance of CustomUrlHelper
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#687
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:687
def initialize(name, defaults, &block); end
- # Returns the value of attribute block.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#685
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:685
def block; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#693
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:693
def call(t, args, only_path = T.unsafe(nil)); end
- # Returns the value of attribute defaults.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#685
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:685
def defaults; end
- # Returns the value of attribute name.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#685
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:685
def name; end
private
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#705
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:705
def eval_block(t, args, options); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#709
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:709
def merge_defaults(options); end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#386
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:386
ActionDispatch::Routing::RouteSet::DEFAULT_CONFIG = T.let(T.unsafe(nil), ActionDispatch::Routing::RouteSet::Config)
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#39
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:39
class ActionDispatch::Routing::RouteSet::Dispatcher < ::ActionDispatch::Routing::Endpoint
- # @return [Dispatcher] a new instance of Dispatcher
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:40
def initialize(raise_on_name_error); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:44
def dispatcher?; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#46
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:46
def serve(req); end
private
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:60
def controller(req); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#66
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:66
def dispatch(controller, action, req, res); end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#714
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:714
class ActionDispatch::Routing::RouteSet::Generator
- # @return [Generator] a new instance of Generator
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#717
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:717
def initialize(named_route, options, recall, set); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#729
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:729
def controller; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#733
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:733
def current_controller; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#803
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:803
def different_controller?; end
# Generates a path from routes, returns a RouteWithParams or MissingRoute.
# MissingRoute will raise ActionController::UrlGenerationError.
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#799
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:799
def generate; end
- # Returns the value of attribute named_route.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#715
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:715
def named_route; end
# Remove leading slashes from controllers
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#787
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:787
def normalize_controller!; end
# This pulls :controller, :action, and :id out of the recall. The recall key is
@@ -19597,48 +18258,40 @@ class ActionDispatch::Routing::RouteSet::Generator
# identical. If any of :controller, :action or :id is not found, don't pull any
# more keys from the recall.
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#769
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:769
def normalize_controller_action_id!; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#745
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:745
def normalize_options!; end
- # Returns the value of attribute options.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#715
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:715
def options; end
- # Returns the value of attribute recall.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#715
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:715
def recall; end
- # Returns the value of attribute set.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#715
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:715
def set; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#737
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:737
def use_recall_for(key); end
# if the current controller is "foo/bar/baz" and controller: "baz/bat" is
# specified, the controller becomes "foo/baz/bat"
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#777
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:777
def use_relative_controller!; end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#809
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:809
def named_route_exists?; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#813
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:813
def segment_keys; end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#499
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:499
module ActionDispatch::Routing::RouteSet::MountedHelpers
extend ::ActiveSupport::Concern
include GeneratedInstanceMethods
@@ -19663,69 +18316,59 @@ end
# maintains an anonymous module that can be used to install helpers for the
# named routes.
#
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#84
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:84
class ActionDispatch::Routing::RouteSet::NamedRouteCollection
include ::Enumerable
- # @return [NamedRouteCollection] a new instance of NamedRouteCollection
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#89
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:89
def initialize; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#139
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:149
def [](name); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#120
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:148
def []=(name, route); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#120
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:120
def add(name, route); end
# Given a `name`, defines name_path and name_url helpers. Used by 'direct',
# 'resolve', and 'polymorphic' route helpers.
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#167
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:167
def add_url_helper(name, defaults, &block); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#106
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:150
def clear; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#106
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:106
def clear!; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#152
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:152
def each(&block); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#139
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:139
def get(name); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:102
def helper_names; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:143
def key?(name); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#161
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:161
def length; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#157
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:157
def names; end
- # Returns the value of attribute path_helpers_module.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:86
def path_helpers_module; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#97
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:97
def route_defined?(name); end
- # Returns the value of attribute url_helpers_module.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:86
def url_helpers_module; end
private
@@ -19743,141 +18386,117 @@ class ActionDispatch::Routing::RouteSet::NamedRouteCollection
#
# foo_url(bar, baz, bang, sort_by: 'baz')
#
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#335
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:335
def define_url_helper(mod, name, helper, url_strategy); end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:86
def routes; end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#190
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:190
class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper
- # @return [UrlHelper] a new instance of UrlHelper
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#273
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:273
def initialize(route, options, route_name); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#280
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:280
def call(t, method_name, args, inner_options, url_strategy); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#292
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:292
def handle_positional_args(controller_options, inner_options, args, result, path_params); end
- # Returns the value of attribute route_name.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#203
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:203
def route_name; end
class << self
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#191
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:191
def create(route, options, route_name); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#199
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:199
def optimize_helper?(route); end
end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#205
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:205
class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper::OptimizedUrlHelper < ::ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper
- # @return [OptimizedUrlHelper] a new instance of OptimizedUrlHelper
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#208
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:208
def initialize(route, options, route_name); end
- # Returns the value of attribute arg_size.
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#206
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:206
def arg_size; end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#214
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:214
def call(t, method_name, args, inner_options, url_strategy); end
private
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#245
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:245
def optimize_routes_generation?(t); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#237
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:237
def optimized_helper(args); end
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#249
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:249
def parameterize_args(args); end
- # @raise [ActionController::UrlGenerationError]
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#260
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:260
def raise_generation_error(args); end
end
# strategy for building URLs to send to the client
#
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#351
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:351
ActionDispatch::Routing::RouteSet::PATH = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#840
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:840
ActionDispatch::Routing::RouteSet::RESERVED_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#71
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:71
class ActionDispatch::Routing::RouteSet::StaticDispatcher < ::ActionDispatch::Routing::RouteSet::Dispatcher
- # @return [StaticDispatcher] a new instance of StaticDispatcher
- #
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:72
def initialize(controller_class); end
private
- # source://actionpack//lib/action_dispatch/routing/route_set.rb#78
+ # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:78
def controller(_); end
end
-# source://actionpack//lib/action_dispatch/routing/route_set.rb#352
+# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352
ActionDispatch::Routing::RouteSet::UNKNOWN = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:10
class ActionDispatch::Routing::RouteWrapper < ::SimpleDelegator
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#56
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:56
def action; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:28
def constraints; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:52
def controller; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:17
def endpoint; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#64
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:64
def engine?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:60
def internal?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#11
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:11
def matches_filter?(filter, value); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:40
def name; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#36
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:36
def path; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#32
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:32
def rack_app; end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:44
def reqs; end
end
@@ -19885,80 +18504,62 @@ end
# executes `bin/rails routes` or looks at the RoutingError page. People should
# not use this class.
#
-# source://actionpack//lib/action_dispatch/routing/inspector.rb#73
+# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:73
class ActionDispatch::Routing::RoutesInspector
- # @return [RoutesInspector] a new instance of RoutesInspector
- #
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#74
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:74
def initialize(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#79
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:79
def format(formatter, filter = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#143
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:143
def collect_engine_routes(route); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#129
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:129
def collect_routes(routes); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:118
def filter_routes(filter); end
- # source://actionpack//lib/action_dispatch/routing/inspector.rb#99
+ # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:99
def normalize_filter(filter); end
end
-# source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:9
class ActionDispatch::Routing::RoutesProxy
include ::ActionDispatch::Routing::PolymorphicRoutes
include ::ActionDispatch::Routing::UrlFor
- # @return [RoutesProxy] a new instance of RoutesProxy
- #
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:15
def initialize(routes, scope, helpers, script_namer = T.unsafe(nil)); end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:13
def _routes; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def default_url_options=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def default_url_options?; end
- # Returns the value of attribute routes.
- #
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12
def routes; end
- # Sets the attribute routes
- #
- # @param value the value to set the attribute routes to.
- #
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12
def routes=(_arg0); end
- # Returns the value of attribute scope.
- #
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12
def scope; end
- # Sets the attribute scope
- #
- # @param value the value to set the attribute scope to.
- #
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#12
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12
def scope=(_arg0); end
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:21
def url_options; end
private
@@ -19968,38 +18569,36 @@ class ActionDispatch::Routing::RoutesProxy
# specific request, but use our script name resolver for the mount point
# dependent part.
#
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#55
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:55
def merge_script_names(previous_script_name, new_script_name); end
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#32
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:32
def method_missing(method, *args); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:28
def respond_to_missing?(method, _); end
class << self
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def default_url_options; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def default_url_options=(value); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#100
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def default_url_options?; end
private
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def __class_attr_default_url_options; end
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10
def __class_attr_default_url_options=(new_value); end
end
end
-# source://actionpack//lib/action_dispatch/routing.rb#259
+# pkg:gem/actionpack#lib/action_dispatch/routing.rb:259
ActionDispatch::Routing::SEPARATORS = T.let(T.unsafe(nil), Array)
# # Action Dispatch Routing UrlFor
@@ -20087,7 +18686,7 @@ ActionDispatch::Routing::SEPARATORS = T.let(T.unsafe(nil), Array)
#
# User.find(1).base_uri # => "/users/1"
#
-# source://actionpack//lib/action_dispatch/routing/url_for.rb#92
+# pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:92
module ActionDispatch::Routing::UrlFor
include ::ActionDispatch::Routing::PolymorphicRoutes
extend ::ActiveSupport::Concern
@@ -20095,10 +18694,10 @@ module ActionDispatch::Routing::UrlFor
mixes_in_class_methods GeneratedClassMethods
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#111
- def initialize(*_arg0, **_arg1, &_arg2); end
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:111
+ def initialize(*, **, &); end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#182
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:182
def full_url_for(options = T.unsafe(nil)); end
# Allows calling direct or regular named route.
@@ -20119,7 +18718,7 @@ module ActionDispatch::Routing::UrlFor
# threadable_path(threadable) # => "/buckets/1"
# threadable_url(threadable) # => "http://example.com/buckets/1"
#
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#222
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:222
def route_for(name, *args); end
# Generate a URL based on the options provided, `default_url_options`, and the
@@ -20179,28 +18778,26 @@ module ActionDispatch::Routing::UrlFor
# used by `url_for` can always be overwritten like shown on the last `url_for`
# calls.
#
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#178
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:178
def url_for(options = T.unsafe(nil)); end
# Hook overridden in controller to add request information with
# `default_url_options`. Application logic should not go into url_options.
#
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#118
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:118
def url_options; end
protected
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#227
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:227
def optimize_routes_generation?; end
private
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#239
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:239
def _routes_context; end
- # source://actionpack//lib/action_dispatch/routing/url_for.rb#232
+ # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:232
def _with_routes(routes); end
module GeneratedClassMethods
@@ -20276,129 +18873,126 @@ end
# header to tell browsers to expire HSTS immediately. Setting `hsts: false`
# is a shortcut for `hsts: { expires: 0 }`.
#
-# source://actionpack//lib/action_dispatch/middleware/ssl.rb#66
+# pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:66
class ActionDispatch::SSL
- # @return [SSL] a new instance of SSL
- #
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#76
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:76
def initialize(app, redirect: T.unsafe(nil), hsts: T.unsafe(nil), secure_cookies: T.unsafe(nil), ssl_default_redirect_status: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#88
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:88
def call(env); end
private
# https://tools.ietf.org/html/rfc6797#section-6.1
#
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#122
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:122
def build_hsts_header(hsts); end
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#129
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:129
def flag_cookies_as_secure!(headers); end
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#170
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:170
def https_location_for(request); end
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:107
def normalize_hsts_options(options); end
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#153
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:153
def redirect_to_https(request); end
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#160
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:160
def redirection_status(request); end
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#103
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:103
def set_hsts_header!(headers); end
class << self
- # source://actionpack//lib/action_dispatch/middleware/ssl.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:72
def default_hsts_options; end
end
end
# :stopdoc: Default to 2 years as recommended on hstspreload.org.
#
-# source://actionpack//lib/action_dispatch/middleware/ssl.rb#68
+# pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:68
ActionDispatch::SSL::HSTS_EXPIRES_IN = T.let(T.unsafe(nil), Integer)
-# source://actionpack//lib/action_dispatch/middleware/ssl.rb#70
+# pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:70
ActionDispatch::SSL::PERMANENT_REDIRECT_REQUEST_METHODS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:8
class ActionDispatch::ServerTiming
- # @return [ServerTiming] a new instance of ServerTiming
- #
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:52
def initialize(app); end
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#58
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:58
def call(env); end
class << self
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:48
def unsubscribe; end
end
end
-# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:9
class ActionDispatch::ServerTiming::Subscriber
include ::Singleton::SingletonInstanceMethods
include ::Singleton
extend ::Singleton::SingletonClassMethods
- # @return [Subscriber] a new instance of Subscriber
- #
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:13
def initialize; end
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:17
def call(event); end
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:23
def collect_events; end
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#32
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:32
def ensure_subscribed; end
- # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:40
def unsubscribe; end
class << self
private
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:10
def allocate; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:10
def new(*_arg0); end
end
end
-# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#11
+# pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:11
ActionDispatch::ServerTiming::Subscriber::KEY = T.let(T.unsafe(nil), Symbol)
-# source://actionpack//lib/action_dispatch.rb#106
+# pkg:gem/actionpack#lib/action_dispatch.rb:106
module ActionDispatch::Session
class << self
- # source://actionpack//lib/action_dispatch.rb#113
+ # pkg:gem/actionpack#lib/action_dispatch.rb:113
def resolve_store(session_store); end
end
end
-# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#97
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:102
class ActionDispatch::Session::AbstractSecureStore < ::Rack::Session::Abstract::PersistedSecure
include ::ActionDispatch::Session::Compatibility
include ::ActionDispatch::Session::StaleSessionCheck
include ::ActionDispatch::Session::SessionObject
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#102
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:107
def generate_sid; end
private
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#107
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:112
def set_cookie(request, response, cookie); end
end
-# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#86
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:91
class ActionDispatch::Session::AbstractStore < ::Rack::Session::Abstract::Persisted
include ::ActionDispatch::Session::Compatibility
include ::ActionDispatch::Session::StaleSessionCheck
@@ -20406,7 +19000,7 @@ class ActionDispatch::Session::AbstractStore < ::Rack::Session::Abstract::Persis
private
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#92
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:97
def set_cookie(request, response, cookie); end
end
@@ -20423,56 +19017,72 @@ end
# automatically expiring. By default, the `:expires_in` option of the cache
# is used.
#
-# source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#22
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:22
class ActionDispatch::Session::CacheStore < ::ActionDispatch::Session::AbstractSecureStore
- # @return [CacheStore] a new instance of CacheStore
- #
- # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:25
def initialize(app, options = T.unsafe(nil)); end
# Remove a session from the cache.
#
- # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#49
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:54
def delete_session(env, sid, options); end
# Get a session from the cache.
#
- # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#30
- def find_session(env, sid); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:32
+ def find_session(req, sid); end
# Set a session in the cache.
#
- # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#38
- def write_session(env, sid, session, options); end
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:42
+ def write_session(req, sid, session, options); end
private
# Turn the session id into a cache key.
#
- # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#57
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:62
def cache_key(id); end
- # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#61
+ # Writing back a session that another request deleted, such as on logout,
+ # would restore it.
+ #
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:72
+ def destroyed_since_loaded?(req, sid); end
+
+ # The request-local cache still holds the entry this request loaded, so
+ # a lookup through it cannot see a delete made by another request.
+ #
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:80
+ def exist_in_backend?(key); end
+
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:66
def get_session_with_fallback(sid); end
end
-# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#22
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:23
+ActionDispatch::Session::CacheStore::LOADED_SESSION_ID = T.let(T.unsafe(nil), String)
+
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:22
module ActionDispatch::Session::Compatibility
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:25
def initialize(app, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:33
def generate_sid; end
private
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#35
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:40
def initialize_sid; end
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:45
def make_request(env); end
end
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:23
+ActionDispatch::Session::Compatibility::DEFAULT_SAME_SITE = T.let(T.unsafe(nil), Proc)
+
# # Action Dispatch Session CookieStore
#
# This cookie-based session store is the Rails default. It is dramatically
@@ -20515,56 +19125,47 @@ end
# would set the session cookie to expire automatically 14 days after creation.
# Other useful options include `:key`, `:secure`, `:httponly`, and `:same_site`.
#
-# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#52
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:52
class ActionDispatch::Session::CookieStore < ::ActionDispatch::Session::AbstractSecureStore
- # @return [CookieStore] a new instance of CookieStore
- #
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#64
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:62
def initialize(app, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#70
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:67
def delete_session(req, session_id, options); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:74
def load_session(req); end
private
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#124
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:121
def cookie_jar(request); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#86
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:83
def extract_session_id(req); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#120
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:117
def get_cookie(req); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#105
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:102
def persistent_session_id!(data, sid = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#116
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:113
def set_cookie(request, session_id, cookie); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#93
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:90
def unpacked_cookie_data(req); end
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#111
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:108
def write_session(req, sid, session_data, options); end
end
-# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#62
-ActionDispatch::Session::CookieStore::DEFAULT_SAME_SITE = T.let(T.unsafe(nil), Proc)
-
-# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#53
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:53
class ActionDispatch::Session::CookieStore::SessionId
- # @return [SessionId] a new instance of SessionId
- #
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#56
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:56
def initialize(session_id, cookie_value = T.unsafe(nil)); end
- # Returns the value of attribute cookie_value.
- #
- # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#54
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:54
def cookie_value; end
end
@@ -20576,49 +19177,43 @@ end
# * `expire_after` - The length of time a session will be stored before
# automatically expiring.
#
-# source://actionpack//lib/action_dispatch/middleware/session/mem_cache_store.rb#23
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/mem_cache_store.rb:23
class ActionDispatch::Session::MemCacheStore < ::Rack::Session::Dalli
include ::ActionDispatch::Session::Compatibility
include ::ActionDispatch::Session::StaleSessionCheck
include ::ActionDispatch::Session::SessionObject
- # @return [MemCacheStore] a new instance of MemCacheStore
- #
- # source://actionpack//lib/action_dispatch/middleware/session/mem_cache_store.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/mem_cache_store.rb:28
def initialize(app, options = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#71
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:76
module ActionDispatch::Session::SessionObject
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#72
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:77
def commit_session(req, res); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#81
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:86
def loaded_session?(session); end
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#77
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:82
def prepare_session(req); end
end
-# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#13
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:13
class ActionDispatch::Session::SessionRestoreError < ::StandardError
- # @return [SessionRestoreError] a new instance of SessionRestoreError
- #
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:14
def initialize; end
end
-# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#45
+# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:50
module ActionDispatch::Session::StaleSessionCheck
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:55
def extract_session_id(env); end
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#46
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:51
def load_session(env); end
- # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#54
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:59
def stale_session_check!; end
end
@@ -20640,25 +19235,23 @@ end
# correct status code. If any exception happens inside the exceptions app, this
# middleware catches the exceptions and returns a failsafe response.
#
-# source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#25
+# pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:25
class ActionDispatch::ShowExceptions
- # @return [ShowExceptions] a new instance of ShowExceptions
- #
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:26
def initialize(app, exceptions_app); end
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#31
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:31
def call(env); end
private
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#67
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:67
def fallback_to_html_format_if_invalid_mime_type(request); end
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#83
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:83
def pass_response(status); end
- # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:48
def render_exception(request, wrapper); end
end
@@ -20675,68 +19268,62 @@ end
#
# Only files in the root directory are served; path traversal is denied.
#
-# source://actionpack//lib/action_dispatch/middleware/static.rb#20
+# pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:20
class ActionDispatch::Static
- # @return [Static] a new instance of Static
- #
- # source://actionpack//lib/action_dispatch/middleware/static.rb#21
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:21
def initialize(app, path, index: T.unsafe(nil), headers: T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/middleware/static.rb#26
+ # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:26
def call(env); end
end
-# source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#4
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:4
module ActionDispatch::TestHelpers; end
-# source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#5
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:5
module ActionDispatch::TestHelpers::PageDumpHelper
# Saves the content of response body to a file and tries to open it in your browser.
# Launchy must be present in your Gemfile for the page to open automatically.
#
- # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#10
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:10
def save_and_open_page(path = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:30
def html_dump_default_path; end
- # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:23
def open_file(path); end
- # @raise [InvalidResponse]
- #
- # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#15
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:15
def save_page(path = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#6
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:6
class ActionDispatch::TestHelpers::PageDumpHelper::InvalidResponse < ::StandardError; end
-# source://actionpack//lib/action_dispatch/testing/test_process.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:9
module ActionDispatch::TestProcess
include ::ActionDispatch::TestProcess::FixtureFile
- # @raise [NoMethodError]
- #
- # source://actionpack//lib/action_dispatch/testing/test_process.rb#34
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:34
def assigns(key = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/testing/test_process.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:48
def cookies; end
- # source://actionpack//lib/action_dispatch/testing/test_process.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:44
def flash; end
- # source://actionpack//lib/action_dispatch/testing/test_process.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:52
def redirect_to_url; end
- # source://actionpack//lib/action_dispatch/testing/test_process.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:40
def session; end
end
-# source://actionpack//lib/action_dispatch/testing/test_process.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:10
module ActionDispatch::TestProcess::FixtureFile
# Shortcut for
# `Rack::Test::UploadedFile.new(File.join(ActionDispatch::IntegrationTest.file_fixture_path, path), type)`:
@@ -20750,74 +19337,62 @@ module ActionDispatch::TestProcess::FixtureFile
#
# post :change_avatar, params: { avatar: file_fixture_upload('david.png', 'image/png', :binary) }
#
- # source://actionpack//lib/action_dispatch/testing/test_process.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:22
def file_fixture_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end
- # Shortcut for
- # `Rack::Test::UploadedFile.new(File.join(ActionDispatch::IntegrationTest.file_fixture_path, path), type)`:
- #
- # post :change_avatar, params: { avatar: file_fixture_upload('david.png', 'image/png') }
- #
- # Default fixture files location is `test/fixtures/files`.
- #
- # To upload binary files on Windows, pass `:binary` as the last parameter. This
- # will not affect other platforms:
- #
- # post :change_avatar, params: { avatar: file_fixture_upload('david.png', 'image/png', :binary) }
- #
- # source://actionpack//lib/action_dispatch/testing/test_process.rb#22
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:29
def fixture_file_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end
end
-# source://actionpack//lib/action_dispatch/testing/test_request.rb#9
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:9
class ActionDispatch::TestRequest < ::ActionDispatch::Request
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#68
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:68
def accept=(mime_types); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#48
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:48
def action=(action_name); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#32
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:32
def host=(host); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#52
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:52
def if_modified_since=(last_modified); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#56
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:56
def if_none_match=(etag); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#44
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:44
def path=(path); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#36
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:36
def port=(number); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:60
def remote_addr=(addr); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#28
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:28
def request_method=(method); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#40
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:40
def request_uri=(uri); end
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#64
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:64
def user_agent=(user_agent); end
class << self
# Create a new test request with default `env` values.
#
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#17
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:17
def create(env = T.unsafe(nil)); end
private
- # source://actionpack//lib/action_dispatch/testing/test_request.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:23
def default_env; end
end
end
-# source://actionpack//lib/action_dispatch/testing/test_request.rb#10
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:10
ActionDispatch::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash)
# Integration test methods such as Integration::RequestHelpers#get and
@@ -20826,7 +19401,7 @@ ActionDispatch::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash)
#
# See Response for more information on controller response objects.
#
-# source://actionpack//lib/action_dispatch/testing/test_response.rb#13
+# pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:13
class ActionDispatch::TestResponse < ::ActionDispatch::Response
# Returns a parsed body depending on the response MIME type. When a parser
# corresponding to the MIME type is not found, it returns the raw body.
@@ -20861,51 +19436,51 @@ class ActionDispatch::TestResponse < ::ActionDispatch::Response
# assert_equal 42, id
# assert_equal "Title", title
#
- # source://actionpack//lib/action_dispatch/testing/test_response.rb#50
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:50
def parsed_body; end
- # source://actionpack//lib/action_dispatch/testing/test_response.rb#54
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:54
def response_parser; end
class << self
- # source://actionpack//lib/action_dispatch/testing/test_response.rb#14
+ # pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:14
def from_response(response); end
end
end
# :markup: markdown
#
-# source://actionpack//lib/action_pack/gem_version.rb#5
+# pkg:gem/actionpack#lib/action_pack/gem_version.rb:5
module ActionPack
class << self
# Returns the currently loaded version of Action Pack as a `Gem::Version`.
#
- # source://actionpack//lib/action_pack/gem_version.rb#7
+ # pkg:gem/actionpack#lib/action_pack/gem_version.rb:7
def gem_version; end
# Returns the currently loaded version of Action Pack as a `Gem::Version`.
#
- # source://actionpack//lib/action_pack/version.rb#9
+ # pkg:gem/actionpack#lib/action_pack/version.rb:9
def version; end
end
end
-# source://actionpack//lib/action_pack/gem_version.rb#11
+# pkg:gem/actionpack#lib/action_pack/gem_version.rb:11
module ActionPack::VERSION; end
-# source://actionpack//lib/action_pack/gem_version.rb#12
+# pkg:gem/actionpack#lib/action_pack/gem_version.rb:12
ActionPack::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
-# source://actionpack//lib/action_pack/gem_version.rb#13
+# pkg:gem/actionpack#lib/action_pack/gem_version.rb:13
ActionPack::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
-# source://actionpack//lib/action_pack/gem_version.rb#15
+# pkg:gem/actionpack#lib/action_pack/gem_version.rb:15
ActionPack::VERSION::PRE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_pack/gem_version.rb#17
+# pkg:gem/actionpack#lib/action_pack/gem_version.rb:17
ActionPack::VERSION::STRING = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_pack/gem_version.rb#14
+# pkg:gem/actionpack#lib/action_pack/gem_version.rb:14
ActionPack::VERSION::TINY = T.let(T.unsafe(nil), Integer)
module ActionView::RoutingUrlFor
@@ -20913,21 +19488,19 @@ module ActionView::RoutingUrlFor
include ::ActionDispatch::Routing::UrlFor
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#7
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:7
module Mime
class << self
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#51
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:51
def [](type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#64
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:64
def fetch(type, &block); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#56
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:56
def symbols; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#60
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:60
def valid_symbols?(symbols); end
end
end
@@ -20936,111 +19509,99 @@ end
# concrete types. It's a wildcard match that we use for `respond_to` negotiation
# internals.
#
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#363
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:363
Mime::ALL = T.let(T.unsafe(nil), Mime::AllType)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#349
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:349
class Mime::AllType < ::Mime::Type
include ::Singleton::SingletonInstanceMethods
include ::Singleton
extend ::Singleton::SingletonClassMethods
- # @return [AllType] a new instance of AllType
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#352
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:352
def initialize; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#356
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:356
def all?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#357
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:357
def html?; end
class << self
private
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:350
def allocate; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:350
def new(*_arg0); end
end
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#47
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:47
Mime::EXTENSION_LOOKUP = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#48
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:48
Mime::LOOKUP = T.let(T.unsafe(nil), Hash)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#8
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:8
class Mime::Mimes
include ::Enumerable
- # @return [Mimes] a new instance of Mimes
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#13
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:13
def initialize; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#23
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:23
def <<(type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#30
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:30
def delete_if; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#19
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:19
def each(&block); end
- # Returns the value of attribute symbols.
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#9
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:9
def symbols; end
- # :nodoc
- #
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#41
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:41
def valid_symbols?(symbols); end
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#365
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:365
class Mime::NullType
include ::Singleton::SingletonInstanceMethods
include ::Singleton
extend ::Singleton::SingletonClassMethods
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#368
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:368
def nil?; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#376
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:376
def ref; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#372
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:372
def to_s; end
private
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#383
- def method_missing(method, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:383
+ def method_missing(method, *, **, &); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#379
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:379
def respond_to_missing?(method, _); end
class << self
private
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:366
def allocate; end
+
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:366
def new(*_arg0); end
end
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#46
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:46
Mime::SET = T.let(T.unsafe(nil), Mime::Mimes)
# Encapsulates the notion of a MIME type. Can be used at render time, for
@@ -21058,100 +19619,80 @@ Mime::SET = T.let(T.unsafe(nil), Mime::Mimes)
# end
# end
#
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#84
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:84
class Mime::Type
- # @return [Type] a new instance of Type
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#264
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:264
def initialize(string, symbol = T.unsafe(nil), synonyms = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#297
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:297
def ==(mime_type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#289
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:289
def ===(list); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#311
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:311
def =~(mime_type); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#327
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:327
def all?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#304
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:304
def eql?(other); end
- # Returns the value of attribute hash.
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#255
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:255
def hash; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#323
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:323
def html?; end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#317
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:317
def match?(mime_type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#285
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:285
def ref; end
- # Returns the value of attribute symbol.
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#85
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:85
def symbol; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#273
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:273
def to_s; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#277
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:277
def to_str; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#281
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:281
def to_sym; end
protected
- # Returns the value of attribute string.
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#330
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:330
def string; end
- # Returns the value of attribute synonyms.
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#330
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:330
def synonyms; end
private
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#336
- def method_missing(method, *_arg1, **_arg2, &_arg3); end
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:336
+ def method_missing(method, *, **, &); end
- # @return [Boolean]
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#344
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:344
def respond_to_missing?(method, include_private = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#334
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:334
def to_a; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#333
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:333
def to_ary; end
class << self
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#167
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:167
def lookup(string); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#175
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:175
def lookup_by_extension(extension); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#200
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:200
def parse(accept_header); end
# For an input of `'text'`, returns `[Mime[:json], Mime[:xml], Mime[:ics],
@@ -21160,23 +19701,23 @@ 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#236
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:236
def parse_data_with_trailing_star(type); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#227
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:227
def parse_trailing_star(accept_header); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#186
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:186
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#182
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:182
def register_alias(string, symbol, extension_synonyms = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#163
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:163
def register_callback(&block); end
# This method is opposite of register method.
@@ -21185,75 +19726,71 @@ class Mime::Type
#
# Mime::Type.unregister(:mobile)
#
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#245
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:245
def unregister(symbol); end
end
end
# A simple helper class used in parsing the accept header.
#
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#90
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:90
class Mime::Type::AcceptItem
- # @return [AcceptItem] a new instance of AcceptItem
- #
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#94
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:94
def initialize(index, name, q = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#101
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:101
def <=>(item); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91
def index; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91
def index=(_arg0); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91
def name; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91
def name=(_arg0); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91
def q; end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91
def q=(_arg0); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#91
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:92
def to_s; end
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#108
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:108
class Mime::Type::AcceptList
class << self
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#151
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:151
def find_item_by_name(array, name); end
- # source://actionpack//lib/action_dispatch/http/mime_type.rb#109
+ # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:109
def sort!(list); end
end
end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#262
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:262
class Mime::Type::InvalidMimeType < ::StandardError; end
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#257
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:257
Mime::Type::MIME_NAME = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#259
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:259
Mime::Type::MIME_PARAMETER = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#258
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:258
Mime::Type::MIME_PARAMETER_VALUE = T.let(T.unsafe(nil), String)
-# source://actionpack//lib/action_dispatch/http/mime_type.rb#260
+# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:260
Mime::Type::MIME_REGEXP = T.let(T.unsafe(nil), Regexp)
-# source://actionpack//lib/action_dispatch.rb#35
-module Rack
- class << self
- # source://rack/3.2.7/lib/rack/version.rb#14
- def release; end
- end
-end
+# pkg:gem/actionpack#lib/action_dispatch.rb:35
+module Rack; end
+
+# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:42
+class Rack::Headers < ::Hash; end
diff --git a/sorbet/rbi/gems/actiontext@8.0.5.1.rbi b/sorbet/rbi/gems/actiontext@8.0.5.1.rbi
deleted file mode 100644
index 9d1a3b7a..00000000
--- a/sorbet/rbi/gems/actiontext@8.0.5.1.rbi
+++ /dev/null
@@ -1,1897 +0,0 @@
-# typed: true
-
-# DO NOT EDIT MANUALLY
-# This is an autogenerated file for types exported from the `actiontext` gem.
-# Please instead update this file by running `bin/tapioca gem actiontext`.
-
-
-# :markup: markdown
-# :include: ../README.md
-#
-# source://actiontext//lib/action_text/gem_version.rb#5
-module ActionText
- extend ::ActiveSupport::Autoload
-
- class << self
- # source://actiontext//lib/action_text/deprecator.rb#6
- def deprecator; end
-
- # Returns the currently loaded version of Action Text as a `Gem::Version`.
- #
- # source://actiontext//lib/action_text/gem_version.rb#7
- def gem_version; end
-
- # source://actiontext//lib/action_text.rb#47
- def html_document_class; end
-
- # source://actiontext//lib/action_text.rb#53
- def html_document_fragment_class; end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#413
- def railtie_helpers_paths; end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#396
- def railtie_namespace; end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#417
- def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#402
- def table_name_prefix; end
-
- # source://railties/8.0.5.1/lib/rails/engine.rb#409
- def use_relative_model_naming?; end
-
- # Returns the currently loaded version of Action Text as a `Gem::Version`.
- #
- # source://actiontext//lib/action_text/version.rb#9
- def version; end
- end
-end
-
-# # Action Text Attachable
-#
-# Include this module to make a record attachable to an ActionText::Content.
-#
-# class Person < ApplicationRecord
-# include ActionText::Attachable
-# end
-#
-# person = Person.create! name: "Javan"
-# html = %Q()
-# content = ActionText::Content.new(html)
-# content.attachables # => [person]
-#
-# source://actiontext//lib/action_text/attachable.rb#18
-module ActionText::Attachable
- extend ::ActiveSupport::Concern
-
- mixes_in_class_methods ::ActionText::Attachable::ClassMethods
-
- # source://actiontext//lib/action_text/attachable.rb#83
- def attachable_content_type; end
-
- # source://actiontext//lib/action_text/attachable.rb#87
- def attachable_filename; end
-
- # source://actiontext//lib/action_text/attachable.rb#91
- def attachable_filesize; end
-
- # source://actiontext//lib/action_text/attachable.rb#95
- def attachable_metadata; end
-
- # Returns the Signed Global ID for the attachable. The purpose of the ID is set
- # to 'attachable' so it can't be reused for other purposes.
- #
- # source://actiontext//lib/action_text/attachable.rb#79
- def attachable_sgid; end
-
- # @return [Boolean]
- #
- # source://actiontext//lib/action_text/attachable.rb#99
- def previewable_attachable?; end
-
- # Returns the path to the partial that is used for rendering the attachable.
- # Defaults to `to_partial_path`.
- #
- # Override to render a different partial:
- #
- # class User < ApplicationRecord
- # def to_attachable_partial_path
- # "users/attachable"
- # end
- # end
- #
- # source://actiontext//lib/action_text/attachable.rb#127
- def to_attachable_partial_path; end
-
- # source://actiontext//lib/action_text/attachable.rb#131
- def to_rich_text_attributes(attributes = T.unsafe(nil)); end
-
- # Returns the path to the partial that is used for rendering the attachable in
- # Trix. Defaults to `to_partial_path`.
- #
- # Override to render a different partial:
- #
- # class User < ApplicationRecord
- # def to_trix_content_attachment_partial_path
- # "users/trix_content_attachment"
- # end
- # end
- #
- # source://actiontext//lib/action_text/attachable.rb#113
- def to_trix_content_attachment_partial_path; end
-
- private
-
- # source://actiontext//lib/action_text/attachable.rb#144
- def attribute_names_for_serialization; end
-
- # source://actiontext//lib/action_text/attachable.rb#148
- def read_attribute_for_serialization(key); end
-
- class << self
- # source://actiontext//lib/action_text/attachable.rb#43
- def from_attachable_sgid(sgid, options = T.unsafe(nil)); end
-
- # Extracts the `ActionText::Attachable` from the attachment HTML node:
- #
- # person = Person.create! name: "Javan"
- # html = %Q()
- # fragment = ActionText::Fragment.wrap(html)
- # attachment_node = fragment.find_all(ActionText::Attachment.tag_name).first
- # ActionText::Attachable.from_node(attachment_node) # => person
- #
- # source://actiontext//lib/action_text/attachable.rb#31
- def from_node(node); end
-
- private
-
- # source://actiontext//lib/action_text/attachable.rb#50
- def attachable_from_sgid(sgid); end
- end
-end
-
-# source://actiontext//lib/action_text/attachable.rb#0
-module ActionText::Attachable::ClassMethods
- # source://actiontext//lib/action_text/attachable.rb#58
- def from_attachable_sgid(sgid); end
-
- # source://actiontext//lib/action_text/attachable.rb#72
- def to_missing_attachable_partial_path; end
-end
-
-# source://actiontext//lib/action_text/attachable.rb#21
-ActionText::Attachable::LOCATOR_NAME = T.let(T.unsafe(nil), String)
-
-# source://actiontext//lib/action_text.rb#30
-module ActionText::Attachables
- extend ::ActiveSupport::Autoload
-end
-
-# source://actiontext//lib/action_text/attachables/content_attachment.rb#7
-class ActionText::Attachables::ContentAttachment
- include ::ActiveModel::Validations
- include ::ActiveSupport::Callbacks
- include ::ActiveModel::Validations::HelperMethods
- include ::ActiveModel::Conversion
- include ::ActiveModel::ForbiddenAttributesProtection
- include ::ActiveModel::AttributeAssignment
- include ::ActiveModel::API
- include ::ActiveModel::Access
- include ::ActiveModel::Model
- extend ::ActiveModel::Validations::ClassMethods
- extend ::ActiveModel::Naming
- extend ::ActiveModel::Callbacks
- extend ::ActiveSupport::Callbacks::ClassMethods
- extend ::ActiveSupport::DescendantsTracker
- extend ::ActiveModel::Translation
- extend ::ActiveModel::Validations::HelperMethods
- extend ::ActiveModel::Conversion::ClassMethods
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
- def _run_validate_callbacks(&block); end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
- def _validate_callbacks; end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators; end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators?; end
-
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#20
- def attachable_plain_text_representation(caption); end
-
- # Returns the value of attribute content.
- #
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
- def content; end
-
- # Sets the attribute content
- #
- # @param value the value to set the attribute content to.
- #
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
- def content=(_arg0); end
-
- # Returns the value of attribute content_type.
- #
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
- def content_type; end
-
- # Sets the attribute content_type
- #
- # @param value the value to set the attribute content_type to.
- #
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
- def content_type=(_arg0); end
-
- # source://activemodel/8.0.5.1/lib/active_model/naming.rb#255
- def model_name(&_arg0); end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter=(_arg0); end
-
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#24
- def to_html; end
-
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#32
- def to_partial_path; end
-
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#28
- def to_s; end
-
- private
-
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#37
- def content_instance; end
-
- class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks=(value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
- def _validate_callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
- def _validate_callbacks=(value); end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators; end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators=(value); end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators?; end
-
- # source://actiontext//lib/action_text/attachables/content_attachment.rb#10
- def from_node(node); end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter; end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter=(value); end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter?; end
-
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__validators; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__validators=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_param_delimiter; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_param_delimiter=(new_value); end
- end
-end
-
-# source://actiontext//lib/action_text/attachables/missing_attachable.rb#7
-class ActionText::Attachables::MissingAttachable
- extend ::ActiveModel::Naming
-
- # @return [MissingAttachable] a new instance of MissingAttachable
- #
- # source://actiontext//lib/action_text/attachables/missing_attachable.rb#12
- def initialize(sgid); end
-
- # source://actiontext//lib/action_text/attachables/missing_attachable.rb#24
- def model; end
-
- # source://activemodel/8.0.5.1/lib/active_model/naming.rb#255
- def model_name(&_arg0); end
-
- # source://actiontext//lib/action_text/attachables/missing_attachable.rb#16
- def to_partial_path; end
-end
-
-# source://actiontext//lib/action_text/attachables/missing_attachable.rb#10
-ActionText::Attachables::MissingAttachable::DEFAULT_PARTIAL_PATH = T.let(T.unsafe(nil), String)
-
-# source://actiontext//lib/action_text/attachables/remote_image.rb#7
-class ActionText::Attachables::RemoteImage
- extend ::ActiveModel::Naming
-
- # @return [RemoteImage] a new instance of RemoteImage
- #
- # source://actiontext//lib/action_text/attachables/remote_image.rb#32
- def initialize(attributes = T.unsafe(nil)); end
-
- # source://actiontext//lib/action_text/attachables/remote_image.rb#39
- def attachable_plain_text_representation(caption); end
-
- # Returns the value of attribute content_type.
- #
- # source://actiontext//lib/action_text/attachables/remote_image.rb#30
- def content_type; end
-
- # Returns the value of attribute height.
- #
- # source://actiontext//lib/action_text/attachables/remote_image.rb#30
- def height; end
-
- # source://activemodel/8.0.5.1/lib/active_model/naming.rb#255
- def model_name(&_arg0); end
-
- # source://actiontext//lib/action_text/attachables/remote_image.rb#43
- def to_partial_path; end
-
- # Returns the value of attribute url.
- #
- # source://actiontext//lib/action_text/attachables/remote_image.rb#30
- def url; end
-
- # Returns the value of attribute width.
- #
- # source://actiontext//lib/action_text/attachables/remote_image.rb#30
- def width; end
-
- class << self
- # source://actiontext//lib/action_text/attachables/remote_image.rb#11
- def from_node(node); end
-
- private
-
- # source://actiontext//lib/action_text/attachables/remote_image.rb#22
- def attributes_from_node(node); end
-
- # @return [Boolean]
- #
- # source://actiontext//lib/action_text/attachables/remote_image.rb#18
- def content_type_is_image?(content_type); end
- end
-end
-
-# # Action Text Attachment
-#
-# Attachments serialize attachables to HTML or plain text.
-#
-# class Person < ApplicationRecord
-# include ActionText::Attachable
-# end
-#
-# attachable = Person.create! name: "Javan"
-# attachment = ActionText::Attachment.from_attachable(attachable)
-# attachment.to_html # => " " "[racecar.jpg]"
- #
- # Use the `caption` when set:
- #
- # attachment = ActionText::Attachment.from_attachable(attachable, caption: "Vroom vroom")
- # attachment.to_plain_text # => "[Vroom vroom]"
- #
- # The presentation can be overridden by implementing the
- # `attachable_plain_text_representation` method:
- #
- # class Person < ApplicationRecord
- # include ActionText::Attachable
- #
- # def attachable_plain_text_representation
- # "[#{name}]"
- # end
- # end
- #
- # attachable = Person.create! name: "Javan"
- # attachment = ActionText::Attachment.from_attachable(attachable)
- # attachment.to_plain_text # => "[Javan]"
- #
- # source://actiontext//lib/action_text/attachment.rb#110
- def to_plain_text; end
-
- # source://actiontext//lib/action_text/attachment.rb#127
- def to_s; end
-
- # source://actiontext//lib/action_text/attachment.rb#81
- def with_full_attributes; end
-
- private
-
- # source://actiontext//lib/action_text/attachment.rb#140
- def attachable_attributes; end
-
- # source://actiontext//lib/action_text/attachment.rb#136
- def node_attributes; end
-
- # source://activesupport/8.0.5.1/lib/active_support/delegation.rb#161
- def respond_to_missing?(name, include_private = T.unsafe(nil)); end
-
- # source://actiontext//lib/action_text/attachment.rb#144
- def sgid_attributes; end
-
- class << self
- # source://actiontext//lib/action_text/attachment.rb#27
- def fragment_by_canonicalizing_attachments(content); end
-
- # source://actiontext//lib/action_text/attachment.rb#39
- def from_attachable(attachable, attributes = T.unsafe(nil)); end
-
- # source://actiontext//lib/action_text/attachment.rb#35
- def from_attachables(attachables); end
-
- # source://actiontext//lib/action_text/attachment.rb#45
- def from_attributes(attributes, attachable = T.unsafe(nil)); end
-
- # source://actiontext//lib/action_text/attachment.rb#31
- def from_node(node, attachable = T.unsafe(nil)); end
-
- # source://actiontext//lib/action_text/attachment.rb#22
- def tag_name; end
-
- # source://actiontext//lib/action_text/attachment.rb#22
- def tag_name=(val); end
-
- private
-
- # source://actiontext//lib/action_text/attachment.rb#52
- def node_from_attributes(attributes); end
-
- # source://actiontext//lib/action_text/attachment.rb#58
- def process_attributes(attributes); end
- end
-end
-
-# source://actiontext//lib/action_text/attachment.rb#24
-ActionText::Attachment::ATTRIBUTES = T.let(T.unsafe(nil), Array)
-
-# source://actiontext//lib/action_text/attachment_gallery.rb#6
-class ActionText::AttachmentGallery
- include ::ActiveModel::Validations
- include ::ActiveSupport::Callbacks
- include ::ActiveModel::Validations::HelperMethods
- include ::ActiveModel::Conversion
- include ::ActiveModel::ForbiddenAttributesProtection
- include ::ActiveModel::AttributeAssignment
- include ::ActiveModel::API
- include ::ActiveModel::Access
- include ::ActiveModel::Model
- extend ::ActiveModel::Validations::ClassMethods
- extend ::ActiveModel::Naming
- extend ::ActiveModel::Callbacks
- extend ::ActiveSupport::Callbacks::ClassMethods
- extend ::ActiveSupport::DescendantsTracker
- extend ::ActiveModel::Translation
- extend ::ActiveModel::Validations::HelperMethods
- extend ::ActiveModel::Conversion::ClassMethods
-
- # @return [AttachmentGallery] a new instance of AttachmentGallery
- #
- # source://actiontext//lib/action_text/attachment_gallery.rb#54
- def initialize(node); end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#912
- def _run_validate_callbacks(&block); end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#924
- def _validate_callbacks; end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators; end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators?; end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#58
- def attachments; end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#68
- def inspect; end
-
- # source://activemodel/8.0.5.1/lib/active_model/naming.rb#255
- def model_name(&_arg0); end
-
- # Returns the value of attribute node.
- #
- # source://actiontext//lib/action_text/attachment_gallery.rb#52
- def node; end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter=(_arg0); end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#64
- def size; end
-
- class << self
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#69
- def __callbacks=(value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#916
- def _validate_callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/callbacks.rb#920
- def _validate_callbacks=(value); end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators; end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators=(value); end
-
- # source://activemodel/8.0.5.1/lib/active_model/validations.rb#50
- def _validators?; end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#43
- def attachment_selector; end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#27
- def find_attachment_gallery_nodes(content); end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#13
- def fragment_by_canonicalizing_attachment_galleries(content); end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#19
- def fragment_by_replacing_attachment_gallery_nodes(content); end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#39
- def from_node(node); end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter; end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter=(value); end
-
- # source://activemodel/8.0.5.1/lib/active_model/conversion.rb#32
- def param_delimiter?; end
-
- # source://actiontext//lib/action_text/attachment_gallery.rb#47
- def selector; end
-
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__validators; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__validators=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_param_delimiter; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_param_delimiter=(new_value); end
- end
-end
-
-# source://actiontext//lib/action_text/attachment_gallery.rb#9
-ActionText::AttachmentGallery::TAG_NAME = T.let(T.unsafe(nil), String)
-
-# source://actiontext//lib/action_text.rb#38
-module ActionText::Attachments
- extend ::ActiveSupport::Autoload
-end
-
-# source://actiontext//lib/action_text/attachments/caching.rb#7
-module ActionText::Attachments::Caching
- # source://actiontext//lib/action_text/attachments/caching.rb#8
- def cache_key(*args); end
-
- private
-
- # source://actiontext//lib/action_text/attachments/caching.rb#13
- def cache_digest; end
-end
-
-# source://actiontext//lib/action_text/attachments/minification.rb#7
-module ActionText::Attachments::Minification
- extend ::ActiveSupport::Concern
-
- mixes_in_class_methods ::ActionText::Attachments::Minification::ClassMethods
-end
-
-# source://actiontext//lib/action_text/attachments/minification.rb#0
-module ActionText::Attachments::Minification::ClassMethods
- # source://actiontext//lib/action_text/attachments/minification.rb#11
- def fragment_by_minifying_attachments(content); end
-end
-
-# source://actiontext//lib/action_text/attachments/trix_conversion.rb#9
-module ActionText::Attachments::TrixConversion
- extend ::ActiveSupport::Concern
-
- mixes_in_class_methods ::ActionText::Attachments::TrixConversion::ClassMethods
-
- # source://actiontext//lib/action_text/attachments/trix_conversion.rb#24
- def to_trix_attachment(content = T.unsafe(nil)); end
-
- private
-
- # source://actiontext//lib/action_text/attachments/trix_conversion.rb#31
- def trix_attachment_content; end
-end
-
-# source://actiontext//lib/action_text/attachments/trix_conversion.rb#0
-module ActionText::Attachments::TrixConversion::ClassMethods
- # source://actiontext//lib/action_text/attachments/trix_conversion.rb#13
- def fragment_by_converting_trix_attachments(content); end
-
- # source://actiontext//lib/action_text/attachments/trix_conversion.rb#19
- def from_trix_attachment(trix_attachment); end
-end
-
-# source://actiontext//lib/action_text/attribute.rb#6
-module ActionText::Attribute
- extend ::ActiveSupport::Concern
-
- mixes_in_class_methods ::ActionText::Attribute::ClassMethods
-end
-
-# source://actiontext//lib/action_text/attribute.rb#0
-module ActionText::Attribute::ClassMethods
- # source://actiontext//lib/action_text/attribute.rb#53
- def has_rich_text(name, encrypted: T.unsafe(nil), strict_loading: T.unsafe(nil), store_if_blank: T.unsafe(nil)); end
-
- # source://actiontext//lib/action_text/attribute.rb#100
- def rich_text_association_names; end
-
- # source://actiontext//lib/action_text/attribute.rb#95
- def with_all_rich_text; end
-end
-
-# # Action Text Content
-#
-# The `ActionText::Content` class wraps an HTML fragment to add support for
-# parsing, rendering and serialization. It can be used to extract links and
-# attachments, convert the fragment to plain text, or serialize the fragment to
-# the database.
-#
-# The ActionText::RichText record serializes the `body` attribute as
-# `ActionText::Content`.
-#
-# class Message < ActiveRecord::Base
-# has_rich_text :content
-# end
-#
-# message = Message.create!(content: "
")
- # content.to_plain_text # => "safeunsafe"
- #
- # NOTE: that the returned string is not HTML safe and should not be rendered in
- # browsers.
- #
- # content = ActionText::Content.new("<script>alert()</script>")
- # content.to_plain_text # => ""
- #
- # source://actiontext//lib/action_text/content.rb#130
- def to_plain_text; end
-
- # source://actiontext//lib/action_text/content.rb#142
- def to_rendered_html_with_layout; end
-
- # Safely transforms Content into an HTML String.
- #
- # content = ActionText::Content.new(content: "
Funny times!
")
- # content.to_s # => "
Funny times!
"
- #
- # content = ActionText::Content.new("
safe
")
- # content.to_s # => "
safeunsafe
"
- #
- # source://actiontext//lib/action_text/content.rb#157
- def to_s; end
-
- # source://actiontext//lib/action_text/content.rb#134
- def to_trix_html; end
-
- private
-
- # source://actiontext//lib/action_text/content.rb#186
- def attachment_for_node(node, with_full_attributes: T.unsafe(nil)); end
-
- # source://actiontext//lib/action_text/content.rb#191
- def attachment_gallery_for_node(node); end
-
- # source://actiontext//lib/action_text/content.rb#182
- def attachment_gallery_nodes; end
-
- # source://actiontext//lib/action_text/content.rb#178
- def attachment_nodes; end
-
- class << self
- # source://actiontext//lib/action_text/content.rb#33
- def fragment_by_canonicalizing_content(content); end
-
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
- def renderer; end
-
- # source://activesupport/8.0.5.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
- def renderer=(obj); end
- end
-end
-
-module ActionText::ContentHelper
- def allowed_attributes; end
- def allowed_attributes=(val); end
- def allowed_tags; end
- def allowed_tags=(val); end
- def render_action_text_attachment(attachment, locals: T.unsafe(nil)); end
- def render_action_text_attachments(content); end
- def render_action_text_content(content); end
- def sanitize_action_text_content(content); end
- def sanitize_content_attachment(content_attachment); end
- def sanitizer; end
- def sanitizer=(val); end
- def sanitizer_allowed_attributes; end
- def sanitizer_allowed_tags; end
- def scrubber; end
- def scrubber=(val); end
-
- class << self
- def allowed_attributes; end
- def allowed_attributes=(val); end
- def allowed_tags; end
- def allowed_tags=(val); end
- def sanitizer; end
- def sanitizer=(val); end
- def scrubber; end
- def scrubber=(val); end
- end
-end
-
-class ActionText::EncryptedRichText < ::ActionText::RichText
- include ::ActionText::EncryptedRichText::GeneratedAttributeMethods
- include ::ActionText::EncryptedRichText::GeneratedAssociationMethods
-
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr__validators; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr__validators=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_defined_enums; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_defined_enums=(new_value); end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr_encrypted_attributes; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr_encrypted_attributes=(new_value); end
- end
-end
-
-module ActionText::EncryptedRichText::GeneratedAssociationMethods; end
-module ActionText::EncryptedRichText::GeneratedAttributeMethods; end
-
-# source://actiontext//lib/action_text/encryption.rb#6
-module ActionText::Encryption
- # source://actiontext//lib/action_text/encryption.rb#14
- def decrypt; end
-
- # source://actiontext//lib/action_text/encryption.rb#7
- def encrypt; end
-
- private
-
- # source://actiontext//lib/action_text/encryption.rb#26
- def decrypt_rich_texts; end
-
- # source://actiontext//lib/action_text/encryption.rb#22
- def encrypt_rich_texts; end
-
- # source://actiontext//lib/action_text/encryption.rb#34
- def encryptable_rich_texts; end
-
- # @return [Boolean]
- #
- # source://actiontext//lib/action_text/encryption.rb#30
- def has_encrypted_rich_texts?; end
-end
-
-# source://actiontext//lib/action_text/engine.rb#13
-class ActionText::Engine < ::Rails::Engine
- class << self
- private
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#15
- def __class_attr___callbacks; end
-
- # source://activesupport/8.0.5.1/lib/active_support/class_attribute.rb#17
- def __class_attr___callbacks=(new_value); end
- end
-end
-
-# # Action Text FixtureSet
-#
-# Fixtures are a way of organizing data that you want to test against; in short,
-# sample data.
-#
-# To learn more about fixtures, read the ActiveRecord::FixtureSet documentation.
-#
-# ### YAML
-#
-# Like other Active Record-backed models, ActionText::RichText records inherit
-# from ActiveRecord::Base instances and can therefore be populated by fixtures.
-#
-# Consider an `Article` class:
-#
-# class Article < ApplicationRecord
-# has_rich_text :content
-# end
-#
-# To declare fixture data for the related `content`, first declare fixture data
-# for `Article` instances in `test/fixtures/articles.yml`:
-#
-# first:
-# title: An Article
-#
-# Then declare the ActionText::RichText fixture data in
-# `test/fixtures/action_text/rich_texts.yml`, making sure to declare each
-# entry's `record:` key as a polymorphic relationship:
-#
-# first:
-# record: first (Article)
-# name: content
-# body:
Hello, world.
-#
-# When processed, Active Record will insert database records for each fixture
-# entry and will ensure the Action Text relationship is intact.
-#
-# source://actiontext//lib/action_text/fixture_set.rb#41
-class ActionText::FixtureSet
- class << self
- # Fixtures support Action Text attachments as part of their `body` HTML.
- #
- # ### Examples
- #
- # For example, consider a second `Article` fixture declared in
- # `test/fixtures/articles.yml`:
- #
- # second:
- # title: Another Article
- #
- # You can attach a mention of `articles(:first)` to `second`'s `content` by
- # embedding a call to `ActionText::FixtureSet.attachment` in the `body:` value
- # in `test/fixtures/action_text/rich_texts.yml`:
- #
- # second:
- # record: second (Article)
- # name: content
- # body:
")
+ # content.to_plain_text # => "safeunsafe"
+ #
+ # NOTE: that the returned string is not HTML safe and should not be rendered in
+ # browsers.
+ #
+ # content = ActionText::Content.new("<script>alert()</script>")
+ # content.to_plain_text # => ""
+ #
+ # pkg:gem/actiontext#lib/action_text/content.rb:130
+ def to_plain_text; end
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:142
+ def to_rendered_html_with_layout; end
+
+ # Safely transforms Content into an HTML String.
+ #
+ # content = ActionText::Content.new(content: "
Funny times!
")
+ # content.to_s # => "
Funny times!
"
+ #
+ # content = ActionText::Content.new("
safe
")
+ # content.to_s # => "
safeunsafe
"
+ #
+ # pkg:gem/actiontext#lib/action_text/content.rb:157
+ def to_s; end
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:134
+ def to_trix_html; end
+
+ private
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:186
+ def attachment_for_node(node, with_full_attributes: T.unsafe(nil)); end
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:191
+ def attachment_gallery_for_node(node); end
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:182
+ def attachment_gallery_nodes; end
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:178
+ def attachment_nodes; end
+
+ class << self
+ # pkg:gem/actiontext#lib/action_text/content.rb:33
+ def fragment_by_canonicalizing_content(content); end
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:25
+ def renderer; end
+
+ # pkg:gem/actiontext#lib/action_text/content.rb:25
+ def renderer=(obj); end
+ end
+end
+
+module ActionText::ContentHelper
+ def allowed_attributes; end
+ def allowed_attributes=(val); end
+ def allowed_tags; end
+ def allowed_tags=(val); end
+ def render_action_text_attachment(attachment, locals: T.unsafe(nil)); end
+ def render_action_text_attachments(content); end
+ def render_action_text_content(content); end
+ def sanitize_action_text_content(content); end
+ def sanitize_content_attachment(content_attachment); end
+ def sanitizer; end
+ def sanitizer=(val); end
+ def sanitizer_allowed_attributes; end
+ def sanitizer_allowed_tags; end
+ def scrubber; end
+ def scrubber=(val); end
+
+ class << self
+ def allowed_attributes; end
+ def allowed_attributes=(val); end
+ def allowed_tags; end
+ def allowed_tags=(val); end
+ def sanitizer; end
+ def sanitizer=(val); end
+ def scrubber; end
+ def scrubber=(val); end
+ end
+end
+
+class ActionText::EncryptedRichText < ::ActionText::RichText
+ include ::ActionText::EncryptedRichText::GeneratedAttributeMethods
+ include ::ActionText::EncryptedRichText::GeneratedAssociationMethods
+
+ class << self
+ private
+
+ def __class_attr__validators; end
+ def __class_attr__validators=(new_value); end
+ def __class_attr_defined_enums; end
+ def __class_attr_defined_enums=(new_value); end
+ def __class_attr_encrypted_attributes; end
+ def __class_attr_encrypted_attributes=(new_value); end
+ end
+end
+
+module ActionText::EncryptedRichText::GeneratedAssociationMethods; end
+module ActionText::EncryptedRichText::GeneratedAttributeMethods; end
+
+# pkg:gem/actiontext#lib/action_text/encryption.rb:6
+module ActionText::Encryption
+ # pkg:gem/actiontext#lib/action_text/encryption.rb:14
+ def decrypt; end
+
+ # pkg:gem/actiontext#lib/action_text/encryption.rb:7
+ def encrypt; end
+
+ private
+
+ # pkg:gem/actiontext#lib/action_text/encryption.rb:26
+ def decrypt_rich_texts; end
+
+ # pkg:gem/actiontext#lib/action_text/encryption.rb:22
+ def encrypt_rich_texts; end
+
+ # pkg:gem/actiontext#lib/action_text/encryption.rb:34
+ def encryptable_rich_texts; end
+
+ # pkg:gem/actiontext#lib/action_text/encryption.rb:30
+ def has_encrypted_rich_texts?; end
+end
+
+# pkg:gem/actiontext#lib/action_text/engine.rb:13
+class ActionText::Engine < ::Rails::Engine; end
+
+# # Action Text FixtureSet
+#
+# Fixtures are a way of organizing data that you want to test against; in short,
+# sample data.
+#
+# To learn more about fixtures, read the ActiveRecord::FixtureSet documentation.
+#
+# ### YAML
+#
+# Like other Active Record-backed models, ActionText::RichText records inherit
+# from ActiveRecord::Base instances and can therefore be populated by fixtures.
+#
+# Consider an `Article` class:
+#
+# class Article < ApplicationRecord
+# has_rich_text :content
+# end
+#
+# To declare fixture data for the related `content`, first declare fixture data
+# for `Article` instances in `test/fixtures/articles.yml`:
+#
+# first:
+# title: An Article
+#
+# Then declare the ActionText::RichText fixture data in
+# `test/fixtures/action_text/rich_texts.yml`, making sure to declare each
+# entry's `record:` key as a polymorphic relationship:
+#
+# first:
+# record: first (Article)
+# name: content
+# body:
Hello, world.
+#
+# When processed, Active Record will insert database records for each fixture
+# entry and will ensure the Action Text relationship is intact.
+#
+# pkg:gem/actiontext#lib/action_text/fixture_set.rb:41
+class ActionText::FixtureSet
+ class << self
+ # Fixtures support Action Text attachments as part of their `body` HTML.
+ #
+ # ### Examples
+ #
+ # For example, consider a second `Article` fixture declared in
+ # `test/fixtures/articles.yml`:
+ #
+ # second:
+ # title: Another Article
+ #
+ # You can attach a mention of `articles(:first)` to `second`'s `content` by
+ # embedding a call to `ActionText::FixtureSet.attachment` in the `body:` value
+ # in `test/fixtures/action_text/rich_texts.yml`:
+ #
+ # second:
+ # record: second (Article)
+ # name: content
+ # body: