11class SpotifyPlayer < Formula
22 desc "Command driven spotify player"
33 homepage "https://github.com/aome510/spotify-player"
4- url "https://github.com/aome510/spotify-player/archive/refs/tags/v0.21.2 .tar.gz"
5- sha256 "63fce17376105ba57a3a20d9e237141dfe655a4df606d6cd666a6cdd485f2f24 "
4+ url "https://github.com/aome510/spotify-player/archive/refs/tags/v0.21.3 .tar.gz"
5+ sha256 "1f7e42ebb340b7c83c0ab96a8ef21bce5acae9ef899ff9ecd377570fdd1f1dbe "
66 license "MIT"
77 head "https://github.com/aome510/spotify-player.git" , branch : "master"
88
99 bottle do
10- sha256 cellar : :any_skip_relocation , arm64_tahoe : "b13ca4154ab22dcaa6c9a34d8e9bb9f658591341267b9aaf301a8874d67c79dd "
11- sha256 cellar : :any_skip_relocation , arm64_sequoia : "5df5c88c62eedfbeae29d01102582ce2dfbb3a2ec130b9a0958fef46150237d0 "
12- sha256 cellar : :any_skip_relocation , arm64_sonoma : "cd03cdea9873f52598c37b73d2b90e9508bbce2aafccc3ef4a793917254707a1 "
13- sha256 cellar : :any_skip_relocation , sonoma : "a6ea5f6a83548f10a43288d1eb1ef05d343be396119bc0c4d62b3d09d364fbdf "
14- sha256 cellar : :any_skip_relocation , arm64_linux : "a01a292602a53fd702b4963e6d66174b07b25e2be87a27f8035041c3e8d3762b "
15- sha256 cellar : :any_skip_relocation , x86_64_linux : "fdaba6240962f29b3dd8faa7ef9e3e7a8168b62440dc72b6fef95d29ddcdd00e "
10+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "53bd0d9e7b9c8addf705c01a80de51d3e732107dbe91837bd39b569aa5830a4f "
11+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "323862c14999bdb786e1eb32117e925d9f4b56294267827d021b6226f5c9ff9c "
12+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "5d4bf1f1dbf60abbe30b5b56657a9244f2f9ce74a401b3f7cc58a83d245d81b4 "
13+ sha256 cellar : :any_skip_relocation , sonoma : "bc9ae5ed05e379bdff3d08c6ecced9b6dc61b2c81bda19277fbd7bb2186e1c24 "
14+ sha256 cellar : :any_skip_relocation , arm64_linux : "971bea7084d2baf6dde28e72e6cbd67c818bd32707b11d5743ee32a346794775 "
15+ sha256 cellar : :any_skip_relocation , x86_64_linux : "2f7df0bba6c7daaa41e3819407fc979116d459a156c03c6c30f6d74879a43f72 "
1616 end
1717
1818 depends_on "pkgconf" => :build
@@ -34,9 +34,10 @@ def install
3434 end
3535
3636 test do
37+ assert_match version . to_s , shell_output ( "#{ bin } /spotify_player --version" )
38+
3739 cmd = "#{ bin } /spotify_player -C #{ testpath } /cache -c #{ testpath } /config 2>&1"
3840 _ , stdout , = Open3 . popen2 ( cmd )
39- assert_match "No cached credentials found" , stdout . gets ( "\n " )
40- assert_match version . to_s , shell_output ( "#{ bin } /spotify_player --version" )
41+ assert_match "https://accounts.spotify.com/authorize" , stdout . gets ( "\n " )
4142 end
4243end
0 commit comments