aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unrar.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/unrar.rb b/Library/Formula/unrar.rb
index b0edd5f00..01aec040d 100644
--- a/Library/Formula/unrar.rb
+++ b/Library/Formula/unrar.rb
@@ -2,8 +2,8 @@ require 'formula'
class Unrar < Formula
homepage 'http://www.rarlab.com'
- url 'http://www.rarlab.com/rar/unrarsrc-5.1.5.tar.gz'
- sha1 'a25fd20ad18afc053d100eecf8a56aa7490cfdca'
+ url 'http://www.rarlab.com/rar/unrarsrc-5.1.6.tar.gz'
+ sha1 'af9220d85cb96ce102b7375c1e5e501b64fc89fd'
def install
system "make"
@@ -16,7 +16,7 @@ class Unrar < Formula
data = 'UmFyIRoHAM+QcwAADQAAAAAAAACaCHQggDIACQAAAAkAAAADtPej1LZwZE' +
'QUMBIApIEAAGRpcmVjdG9yeVxmaWxlLnR4dEhvbWVicmV3CsQ9ewBABwA='
- rarpath.write data.unpack('m')
+ rarpath.write data.unpack('m').first
assert_equal contentpath, `#{bin}/unrar lb #{rarpath}`.strip
assert_equal 0, $?.exitstatus