Dummy Caffeine app.
This commit is contained in:
		
							parent
							
								
									f036cc0bc5
								
							
						
					
					
						commit
						0dc79d1881
					
				@ -1,4 +1,4 @@
 | 
			
		||||
test_cask 'version-latest-with-checksum' do
 | 
			
		||||
  version :latest
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@ -24,7 +24,7 @@ describe Hbc::Artifact::App do
 | 
			
		||||
        url TestHelper.local_binary_url("caffeine.zip")
 | 
			
		||||
        homepage "http://example.com/local-caffeine"
 | 
			
		||||
        version "1.2.3"
 | 
			
		||||
        sha256 "9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853"
 | 
			
		||||
        sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94"
 | 
			
		||||
        app "subdir/Caffeine.app", target: "AnotherName.app"
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
@ -53,7 +53,7 @@ describe Hbc::Artifact::App do
 | 
			
		||||
      cask = local_alt_caffeine
 | 
			
		||||
 | 
			
		||||
      staged_app_path = cask.staged_path.join("Caffeine.app")
 | 
			
		||||
      staged_app_copy = staged_app_path.sub("Caffeine.app", "CaffeineAgain.app")
 | 
			
		||||
      staged_app_copy = staged_app_path.sub("Caffeine.app", "Caffeine Deluxe.app")
 | 
			
		||||
      FileUtils.cp_r staged_app_path, staged_app_copy
 | 
			
		||||
 | 
			
		||||
      shutup do
 | 
			
		||||
@ -64,7 +64,7 @@ describe Hbc::Artifact::App do
 | 
			
		||||
      File.exist?(staged_app_path).must_equal false
 | 
			
		||||
 | 
			
		||||
      File.exist?(Hbc.appdir.join("AnotherNameAgain.app")).must_equal false
 | 
			
		||||
      File.exist?(cask.staged_path.join("CaffeineAgain.app")).must_equal true
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Deluxe.app")).must_equal true
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    it "avoids clobbering an existing app by moving over it" do
 | 
			
		||||
 | 
			
		||||
@ -24,7 +24,7 @@ describe Hbc::Artifact::App do
 | 
			
		||||
        url TestHelper.local_binary_url("caffeine.zip")
 | 
			
		||||
        homepage "http://example.com/local-caffeine"
 | 
			
		||||
        version "1.2.3"
 | 
			
		||||
        sha256 "9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853"
 | 
			
		||||
        sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94"
 | 
			
		||||
        app "subdir/Caffeine.app"
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
@ -53,7 +53,7 @@ describe Hbc::Artifact::App do
 | 
			
		||||
      cask = local_caffeine
 | 
			
		||||
 | 
			
		||||
      staged_app_path = cask.staged_path.join("Caffeine.app")
 | 
			
		||||
      staged_app_copy = staged_app_path.sub("Caffeine.app", "CaffeineAgain.app")
 | 
			
		||||
      staged_app_copy = staged_app_path.sub("Caffeine.app", "Caffeine Deluxe.app")
 | 
			
		||||
      FileUtils.cp_r staged_app_path, staged_app_copy
 | 
			
		||||
 | 
			
		||||
      shutup do
 | 
			
		||||
@ -63,8 +63,8 @@ describe Hbc::Artifact::App do
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(staged_app_path).must_equal false
 | 
			
		||||
 | 
			
		||||
      File.exist?(Hbc.appdir.join("CaffeineAgain.app")).must_equal false
 | 
			
		||||
      File.exist?(cask.staged_path.join("CaffeineAgain.app")).must_equal true
 | 
			
		||||
      File.exist?(Hbc.appdir.join("Caffeine Deluxe.app")).must_equal false
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Deluxe.app")).must_equal true
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    describe "when the target already exists" do
 | 
			
		||||
 | 
			
		||||
@ -7,9 +7,9 @@ describe Hbc::Artifact::Suite do
 | 
			
		||||
    end
 | 
			
		||||
  }
 | 
			
		||||
  let(:expected_path) {
 | 
			
		||||
    Hbc.appdir.join("caffeine_suite")
 | 
			
		||||
    Hbc.appdir.join("Caffeine")
 | 
			
		||||
  }
 | 
			
		||||
  let(:source_path) { cask.staged_path.join("caffeine_suite") }
 | 
			
		||||
  let(:source_path) { cask.staged_path.join("Caffeine") }
 | 
			
		||||
 | 
			
		||||
  it "moves the suite to the proper directory" do
 | 
			
		||||
    shutup do
 | 
			
		||||
 | 
			
		||||
