Skip to content

Commit 7fab67d

Browse files
committed
Even more linting fixes
1 parent 3c4a893 commit 7fab67d

16 files changed

+48
-46
lines changed

Casks/lilypond-font-beethoven.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
version "1.1"
33
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/beethoven/archive/refs/heads/master.zip"
5+
url "https://github.com/OpenLilyPondFonts/beethoven/archive/refs/heads/master.tar.gz"
66
name "Beethoven"
77
desc "Beethoven Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/beethoven"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("beethoven-669f400ce0edf7bccd817f10e2015ead78966578")
12+
source = Pathname("beethoven-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/beethoven-#{item}.otf", target: fonts_dir/"otf/beethoven-#{item}.otf"

Casks/lilypond-font-bravura.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
cask "lilypond-font-bravura" do
22
version "1.18"
3-
sha256 "b10a49af95a3f6b645685a560b8a97211519c1b6ee42ef79b95f4734373057cb"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/bravura/archive/53c774476c2060f379d9ef08569b8412b069b9ff.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/bravura/archive/refs/heads/master.tar.gz"
66
name "Bravura"
77
desc "Bravura Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/bravura"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("bravura-53c774476c2060f379d9ef08569b8412b069b9ff")
12+
source = Pathname("bravura-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
14-
%w(Bravura BravuraText).each do |item|
14+
%w[Bravura BravuraText].each do |item|
1515
font source/"otf/#{item}.otf", target: fonts_dir/"otf/#{item}.otf"
1616
font source/"woff/#{item}.woff", target: fonts_dir/"otf/#{item}.woff"
1717
font source/"svg/#{item}.svg", target: fonts_dir/"svg/#{item}.svg"

Casks/lilypond-font-cadence.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-cadence" do
22
version "1.0"
3-
sha256 "aa340618687c554a3128767c9bdbcc39df81e42b93ce2f853f1c0fb840ce8eef"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/cadence/archive/1cc0fb7bcdc72f2e6e6e0f38efd813de502b4216.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/cadence/archive/refs/heads/master.tar.gz"
66
name "Cadence"
77
desc "Cadence Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/cadence"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("cadence-1cc0fb7bcdc72f2e6e6e0f38efd813de502b4216")
12+
source = Pathname("cadence-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26].each do |item|
1515
font source/"otf/cadence-#{item}.otf", target: fonts_dir/"otf/cadence-#{item}.otf"

Casks/lilypond-font-gonville.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-gonville" do
22
version "1.0"
3-
sha256 "3bfd398a2c524d21134de1d00aedef78c641472760db83f4a4ac0c17394c3565"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/gonville/archive/a638bc9d2813ff226bdc70436a137e4d69d8de29.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/gonville/archive/refs/heads/master.tar.gz"
66
name "Gonville"
77
desc "Gonville Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/gonville"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("gonville-a638bc9d2813ff226bdc70436a137e4d69d8de29")
12+
source = Pathname("gonville-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/gonville-#{item}.otf", target: fonts_dir/"otf/gonville-#{item}.otf"

Casks/lilypond-font-gutenberg1939.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-gutenberg1939" do
22
version "1.0"
3-
sha256 "e8bccc90470a48f22b810c1b04358e53f9cfe488274c48a6fca97f6863102ffe"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/gutenberg1939/archive/2316a350aa58270afadc3b63576dde4e254d4bdf.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/gutenberg1939/archive/refs/heads/master.tar.gz"
66
name "Gutenberg1939"
77
desc "Gutenberg1939 Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/gutenberg1939"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("gutenberg1939-2316a350aa58270afadc3b63576dde4e254d4bdf")
12+
source = Pathname("gutenberg1939-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/gutenberg1939-#{item}.otf", target: fonts_dir/"otf/gutenberg1939-#{item}.otf"

Casks/lilypond-font-haydn.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-haydn" do
22
version "1.1"
3-
sha256 "cabaf4a98fa28e1555dfb042d60a048fa80cabd74bdf5b73d91fb3711931b778"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/haydn/archive/9e7de8b0a722e650960abaae21c489e554ac02e0.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/haydn/archive/refs/heads/master.tar.gz"
66
name "Haydn"
77
desc "Haydn Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/haydn"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("haydn-9e7de8b0a722e650960abaae21c489e554ac02e0")
12+
source = Pathname("haydn-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/haydn-#{item}.otf", target: fonts_dir/"otf/haydn-#{item}.otf"

Casks/lilypond-font-improviso.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-improviso" do
22
version "1.0"
3-
sha256 "9eae14b235c4e95dd85f8064598d10182ff7c05755f8776835e4813d76475e38"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/improviso/archive/0753f5a102ac6ee59f9660dfe41b5826c93c993e.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/improviso/archive/refs/heads/master.tar.gz"
66
name "Improviso"
77
desc "Improviso Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/improviso"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("improviso-0753f5a102ac6ee59f9660dfe41b5826c93c993e")
12+
source = Pathname("improviso-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/improviso-#{item}.otf", target: fonts_dir/"otf/improviso-#{item}.otf"

Casks/lilypond-font-lilyboulez.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-lilyboulez" do
22
version "1.0"
3-
sha256 "b33ccb335256b206681937f80ceb045f96fb19d64345a36bdaa5125eb660c7f4"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/lilyboulez/archive/e8455fc8401d8f4fd7124d29a55529db19372e02.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/lilyboulez/archive/refs/heads/master.tar.gz"
66
name "LilyBoulez"
77
desc "LilyBoulez Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/lilyboulez"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("lilyboulez-e8455fc8401d8f4fd7124d29a55529db19372e02")
12+
source = Pathname("lilyboulez-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26].each do |item|
1515
font source/"otf/lilyboulez-#{item}.otf", target: fonts_dir/"otf/lilyboulez-#{item}.otf"

Casks/lilypond-font-lilyjazz.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-lilyjazz" do
22
version "2.0"
3-
sha256 "e76afcd2d7e61fb80e8cb028632be7c8bf39748781de859329f142e0e40ffb07"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/lilyjazz/archive/8fa7d5548ec553eea9b2189a652e089e1eec4209.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/lilyjazz/archive/refs/heads/master.tar.gz"
66
name "LilyJAZZ"
77
desc "LilyJAZZ Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/lilyjazz"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("lilyjazz-8fa7d5548ec553eea9b2189a652e089e1eec4209")
12+
source = Pathname("lilyjazz-master")
1313
lily_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}")
1414
fonts_dir = lily_dir/"fonts"
1515
%w[11 13 14 16 18 20 23 26 brace].each do |item|

Casks/lilypond-font-lv-goldenage.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-lv-goldenage" do
22
version "1.0"
3-
sha256 "337886d84fb21e14a37d659fda0ae7e97f63036be37c498dd0df1a1e57640f5a"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/lv-goldenage/archive/8a92fd3ae947dd66cc385452b7093443a84aa072.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/lv-goldenage/archive/refs/heads/master.tar.gz"
66
name "LV GoldenAge"
77
desc "LV GoldenAge Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/lv-goldenage"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("lv-goldenage-8a92fd3ae947dd66cc385452b7093443a84aa072")
12+
source = Pathname("lv-goldenage-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26].each do |item|
1515
font source/"otf/lv-goldenage-#{item}.otf", target: fonts_dir/"otf/lv-goldenage-#{item}.otf"

Casks/lilypond-font-paganini.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-paganini" do
22
version "1.0"
3-
sha256 "3f3cf86d86d1531878fbd4da1ad3768daf40dd34c5ba01a5039e75d9fe4796b2"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/paganini/archive/8e4e55a2c9ae81fe6bc0ce83a5388a9e4c5f7530.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/paganini/archive/refs/heads/master.tar.gz"
66
name "Paganini"
77
desc "Paganini Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/paganini"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("paganini-8e4e55a2c9ae81fe6bc0ce83a5388a9e4c5f7530")
12+
source = Pathname("paganini-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26].each do |item|
1515
font source/"otf/paganini-#{item}.otf", target: fonts_dir/"otf/paganini-#{item}.otf"

Casks/lilypond-font-profondo.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-profondo" do
22
version "1.0"
3-
sha256 "c0156f9c785d02fcb8e79b9bcdf8b36ffb7bf427536718d8ffc45319c143aee4"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/profondo/archive/8cfb668d16baaae167e634006b3c621db8f299c6.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/profondo/archive/refs/heads/master.tar.gz"
66
name "Profondo"
77
desc "Profondo Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/profondo"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("profondo-8cfb668d16baaae167e634006b3c621db8f299c6")
12+
source = Pathname("profondo-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/profondo-#{item}.otf", target: fonts_dir/"otf/profondo-#{item}.otf"

Casks/lilypond-font-ross.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-ross" do
22
version "1.1"
3-
sha256 "1c73257ee4917e12400b0e3c860a9b788e5417577383831e04d7848574cdffba"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/ross/archive/aa8127fe5668e6069a62d2e8c5f5eb6d028b481c.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/ross/archive/refs/heads/master.tar.gz"
66
name "Ross"
77
desc "Ross Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/ross"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("ross-aa8127fe5668e6069a62d2e8c5f5eb6d028b481c")
12+
source = Pathname("ross-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/ross-#{item}.otf", target: fonts_dir/"otf/ross-#{item}.otf"

Casks/lilypond-font-scorlatti.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-scorlatti" do
22
version "1.1"
3-
sha256 "c9540e8d33a3964dfe4ddb3e1c64d86a9c9a51b0cdba3d4774071657045d1d73"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/scorlatti/archive/1db87dac9105cd456f5174ba6ca668c94cc553be.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/scorlatti/archive/refs/heads/master.tar.gz"
66
name "Scorlatti"
77
desc "Scorlatti Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/scorlatti"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("scorlatti-1db87dac9105cd456f5174ba6ca668c94cc553be")
12+
source = Pathname("scorlatti-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/scorlatti-#{item}.otf", target: fonts_dir/"otf/scorlatti-#{item}.otf"

Casks/lilypond-font-sebastiano.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cask "lilypond-font-sebastiano" do
22
version "1.0"
3-
sha256 "dffb486d03701a68370e521c584c356adf1ef87998178b9567da80dd668e88cd"
3+
sha256 :no_check
44

5-
url "https://github.com/OpenLilyPondFonts/sebastiano/archive/44bf262f20dbb8024bcda38471ddbfb018f01378.tar.gz"
5+
url "https://github.com/OpenLilyPondFonts/sebastiano/archive/refs/heads/master.tar.gz"
66
name "Sebastiano"
77
desc "Sebastiano Font for LilyPond"
88
homepage "https://github.com/OpenLilyPondFonts/sebastiano"
99

1010
depends_on formula: "lilypond"
1111

12-
source = Pathname("sebastiano-44bf262f20dbb8024bcda38471ddbfb018f01378")
12+
source = Pathname("sebastiano-master")
1313
fonts_dir = Pathname("#{Formula["lilypond"].prefix}/share/lilypond/#{Formula["lilypond"].version}/fonts")
1414
%w[11 13 14 16 18 20 23 26 brace].each do |item|
1515
font source/"otf/sebastiano-#{item}.otf", target: fonts_dir/"otf/sebastiano-#{item}.otf"

lib/b2_download_strategy.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ def initialize(url, name, version, **meta)
1212
super
1313
parsed = URI(url)
1414
raise "Invalid scheme for B2: #{parsed.scheme}" if parsed.scheme != "b2"
15-
raise "Currently only backblazeb2.com is supported as B2 host: #{parsed.host}" unless parsed.host == "backblazeb2.com"
15+
if parsed.host != "backblazeb2.com"
16+
raise "Currently only backblazeb2.com is supported as B2 host: #{parsed.host}"
17+
end
1618

1719
_, @bucket, @file = parsed.path.split("/", 3)
1820
raise "URL must contain a bucket and a file path" unless [@bucket, @file].all?

0 commit comments

Comments
 (0)