eia 1.0.0 → 1.0.1
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/lib/eia/data.rb +2 -2
- data/lib/eia/ibge.rb +2 -2
- data/lib/eia/version.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1eff9eb923274d2c74f7118cbcbfedf811797d8
|
|
4
|
+
data.tar.gz: 0ed4c7783fa7deafe3ff6ee7c7641b852c3b1cf3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61cf88c0aec526f5b1942b12cf0a52397710c4e22fef84c3a7de0c9fadd7190cb2910b175bf7b54c3c40dd188cf175135c5b8f193885bbecb2c164e600bff124
|
|
7
|
+
data.tar.gz: 9116b28d1511939004ada9ede003a32a2b752266a808289a9d65db86d5b9bef0983e457a0a79f9b79d21e062d483cdb19373ff2107f030c5e2d0a9b03c56d500
|
data/lib/eia/data.rb
CHANGED
data/lib/eia/ibge.rb
CHANGED
|
@@ -68,9 +68,9 @@ class IBGE
|
|
|
68
68
|
identifier = heading["D1C"]
|
|
69
69
|
|
|
70
70
|
if identifier.include? "Trimestre Móvel" then
|
|
71
|
-
periodicity =
|
|
71
|
+
periodicity = 4
|
|
72
72
|
elsif identifier.include? "Ano" then
|
|
73
|
-
periodicity =
|
|
73
|
+
periodicity = 5
|
|
74
74
|
else
|
|
75
75
|
puts "Error! Unexpected case! Found is: #{identifier}. Report to the dev team."
|
|
76
76
|
return Array.new
|
data/lib/eia/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Eia
|
|
2
|
-
VERSION = "1.0.
|
|
2
|
+
VERSION = "1.0.1"
|
|
3
3
|
|
|
4
4
|
#Standard for version: xx.yy.zz
|
|
5
5
|
# xx - release
|
|
@@ -22,4 +22,8 @@ module Eia
|
|
|
22
22
|
# Fully supports most data points from IBGE.
|
|
23
23
|
# Tests cover all features.
|
|
24
24
|
# Appropriate error treatment.
|
|
25
|
+
|
|
26
|
+
# Version 1.0.1
|
|
27
|
+
# Fixes periodicty, as to be able to relate possible periodicities from 0 to 5
|
|
28
|
+
|
|
25
29
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rCamposCruz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|