Skip to content

Commit

Permalink
Replace sprockets with propshaft
Browse files Browse the repository at this point in the history
  • Loading branch information
tricknotes committed Aug 21, 2024
1 parent 2acae89 commit 68f38a7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 27 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ gem 'omniauth'
gem 'omniauth-github'
gem 'omniauth-rails_csrf_protection'
gem 'pg'
gem 'propshaft'
gem 'puma', require: false
gem 'redis'
gem 'roadie-rails'
gem 'sassc-rails'
gem 'sprockets-rails'
gem 'uglifier'

group :development do
Expand Down
26 changes: 6 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ GEM
logger
faraday-net_http (3.1.1)
net-http
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
globalid (1.2.1)
activesupport (>= 6.1)
haml (6.3.0)
Expand Down Expand Up @@ -211,6 +208,11 @@ GEM
actionpack (>= 4.2)
omniauth (~> 2.0)
pg (1.5.7)
propshaft (0.9.1)
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
railties (>= 7.0.0)
psych (5.1.2)
stringio
public_suffix (6.0.1)
Expand Down Expand Up @@ -295,28 +297,13 @@ GEM
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
securerandom (0.3.1)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
stringio (3.1.1)
strscan (3.1.0)
temple (0.10.3)
Expand Down Expand Up @@ -362,14 +349,13 @@ DEPENDENCIES
omniauth-github
omniauth-rails_csrf_protection
pg
propshaft
puma
rails (~> 7.2.0)
redis
roadie-rails
rspec-its
rspec-rails
sassc-rails
sprockets-rails
uglifier
web-console

Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# require "action_text/engine"
require "action_view/railtie"
# require "action_cable/engine"
require "sprockets/railtie"
# require "sprockets/railtie"
# require "rails/test_unit/railtie"

# Require the gems listed in Gemfile, including any gems
Expand Down
5 changes: 1 addition & 4 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
Rails.application.config.assets.precompile += %w(
normalize.css
rails-ujs.js
)
# Rails.application.config.assets.precompile += %w( admin.js admin.css )

0 comments on commit 68f38a7

Please sign in to comment.