rar 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/library/rar/archive.rb +2 -2
- data/library/rar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf4ff5a475450c3779eabbf3f30aee661548013e
|
4
|
+
data.tar.gz: 28162dc0426f41726506b64dc0b239bc670cc1f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b28958a77264e6f189b7a38d47a70ab8932eb78dfdc8739be13035de1ffdd309a2b7c97e38dc382e5d52c63ecd017724918aebc29e09e8b32781335a0702aef2
|
7
|
+
data.tar.gz: dde0b24a7b35be5f73a53cd0cb156fa2d068c9c30a814e2565736d615dbb0cc236ffc72df825ec826d0fcd4518b8146d4068ba9133f08693ed5e90cf0d448253
|
data/library/rar/archive.rb
CHANGED
@@ -55,8 +55,8 @@ module RAR
|
|
55
55
|
# Wait for the child rar process to finish.
|
56
56
|
_, exit_status = Process.wait2 rar_process.pid
|
57
57
|
|
58
|
-
if exit_status > 1
|
59
|
-
if message = ExitCodeMessages[exit_status]
|
58
|
+
if exit_status.to_i > 1
|
59
|
+
if message = ExitCodeMessages[exit_status.to_i]
|
60
60
|
raise CommandLineError, message
|
61
61
|
else
|
62
62
|
raise CommandLineError, "Unknown exit status: #{exit_status}"
|
data/library/rar/version.rb
CHANGED