eia 1.4.6 → 1.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eia/ibge.rb +1 -1
- data/lib/eia/version.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6717e4d4d28e168511926299027432ecebb7d1ed
|
4
|
+
data.tar.gz: f9e64f7e9edf52bad20ff8a95017b498217c36d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff77dbc0370eba467ea5538840ab5628f7b19cf760f100564581abf847eb6829799aa04278d6d7c9efca46fc12624bd2f29da2945b9ba8ff79617b25fa4d45bc
|
7
|
+
data.tar.gz: 4324e6965525c869d7024af65a327cc790c7f98bd5866f30fecec3765a7bb292cc025b160f2953d12510756ab1b7c5e8331f5f0e7b30dd611120e466014d7383
|
data/lib/eia/ibge.rb
CHANGED
@@ -69,7 +69,7 @@ class IBGE
|
|
69
69
|
heading = output.delete_at(0)
|
70
70
|
identifier = heading["D1N"]
|
71
71
|
|
72
|
-
if identifier.include? "Trimestre Móvel" then
|
72
|
+
if identifier.include? "Trimestre Móvel" or identifier.eql? "Trimestre" then
|
73
73
|
periodicity = 4
|
74
74
|
elsif identifier.include? "Ano" then
|
75
75
|
periodicity = 5
|
data/lib/eia/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Eia
|
2
|
-
VERSION = "1.
|
2
|
+
VERSION = "1.5.7"
|
3
3
|
|
4
4
|
#Standard for version: xx.yy.zz
|
5
5
|
# xx - release
|
@@ -52,4 +52,8 @@ module Eia
|
|
52
52
|
|
53
53
|
# Version 1.4.6
|
54
54
|
# Adds support for multiple classifications.
|
55
|
+
|
56
|
+
# Version 1.5.7
|
57
|
+
# Adds support for "Trimestre" periodicity.
|
58
|
+
# Updates spec tests, as the classification used for a test was no longer valid.
|
55
59
|
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.
|
4
|
+
version: 1.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rCamposCruz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.6.
|
126
|
+
rubygems_version: 2.6.13
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: A gem tham aims to facilitate interactions with Brazil's IBGE WebService.
|