diff --git a/Gemfile b/Gemfile index 05963333..7bf9ad54 100644 --- a/Gemfile +++ b/Gemfile @@ -5,13 +5,13 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem "rails", "~> 7.2.0" # Deliver assets for Rails -gem "propshaft", "~> 0.7.0" +gem "propshaft", "~> 1.1.0" # Install Turbo on Rails gem "turbo-rails", "~> 1.5.0" # Install Stimulus on Rails -gem "stimulus-rails", "~> 1.2.1" +gem "stimulus-rails", "~> 1.3.4" # Bundle and process CSS in Rails gem "cssbundling-rails", "~> 1.4.0" @@ -40,7 +40,7 @@ gem "solid_queue", "~> 0.2.1" gem "litestack", git: "https://github.com/oldmoe/litestack.git", branch: "master" # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder -gem "jbuilder", "~> 2.11.5" +gem "jbuilder", "~> 2.13.0" # Get meta data from audio file gem "wahwah", "~> 1.6.0" @@ -49,25 +49,25 @@ gem "wahwah", "~> 1.6.0" gem "pagy", "~> 6.0.0" # For Active Storage variants -gem "image_processing", "~> 1.12" +gem "image_processing", "~> 1.13" # For API request gem "httparty", "~> 0.22.0" # For browser detection -gem "browser", "~> 5.3.1" +gem "browser", "~> 6.0.0" # For searching gem "ransack", "~> 4.2.0" # For sortable list -gem "acts_as_list", "~> 1.1.0" +gem "acts_as_list", "~> 1.2.0" # For password encryption gem "bcrypt", "~> 3.1.11" # For sync on library changes -gem "listen", "~> 3.8.0" +gem "listen", "~> 3.9.0" # For parallel media sync gem "parallel", "~> 1.25.0" diff --git a/Gemfile.lock b/Gemfile.lock index a1d8c624..bb405b79 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -87,8 +87,9 @@ GEM minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) - acts_as_list (1.1.0) - activerecord (>= 4.2) + acts_as_list (1.2.2) + activerecord (>= 6.1) + activesupport (>= 6.1) addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) @@ -108,7 +109,7 @@ GEM msgpack (~> 1.2) brakeman (6.2.1) racc - browser (5.3.1) + browser (6.0.0) builder (3.3.0) bullet (7.2.0) activesupport (>= 3.0.0) @@ -166,14 +167,14 @@ GEM multi_xml (>= 0.5.2) i18n (1.14.5) concurrent-ruby (~> 1.0) - image_processing (1.12.2) + image_processing (1.13.0) mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) io-console (0.7.2) irb (1.14.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - jbuilder (2.11.5) + jbuilder (2.13.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) jsbundling-rails (1.3.0) @@ -192,7 +193,7 @@ GEM zeitwerk (~> 2.5) language_server-protocol (3.17.0.3) lint_roller (1.1.0) - listen (3.8.0) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) logger (1.6.1) @@ -207,7 +208,7 @@ GEM marcel (1.0.4) matrix (0.4.2) memory_profiler (0.9.14) - mini_magick (4.12.0) + mini_magick (4.13.2) mini_mime (1.1.5) mini_portile2 (2.8.7) minitest (5.25.1) @@ -242,8 +243,8 @@ GEM parser (3.3.1.0) ast (~> 2.4.1) racc - pg (1.5.6) - propshaft (0.7.0) + pg (1.5.8) + propshaft (1.1.0) actionpack (>= 7.0.0) activesupport (>= 7.0.0) rack @@ -251,7 +252,7 @@ GEM psych (5.1.2) stringio public_suffix (5.0.5) - puma (6.4.2) + puma (6.4.3) nio4r (~> 2.0) racc (1.8.1) rack (3.1.7) @@ -298,7 +299,7 @@ GEM activesupport (>= 6.1.5) i18n rb-fsevent (0.11.2) - rb-inotify (0.10.1) + rb-inotify (0.11.1) ffi (~> 1.0) rdoc (6.7.0) psych (>= 4.0.0) @@ -327,8 +328,9 @@ GEM rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (1.13.0) - ruby-vips (2.2.1) + ruby-vips (2.2.2) ffi (~> 1.12) + logger securerandom (0.3.1) simplecov (0.22.0) docile (~> 1.1) @@ -359,7 +361,7 @@ GEM standard-rails (1.0.2) lint_roller (~> 1.0) rubocop-rails (~> 2.23.1) - stimulus-rails (1.2.2) + stimulus-rails (1.3.4) railties (>= 6.0.0) stringio (3.1.1) thor (1.3.2) @@ -374,7 +376,7 @@ GEM unicode-display_width (2.5.0) uniform_notifier (1.16.0) useragent (0.16.10) - wahwah (1.6.2) + wahwah (1.6.6) web-console (4.2.1) actionview (>= 6.0.0) activemodel (>= 6.0.0) @@ -397,11 +399,11 @@ PLATFORMS DEPENDENCIES activerecord-enhancedsqlite3-adapter (~> 0.7.0) - acts_as_list (~> 1.1.0) + acts_as_list (~> 1.2.0) bcrypt (~> 3.1.11) bootsnap (~> 1.18.0) brakeman - browser (~> 5.3.1) + browser (~> 6.0.0) bullet (~> 7.2.0) capybara (~> 3.40.0) cssbundling-rails (~> 1.4.0) @@ -410,17 +412,17 @@ DEPENDENCIES debug erb_lint (~> 0.4.0) httparty (~> 0.22.0) - image_processing (~> 1.12) - jbuilder (~> 2.11.5) + image_processing (~> 1.13) + jbuilder (~> 2.13.0) jsbundling-rails (~> 1.3.0) kamal (~> 1.4.0) - listen (~> 3.8.0) + listen (~> 3.9.0) litestack! memory_profiler (~> 0.9.13) pagy (~> 6.0.0) parallel (~> 1.25.0) pg (~> 1.5.4) - propshaft (~> 0.7.0) + propshaft (~> 1.1.0) puma (~> 6.4.0) rails (~> 7.2.0) ransack (~> 4.2.0) @@ -431,7 +433,7 @@ DEPENDENCIES sqlite3 (~> 1.7.0) standard (~> 1.25.0) standard-rails - stimulus-rails (~> 1.2.1) + stimulus-rails (~> 1.3.4) turbo-rails (~> 1.5.0) tzinfo-data wahwah (~> 1.6.0) diff --git a/test/system/playlist_test.rb b/test/system/playlist_test.rb index 4356fa1d..3260acae 100644 --- a/test/system/playlist_test.rb +++ b/test/system/playlist_test.rb @@ -106,15 +106,4 @@ class PlaylistSystemTest < ApplicationSystemTestCase click_on "Play Next" assert_equal all(:test_id, "current_playlist_song_name")[1].text, playlists(:playlist1).songs.last.name end - - test "add song to the end in current playlist" do - song_ids = Song.ids - playlists(:playlist1).songs.ids - users(:admin).current_playlist.replace(song_ids) - visit playlist_songs_url(playlists(:playlist1)) - - first(:test_id, "playlist_song_menu").click - click_on "Play Last" - - assert_equal playlists(:playlist1).songs.first.name, all(:test_id, "current_playlist_song_name").last.text - end end