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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae77aab06049ba8f26ed729a44b672cd182bb361
4
- data.tar.gz: 8aad6f271565a5788b387207e99932bec57434f0
3
+ metadata.gz: cf4ff5a475450c3779eabbf3f30aee661548013e
4
+ data.tar.gz: 28162dc0426f41726506b64dc0b239bc670cc1f0
5
5
  SHA512:
6
- metadata.gz: 381cc6ee15373f718c6b76e42fb95fede0a9b74e322b5becaa22d1789cbd38b31617857d744854e36a5594c4d5ff23f63cc832d721efbb1cf84d5d762f97de53
7
- data.tar.gz: e8f6370d87eb3417d69d729e4ed62b2febdd6a35c0986ede7db54c6a30501fff33650311bc01998411c1d33a23b47f47b574e72044b78b735c56debe7517e03b
6
+ metadata.gz: b28958a77264e6f189b7a38d47a70ab8932eb78dfdc8739be13035de1ffdd309a2b7c97e38dc382e5d52c63ecd017724918aebc29e09e8b32781335a0702aef2
7
+ data.tar.gz: dde0b24a7b35be5f73a53cd0cb156fa2d068c9c30a814e2565736d615dbb0cc236ffc72df825ec826d0fcd4518b8146d4068ba9133f08693ed5e90cf0d448253
@@ -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}"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module RAR
4
4
  # The library version constant.
5
- Version = "0.1.1"
5
+ Version = "0.1.2"
6
6
 
7
7
  # Returns the current library version number.
8
8
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikkel Kroman