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 +4 -4
- data/.travis.yml +8 -19
- data/lib/libis/tools/command.rb +12 -6
- data/lib/libis/tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97d3c16d53f3b37947752b8efa13d313265c569b
|
4
|
+
data.tar.gz: 7fab21f7cad512ed195ea01937fb60d0b5b5b8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
- 2.3.
|
8
|
-
- 2.4.
|
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.
|
11
|
+
- jruby-9.1.9.0
|
12
12
|
- jruby-head
|
13
13
|
jdk:
|
14
|
-
-
|
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.
|
24
|
-
jdk: oraclejdk7
|
25
|
-
- rvm: 2.2.7
|
20
|
+
- rvm: 2.2.8
|
26
21
|
jdk: oraclejdk8
|
27
|
-
- rvm: 2.3.
|
28
|
-
jdk: oraclejdk7
|
29
|
-
- rvm: 2.3.4
|
22
|
+
- rvm: 2.3.5
|
30
23
|
jdk: oraclejdk8
|
31
|
-
- rvm: 2.4.
|
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:
|
data/lib/libis/tools/command.rb
CHANGED
@@ -43,13 +43,19 @@ module Libis
|
|
43
43
|
err: []
|
44
44
|
}
|
45
45
|
begin
|
46
|
-
Open3.popen3(cmd, *opts)
|
47
|
-
|
48
|
-
|
49
|
-
result[:
|
50
|
-
result[:err]
|
51
|
-
result[:
|
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]
|
data/lib/libis/tools/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|