Skip to content

Commit

Permalink
Pin RailsAssets gems
Browse files Browse the repository at this point in the history
  • Loading branch information
vitallium committed Apr 28, 2024
1 parent 47428f1 commit d021fb6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ gem "rack-mini-profiler", require: false
gem "stackprof", require: false, platform: :mri

source "https://rails-assets.org" do
gem "rails-assets-cropper"
gem "rails-assets-smartcrop"
gem "rails-assets-listjs"
gem "rails-assets-cropper", "~> 2.3"
gem "rails-assets-smartcrop", "~> 1.1"
gem "rails-assets-listjs", "~> 1.5"
end

group :development do
Expand Down
17 changes: 10 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
GEM
remote: https://rubygems.org/
remote: https://rails-assets.org/
specs:
rails-assets-cropper (2.3.4)
rails-assets-listjs (1.5.0)
rails-assets-smartcrop (1.1.1)

GEM
remote: https://rubygems.org/
specs:
actioncable (6.0.6.1)
actionpack (= 6.0.6.1)
Expand Down Expand Up @@ -353,9 +359,6 @@ GEM
bundler (>= 1.3.0)
railties (= 6.0.6.1)
sprockets-rails (>= 2.0.0)
rails-assets-cropper (2.3.4)
rails-assets-listjs (1.5.0)
rails-assets-smartcrop (1.1.1)
rails-controller-testing (1.0.4)
actionpack (>= 5.0.1.x)
actionview (>= 5.0.1.x)
Expand Down Expand Up @@ -566,9 +569,9 @@ DEPENDENCIES
rack-mini-profiler
rack-timeout
rails (~> 6)
rails-assets-cropper!
rails-assets-listjs!
rails-assets-smartcrop!
rails-assets-cropper (~> 2.3)!
rails-assets-listjs (~> 1.5)!
rails-assets-smartcrop (~> 1.1)!
rails-controller-testing
rails-i18n
rails_stdout_logging
Expand Down
3 changes: 0 additions & 3 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
# Add Yarn node_modules folder to the asset load path.
Rails.application.config.assets.paths << Rails.root.join("node_modules")

# Vendor components
Rails.application.config.assets.paths << Rails.root.join("vendor", "assets", "components")

# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
Expand Down

0 comments on commit d021fb6

Please sign in to comment.