libis-tools 0.9.54 → 0.9.56

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: ae389ef2e44feca0bd78fd597d72d6739e78fa04
4
- data.tar.gz: ab0cb4d78009eb1bf655d6c7827b3a6ca3617a9e
3
+ metadata.gz: 97d3c16d53f3b37947752b8efa13d313265c569b
4
+ data.tar.gz: 7fab21f7cad512ed195ea01937fb60d0b5b5b8af
5
5
  SHA512:
6
- metadata.gz: fca49440deb07099c2e8c4ae630930cc07c15ad740632bb71f5834e0bd6c9524ceacdbe5d7cdbbd6ee8c681c502750159123377c2808312fd68dd8fdbbde64d3
7
- data.tar.gz: d0b17ee117419c096f35a99fb959dc75dcf33270a515e1b439d24516ce630be01ad5e727670e58a59fcd65f540f8514a59f985428646347918904d2ea926747c
6
+ metadata.gz: e1543c8b2515dac9c1c8704e6453e972638233c771dcddcdc0443aaf739c1441dfd80e56b918c9c520667af1e294f9e8c836de71dd9d0ceff7ed4fa81a051839
7
+ data.tar.gz: 4935cdd72ec551e872ca26d7c6036c98524d34b4149296ac7572c484a034537fcce0901477d6f4199307996620a379d2d311bca3fe2857e2766355cc3a9027aa
data/.travis.yml CHANGED
@@ -3,37 +3,26 @@ cache: bundler
3
3
  sudo: false
4
4
  rvm:
5
5
  - 2.1.10
6
- - 2.2.7
7
- - 2.3.4
8
- - 2.4.1
6
+ - 2.2.8
7
+ - 2.3.5
8
+ - 2.4.2
9
9
  - ruby-head
10
10
  - jruby-9.0.5.0
11
- - jruby-9.1.5.0
11
+ - jruby-9.1.9.0
12
12
  - jruby-head
13
13
  jdk:
14
- - openjdk7
15
- - oraclejdk7
14
+ - openjdk8
16
15
  - oraclejdk8
17
16
  matrix:
18
17
  exclude:
19
- - rvm: 2.1.10
20
- jdk: oraclejdk7
21
18
  - rvm: 2.1.10
22
19
  jdk: oraclejdk8
23
- - rvm: 2.2.7
24
- jdk: oraclejdk7
25
- - rvm: 2.2.7
20
+ - rvm: 2.2.8
26
21
  jdk: oraclejdk8
27
- - rvm: 2.3.4
28
- jdk: oraclejdk7
29
- - rvm: 2.3.4
22
+ - rvm: 2.3.5
30
23
  jdk: oraclejdk8
31
- - rvm: 2.4.1
32
- jdk: oraclejdk7
33
- - rvm: 2.4.1
24
+ - rvm: 2.4.2
34
25
  jdk: oraclejdk8
35
- - rvm: ruby-head
36
- jdk: oraclejdk7
37
26
  - rvm: ruby-head
38
27
  jdk: oraclejdk8
39
28
  allow_failures:
@@ -43,13 +43,19 @@ module Libis
43
43
  err: []
44
44
  }
45
45
  begin
46
- Open3.popen3(cmd, *opts) do |_, output, error, thread|
47
- output = output.read
48
- error = error.read
49
- result[:out] = output.split("\n").map(&:chomp)
50
- result[:err] = error.split("\n").map(&:chomp)
51
- result[:status] = thread.value.exitstatus rescue nil
46
+ input, output, error, thread = Open3.popen3(cmd, *opts)
47
+ input.close
48
+ error.each_line do |line|
49
+ next if result[:err].size > 100
50
+ result[:err] << line.chomp
51
+ result[:err] << '.... <<< Extra messages skipped >>> ....' if result[:err] == 100
52
52
  end
53
+ output.each_line do |line|
54
+ next if result[:out].size > 100
55
+ result[:out] << line.chomp
56
+ result[:out] << '.... <<< Extra messages skipped >>> ....' if result[:out] == 100
57
+ end
58
+ result[:status] = thread.value.exitstatus rescue nil
53
59
 
54
60
  rescue StandardError => e
55
61
  result[:err] = [e.class.name, e.message]
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Tools
3
- VERSION = '0.9.54'
3
+ VERSION = '0.9.56'
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.54
4
+ version: 0.9.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-04 00:00:00.000000000 Z
11
+ date: 2017-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler