opener-tokenizer 1.0.6 → 1.0.7

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: 8068efdaddd2e39be5e79f112fe510642b897108
4
- data.tar.gz: bd2f22620b4a8c113f90862ad8343a7cef975e26
3
+ metadata.gz: 227b7496821543178e68fa3954cd1c7761ef5f4b
4
+ data.tar.gz: 892176f30bac5e0b499660a512d04451c79729d0
5
5
  SHA512:
6
- metadata.gz: b99b7903356298ffc99277e8baa8fef0fcba90fcc9532215a68165c7c2fcfdc1c6d6e1a866e57c81bd093f67eed95e6debb9daf5978906e2f782c76794374e0c
7
- data.tar.gz: 58aaeade92a450c148530ef56cbc48f73fea4507be4180686cac18578863d07409a972812b354fefb55bd88a8bc8461ad1e080cce0c4518f235cc8ba77f714d6
6
+ metadata.gz: c5d7f56439173cabf27caa1eba7ca8111b3e0f9a1721fdeb537211e51735d3a64d345148a816574b129d00cac139692fc7def7679b1de4dc3d2a55fad0efc51d
7
+ data.tar.gz: 14ec10d19752b1f8646e6a707c185f59f657ad3706bd0621556ee82fa64e8229941cd2742e18eb2bbf253219791fe51457e9c57404e1e213076fe479561a34a9
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class Tokenizer
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
5
5
  end
@@ -70,8 +70,11 @@ module Opener
70
70
  end
71
71
 
72
72
  kernel = language_constant(language).new(:args => options[:args])
73
-
74
- return Open3.capture3(*kernel.command.split(" "), :stdin_data => input)
73
+
74
+ stdout, stderr, process = Open3.capture3(*kernel.command.split(" "), :stdin_data => input)
75
+ raise stderr unless process.success?
76
+ return stdout
77
+
75
78
  rescue Exception => error
76
79
  return ErrorLayer.new(input, error.message, self.class).add
77
80
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-tokenizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com