fewald-worklog 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.version +1 -1
- data/lib/configuration.rb +2 -1
- data/lib/worklog.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0b9b65400d11aa3833a792fadd9a2f6f8916b830c944aceda1cfea70f3ae88
|
4
|
+
data.tar.gz: c790bc2127576000348ee1d173fcdb5403e58f4c79d43f1549cd82889e459941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d64ced519bcbdfe23a2c9cb74f5fe5239adb0da9e548064fe847ae9af67a1176e520307222a1856466058e9fa607efc84e8002b1583fa3e38a9e7d07d04a8815
|
7
|
+
data.tar.gz: 574a697452cc31ea61ac6785e61545ced2441cdec4784b9ad8f37e767d63cc703807e5edc7c5e2ba476f4e45c9a6786336940301fde6cded5f38b45feb3cfb90
|
data/.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.10
|
data/lib/configuration.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'worklogger'
|
3
4
|
require 'yaml'
|
4
5
|
|
5
6
|
# Configuration class for the application.
|
@@ -28,6 +29,6 @@ def load_configuration
|
|
28
29
|
cfg.webserver_port = file_cfg['webserver_port'] if file_cfg['webserver_port']
|
29
30
|
end
|
30
31
|
else
|
31
|
-
|
32
|
+
WorkLogger.debug "Configuration file does not exist in #{file_path}"
|
32
33
|
end
|
33
34
|
end
|
data/lib/worklog.rb
CHANGED
@@ -111,7 +111,9 @@ class Worklog
|
|
111
111
|
|
112
112
|
mentions.each do |handle, v|
|
113
113
|
if people_map.key?(handle)
|
114
|
-
|
114
|
+
person = people_map[handle]
|
115
|
+
print "#{Rainbow(person.name).gold} (#{handle})"
|
116
|
+
print " (#{person.team})" if person.team
|
115
117
|
else
|
116
118
|
print handle
|
117
119
|
end
|