mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Ruby 4.0.9, Rails 8.1 defaults, newest gems; admin About page
- Ruby 3.2.3 (end of life) -> 4.0.9 in the Docker image and .ruby-version - config.load_defaults 8.1 - All gems at their newest compatible versions, including json 3.1, roo 4.0, rubyzip 3.7 and solid_cable 4.1 - Admin -> About: running revision and build time, uptime, Ruby/Rails/ SQLite and key gem versions, which features are configured (never secret values), storage and database sizes, background job health, record counts. The image takes APP_REVISION and APP_BUILT_AT build args. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ac4da93aaf
commit
2b0a2f1949
13 files changed
+295
-50
No files matched your search
@@ -9,7 +9,7 @@ Bundler.require(*Rails.groups)
|
||||
module SimpleAircraftManager
|
||||
class Application < Rails::Application
|
||||
# Initialize configuration defaults for originally generated Rails version.
|
||||
config.load_defaults 8.0
|
||||
config.load_defaults 8.1
|
||||
|
||||
# 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.
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Shown on the admin About page (uptime).
|
||||
Rails.application.config.x.booted_at = Time.current
|
||||
@@ -84,6 +84,7 @@ Rails.application.routes.draw do
|
||||
get "shared/:token", to: "shared#show", as: :shared
|
||||
|
||||
namespace :admin do
|
||||
get "about", to: "about#show"
|
||||
resources :users, except: :show
|
||||
resources :component_types, except: :show
|
||||
resources :airports, except: :show do
|
||||
|
||||
Reference in new issue
Block a user