Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jalview 2.11.3.3 #174539

Merged
merged 5 commits into from
May 22, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions Casks/j/jalview.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
cask "jalview" do

Check failure on line 1 in Casks/j/jalview.rb

View workflow job for this annotation

GitHub Actions / test jalview (macos-13, intel)

exception while auditing jalview: undefined method `underscores_to_dots' for an instance of String

Check failure on line 1 in Casks/j/jalview.rb

View workflow job for this annotation

GitHub Actions / test jalview (macos-14, arm)

exception while auditing jalview: undefined method `underscores_to_dots' for an instance of String
arch arm: "aarch64", intel: "x64"

version "2.11.3.0"
sha256 arm: "c67afbdc207db642f96454449e8594bb80aef4e0996faa2e7ddacd891638955c",
intel: "4faa926bc6d925bf6332eae2fc59c29d4eec61cb502509735b57a4adb5f0d5fd"
version "2.11.3.3"
sha256 arm: "63c3b141ca5b60b5d05a4cb68c17310b4b46144fee4a574f29f4bdac90d777e5",
intel: "a9c6bd5885cceb99e8d56a38b8038c62f6b89c9c03181cb0c181ed96dc47cdc3"

url "https://www.jalview.org/downloads/installers/release/Jalview-#{version.dots_to_underscores}-macos-#{arch}-java_8.dmg"
name "Jalview"
desc "Multiple sequence alignment editor, visualisor, analysis and figure generator"
homepage "https://www.jalview.org/"

livecheck do
url "https://www.jalview.org/getdown/release/install4j/1.8/updates.xml"
regex(/newVersion="(\d+(?:\.\d+)*)"/i)
url "https://www.jalview.org/downloads/installers/release/Jalview-latest-macos-x64-java_8.dmg"
strategy :header_match do |headers|
v = headers["location"][%r{/Jalview-(\d(?:_\d+)*)-macos-x64-java_8\.dmg$}i, 1]

"#{v.underscores_to_dots}"

Check failure on line 18 in Casks/j/jalview.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
benzoid marked this conversation as resolved.
Show resolved Hide resolved
end
end

app "Jalview.app"
Expand Down
Loading