evt-telemetry-logger 0.5.1.4 → 0.5.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telemetry/logger.rb +1 -1
- data/lib/telemetry/logger/color.rb +13 -13
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f5e888fb7dcb1df29a98ed8221fee41b867abc
|
4
|
+
data.tar.gz: cd5ba4838381750091c5dedf32caf638761c9bd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6384412c047e1c382554f3986dd15a7db4f39a3451952477370d0e53407fe5c9e32dbc6d1e8e90e6d506c08e94c652bdcafe6ebadae32cbea477b66b9dd9c39
|
7
|
+
data.tar.gz: 3a8ddf00fb424ba9b1d254436436c1c5ade674e4720159305376645f93162eb8168482af0f121fcfcb41250ac69cd5ada6bd1d4ff108f71bbc83b0111b6ff011
|
data/lib/telemetry/logger.rb
CHANGED
@@ -12,19 +12,19 @@ class Telemetry
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def metadata(text)
|
15
|
-
|
15
|
+
TerminalColors::Apply.(text, fg: 'yellow')
|
16
16
|
end
|
17
17
|
|
18
18
|
def todo(message)
|
19
|
-
|
19
|
+
TerminalColors::Apply.(message, fg: 'white', bg: 'white', bold: true)
|
20
20
|
end
|
21
21
|
|
22
22
|
def fubar(message)
|
23
|
-
|
23
|
+
TerminalColors::Apply.(message, fg: 'red', bg: 'yellow')
|
24
24
|
end
|
25
25
|
|
26
26
|
def obsolete(message)
|
27
|
-
|
27
|
+
TerminalColors::Apply.(message, fg: 'white', bold: true)
|
28
28
|
end
|
29
29
|
|
30
30
|
def opt_data(message)
|
@@ -32,7 +32,7 @@ class Telemetry
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def data(message)
|
35
|
-
|
35
|
+
TerminalColors::Apply.(message, fg: 'cyan')
|
36
36
|
end
|
37
37
|
|
38
38
|
def opt_trace(message)
|
@@ -40,35 +40,35 @@ class Telemetry
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def trace(message)
|
43
|
-
|
43
|
+
TerminalColors::Apply.(message, fg: 'white')
|
44
44
|
end
|
45
45
|
|
46
46
|
def info(message)
|
47
|
-
|
47
|
+
TerminalColors::Apply.(message, fg: 'green')
|
48
48
|
end
|
49
49
|
|
50
50
|
def pass(message)
|
51
|
-
|
51
|
+
TerminalColors::Apply.(message, fg: 'black', bg: 'green')
|
52
52
|
end
|
53
53
|
|
54
54
|
def fail(message)
|
55
|
-
|
55
|
+
TerminalColors::Apply.(message, fg: 'black', bg: 'red')
|
56
56
|
end
|
57
57
|
|
58
58
|
def focus(message)
|
59
|
-
|
59
|
+
TerminalColors::Apply.(message, fg: 'white', bg: 'blue', bold: true)
|
60
60
|
end
|
61
61
|
|
62
62
|
def warn(message)
|
63
|
-
|
63
|
+
TerminalColors::Apply.(message, fg: 'yellow', bg: 'black')
|
64
64
|
end
|
65
65
|
|
66
66
|
def error(message)
|
67
|
-
|
67
|
+
TerminalColors::Apply.(message, fg: 'red', bg: 'black')
|
68
68
|
end
|
69
69
|
|
70
70
|
def fatal(message)
|
71
|
-
|
71
|
+
TerminalColors::Apply.(message, fg: 'white', bg: 'black')
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-telemetry-logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.1.
|
4
|
+
version: 0.5.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-clock
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: terminal_colors
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.6.8
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Logging to STDERR with coloring and levels of severity
|