aemo 0.1.38 → 0.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aemo/market.rb +1 -1
- data/lib/aemo/version.rb +1 -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: 393bc9a0f07713e90556d7704bb2d129bc398e1d
|
4
|
+
data.tar.gz: 9d370f741128cc703d0f4f492508a6455203c5e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40d6fc601b3f55f8c02cc4c9753e29e89e366ce4c9fd951bfd5708c1843286f064ffd5cbe24bec58bbdd8d95a4d006a2662943571e6c89501e9a9b0d8e6cc99b
|
7
|
+
data.tar.gz: 6e716d57f1ab10b2af33e7f70df066cba1142faa5d518cd6b27bb3280d03b3913b370532a1440dfc327f0c16b513accf1648f5d55af9c0983c626b7505a7e5c4
|
data/lib/aemo/market.rb
CHANGED
@@ -64,7 +64,7 @@ module AEMO
|
|
64
64
|
|
65
65
|
month = sprintf('%02d', month)
|
66
66
|
|
67
|
-
response = get
|
67
|
+
response = HTTParty.get("http://aemo.com.au/aemo/data/nem/priceanddemand/PRICE_AND_DEMAND_#{year}#{month}_#{region}1.csv")
|
68
68
|
values = parse_response(response)
|
69
69
|
values
|
70
70
|
end
|
data/lib/aemo/version.rb
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
# @author Joel Courtney <euphemize@gmail.com>
|
23
23
|
module AEMO
|
24
24
|
# aemo version
|
25
|
-
VERSION = '0.1.
|
25
|
+
VERSION = '0.1.39'.freeze
|
26
26
|
|
27
27
|
# aemo version split amongst different revisions
|
28
28
|
MAJOR_VERSION, MINOR_VERSION, REVISION = VERSION.split('.').map(&:to_i)
|