eia 1.4.6 → 1.5.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/eia/ibge.rb +1 -1
  3. data/lib/eia/version.rb +5 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1187bdbdcec5d6dfe9d9f164e46e17638b11801f
4
- data.tar.gz: 86762e4a9a2ddd74477fe16874a76fa943165de4
3
+ metadata.gz: 6717e4d4d28e168511926299027432ecebb7d1ed
4
+ data.tar.gz: f9e64f7e9edf52bad20ff8a95017b498217c36d9
5
5
  SHA512:
6
- metadata.gz: d7cdef87fe0bd24341aa31515056c882cacc734e41174c05d8ccb26010d9ce4e4798c21ed48370fd7af009c076ad68cee72cff4fbeab8d7ffd6a2c4d4a19d365
7
- data.tar.gz: '09738b288afa77c690c2cdd65a17653862244adbb313e5e2fc31a54435c3073cbd2897bdf952c4afe1be802013cbc9de0aca46ab33605b0887f69022c75c8508'
6
+ metadata.gz: ff77dbc0370eba467ea5538840ab5628f7b19cf760f100564581abf847eb6829799aa04278d6d7c9efca46fc12624bd2f29da2945b9ba8ff79617b25fa4d45bc
7
+ data.tar.gz: 4324e6965525c869d7024af65a327cc790c7f98bd5866f30fecec3765a7bb292cc025b160f2953d12510756ab1b7c5e8331f5f0e7b30dd611120e466014d7383
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Eia
2
- VERSION = "1.4.6"
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.6
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-03-28 00:00:00.000000000 Z
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.8
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.