kovid 0.5.6 → 0.5.7
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/kovid.gemspec +0 -4
- data/lib/kovid/cli.rb +2 -0
- data/lib/kovid/version.rb +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b488a28c850a4d10e8405a0821a33c7967f1107d1340c3819c6dda9ace2e4c02
|
|
4
|
+
data.tar.gz: b1b5d63a09925a682462b7e0c49fd3553f4b6d177fc43c7087d3652ddb44f8d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e4cfd46a6bb20963f7443d9435fdc8aa13e93ed1730ae602a3a7b18e1ad7494070d99bc06639ae842e9aac7297aea48e2baecc4836bab16792bccf4eb8fc60e
|
|
7
|
+
data.tar.gz: d33d54c821c7579becfe5e5c060672dabe607618af098b66e880105069e3db7a03b9234a7155025345ccbfbb14b86afcd9a6a85f8f28d5ac40d40c5df7506a30
|
data/kovid.gemspec
CHANGED
|
@@ -49,10 +49,6 @@ Gem::Specification.new do |spec|
|
|
|
49
49
|
Emmanuel Hayford.
|
|
50
50
|
https://emmanuelhayford.com
|
|
51
51
|
|
|
52
|
-
Data Sources:
|
|
53
|
-
* JHU CSSE GISand Data
|
|
54
|
-
* https://www.worldometers.info/coronavirus
|
|
55
|
-
|
|
56
52
|
PS: I'm in search of a Rails/Ruby job.
|
|
57
53
|
|
|
58
54
|
You can hire me (siawmensah@gmail.com).
|
data/lib/kovid/cli.rb
CHANGED
|
@@ -21,6 +21,7 @@ module Kovid
|
|
|
21
21
|
desc 'provinces PROVINCE PROVINCE', 'Returns full comparison table for the given provinces. Accepts multiple provinces.'
|
|
22
22
|
def provinces(*names)
|
|
23
23
|
puts Kovid.provinces(names)
|
|
24
|
+
data_source
|
|
24
25
|
end
|
|
25
26
|
|
|
26
27
|
desc 'check COUNTRY or check "COUNTRY NAME"', 'Returns reported data on provided country. eg: "kovid check "hong kong".'
|
|
@@ -56,6 +57,7 @@ module Kovid
|
|
|
56
57
|
desc 'states STATE STATE', 'Returns full comparison table for the given states. Accepts multiple states.'
|
|
57
58
|
def states(*states)
|
|
58
59
|
puts Kovid.states(states)
|
|
60
|
+
data_source
|
|
59
61
|
end
|
|
60
62
|
|
|
61
63
|
desc 'world', 'Returns total number of cases, deaths and recoveries.'
|
data/lib/kovid/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kovid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emmanuel Hayford
|
|
@@ -139,7 +139,6 @@ post_install_message: "\n ===================================================
|
|
|
139
139
|
novel coronavirus, I think stats on the issue should be\n accessible.\n\n There
|
|
140
140
|
isn't much we can do now besides following procedures and hoping\n for the
|
|
141
141
|
best.\n\n Stay safe!\n Emmanuel Hayford.\n https://emmanuelhayford.com\n\n
|
|
142
|
-
\ Data Sources:\n * JHU CSSE GISand Data\n * https://www.worldometers.info/coronavirus\n\n
|
|
143
142
|
\ PS: I'm in search of a Rails/Ruby job.\n\n You can hire me (siawmensah@gmail.com).\n
|
|
144
143
|
\ ============================================================================\n
|
|
145
144
|
\ "
|