@ -21,11 +21,11 @@ describe Hbc::Artifact::App do
 | 
			
		||||
        Hbc::Artifact::App.new(cask).install_phase
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine.app")).must_equal false
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine Mini.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Mini.app")).must_equal false
 | 
			
		||||
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine-2.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine-2.app")).must_equal false
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine Pro.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Pro.app")).must_equal false
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    it "works with an application in a subdir" do
 | 
			
		||||
@ -36,62 +36,63 @@ describe Hbc::Artifact::App do
 | 
			
		||||
        Hbc::Artifact::App.new(cask).install_phase
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine.app")).must_equal false
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine Mini.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Mini.app")).must_equal false
 | 
			
		||||
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine-2.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine-2.app")).must_equal false
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine Pro.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Pro.app")).must_equal false
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    it "only uses apps when they are specified" do
 | 
			
		||||
      cask = local_two_apps_caffeine
 | 
			
		||||
 | 
			
		||||
      app_path = cask.staged_path.join("Caffeine.app")
 | 
			
		||||
      FileUtils.cp_r app_path, app_path.sub("Caffeine.app", "CaffeineAgain.app")
 | 
			
		||||
      app_path = cask.staged_path.join("Caffeine Mini.app")
 | 
			
		||||
      FileUtils.cp_r app_path, app_path.sub("Caffeine Mini.app", "Caffeine Deluxe.app")
 | 
			
		||||
 | 
			
		||||
      shutup do
 | 
			
		||||
        Hbc::Artifact::App.new(cask).install_phase
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine.app")).must_equal false
 | 
			
		||||
      File.ftype(Hbc.appdir.join("Caffeine Mini.app")).must_equal "directory"
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Mini.app")).must_equal false
 | 
			
		||||
 | 
			
		||||
      File.exist?(Hbc.appdir.join("CaffeineAgain.app")).must_equal false
 | 
			
		||||
      File.exist?(cask.staged_path.join("CaffeineAgain.app")).must_equal true
 | 
			
		||||
      File.exist?(Hbc.appdir.join("Caffeine Deluxe.app")).must_equal false
 | 
			
		||||
      File.exist?(cask.staged_path.join("Caffeine Deluxe.app")).must_equal true
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    it "avoids clobbering an existing app (app 1)" do
 | 
			
		||||
      cask = local_two_apps_caffeine
 | 
			
		||||
 | 
			
		||||
      Hbc.appdir.join("Caffeine.app").mkpath
 | 
			
		||||
    describe "avoids clobbering an existing app" do
 | 
			
		||||
      let(:cask) { local_two_apps_caffeine }
 | 
			
		||||
 | 
			
		||||
      TestHelper.must_output(self, lambda {
 | 
			
		||||
        Hbc::Artifact::App.new(cask).install_phase
 | 
			
		||||
      }, <<-MESSAGE.undent.chomp)
 | 
			
		||||
         ==> Moving App 'Caffeine-2.app' to '#{Hbc.appdir.join('Caffeine-2.app')}'
 | 
			
		||||
         ==> It seems there is already an App at '#{Hbc.appdir.join('Caffeine.app')}'; not moving.
 | 
			
		||||
         MESSAGE
 | 
			
		||||
      it "when the first app of two already exists" do
 | 
			
		||||
        Hbc.appdir.join("Caffeine Mini.app").mkpath
 | 
			
		||||
 | 
			
		||||
      source_path = cask.staged_path.join("Caffeine.app")
 | 
			
		||||
        TestHelper.must_output(self, lambda {
 | 
			
		||||
          Hbc::Artifact::App.new(cask).install_phase
 | 
			
		||||
        }, <<-EOS.undent.chomp)
 | 
			
		||||
             ==> It seems there is already an App at '#{Hbc.appdir.join('Caffeine Mini.app')}'; not moving.
 | 
			
		||||
             ==> Moving App 'Caffeine Pro.app' to '#{Hbc.appdir.join('Caffeine Pro.app')}'
 | 
			
		||||
           EOS
 | 
			
		||||
 | 
			
		||||
      File.identical?(source_path, Hbc.appdir.join("Caffeine.app")).must_equal false
 | 
			
		||||
    end
 | 
			
		||||
        source_path = cask.staged_path.join("Caffeine Mini.app")
 | 
			
		||||
 | 
			
		||||
    it "avoids clobbering an existing app (app 2)" do
 | 
			
		||||
      cask = local_two_apps_caffeine
 | 
			
		||||
        File.identical?(source_path, Hbc.appdir.join("Caffeine Mini.app")).must_equal false
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      Hbc.appdir.join("Caffeine-2.app").mkpath
 | 
			
		||||
      it "when the second app of two already exists" do
 | 
			
		||||
        Hbc.appdir.join("Caffeine Pro.app").mkpath
 | 
			
		||||
 | 
			
		||||
      TestHelper.must_output(self, lambda {
 | 
			
		||||
        Hbc::Artifact::App.new(cask).install_phase
 | 
			
		||||
      }, <<-MESSAGE.undent.chomp)
 | 
			
		||||
         ==> It seems there is already an App at '#{Hbc.appdir.join('Caffeine-2.app')}'; not moving.
 | 
			
		||||
         ==> Moving App 'Caffeine.app' to '#{Hbc.appdir.join('Caffeine.app')}'
 | 
			
		||||
         MESSAGE
 | 
			
		||||
        TestHelper.must_output(self, lambda {
 | 
			
		||||
          Hbc::Artifact::App.new(cask).install_phase
 | 
			
		||||
        }, <<-EOS.undent.chomp)
 | 
			
		||||
             ==> Moving App 'Caffeine Mini.app' to '#{Hbc.appdir.join('Caffeine Mini.app')}'
 | 
			
		||||
             ==> It seems there is already an App at '#{Hbc.appdir.join('Caffeine Pro.app')}'; not moving.
 | 
			
		||||
           EOS
 | 
			
		||||
 | 
			
		||||
      source_path = cask.staged_path.join("Caffeine-2.app")
 | 
			
		||||
        source_path = cask.staged_path.join("Caffeine Pro.app")
 | 
			
		||||
 | 
			
		||||
      File.identical?(source_path, Hbc.appdir.join("Caffeine-2.app")).must_equal false
 | 
			
		||||
        File.identical?(source_path, Hbc.appdir.join("Caffeine Pro.app")).must_equal false
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@ -1,12 +1,12 @@
 | 
			
		||||
