eia 1.8.7 → 1.8.9
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 +1 -1
- data/lib/eia/version.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4187d28f572966670bb727e688bff6c3dfd495b1
|
|
4
|
+
data.tar.gz: 685a061d595227808aba636781362039eb51f97d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5d029043af27f6ee9eda2c0c21b85e9024db35eca944433cc7d0f6c204a00f80bbf615b14f750d0cacc1428cc4d05c1c180b8bb59523d44d18aa71e2b6e2e2d
|
|
7
|
+
data.tar.gz: 7f4dd8f4e1f1f020e2d85347f49f6fb8cc7e53796a58a05961414c8e720e05f892e5258f09269f23ebf52b22312261abe3ede0bf8f32ddca5005648a65a861b3
|
data/lib/eia/data.rb
CHANGED
|
@@ -64,7 +64,7 @@ class DataIBGE
|
|
|
64
64
|
return false
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
if @periodicity == nil or @periodicity.to_i >
|
|
67
|
+
if @periodicity == nil or @periodicity.to_i > 6 or @periodicity.to_i < 0 then
|
|
68
68
|
puts "Periodicity is invalid. Value is '#{@periodicity}'."
|
|
69
69
|
return false
|
|
70
70
|
end
|
data/lib/eia/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Eia
|
|
2
|
-
|
|
2
|
+
VERSION = "1.8.9"
|
|
3
3
|
|
|
4
4
|
#Standard for version: xx.yy.zz
|
|
5
5
|
# xx - release
|
|
@@ -65,4 +65,10 @@ module Eia
|
|
|
65
65
|
|
|
66
66
|
# Version 1.8.7
|
|
67
67
|
# Indentifies 'Trimestre móvel' as code 6 for periodicity, differing it from 'Trimestre'.
|
|
68
|
+
|
|
69
|
+
# Version 1.8.8
|
|
70
|
+
# Fixes is_valid? to reconise the new periodicity as valid.
|
|
71
|
+
|
|
72
|
+
# Version 1.8.9
|
|
73
|
+
# Fixes gem push
|
|
68
74
|
end
|