From a8b8d9730a9fb9a4a571c7f8fca5427f240b1315 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Fri, 27 Sep 2024 15:20:26 -0700 Subject: [PATCH] Bump sprockets to 4.2.1 (major bump) --- Gemfile | 2 +- Gemfile.lock | 7 +++---- app/assets/config/manifest.js | 3 +++ 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 app/assets/config/manifest.js diff --git a/Gemfile b/Gemfile index 5c431f8..21993d2 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem "devise", "~> 4.8" gem "rails_admin", "~> 3.0" gem "rake", "~> 13.0" gem "unicorn", "~> 6.0" -gem "sprockets", "~> 3.7" +gem "sprockets", "~> 4.0" # noise dependencies: diff --git a/Gemfile.lock b/Gemfile.lock index 99cec46..b6348b7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -236,10 +236,9 @@ GEM sprockets-rails tilt securerandom (0.3.1) - sprockets (3.7.3) - base64 + sprockets (4.2.1) concurrent-ruby (~> 1.0) - rack (> 1, < 3) + rack (>= 2.2.4, < 4) sprockets-rails (3.5.2) actionpack (>= 6.1) activesupport (>= 6.1) @@ -293,7 +292,7 @@ DEPENDENCIES rails_admin (~> 3.0) rake (~> 13.0) sassc-rails (~> 2.1) - sprockets (~> 3.7) + sprockets (~> 4.0) sqlite3 (~> 2.0) unicorn (~> 6.0) diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js new file mode 100644 index 0000000..89c89e7 --- /dev/null +++ b/app/assets/config/manifest.js @@ -0,0 +1,3 @@ + //= link_tree ../images + //= link_directory ../javascripts .js + //= link_directory ../stylesheets .css