covid_pt 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 384f4f5029e16f0ec9c55f58666da61ab3f7752b5538951ded51be03f52d6a05
4
- data.tar.gz: c035a48461b81e0d8727dec3804ee1177f5ddbb26bd84ad3d31b4252402871b9
3
+ metadata.gz: 2b348c60a853a4c96437701c6f686af22a02d323e603481080cf4a4ea422db8b
4
+ data.tar.gz: 05c1785a581f1d3050bd72b469eeb5107f03c0273632e34e8bb666d0425ced5a
5
5
  SHA512:
6
- metadata.gz: 75bb705d87b51e5e3dfae743d1b8ed8bbfc736ecdbb42390b9481a1ff7d9efa797c19b8f99f6bc2cbe34a5b39076e0395458dad4f960220fc8a65e4a971192f0
7
- data.tar.gz: 186d6980168ae8dcc8e3cb5e2777532b4f21cdec1b60bd4425a2a500a81b92d739a723a304faeabd9fdc256a7385cb9cf89fd7efed4b577373940910d1f971af
6
+ metadata.gz: 1c5fec214bf6bff871a752b494fad7262d7fa2126d8362f30eefc1b0371874b14a19a97ff3a8ece84e1fe9e377c20a0cbc633818957a2c90e867e55ee4177b81
7
+ data.tar.gz: 656608cadc801dccbe10a9521c396262bc28095f1deb4bdae0614395a249af4a1621a460650bedc24dc65ed4e5384064a35462e2538c3de5be883cdd33fd5fa0
data/README.md CHANGED
@@ -23,7 +23,7 @@ Or install it yourself as:
23
23
  There are 3 main functions to generate a report.
24
24
 
25
25
  ```ruby
26
- report = CovidPT.report("2020-07-01")
26
+ report = CovidPT.at("2020-07-01")
27
27
  # Generates the report for the given date
28
28
 
29
29
  report = CovidPT.between("2020-07-01", "2020-07-02")
@@ -29,5 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.add_dependency "sort_alphabetical"
30
30
  spec.add_dependency "pdf-reader"
31
31
  spec.add_dependency "rest-client"
32
+ spec.add_dependency "nokogiri"
32
33
  spec.add_development_dependency "rubocop"
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module CovidPT
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covid_pt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Mendes
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-17 00:00:00.000000000 Z
11
+ date: 2020-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sort_alphabetical
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: nokogiri
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +80,7 @@ dependencies:
66
80
  - - ">="
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
- description:
83
+ description:
70
84
  email:
71
85
  - fernando@mendes.codes
72
86
  executables:
@@ -97,7 +111,7 @@ licenses:
97
111
  metadata:
98
112
  homepage_uri: https://github.com/frm/covid_pt
99
113
  source_code_uri: https://github.com/frm/covid_pt
100
- post_install_message:
114
+ post_install_message:
101
115
  rdoc_options: []
102
116
  require_paths:
103
117
  - lib
@@ -112,9 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
126
  - !ruby/object:Gem::Version
113
127
  version: '0'
114
128
  requirements: []
115
- rubyforge_project:
116
- rubygems_version: 2.7.3
117
- signing_key:
129
+ rubygems_version: 3.1.2
130
+ signing_key:
118
131
  specification_version: 4
119
132
  summary: COVID19 data fetcher and parser for Portugal
120
133
  test_files: []