papers.rb: changed 'gsub' into '' to 'delete'

This commit is contained in:
Vítor Galvão 2015-08-09 14:22:00 +01:00
parent a147d05f2f
commit 612073eabf
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ cask :v1 => 'papers' do
version '3.3.1-347'
sha256 'df1ee90be340dff275f2fba340ce6687a9f612525c8282e06ecd1e8d842a03b8'
url "http://appcaster.papersapp.com/apps/mac/production/download/#{version.sub(%r{^.*-},'')}/papers_#{version.gsub('.','').sub('-','_')}.dmg"
url "http://appcaster.papersapp.com/apps/mac/production/download/#{version.sub(%r{^.*-},'')}/papers_#{version.delete('.').sub('-','_')}.dmg"
appcast 'http://appcaster.papersapp.com/apps/mac/production/appcast.xml',
:sha256 => '4383f5d86a31d7d1068e687f65492c8438985f09717b896a5db87cdeb1f75f0b'
name 'Papers'