test_cask 'invalid-appcast-multiple' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  appcast 'http://example.com/appcast1.xml',
 | 
			
		||||
          checkpoint: '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
          checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
  appcast 'http://example.com/appcast2.xml',
 | 
			
		||||
          checkpoint: '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
          checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
  homepage 'http://example.com/invalid-appcast-multiple'
 | 
			
		||||
 | 
			
		||||
  app 'Caffeine.app'
 | 
			
		||||
 | 
			
		||||
@ -1,10 +1,10 @@
 | 
			
		||||
test_cask 'invalid-appcast-url' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  appcast 1,
 | 
			
		||||
          checkpoint: '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
          checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
  homepage 'http://example.com/invalid-appcast-url'
 | 
			
		||||
 | 
			
		||||
  app 'Caffeine.app'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-conflicts-with-key' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-conflicts-with-key'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-depends-on-arch-value' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-depends-on-arch-value'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-depends-on-key' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-depends-on-key'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-depends-on-macos-bad-release' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-depends-on-macos-bad-release'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-depends-on-macos-conflicting-forms' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-depends-on-macos-conflicting-forms'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-depends-on-x11-value' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-depends-on-x11-value'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-conflicting-keys' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-conflicting-keys'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-key-id' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-key-id'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-key-url' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-key-url'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-missing-key' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-missing-keys'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-multiple-stanzas' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-multiple-stanzas'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-parameter' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-type'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-signature-url' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-signature-url'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-gpg-type' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/invalid-gpg-type'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask => 'invalid-header-format' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-header-token-mismatch-this-text-does-not-belong' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-header-version' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-two-homepage' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'invalid-two-url' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  url 'http://example.com/caffeine.zip'
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
test_cask 'invalid-two-version' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  version '2.0'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'local-caffeine' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-alt-target' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,10 +1,10 @@
 | 
			
		||||
