mirror of
https://github.com/postalserver/postal.git
synced 2026-12-05 15:55:50 +00:00
* chore(rails): Upgrade to Rails 8.1.4 * chore(rails): Upgrade to Rails 8.1.4 * chore(deps): upgrade rails to 8.1.4.1 Rails 8.1.4.1 is a security release for the 8.1 line. This also changes how Rails is constrained in the Gemfile. Previous upgrades have always pinned an exact version (e.g. "= 7.1.6"); this uses "~> 8.1.4", ">= 8.1.4.1" instead: - "~> 8.1.4" accepts any 8.1.x release from 8.1.4 onwards, but not 8.2. Later patch and security releases can be taken with `bundle update rails` without editing the Gemfile, while moving to a new minor version remains a deliberate change. - ">= 8.1.4.1" stops the constraint resolving to any version older than the fixes in this release. The installed version is still fixed by Gemfile.lock, so builds remain reproducible. The Gemfile now states which versions are acceptable rather than repeating what the lockfile already pins. --------- Co-authored-by: Richard Patching <richard@justaddpixels.com>
13 lines
434 B
Ruby
13 lines
434 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This rake task was added by annotate_rb gem.
|
|
|
|
# Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this
|
|
if Rails.env.development? && ENV["ANNOTATERB_SKIP_ON_DB_TASKS"].nil?
|
|
require "annotate_rb"
|
|
|
|
# Can modify the config path here if needed - by default, it's .annotaterb.yml in the root of the project
|
|
# AnnotateRb::ConfigFinder.config_path = ""
|
|
AnnotateRb::Core.load_rake_tasks
|
|
end
|