kovid 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -20
- data/kovid.gemspec +2 -2
- data/lib/kovid/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43dc6f9686a1cdff9e37d18699b2edc1ad77c214804f752225be41541430515a
|
4
|
+
data.tar.gz: 037a1ad3fa1c48a7378690fa99d83def1f8a53eb2477295906ab555e2003716d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb9d249bd87ddb00213f669bba52174c094cf8397bca540ee938e572ec16a671521c479394a2a759d1e4d3faf0702a6b88c6ede205c8293253aa904da78077bd
|
7
|
+
data.tar.gz: 3da8b7e5e36478c5c79888402a44051f032f17a4e2db19c67c95465812737b2950169c71980fb7964a88ad53a9b723468c3526ea7aaa2775f267e4484a23a211
|
data/README.md
CHANGED
@@ -1,44 +1,45 @@
|
|
1
|
-
# Kovid
|
1
|
+
# 🦠 Kovid
|
2
2
|
|
3
|
-
|
3
|
+
Kovid is a very simple CLI to to fetch data surrounding the coronavirus pandemic. I found myself checking [Wikipedia](https://en.wikipedia.org/wiki/2019%E2%80%9320_coronavirus_pandemic) constantly for information and since I work mostly in the terminal, like most of you, I thought I'd build this to put the data right at our fingertips.
|
4
4
|
|
5
|
-
|
5
|
+
Please feel free to contribute or suggest ideas!
|
6
6
|
|
7
|
-
## Installation
|
7
|
+
## ⚙️ Installation
|
8
8
|
|
9
|
-
Add this line to your application's Gemfile:
|
10
9
|
|
11
|
-
|
12
|
-
gem 'kovid'
|
13
|
-
```
|
10
|
+
You can install it by running:
|
14
11
|
|
15
|
-
|
12
|
+
$ gem install kovid
|
16
13
|
|
17
|
-
|
14
|
+
## ⚒️ Usage
|
18
15
|
|
19
|
-
|
16
|
+
To fetch basic data on a country run:
|
20
17
|
|
21
|
-
|
18
|
+
`kovid country ghana`
|
19
|
+
|
20
|
+
![kovid](https://i.gyazo.com/c95aa03d01c63ee1256dd28f66e1b657.png "Covid data.")
|
21
|
+
|
22
|
+
For a full table info on a country:
|
22
23
|
|
23
|
-
|
24
|
+
`kovid country poland -f` OR `kovid country poland --full`
|
24
25
|
|
25
|
-
|
26
|
+
![kovid](https://i.gyazo.com/48797cc6314e5685a34146d4cd749fa3.png "Covid data.")
|
26
27
|
|
27
|
-
## Development
|
28
|
+
## 👨💻 Development
|
28
29
|
|
29
30
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
31
|
|
31
32
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
33
|
|
33
|
-
## Contributing
|
34
|
+
## 🤲 Contributing
|
34
35
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
36
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/siaw23/kovid. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/siaw23/kovid/blob/master/CODE_OF_CONDUCT.md).
|
36
37
|
|
37
38
|
|
38
|
-
## License
|
39
|
+
## 🔖 License
|
39
40
|
|
40
41
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
41
42
|
|
42
|
-
## Code of Conduct
|
43
|
+
## ❤️ Code of Conduct
|
43
44
|
|
44
|
-
Everyone interacting in the Kovid project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
45
|
+
Everyone interacting in the Kovid project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/siaw23/kovid/blob/master/CODE_OF_CONDUCT.md).
|
data/kovid.gemspec
CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.authors = ["Emmanuel Hayford"]
|
7
7
|
spec.email = ["siawmensah@gmail.com"]
|
8
8
|
|
9
|
-
spec.summary = %q{
|
10
|
-
spec.description = %q{
|
9
|
+
spec.summary = %q{A CLI tool to get the numbers surrounding the coronavirus pandemic.}
|
10
|
+
spec.description = %q{A CLI tool to get the numbers surrounding the coronavirus pandemic of 2019.}
|
11
11
|
spec.homepage = "https://github.com/siaw23/kovid"
|
12
12
|
spec.license = "MIT"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
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.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emmanuel Hayford
|
@@ -80,7 +80,8 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description:
|
83
|
+
description: A CLI tool to get the numbers surrounding the coronavirus pandemic of
|
84
|
+
2019.
|
84
85
|
email:
|
85
86
|
- siawmensah@gmail.com
|
86
87
|
executables:
|
@@ -133,5 +134,5 @@ requirements: []
|
|
133
134
|
rubygems_version: 3.1.2
|
134
135
|
signing_key:
|
135
136
|
specification_version: 4
|
136
|
-
summary:
|
137
|
+
summary: A CLI tool to get the numbers surrounding the coronavirus pandemic.
|
137
138
|
test_files: []
|