Skip to content

Commit

Permalink
Migrate from sprockets to propshaft in the test app
Browse files Browse the repository at this point in the history
  • Loading branch information
rosa committed Nov 11, 2024
1 parent b193240 commit b38efa8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
14 changes: 6 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ GEM
parser (3.3.0.5)
ast (~> 2.4.1)
racc
propshaft (1.1.0)
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
railties (>= 7.0.0)
psych (5.1.2)
stringio
public_suffix (5.0.4)
Expand Down Expand Up @@ -248,13 +253,6 @@ GEM
fugit (~> 1.11.0)
railties (>= 7.1)
thor (~> 1.3.1)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
sqlite3 (2.2.0-aarch64-linux-gnu)
sqlite3 (2.2.0-arm-linux-gnu)
sqlite3 (2.2.0-arm64-darwin)
Expand Down Expand Up @@ -297,6 +295,7 @@ DEPENDENCIES
debug
mission_control-jobs!
mocha
propshaft
puma
redis
redis-namespace
Expand All @@ -307,7 +306,6 @@ DEPENDENCIES
rubocop-rails-omakase
selenium-webdriver
solid_queue (~> 1.0.1)
sprockets-rails
sqlite3

BUNDLED WITH
Expand Down
1 change: 1 addition & 0 deletions lib/mission_control/jobs/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class Engine < ::Rails::Engine
end

initializer "mission_control-jobs.assets" do |app|
app.config.assets.paths << root.join("app/assets/stylesheets")
app.config.assets.paths << root.join("app/javascript")
app.config.assets.precompile += %w[ mission_control_jobs_manifest ]
end
Expand Down
2 changes: 1 addition & 1 deletion mission_control-jobs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rubocop-performance"
spec.add_development_dependency "rubocop-rails-omakase"
spec.add_development_dependency "better_html"
spec.add_development_dependency "sprockets-rails"
spec.add_development_dependency "propshaft"
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "puma"
end
3 changes: 0 additions & 3 deletions test/dummy/app/assets/config/manifest.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/dummy/config/application.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative "boot"

require "rails/all"
require "sprockets/railtie"
require "propshaft"

require "resque"
require "solid_queue"
Expand Down

0 comments on commit b38efa8

Please sign in to comment.