lib/eia/ibge.rb in eia-1.4.6 vs lib/eia/ibge.rb in eia-1.5.7

- old
+ new

@@ -67,10 +67,10 @@ begin output = JSON.parse(json_string) heading = output.delete_at(0) identifier = heading["D1N"] - if identifier.include? "Trimestre Móvel" then + if identifier.include? "Trimestre Móvel" or identifier.eql? "Trimestre" then periodicity = 4 elsif identifier.include? "Ano" then periodicity = 5 elsif identifier.include? "Mês" then periodicity = 2