mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Update framework defaults to 7.2
This commit is contained in:
parent
03aadb9544
commit
fc97a0bdf2
3 changed files with 10 additions and 10 deletions
|
|
@ -11,7 +11,7 @@ Bundler.require(*Rails.groups)
|
|||
module Dawarich
|
||||
class Application < Rails::Application
|
||||
# Initialize configuration defaults for originally generated Rails version.
|
||||
config.load_defaults 7.0
|
||||
config.load_defaults 7.2
|
||||
|
||||
# Please, add to the `ignore` list any other `lib` subdirectories that do
|
||||
# not contain `.rb` files, or that should not be reloaded or eager loaded.
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
# backends that use the same database as Active Record as a queue, hence they
|
||||
# don't need this feature.
|
||||
#++
|
||||
# Rails.application.config.active_job.enqueue_after_transaction_commit = :default
|
||||
Rails.application.config.active_job.enqueue_after_transaction_commit = :default
|
||||
|
||||
###
|
||||
# Adds image/webp to the list of content types Active Storage considers as an image
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
# This is possible due to broad browser support for WebP, but older browsers and email clients may still not support
|
||||
# WebP. Requires imagemagick/libvips built with WebP support.
|
||||
#++
|
||||
# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp]
|
||||
Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp]
|
||||
|
||||
###
|
||||
# Enable validation of migration timestamps. When set, an ActiveRecord::InvalidMigrationTimestampError
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
# Applications with existing timestamped migrations that do not adhere to the
|
||||
# expected format can disable validation by setting this config to `false`.
|
||||
#++
|
||||
# Rails.application.config.active_record.validate_migration_timestamps = true
|
||||
Rails.application.config.active_record.validate_migration_timestamps = true
|
||||
|
||||
###
|
||||
# Controls whether the PostgresqlAdapter should decode dates automatically with manual queries.
|
||||
|
|
@ -61,10 +61,10 @@
|
|||
#
|
||||
# This query used to return a `String`.
|
||||
#++
|
||||
# Rails.application.config.active_record.postgresql_adapter_decode_dates = true
|
||||
Rails.application.config.active_record.postgresql_adapter_decode_dates = true
|
||||
|
||||
###
|
||||
# Enables YJIT as of Ruby 3.3, to bring sizeable performance improvements. If you are
|
||||
# deploying to a memory constrained environment you may want to set this to `false`.
|
||||
#++
|
||||
# Rails.application.config.yjit = true
|
||||
Rails.application.config.yjit = true
|
||||
|
|
|
|||
|
|
@ -123,16 +123,16 @@ paths:
|
|||
in: query
|
||||
format: date-time
|
||||
required: true
|
||||
description: Start date and time for the range (ISO 8601 format)
|
||||
example: '2023-01-01T00:00:00Z'
|
||||
description: Start date in YYYY-MM-DD format
|
||||
example: '2023-01-01'
|
||||
schema:
|
||||
type: string
|
||||
- name: end_at
|
||||
in: query
|
||||
format: date-time
|
||||
required: true
|
||||
description: End date and time for the range (ISO 8601 format)
|
||||
example: '2023-12-31T23:59:59Z'
|
||||
description: End date in YYYY-MM-DD format
|
||||
example: '2023-12-31'
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
|
|
|
|||
Loading…
Reference in a new issue