kovid 0.6.14 → 0.6.15
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/Gemfile.lock +1 -1
- data/lib/kovid/constants.rb +6 -3
- data/lib/kovid/tablelize.rb +1 -2
- data/lib/kovid/version.rb +1 -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: d6cedbd1aa526ce6960c995100e849b0b9999376745df43c8943544792745c9c
|
4
|
+
data.tar.gz: 04547efd43c6c64d85861ed0e6d783fb4e89e03afd022167973e99812a8482ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24c2ec47c8240fbdb7d1f7c5bcc8989d6eaa9f0fb3648decd612004cec192d2740d9308364ee7cd638a0b8591920f34989cfff7743df24bfe8c505f983306998
|
7
|
+
data.tar.gz: e58d5269006cbca2feb2ebdfd88522920162d82cede3fcd3c585f7d1c9163af4cc38f2f76aa78931565ce3718fc0c15825d1eaf7e14e415bfd2d292e4adb5ab5
|
data/Gemfile.lock
CHANGED
data/lib/kovid/constants.rb
CHANGED
@@ -44,11 +44,13 @@ module Kovid
|
|
44
44
|
COMPARE_COUNTRY_TABLE_FULL = [
|
45
45
|
'Country'.paint_white,
|
46
46
|
'Cases'.paint_white,
|
47
|
-
'Deaths'.paint_red,
|
48
|
-
'Recovered'.paint_green,
|
49
47
|
'Cases Today'.paint_white,
|
48
|
+
'Deaths'.paint_red,
|
50
49
|
'Deaths Today'.paint_red,
|
50
|
+
'Active'.paint_yellow,
|
51
|
+
'Recovered'.paint_green,
|
51
52
|
'Critical'.paint_yellow,
|
53
|
+
'Tests'.paint_white,
|
52
54
|
'Cases/Million'.paint_white
|
53
55
|
].freeze
|
54
56
|
|
@@ -58,6 +60,7 @@ module Kovid
|
|
58
60
|
'Cases Today'.paint_white,
|
59
61
|
'Deaths'.paint_red,
|
60
62
|
'Deaths Today'.paint_red,
|
63
|
+
'Active'.paint_yellow,
|
61
64
|
'Recovered'.paint_green,
|
62
65
|
'Tests'.paint_white
|
63
66
|
].freeze
|
@@ -69,8 +72,8 @@ module Kovid
|
|
69
72
|
'Deaths Today'.paint_red,
|
70
73
|
'Active'.paint_yellow,
|
71
74
|
'Recovered'.paint_green,
|
72
|
-
'Tests'.paint_white,
|
73
75
|
'Critical'.paint_yellow,
|
76
|
+
'Tests'.paint_white,
|
74
77
|
'Cases/Million'.paint_white
|
75
78
|
].freeze
|
76
79
|
|
data/lib/kovid/tablelize.rb
CHANGED
@@ -156,9 +156,8 @@ module Kovid
|
|
156
156
|
Kovid.add_plus_sign(data['todayDeaths']),
|
157
157
|
Kovid.comma_delimit(data['active']),
|
158
158
|
Kovid.comma_delimit(data['recovered']),
|
159
|
-
Kovid.comma_delimit(data['tests']),
|
160
|
-
|
161
159
|
Kovid.comma_delimit(data['critical']),
|
160
|
+
Kovid.comma_delimit(data['tests']),
|
162
161
|
Kovid.comma_delimit(data['casesPerOneMillion'])
|
163
162
|
]
|
164
163
|
end
|
data/lib/kovid/version.rb
CHANGED