aemo 0.1.34 → 0.1.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aemo/nmi.rb +29 -29
- data/lib/aemo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14ebe873d62771a3551c45763c3b9f309525ec69
|
4
|
+
data.tar.gz: 8f44ee41c46787cc8b23af50aa1afe5bf8c4b9f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba4acaace9a9bb6a16325f96d8f18f0a0c7dadfa27ff10e369b2e2b64cd502a98aa3205840f9d76aa6b96923436380318166ca2a226b79a5a5533a16d5d829a8
|
7
|
+
data.tar.gz: ee3d08dea7ea7bf7e103f4c228d05e62eec0a9ac6ea0bb86c0edbc3df6eb444efcd550944bc059cd1cb77afcaf0da6db79d90108b3fa735f02eb8c5d8dc70286
|
data/lib/aemo/nmi.rb
CHANGED
@@ -23,7 +23,7 @@ module AEMO
|
|
23
23
|
'ACTEWP' => {
|
24
24
|
title: 'Actew Distribution Ltd and Jemena Networks (ACT) Pty Ltd',
|
25
25
|
friendly_title: 'ACTEWAgl',
|
26
|
-
state: 'ACT',
|
26
|
+
state: AEMO::Region.new('ACT'),
|
27
27
|
type: 'electricity',
|
28
28
|
includes: [
|
29
29
|
/^(NGGG[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -35,7 +35,7 @@ module AEMO
|
|
35
35
|
'CNRGYP' => {
|
36
36
|
title: 'Essential Energy',
|
37
37
|
friendly_title: 'Essential Energy',
|
38
|
-
state: 'NSW',
|
38
|
+
state: AEMO::Region.new('NSW'),
|
39
39
|
type: 'electricity',
|
40
40
|
includes: [
|
41
41
|
/^(NAAA[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -53,7 +53,7 @@ module AEMO
|
|
53
53
|
'ENERGYAP' => {
|
54
54
|
title: 'Ausgrid',
|
55
55
|
friendly_title: 'Ausgrid',
|
56
|
-
state: 'NSW',
|
56
|
+
state: AEMO::Region.new('NSW'),
|
57
57
|
type: 'electricity',
|
58
58
|
includes: [
|
59
59
|
/^(NCCC[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -65,7 +65,7 @@ module AEMO
|
|
65
65
|
'INTEGP' => {
|
66
66
|
title: 'Endeavour Energy',
|
67
67
|
friendly_title: 'Endeavour Energy',
|
68
|
-
state: 'NSW',
|
68
|
+
state: AEMO::Region.new('NSW'),
|
69
69
|
type: 'electricity',
|
70
70
|
includes: [
|
71
71
|
/^(NEEE[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -77,7 +77,7 @@ module AEMO
|
|
77
77
|
'TRANSGP' => {
|
78
78
|
title: 'TransGrid',
|
79
79
|
friendly_title: 'TransGrid',
|
80
|
-
state: 'NSW',
|
80
|
+
state: AEMO::Region.new('NSW'),
|
81
81
|
type: 'electricity',
|
82
82
|
includes: [
|
83
83
|
/^(NTTT[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -89,7 +89,7 @@ module AEMO
|
|
89
89
|
'SNOWY' => {
|
90
90
|
title: 'Snowy Hydro Ltd',
|
91
91
|
friendly_title: 'Snowy Hydro',
|
92
|
-
state: 'NSW',
|
92
|
+
state: AEMO::Region.new('NSW'),
|
93
93
|
type: 'electricity',
|
94
94
|
includes: [
|
95
95
|
/^(4708109\d{3})$/
|
@@ -100,7 +100,7 @@ module AEMO
|
|
100
100
|
'NT_RESERVED' => {
|
101
101
|
title: 'Northern Territory Reserved Block',
|
102
102
|
friendly_title: 'Northern Territory Reserved Block',
|
103
|
-
state: 'NT',
|
103
|
+
state: AEMO::Region.new('NT'),
|
104
104
|
type: 'electricity',
|
105
105
|
includes: [
|
106
106
|
/^(250\d{7})$/
|
@@ -111,7 +111,7 @@ module AEMO
|
|
111
111
|
'ERGONETP' => {
|
112
112
|
title: 'Ergon Energy Corporation',
|
113
113
|
friendly_title: 'Ergon Energy',
|
114
|
-
state: 'QLD',
|
114
|
+
state: AEMO::Region.new('QLD'),
|
115
115
|
type: 'electricity',
|
116
116
|
includes: [
|
117
117
|
/^(QAAA[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -128,7 +128,7 @@ module AEMO
|
|
128
128
|
'ENERGEXP' => {
|
129
129
|
title: 'ENERGEX Limited',
|
130
130
|
friendly_title: 'Energex',
|
131
|
-
state: 'QLD',
|
131
|
+
state: AEMO::Region.new('QLD'),
|
132
132
|
type: 'electricity',
|
133
133
|
includes: [
|
134
134
|
/^(QB\d{2}[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -140,7 +140,7 @@ module AEMO
|
|
140
140
|
'PLINKP' => {
|
141
141
|
title: 'Qld Electricity Transmission Corp (Powerlink)',
|
142
142
|
friendly_title: 'Powerlink',
|
143
|
-
state: 'QLD',
|
143
|
+
state: AEMO::Region.new('QLD'),
|
144
144
|
type: 'electricity',
|
145
145
|
includes: [
|
146
146
|
/^(Q[A-HJ-NP-Z\d]{3}W[A-HJ-NP-Z\d]{5})$/,
|
@@ -152,7 +152,7 @@ module AEMO
|
|
152
152
|
'UMPLP' => {
|
153
153
|
title: 'SA Power Networks',
|
154
154
|
friendly_title: 'SA Power Networks',
|
155
|
-
state: 'SA',
|
155
|
+
state: AEMO::Region.new('SA'),
|
156
156
|
type: 'electricity',
|
157
157
|
includes: [
|
158
158
|
/^(SAAA[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -165,7 +165,7 @@ module AEMO
|
|
165
165
|
'ETSATP' => {
|
166
166
|
title: 'ElectraNet SA',
|
167
167
|
friendly_title: 'ElectraNet SA',
|
168
|
-
state: 'SA',
|
168
|
+
state: AEMO::Region.new('SA'),
|
169
169
|
type: 'electricity',
|
170
170
|
includes: [
|
171
171
|
/^(S[A-HJ-NP-Z\d]{3}W[A-HJ-NP-Z\d]{5})$/,
|
@@ -177,7 +177,7 @@ module AEMO
|
|
177
177
|
'AURORAP' => {
|
178
178
|
title: 'TasNetworks',
|
179
179
|
friendly_title: 'TasNetworks',
|
180
|
-
state: 'TAS',
|
180
|
+
state: AEMO::Region.new('TAS'),
|
181
181
|
type: 'electricity',
|
182
182
|
includes: [
|
183
183
|
/^(T000000(([0-4]\d{3})|(500[01])))$/,
|
@@ -190,7 +190,7 @@ module AEMO
|
|
190
190
|
'TRANSEND' => {
|
191
191
|
title: 'TasNetworks',
|
192
192
|
friendly_title: 'TasNetworks',
|
193
|
-
state: 'TAS',
|
193
|
+
state: AEMO::Region.new('TAS'),
|
194
194
|
type: 'electricity',
|
195
195
|
includes: [
|
196
196
|
/^(T[A-HJ-NP-Z\d]{3}W[A-HJ-NP-Z\d]{5})$/
|
@@ -201,7 +201,7 @@ module AEMO
|
|
201
201
|
'CITIPP' => {
|
202
202
|
title: 'CitiPower',
|
203
203
|
friendly_title: 'CitiPower',
|
204
|
-
state: 'VIC',
|
204
|
+
state: AEMO::Region.new('VIC'),
|
205
205
|
type: 'electricity',
|
206
206
|
includes: [
|
207
207
|
/^(VAAA[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -213,7 +213,7 @@ module AEMO
|
|
213
213
|
'EASTERN' => {
|
214
214
|
title: 'SP AusNet',
|
215
215
|
friendly_title: 'SP AusNet DNSP',
|
216
|
-
state: 'VIC',
|
216
|
+
state: AEMO::Region.new('VIC'),
|
217
217
|
type: 'electricity',
|
218
218
|
includes: [
|
219
219
|
/^(VBBB[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -225,7 +225,7 @@ module AEMO
|
|
225
225
|
'POWCP' => {
|
226
226
|
title: 'PowerCor Australia',
|
227
227
|
friendly_title: 'PowerCor',
|
228
|
-
state: 'VIC',
|
228
|
+
state: AEMO::Region.new('VIC'),
|
229
229
|
type: 'electricity',
|
230
230
|
includes: [
|
231
231
|
/^(VCCC[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -237,7 +237,7 @@ module AEMO
|
|
237
237
|
'SOLARISP' => {
|
238
238
|
title: 'Jemena Electricity Networks (VIC)',
|
239
239
|
friendly_title: 'Jemena',
|
240
|
-
state: 'VIC',
|
240
|
+
state: AEMO::Region.new('VIC'),
|
241
241
|
type: 'electricity',
|
242
242
|
includes: [
|
243
243
|
/^(VDDD[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -249,7 +249,7 @@ module AEMO
|
|
249
249
|
'UNITED' => {
|
250
250
|
title: 'United Energy Distribution',
|
251
251
|
friendly_title: 'United Energy',
|
252
|
-
state: 'VIC',
|
252
|
+
state: AEMO::Region.new('VIC'),
|
253
253
|
type: 'electricity',
|
254
254
|
includes: [
|
255
255
|
/^(VEEE[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -261,7 +261,7 @@ module AEMO
|
|
261
261
|
'GPUPP' => {
|
262
262
|
title: 'SP AusNet TNSP',
|
263
263
|
friendly_title: 'SP AusNet TNSP',
|
264
|
-
state: 'VIC',
|
264
|
+
state: AEMO::Region.new('VIC'),
|
265
265
|
type: 'electricity',
|
266
266
|
includes: [
|
267
267
|
/^(V[A-HJ-NP-Z\d]{3}W[A-HJ-NP-Z\d]{5})$/,
|
@@ -273,7 +273,7 @@ module AEMO
|
|
273
273
|
'WESTERNPOWER' => {
|
274
274
|
title: 'Western Power',
|
275
275
|
friendly_title: 'Western Power',
|
276
|
-
state: 'WA',
|
276
|
+
state: AEMO::Region.new('WA'),
|
277
277
|
type: 'electricity',
|
278
278
|
includes: [
|
279
279
|
/^(WAAA[A-HJ-NP-VX-Z\d][A-HJ-NP-Z\d]{5})$/,
|
@@ -287,7 +287,7 @@ module AEMO
|
|
287
287
|
'HORIZONPOWER' => {
|
288
288
|
title: 'Horizon Power',
|
289
289
|
friendly_title: 'Horizon Power',
|
290
|
-
state: 'WA',
|
290
|
+
state: AEMO::Region.new('WA'),
|
291
291
|
type: 'electricity',
|
292
292
|
includes: [
|
293
293
|
/^(8021\d{6})$/
|
@@ -298,7 +298,7 @@ module AEMO
|
|
298
298
|
'GAS_NSW' => {
|
299
299
|
title: 'GAS NSW',
|
300
300
|
friendly_title: 'GAS NSW',
|
301
|
-
state: 'NSW',
|
301
|
+
state: AEMO::Region.new('NSW'),
|
302
302
|
type: 'gas',
|
303
303
|
includes: [
|
304
304
|
/^(52\d{8})$/
|
@@ -309,7 +309,7 @@ module AEMO
|
|
309
309
|
'GAS_VIC' => {
|
310
310
|
title: 'GAS VIC',
|
311
311
|
friendly_title: 'GAS VIC',
|
312
|
-
state: 'VIC',
|
312
|
+
state: AEMO::Region.new('VIC'),
|
313
313
|
type: 'gas',
|
314
314
|
includes: [
|
315
315
|
/^(53\d{8})$/
|
@@ -320,7 +320,7 @@ module AEMO
|
|
320
320
|
'GAS_QLD' => {
|
321
321
|
title: 'GAS QLD',
|
322
322
|
friendly_title: 'GAS QLD',
|
323
|
-
state: 'QLD',
|
323
|
+
state: AEMO::Region.new('QLD'),
|
324
324
|
type: 'gas',
|
325
325
|
includes: [
|
326
326
|
/^(54\d{8})$/
|
@@ -331,7 +331,7 @@ module AEMO
|
|
331
331
|
'GAS_SA' => {
|
332
332
|
title: 'GAS SA',
|
333
333
|
friendly_title: 'GAS SA',
|
334
|
-
state: 'SA',
|
334
|
+
state: AEMO::Region.new('SA'),
|
335
335
|
type: 'gas',
|
336
336
|
includes: [
|
337
337
|
/^(55\d{8})$/
|
@@ -342,7 +342,7 @@ module AEMO
|
|
342
342
|
'GAS_WA' => {
|
343
343
|
title: 'GAS WA',
|
344
344
|
friendly_title: 'GAS WA',
|
345
|
-
state: 'WA',
|
345
|
+
state: AEMO::Region.new('WA'),
|
346
346
|
type: 'gas',
|
347
347
|
includes: [
|
348
348
|
/^(56\d{8})$/
|
@@ -353,7 +353,7 @@ module AEMO
|
|
353
353
|
'GAS_TAS' => {
|
354
354
|
title: 'GAS TAS',
|
355
355
|
friendly_title: 'GAS TAS',
|
356
|
-
state: 'TAS',
|
356
|
+
state: AEMO::Region.new('TAS'),
|
357
357
|
type: 'gas',
|
358
358
|
includes: [
|
359
359
|
/^(57\d{8})$/
|
@@ -364,7 +364,7 @@ module AEMO
|
|
364
364
|
'FEDAIRPORTS' => {
|
365
365
|
title: 'Federal Airports Corporation (Sydney Airport)',
|
366
366
|
friendly_title: 'Sydney Airport',
|
367
|
-
state: 'NSW',
|
367
|
+
state: AEMO::Region.new('NSW'),
|
368
368
|
type: 'electricity',
|
369
369
|
includes: [
|
370
370
|
/^(NJJJNR[A-HJ-NP-Z\d]{4})$/
|
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.36'.freeze
|
26
26
|
|
27
27
|
# aemo version split amongst different revisions
|
28
28
|
MAJOR_VERSION, MINOR_VERSION, REVISION = VERSION.split('.').map(&:to_i)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aemo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Courtney
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-07-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|