libis-tools 0.9.10 → 0.9.12

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: b01ca03040ec809f70ec3d43df73b70f043da800
4
- data.tar.gz: f114d4ad472bf6bdc15afc3838294c148db7faee
3
+ metadata.gz: 2acfb7ca3db4644a7c4001df1ee44999ccc8632f
4
+ data.tar.gz: 32a297ad8bdc665211b6d4ff51efd67f9e026589
5
5
  SHA512:
6
- metadata.gz: 0c761e895cc23ce58742d04d8d6d1788bf169d9d438683004e9f7eb0f190f85944fb1db2eb26a1fccf11a9db66017953d5ba6663e915f0c29d2c30937da8933e
7
- data.tar.gz: 3c04c7eff20a8ab20393a50b8992e4763408da4819445be3f7821bca5bfe307d3188784951d3f44693a85081e04e077c82e0b9d02e1e4b8c8ef1b8cc1df34171
6
+ metadata.gz: 609edc8e2ec6db1ced8bb0db45b1b55c9f00ebc7b8c6c45cdb12fe7d8dc44194871d5902310b7e173d54c61b4d23cf233919879c3f3feb2d2dc249caf82ceaf0
7
+ data.tar.gz: e967facb80617a24e4bd3cd4ae2e80995b13e8672fb0dc65d79b2d663883aa3d464d8ed5d61d0faf45cf118363aa60457b32b5eb896c01589ba4f03d77f91ede
data/.travis.yml CHANGED
@@ -2,23 +2,16 @@ language: ruby
2
2
  cache: bundler
3
3
  sudo: false
4
4
  rvm:
5
- - 1.9.3
6
5
  - 2.1.0
7
6
  - 2.2.0
8
7
  - ruby-head
9
- - jruby-1.7.20
10
8
  - jruby-9.0.1.0
11
- - jruby-head
12
9
  jdk:
13
10
  - openjdk7
14
11
  - oraclejdk7
15
12
  - oraclejdk8
16
13
  matrix:
17
14
  exclude:
18
- - rvm: 1.9.3
19
- jdk: oraclejdk7
20
- - rvm: 1.9.3
21
- jdk: oraclejdk8
22
15
  - rvm: 2.1.0
23
16
  jdk: oraclejdk7
24
17
  - rvm: 2.1.0
@@ -16,7 +16,11 @@ module Libis
16
16
  # * +:out+ : the stdout output of the command
17
17
  # * +:err+ : the stderr output of the command
18
18
  def self.run(cmd, *opts)
19
- result = {}
19
+ result = {
20
+ status: 999,
21
+ out: [],
22
+ err: []
23
+ }
20
24
  begin
21
25
  Open3.popen3(cmd, *opts) do |_, output, error, thread|
22
26
  output = output.read
@@ -26,8 +30,8 @@ module Libis
26
30
  result[:status] = thread.value.exitstatus rescue nil
27
31
  end
28
32
 
29
- rescue Exception
30
- # ignored
33
+ rescue StandardError => e
34
+ result[err] = [e.class.name, e.message]
31
35
 
32
36
  end
33
37
 
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Tools
3
- VERSION = '0.9.10'
3
+ VERSION = '0.9.12'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-05 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -310,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  version: '0'
311
311
  requirements: []
312
312
  rubyforge_project:
313
- rubygems_version: 2.2.2
313
+ rubygems_version: 2.5.0
314
314
  signing_key:
315
315
  specification_version: 4
316
316
  summary: LIBIS toolbox.