kovid 0.1.14 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af922cf964393c54e9e754d0e292e28b273d8879f6d01a26098036dfaf833028
4
- data.tar.gz: 0f13b97fc89501ba2e874c7812dbe2b0b5f7c3a5002a8ee428ee4c645f551dac
3
+ metadata.gz: dec1641038a035a0bc758b932acbdaf903c4b750ce78e741b9774dbe36afbccc
4
+ data.tar.gz: cf970b4f697a365d5f5d9784067377319a2d425e917b308a70496cba41834724
5
5
  SHA512:
6
- metadata.gz: bd75365e81cfe99be195117bc8f0c5d9babac43896f80929922bbe255f4c0052753d6fb078a71c8b7c428877297f3fd6e4997d74d17c525d2657a58112e3acc7
7
- data.tar.gz: 580ca440ce3a0fddd3d3e3879ffa5b6617304a1036bd3cfada69e7de952bf543ea02cf7deb8af810065a883ea2256736191e8ecec8453acbc8c3a47ca58dc439
6
+ metadata.gz: 453a0fb385948b6ff7c4da4f92a522cf954587246d529eb2e959ec1b361e73f5b271c6656a381a2ff94b730ea30c09ae67f88c4d03e74441b2d44c03e28d07d5
7
+ data.tar.gz: 9d5927e08ab1a4520c774d237fc937b06672b983cddd001b205388b6180a14f25ce43d0471140e85ebb5b430e55422dc6edbeaa1ed5a67e0ce96e2b2d0e44884
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kovid (0.1.13)
4
+ kovid (0.1.14)
5
5
  colorize
6
6
  terminal-table
7
7
  thor
data/kovid.gemspec CHANGED
@@ -14,6 +14,23 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.metadata["allowed_push_host"] = "https://rubygems.org/"
16
16
 
17
+ spec.post_install_message = %q{
18
+ ============================================================================
19
+ COVID-19 has devasted the world! But while we're fighting
20
+ with the novel coronavirus, I think stats on the issue should be easily
21
+ reachable.
22
+
23
+ There isn't much we can do now aside:
24
+
25
+ * Washing our hands with soap frequently.
26
+ * Limiting our movements and social distancing.
27
+ * Being there for each other.
28
+
29
+ Stay safe!
30
+ Emmanuel Hayford.
31
+ ============================================================================
32
+ }
33
+
17
34
  spec.metadata["homepage_uri"] = spec.homepage
18
35
  spec.metadata["source_code_uri"] = "https://github.com/siaw23/kovid"
19
36
  spec.metadata["changelog_uri"] = "https://github.com/siaw23/kovid"
data/lib/kovid/cli.rb CHANGED
@@ -32,8 +32,7 @@ module Kovid
32
32
  desc 'compare COUNTRY COUNTRY', 'Returns full comparison table for given countries. Accepts multiple countries.'
33
33
  def compare(*name)
34
34
  if FULL_FLAG.include?(name.fetch(-1))
35
- name = name.reverse.drop(1).reverse
36
- puts Kovid.country_comparison_full(name)
35
+ puts Kovid.country_comparison_full(name[0..-2])
37
36
  else
38
37
  puts Kovid.country_comparison(name)
39
38
  end
@@ -48,10 +48,10 @@ module Kovid
48
48
  def full_state_table(state)
49
49
  headings = [
50
50
  'Cases'.paint_white,
51
- 'Cases Today',
51
+ 'Cases Today'.paint_white,
52
52
  'Deaths'.paint_red,
53
53
  'Deaths Today'.paint_red,
54
- 'Reovered'.paint_green,
54
+ 'Recovered'.paint_green,
55
55
  'Active'.paint_yellow
56
56
  ]
57
57
 
data/lib/kovid/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kovid
4
- VERSION = '0.1.14'
4
+ VERSION = '0.1.15'
5
5
  end
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.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emmanuel Hayford
@@ -160,7 +160,13 @@ metadata:
160
160
  homepage_uri: https://github.com/siaw23/kovid
161
161
  source_code_uri: https://github.com/siaw23/kovid
162
162
  changelog_uri: https://github.com/siaw23/kovid
163
- post_install_message:
163
+ post_install_message: "\n ============================================================================\n
164
+ \ COVID-19 has devasted the world! But while we're fighting\n with the
165
+ novel coronavirus, I think stats on the issue should be easily\n reachable.\n\n
166
+ \ There isn't much we can do now aside:\n\n * Washing our hands with soap
167
+ frequently.\n * Limiting our movements and social distancing.\n * Being
168
+ there for each other.\n\n Stay safe!\n Emmanuel Hayford.\n ============================================================================\n
169
+ \ "
164
170
  rdoc_options: []
165
171
  require_paths:
166
172
  - lib