test_cask 'with-appcast' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  appcast 'http://example.com/appcast.xml',
 | 
			
		||||
          checkpoint: '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
          checkpoint: '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
  homepage 'http://example.com/with-appcast'
 | 
			
		||||
 | 
			
		||||
  app 'Caffeine.app'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-caveats' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-conditional-caveats' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-conflicts-with' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-conflicts-with'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-arch-failure' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-arch-failure'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-arch' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-arch'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-cask-cyclic-helper' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-cask-cyclic-helper'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-cask-cyclic' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-cask-cyclic'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-cask-multiple' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-cask-multiple'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-cask' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-cask'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-formula-multiple' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-formula-multiple'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-formula' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-formula'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-macos-array' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-macos-array'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-macos-comparison' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-macos-comparison'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-macos-failure' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-macos-failure'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-macos-string' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-macos-string'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-macos-symbol' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-macos-symbol'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-x11-false' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-x11-false'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-depends-on-x11' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-depends-on-x11'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-generic-artifact-no-target' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-generic-artifact'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-generic-artifact' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-generic-artifact'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-gpg-key-url' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-gpg-key-url'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-gpg' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-gpg'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-installer-manual' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-installer-script' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/with-install-script'
 | 
			
		||||
 | 
			
		||||
@ -1,11 +1,11 @@
 | 
			
		||||
test_cask 'with-suite' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 'd1302a0dc25aff72ad395ed01a830468b92253ffd28269574f3ac0b5eb8aad54'
 | 
			
		||||
  sha256 'd95dcc12d4e5be0bc3cb9793c4b7e7f69a25f0b3c7418494b0c883957e6eeae4'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine_suite.zip')
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine-suite.zip')
 | 
			
		||||
  name 'Caffeine'
 | 
			
		||||
  homepage 'http://example.com/with-suite'
 | 
			
		||||
  license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder
 | 
			
		||||
 | 
			
		||||
  suite 'caffeine_suite'
 | 
			
		||||
  suite 'Caffeine'
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@ -1,10 +1,10 @@
 | 
			
		||||
test_cask 'with-two-apps-correct' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 'c0c79dce9511c80603328013dbbcb80b859cc8b9190660b6832b5f0e60d74c82'
 | 
			
		||||
  sha256 '3178fbfd1ea5d87a2a0662a4eb599ebc9a03888e73f37538d9f3f6ee69d2368e'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('2_app_caffeine.zip')
 | 
			
		||||
  url TestHelper.local_binary_url('caffeines.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
  app 'Caffeine.app'
 | 
			
		||||
  app 'Caffeine-2.app'
 | 
			
		||||
  app 'Caffeine Mini.app'
 | 
			
		||||
  app 'Caffeine Pro.app'
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
test_cask 'with-two-apps-incorrect' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
 | 
			
		||||
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('caffeine.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
@ -1,10 +1,10 @@
 | 
			
		||||
test_cask 'with-two-apps-subdir' do
 | 
			
		||||
  version '1.2.3'
 | 
			
		||||
  sha256 '03edce6992a6095e120dcfadf7049158589ae6f0548c145ed1b1c6f2883f6dca'
 | 
			
		||||
  sha256 'd687c22a21c02bd8f07da9302c8292b93a04df9a929e3f04d09aea6c76f75c65'
 | 
			
		||||
 | 
			
		||||
  url TestHelper.local_binary_url('2_app_subdir.zip')
 | 
			
		||||
  url TestHelper.local_binary_url('caffeines-subdir.zip')
 | 
			
		||||
  homepage 'http://example.com/local-caffeine'
 | 
			
		||||
 | 
			
		||||
  app 'subdir/Caffeine.app'
 | 
			
		||||
  app 'subdir/Caffeine-2.app'
 | 
			
		||||
  app 'Caffeines/Caffeine Mini.app'
 | 
			
		||||
  app 'Caffeines/Caffeine Pro.app'
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Library/Homebrew/cask/test/support/binaries/caffeine-suite.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Library/Homebrew/cask/test/support/binaries/caffeine-suite.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Library/Homebrew/cask/test/support/binaries/caffeines-subdir.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Library/Homebrew/cask/test/support/binaries/caffeines-subdir.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								Library/Homebrew/cask/test/support/binaries/caffeines.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Library/Homebrew/cask/test/support/binaries/caffeines.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user