fiedl-log 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/fiedl-log.gemspec +3 -3
- data/lib/fiedl/log/log.rb +3 -2
- data/lib/fiedl/log/version.rb +1 -1
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3ca8a558e1474746111a403e6fd436764f5231a55568e083e670c64d719acdaa
|
4
|
+
data.tar.gz: e43c5793db564bb5cad0c42ddf46aba9eb73f5eb1aa1e079c2d6856c1c89454b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28998b2f0a0f520a5786b66e407cb9138593c1c8c822068eb1e06f88faf496d3399bfbb802b1dc43e1287ae333d31563fd1f14f959a2474f04c92ff12ad144ac
|
7
|
+
data.tar.gz: e6cc038d50549d14dcb016635b09ccf193e0f889edd83c43c41167077466a1371c9a873ece5d99dcd6c9dab27da35c970876c6dc30bfa464f04f29a8d6de56cb
|
data/fiedl-log.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "fiedl-log"
|
8
8
|
spec.version = Fiedl::Log::VERSION
|
9
9
|
spec.authors = ["Sebastian Fiedlschuster"]
|
10
|
-
spec.email = ["
|
10
|
+
spec.email = ["rubygems@fiedlschuster.de"]
|
11
11
|
|
12
12
|
spec.summary = %q{Simple colored output helper for ruby scripts.}
|
13
13
|
spec.description = spec.summary
|
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
end
|
20
20
|
spec.require_paths = ["lib", "lib/fiedl/log"]
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler", "
|
23
|
-
spec.add_development_dependency "rake", "
|
22
|
+
spec.add_development_dependency "bundler", ">= 2.2.10"
|
23
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
24
24
|
spec.add_development_dependency "rspec", "~> 3.0"
|
25
25
|
|
26
26
|
spec.add_dependency "colored"
|
data/lib/fiedl/log/log.rb
CHANGED
@@ -58,12 +58,13 @@ class Fiedl::Log::Log
|
|
58
58
|
|
59
59
|
output = ""
|
60
60
|
r, io = IO.pipe
|
61
|
-
fork do
|
62
|
-
system(command, out: io, err:
|
61
|
+
pid = fork do
|
62
|
+
system(command, out: io, err: io)
|
63
63
|
end
|
64
64
|
io.close
|
65
65
|
r.each_char{|c| print c; output += c}
|
66
66
|
|
67
|
+
Process.waitpid pid
|
67
68
|
return output
|
68
69
|
end
|
69
70
|
|
data/lib/fiedl/log/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fiedl-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Fiedlschuster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.2.10
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.2.10
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '0'
|
69
69
|
description: Simple colored output helper for ruby scripts.
|
70
70
|
email:
|
71
|
-
-
|
71
|
+
- rubygems@fiedlschuster.de
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
@@ -108,8 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
|
112
|
-
rubygems_version: 2.5.1
|
111
|
+
rubygems_version: 3.0.3.1
|
113
112
|
signing_key:
|
114
113
|
specification_version: 4
|
115
114
|
summary: Simple colored output helper for ruby scripts.
|