test fixtures: update/remove appcast checkpoints

This commit is contained in:
commitay 2018-06-09 08:37:37 +10:00
parent 0980de4cb0
commit dbeed9e583
9 changed files with 7 additions and 25 deletions

View File

@ -1,4 +0,0 @@
cask 'appcast-checkpoint-sha256-for-empty-string' do
appcast 'http://localhost/appcast.xml',
checkpoint: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
end

View File

@ -1,4 +0,0 @@
cask 'appcast-invalid-checkpoint' do
appcast 'http://localhost/appcast.xml',
checkpoint: 'not a valid shasum'
end

View File

@ -1,3 +0,0 @@
cask 'appcast-missing-checkpoint' do
appcast 'http://localhost/appcast.xml'
end

View File

@ -3,8 +3,7 @@ cask 'github-with-appcast' do
sha256 'a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9'
url "https://github.com/user/project/releases/download/#{version}/github.pkg"
appcast 'https://github.com/user/project/releases.atom',
checkpoint: '56d1707d3065bf0c75d75d7738571285273b7bf366d8f0f5a53eb8b457ad2453'
appcast 'https://github.com/user/project/releases.atom'
name 'github'
homepage 'https://github.com/user/project'

View File

@ -3,10 +3,8 @@ cask 'invalid-appcast-multiple' do
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 'http://example.com/appcast1.xml',
checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
appcast 'http://example.com/appcast2.xml',
checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
appcast 'http://example.com/appcast1.xml'
appcast 'http://example.com/appcast2.xml'
homepage 'http://example.com/invalid-appcast-multiple'
app 'Caffeine.app'

View File

@ -3,8 +3,7 @@ cask 'invalid-appcast-url' do
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 1,
checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
appcast 1
homepage 'http://example.com/invalid-appcast-url'
app 'Caffeine.app'

View File

@ -3,8 +3,7 @@ cask 'latest-with-appcast' do
sha256 :no_check
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 'http://example.com/appcast.xml',
checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
appcast 'http://example.com/appcast.xml'
homepage 'http://example.com/with-appcast'
app 'Caffeine.app'

View File

@ -2,7 +2,6 @@ cask 'sourceforge-with-appcast' do
version '1.2.3'
url 'https://downloads.sourceforge.net/something/Something-1.2.3.dmg'
appcast 'https://sourceforge.net/projects/something/rss',
checkpoint: '407fb59baa4b9eb7651d9243b89c30b7481590947ef78bd5a4c24f5810f56531'
appcast 'https://sourceforge.net/projects/something/rss'
homepage 'https://sourceforge.net/projects/something/'
end

View File

@ -3,8 +3,7 @@ cask 'with-appcast' do
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 'http://example.com/appcast.xml',
checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
appcast 'http://example.com/appcast.xml'
homepage 'http://example.com/with-appcast'
app 'Caffeine.app'