libreconv 0.9.2 → 0.9.3

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
  SHA256:
3
- metadata.gz: 6c15c8557e480e6dff15a4c3fe8f3e5d9a9c6a46c43203df1def06fd7ddbb7fe
4
- data.tar.gz: 41c3505b47c3de9dfe6ead9b965d0462fdc38e2afcf56b2454f9c2b3a583cfb6
3
+ metadata.gz: 771ed18ef3438a2fbe8aa0a213c57c97a7631e1d8ab25e63fbd791d0884ea81b
4
+ data.tar.gz: 568a8dacb50e126a828843dd142a3ad0209bd0daee230d5ec355566a7e9a1ed9
5
5
  SHA512:
6
- metadata.gz: 2d28320784b82c47670bdde73138e664b073c94455327403dcd3e444157bdb093b0a2f3f93f8335703010c3237cae80c154cee42605842e7dd8275f877197758
7
- data.tar.gz: 911898a953f283f81d957ab6aabf8a273038e0856f446baa5e9c133eaa0b6163cee24e968c7c03ccbd600677426680fc5ff49b54bd6161913081c91f79256913
6
+ metadata.gz: fb1894b92d6c3f96b4e8955724969e7da080ef82db3d68495e87030f9210ba363b617c29e76efac5dc79428a91fafe108b31b746cab175268bd338c375fa8359
7
+ data.tar.gz: 7d7b25767c5467cd52a7446bd7f1c2d76219c985233167294337386c83e1f6a039e01bca6926517d9480907530b5feeddcf028b5f654871c01641f61ff8cd6f8
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Libreconv
4
- VERSION = '0.9.2'
4
+ VERSION = '0.9.3'
5
5
  end
data/lib/libreconv.rb CHANGED
@@ -78,12 +78,13 @@ module Libreconv
78
78
  {
79
79
  'HOME' => ENV['HOME'],
80
80
  'PATH' => ENV['PATH'],
81
- 'LANG' => ENV['LANG']
81
+ 'LANG' => ENV['LANG'],
82
+ 'LD_LIBRARY_PATH' => ENV['LD_LIBRARY_PATH']
82
83
  },
83
84
  *command,
84
85
  unsetenv_others: true
85
86
  )
86
- unless status.success? && error == ''
87
+ if !status.success?
87
88
  raise ConversionFailedError,
88
89
  "Conversion failed! Output: #{output.strip.inspect}, " \
89
90
  "Error: #{error.strip.inspect}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libreconv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Nyström