south_african_air_quality_index 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +30 -26
- data/lib/south_african_air_quality_index/version.rb +1 -1
- data/notes.txt +0 -166
- data/south_african_air_quality_index.gemspec +8 -8
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e965a8b5e112509c2220c98c3d7e2e76f44302dc821f7cfdf425a19b4dce66f
|
4
|
+
data.tar.gz: 34a0901d67c83f9fc015e5ffdb28344be51154c1e783f5d687c485833998bcc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2c29168d91102d231390e7b9c905332f030666b1b6032506520a42dfe7809756eaf23f4542cfe762363ba886f501c4d08106b7fdbc83e798ab4719307abc3fb
|
7
|
+
data.tar.gz: 04e43d5f60446ebeb1f4af14d4fda98b3a3677fd4ffaaf6641012e9671bb840cd497a40258df63912685d033516a0912e9ce88ff036e747819acc1e3050dbe5a
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.4
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
south_african_air_quality_index (0.0.
|
4
|
+
south_african_air_quality_index (0.0.5)
|
5
5
|
active_attr (~> 0.16.0)
|
6
|
-
httparty (~> 0.
|
7
|
-
nokogiri (~> 1.16.
|
6
|
+
httparty (~> 0.22.0)
|
7
|
+
nokogiri (~> 1.16.7)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -33,10 +33,10 @@ GEM
|
|
33
33
|
i18n (>= 1.6, < 2)
|
34
34
|
minitest (>= 5.1)
|
35
35
|
tzinfo (~> 2.0)
|
36
|
-
addressable (2.8.
|
37
|
-
public_suffix (>= 2.0.2, <
|
36
|
+
addressable (2.8.7)
|
37
|
+
public_suffix (>= 2.0.2, < 7.0)
|
38
38
|
ansi (1.5.0)
|
39
|
-
bigdecimal (3.1.
|
39
|
+
bigdecimal (3.1.8)
|
40
40
|
builder (3.2.4)
|
41
41
|
coderay (1.1.3)
|
42
42
|
concurrent-ruby (1.1.10)
|
@@ -44,9 +44,11 @@ GEM
|
|
44
44
|
bigdecimal
|
45
45
|
rexml
|
46
46
|
crass (1.0.6)
|
47
|
+
csv (3.3.0)
|
47
48
|
erubi (1.11.0)
|
48
|
-
hashdiff (1.1.
|
49
|
-
httparty (0.
|
49
|
+
hashdiff (1.1.1)
|
50
|
+
httparty (0.22.0)
|
51
|
+
csv
|
50
52
|
mini_mime (>= 1.0.0)
|
51
53
|
multi_xml (>= 0.5.2)
|
52
54
|
i18n (1.12.0)
|
@@ -57,28 +59,28 @@ GEM
|
|
57
59
|
method_source (1.0.0)
|
58
60
|
mini_mime (1.1.5)
|
59
61
|
mini_portile2 (2.8.5)
|
60
|
-
minitest (5.
|
62
|
+
minitest (5.25.1)
|
61
63
|
minitest-focus (1.4.0)
|
62
64
|
minitest (>= 4, < 6)
|
63
|
-
minitest-reporters (1.
|
65
|
+
minitest-reporters (1.7.1)
|
64
66
|
ansi
|
65
67
|
builder
|
66
68
|
minitest (>= 5.0)
|
67
69
|
ruby-progressbar
|
68
|
-
mocha (2.
|
70
|
+
mocha (2.4.5)
|
69
71
|
ruby2_keywords (>= 0.0.5)
|
70
72
|
multi_xml (0.6.0)
|
71
|
-
nokogiri (1.16.
|
73
|
+
nokogiri (1.16.7)
|
72
74
|
mini_portile2 (~> 2.8.2)
|
73
75
|
racc (~> 1.4)
|
74
|
-
nokogiri (1.16.
|
76
|
+
nokogiri (1.16.7-arm64-darwin)
|
75
77
|
racc (~> 1.4)
|
76
|
-
nokogiri (1.16.
|
78
|
+
nokogiri (1.16.7-x86_64-linux)
|
77
79
|
racc (~> 1.4)
|
78
80
|
pry (0.14.2)
|
79
81
|
coderay (~> 1.1)
|
80
82
|
method_source (~> 1.0)
|
81
|
-
public_suffix (
|
83
|
+
public_suffix (6.0.1)
|
82
84
|
racc (1.6.1)
|
83
85
|
rack (2.2.4)
|
84
86
|
rack-test (2.0.2)
|
@@ -88,14 +90,16 @@ GEM
|
|
88
90
|
nokogiri (>= 1.6)
|
89
91
|
rails-html-sanitizer (1.4.4)
|
90
92
|
loofah (~> 2.19, >= 2.19.1)
|
91
|
-
rake (13.1
|
92
|
-
rexml (3.
|
93
|
+
rake (13.2.1)
|
94
|
+
rexml (3.3.5)
|
95
|
+
strscan
|
93
96
|
ruby-progressbar (1.13.0)
|
94
97
|
ruby2_keywords (0.0.5)
|
95
|
-
|
98
|
+
strscan (3.1.0)
|
99
|
+
timecop (0.9.10)
|
96
100
|
tzinfo (2.0.5)
|
97
101
|
concurrent-ruby (~> 1.0)
|
98
|
-
webmock (3.23.
|
102
|
+
webmock (3.23.1)
|
99
103
|
addressable (>= 2.8.0)
|
100
104
|
crack (>= 0.3.2)
|
101
105
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -107,15 +111,15 @@ PLATFORMS
|
|
107
111
|
x86_64-linux
|
108
112
|
|
109
113
|
DEPENDENCIES
|
110
|
-
minitest (~> 5.
|
114
|
+
minitest (~> 5.25.1)
|
111
115
|
minitest-focus (~> 1.4.0)
|
112
|
-
minitest-reporters (~> 1.
|
113
|
-
mocha (~> 2.
|
116
|
+
minitest-reporters (~> 1.7.1)
|
117
|
+
mocha (~> 2.4.5)
|
114
118
|
pry (~> 0.14.2)
|
115
|
-
rake (~> 13.1
|
119
|
+
rake (~> 13.2.1)
|
116
120
|
south_african_air_quality_index!
|
117
|
-
timecop (~> 0.9.
|
118
|
-
webmock (~> 3.23.
|
121
|
+
timecop (~> 0.9.10)
|
122
|
+
webmock (~> 3.23.1)
|
119
123
|
|
120
124
|
BUNDLED WITH
|
121
|
-
2.
|
125
|
+
2.5.17
|
data/notes.txt
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
https://aqicn.org/city/south-africa/ekurhuleni/bedfordview/
|
3
2
|
https://saaqis.environment.gov.za/
|
4
3
|
|
@@ -174,169 +173,4 @@ Types of SA Air Quality reports
|
|
174
173
|
- Index Report (AQI)
|
175
174
|
- Matrix Report (1 station 1 metric gives stats)
|
176
175
|
|
177
|
-
March 2024
|
178
|
-
https://saaqis.environment.gov.za/ajax/getAllStationsNew
|
179
|
-
|
180
|
-
curl 'https://saaqis.environment.gov.za/Report/stationreport?InPopUp=True' \
|
181
|
-
-H 'authority: saaqis.environment.gov.za' \
|
182
|
-
-H 'accept: */*' \
|
183
|
-
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
|
184
|
-
-H 'cookie: ASP.NET_SessionId=vldu0doftifewm5f1wrubrme; __RequestVerificationToken=mb7uM--kGvUTsScjOUsGIopNIJCn7BBY1kXuniYsvniLixU_TfQNWBc9nbi9uMbSX9lpIIHVf0s_-zMXNPjEKnMD6ZjVJvCHsS8thCvNVnI1; __FormVerificationToken=owO78ynW81P2O9ZDkqK0K30cT-MmY8bISAkF4yseane_nFfruM3Uvc1AVhk-3PDDnL4JcVatG1ob8Yy3wuAkid1LqvzuXoOmON7cMwv1nRY1; X-Access-Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6Ikd1ZXN0IiwibmJmIjoxNzEwNTE3MTIzLCJleHAiOjE3MTA1MjA3MjMsImlhdCI6MTcxMDUxNzEyM30.aE39-GM-zc0PNlUJAukb37wGn7DuKUup2Qirq6UT3pA' \
|
185
|
-
-H 'dnt: 1' \
|
186
|
-
-H 'referer: https://saaqis.environment.gov.za/' \
|
187
|
-
-H 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \
|
188
|
-
-H 'sec-ch-ua-mobile: ?0' \
|
189
|
-
-H 'sec-ch-ua-platform: "macOS"' \
|
190
|
-
-H 'sec-fetch-dest: empty' \
|
191
|
-
-H 'sec-fetch-mode: cors' \
|
192
|
-
-H 'sec-fetch-site: same-origin' \
|
193
|
-
-H 'sec-gpc: 1' \
|
194
|
-
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
|
195
|
-
-H 'x-requested-with: XMLHttpRequest' \
|
196
|
-
-H 'x-requestverificationtoken: owO78ynW81P2O9ZDkqK0K30cT-MmY8bISAkF4yseane_nFfruM3Uvc1AVhk-3PDDnL4JcVatG1ob8Yy3wuAkid1LqvzuXoOmON7cMwv1nRY1' \
|
197
|
-
--compressed
|
198
|
-
|
199
|
-
curl 'https://saaqis.environment.gov.za/home/getPage?pageName=Hourly%20Monitoring%20Data&InPopUp=true' \
|
200
|
-
-H 'authority: saaqis.environment.gov.za' \
|
201
|
-
-H 'accept: */*' \
|
202
|
-
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
|
203
|
-
-H 'cookie: ASP.NET_SessionId=vldu0doftifewm5f1wrubrme; __RequestVerificationToken=VMM7f3rhky_AQ7cea4DpzOpnLa6VwibqHEiuFpB7QvpIKIhA3iweLsxtcUaFDTcfzRwBJAA477qe82Q1xELh1W5wNJ_g1QvRmUz4E4YYZEs1; __FormVerificationToken=CPVZjs1Bzr7xBI9fECT96iKK8auAmA21WS2j9o_ZiV58YoIcOoBqWSAyvmfG-HfcWFRsjpik55_672rbNNx3Jd-bADn0Zk17pkgGzQk1K7I1; X-Access-Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6Ikd1ZXN0IiwibmJmIjoxNzEwNTE3MjMwLCJleHAiOjE3MTA1MjA4MzAsImlhdCI6MTcxMDUxNzIzMH0.5JNuKp15f0w9BQIpMwOiTc6Gx_3Gug3YD7i2efBwFE0' \
|
204
|
-
-H 'dnt: 1' \
|
205
|
-
-H 'referer: https://saaqis.environment.gov.za/' \
|
206
|
-
-H 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \
|
207
|
-
-H 'sec-ch-ua-mobile: ?0' \
|
208
|
-
-H 'sec-ch-ua-platform: "macOS"' \
|
209
|
-
-H 'sec-fetch-dest: empty' \
|
210
|
-
-H 'sec-fetch-mode: cors' \
|
211
|
-
-H 'sec-fetch-site: same-origin' \
|
212
|
-
-H 'sec-gpc: 1' \
|
213
|
-
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
|
214
|
-
-H 'x-requested-with: XMLHttpRequest' \
|
215
|
-
-H 'x-requestverificationtoken: CPVZjs1Bzr7xBI9fECT96iKK8auAmA21WS2j9o_ZiV58YoIcOoBqWSAyvmfG-HfcWFRsjpik55_672rbNNx3Jd-bADn0Zk17pkgGzQk1K7I1' \
|
216
|
-
--compressed
|
217
|
-
|
218
|
-
|
219
|
-
Needs cookie and JWT:
|
220
176
|
|
221
|
-
curl 'https://saaqis.environment.gov.za:44301/v1/envista/regions' \
|
222
|
-
-H 'authority: saaqis.environment.gov.za:44301' \
|
223
|
-
-H 'accept: application/json' \
|
224
|
-
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
|
225
|
-
-H 'access-control-allow-credentials: true' \
|
226
|
-
-H 'access-control-allow-origin: https://saaqis.environment.gov.za' \
|
227
|
-
-H 'authorization: JwtToken' \
|
228
|
-
-H 'cache-control: no-cache' \
|
229
|
-
-H 'compression: gzip' \
|
230
|
-
-H 'content-type: application/json; charset=utf-8' \
|
231
|
-
-H 'contentlength: 0' \
|
232
|
-
-H 'cookie: ASP.NET_SessionId=vldu0doftifewm5f1wrubrme; __RequestVerificationToken=u6thajdYfxMhX6czeh1L60HP3r_pGsGLqyXPwpBxYVuXLGbHqLEs0vyA0TX4kv3xHD9JcuP4cLxxWZvvVzwCG1V1F8H6VrUjuxWw7-qaMhg1; __FormVerificationToken=bpDKkVnfQ8bgG159kuknJXr9GvkzplWNAB18bKodU7O5oAJn0nQ1Q3rGyAsAydvMo1LM0EB6sCmOF9uGTrMeyFRcYyehUA03ZJbvLij_oBI1; X-Access-Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6Ikd1ZXN0IiwibmJmIjoxNzEwNTE4MjMzLCJleHAiOjE3MTA1MjE4MzMsImlhdCI6MTcxMDUxODIzM30.ESillaQmk8cJBuUFUcOCoC5c0HeOAT5ix9m98zKiXLc' \
|
233
|
-
-H 'dnt: 1' \
|
234
|
-
-H 'domainname;' \
|
235
|
-
-H 'envi-data-source: SAAQIS_ENVISTA' \
|
236
|
-
-H 'origin: https://saaqis.environment.gov.za' \
|
237
|
-
-H 'pragma: no-cache' \
|
238
|
-
-H 'referer: https://saaqis.environment.gov.za/' \
|
239
|
-
-H 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \
|
240
|
-
-H 'sec-ch-ua-mobile: ?0' \
|
241
|
-
-H 'sec-ch-ua-platform: "macOS"' \
|
242
|
-
-H 'sec-fetch-dest: empty' \
|
243
|
-
-H 'sec-fetch-mode: cors' \
|
244
|
-
-H 'sec-fetch-site: same-site' \
|
245
|
-
-H 'sec-gpc: 1' \
|
246
|
-
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
|
247
|
-
-H 'x-requestverificationtoken: bpDKkVnfQ8bgG159kuknJXr9GvkzplWNAB18bKodU7O5oAJn0nQ1Q3rGyAsAydvMo1LM0EB6sCmOF9uGTrMeyFRcYyehUA03ZJbvLij_oBI1' \
|
248
|
-
--compressed
|
249
|
-
|
250
|
-
|
251
|
-
[
|
252
|
-
{
|
253
|
-
"regionId": 0,
|
254
|
-
"name": "None",
|
255
|
-
"stations": []
|
256
|
-
},
|
257
|
-
{
|
258
|
-
"regionId": 1,
|
259
|
-
"name": "Mpumalanga",
|
260
|
-
"stations": [
|
261
|
-
{
|
262
|
-
"stationId": 363,
|
263
|
-
"name": "Eskom-Wilge",
|
264
|
-
"shortName": "Wilge",
|
265
|
-
"stationsTag": "(null)",
|
266
|
-
"location": {
|
267
|
-
"latitude": -25.975444444,
|
268
|
-
"longitude": 28.985611
|
269
|
-
},
|
270
|
-
"timebase": 1,
|
271
|
-
"active": true,
|
272
|
-
"owner": "Eskom",
|
273
|
-
"ownerId": 6,
|
274
|
-
"regionId": 1,
|
275
|
-
"monitors": [
|
276
|
-
{
|
277
|
-
"channelId": 1,
|
278
|
-
"name": "Amb Pressure",
|
279
|
-
"alias": null,
|
280
|
-
"active": false,
|
281
|
-
"typeId": 71,
|
282
|
-
"pollutantId": 36,
|
283
|
-
"units": "mBar",
|
284
|
-
"unitID": 40,
|
285
|
-
"description": null,
|
286
|
-
"mapView": true,
|
287
|
-
"isIndex": false,
|
288
|
-
"PollutantCategory": 2,
|
289
|
-
"NumericFormat": "5.0",
|
290
|
-
"LowRange": 0.0,
|
291
|
-
"HighRange": 100.0,
|
292
|
-
"state": 1,
|
293
|
-
"PctValid": 75,
|
294
|
-
"MonitorTitle": "tl_BP",
|
295
|
-
"MON_StartDate": "10/17/2023 2:57:58 PM",
|
296
|
-
"MON_EndDate": "12/31/9999 11:59:59 PM"
|
297
|
-
},
|
298
|
-
{
|
299
|
-
"channelId": 2,
|
300
|
-
"name": "Amb RelHum",
|
301
|
-
"alias": null,
|
302
|
-
"active": false,
|
303
|
-
"typeId": 69,
|
304
|
-
"pollutantId": 18,
|
305
|
-
"units": "%",
|
306
|
-
"unitID": 1,
|
307
|
-
"description": null,
|
308
|
-
"mapView": true,
|
309
|
-
"isIndex": false,
|
310
|
-
"PollutantCategory": 2,
|
311
|
-
"NumericFormat": "5.2",
|
312
|
-
"LowRange": 0.0,
|
313
|
-
"HighRange": 100.0,
|
314
|
-
"state": 1,
|
315
|
-
"PctValid": 75,
|
316
|
-
"MonitorTitle": "tl_RH",
|
317
|
-
"MON_StartDate": "10/17/2023 2:57:58 PM",
|
318
|
-
"MON_EndDate": "12/31/9999 11:59:59 PM"
|
319
|
-
},
|
320
|
-
|
321
|
-
|
322
|
-
curl 'https://saaqis.environment.gov.za/report/MultiStationTable' \
|
323
|
-
-H 'authority: saaqis.environment.gov.za' \
|
324
|
-
-H 'accept: */*' \
|
325
|
-
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
|
326
|
-
-H 'content-type: application/json; charset=UTF-8' \
|
327
|
-
-H 'cookie: ASP.NET_SessionId=vldu0doftifewm5f1wrubrme; __RequestVerificationToken=u6thajdYfxMhX6czeh1L60HP3r_pGsGLqyXPwpBxYVuXLGbHqLEs0vyA0TX4kv3xHD9JcuP4cLxxWZvvVzwCG1V1F8H6VrUjuxWw7-qaMhg1; __FormVerificationToken=bpDKkVnfQ8bgG159kuknJXr9GvkzplWNAB18bKodU7O5oAJn0nQ1Q3rGyAsAydvMo1LM0EB6sCmOF9uGTrMeyFRcYyehUA03ZJbvLij_oBI1; X-Access-Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6Ikd1ZXN0IiwibmJmIjoxNzEwNTE4MjMzLCJleHAiOjE3MTA1MjE4MzMsImlhdCI6MTcxMDUxODIzM30.ESillaQmk8cJBuUFUcOCoC5c0HeOAT5ix9m98zKiXLc' \
|
328
|
-
-H 'dnt: 1' \
|
329
|
-
-H 'origin: https://saaqis.environment.gov.za' \
|
330
|
-
-H 'referer: https://saaqis.environment.gov.za/' \
|
331
|
-
-H 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \
|
332
|
-
-H 'sec-ch-ua-mobile: ?0' \
|
333
|
-
-H 'sec-ch-ua-platform: "macOS"' \
|
334
|
-
-H 'sec-fetch-dest: empty' \
|
335
|
-
-H 'sec-fetch-mode: cors' \
|
336
|
-
-H 'sec-fetch-site: same-origin' \
|
337
|
-
-H 'sec-gpc: 1' \
|
338
|
-
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
|
339
|
-
-H 'x-requested-with: XMLHttpRequest' \
|
340
|
-
-H 'x-requestverificationtoken: bpDKkVnfQ8bgG159kuknJXr9GvkzplWNAB18bKodU7O5oAJn0nQ1Q3rGyAsAydvMo1LM0EB6sCmOF9uGTrMeyFRcYyehUA03ZJbvLij_oBI1' \
|
341
|
-
--data-raw '{"m_ReportConfig":{"reportName":"station report","reportType":"Average","actualReportType":"Average","startDate":"14/03/2024 00:01","endDate":"15/03/2024 00:00","startDateAbsolute":"14/03/2024 00:01","endDateAbsolute":"15/03/2024 00:00","fromTb":60,"toTb":60,"MonitorsChannels":[1,7,8,9,23,25,27,28,29,31],"StationId":73,"monitorChannelsByStationId":{"73":[1,7,8,9,23,25,27,28,29,31]},"monitorChannelsByStationId[0].Key":"73","monitorChannelsByStationId[0].Value":[1,7,8,9,23,25,27,28,29,31]},"reportConfig":{"reportName":"station report","reportType":"Average","actualReportType":"Average","startDate":"14/03/2024 00:01","endDate":"15/03/2024 00:00","startDateAbsolute":"14/03/2024 00:01","endDateAbsolute":"15/03/2024 00:00","fromTb":60,"toTb":60,"MonitorsChannels":[1,7,8,9,23,25,27,28,29,31],"StationId":73,"monitorChannelsByStationId":{"73":[1,7,8,9,23,25,27,28,29,31]},"monitorChannelsByStationId[0].Key":"73","monitorChannelsByStationId[0].Value":[1,7,8,9,23,25,27,28,29,31]},"InPopUp":true,"isSummaryOnBottomTable":true}' \
|
342
|
-
--compressed
|
@@ -22,18 +22,18 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "httparty", "~> 0.
|
25
|
+
spec.add_dependency "httparty", "~> 0.22.0"
|
26
26
|
spec.add_dependency "active_attr", "~> 0.16.0"
|
27
27
|
# spec.add_dependency "jwt", "~> 2.8.1"
|
28
|
-
spec.add_dependency "nokogiri", "~> 1.16.
|
28
|
+
spec.add_dependency "nokogiri", "~> 1.16.7"
|
29
29
|
|
30
30
|
# Development dependancies
|
31
|
-
spec.add_development_dependency "rake", "~> 13.1
|
32
|
-
spec.add_development_dependency "minitest", "~> 5.
|
31
|
+
spec.add_development_dependency "rake", "~> 13.2.1"
|
32
|
+
spec.add_development_dependency "minitest", "~> 5.25.1"
|
33
33
|
spec.add_development_dependency "minitest-focus", "~> 1.4.0"
|
34
|
-
spec.add_development_dependency "minitest-reporters", "~> 1.
|
35
|
-
spec.add_development_dependency "timecop", "~> 0.9.
|
36
|
-
spec.add_development_dependency "mocha", "~> 2.
|
34
|
+
spec.add_development_dependency "minitest-reporters", "~> 1.7.1"
|
35
|
+
spec.add_development_dependency "timecop", "~> 0.9.10"
|
36
|
+
spec.add_development_dependency "mocha", "~> 2.4.5"
|
37
37
|
spec.add_development_dependency "pry", "~> 0.14.2"
|
38
|
-
spec.add_development_dependency "webmock", "~> 3.23.
|
38
|
+
spec.add_development_dependency "webmock", "~> 3.23.1"
|
39
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: south_african_air_quality_index
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- trex22
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.22.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.22.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: active_attr
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,42 +44,42 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.16.
|
47
|
+
version: 1.16.7
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.16.
|
54
|
+
version: 1.16.7
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 13.1
|
61
|
+
version: 13.2.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 13.1
|
68
|
+
version: 13.2.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: minitest
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 5.
|
75
|
+
version: 5.25.1
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 5.
|
82
|
+
version: 5.25.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: minitest-focus
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,42 +100,42 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.7.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.7.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: timecop
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.9.
|
117
|
+
version: 0.9.10
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.9.
|
124
|
+
version: 0.9.10
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: mocha
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 2.
|
131
|
+
version: 2.4.5
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 2.
|
138
|
+
version: 2.4.5
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: pry
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 3.23.
|
159
|
+
version: 3.23.1
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 3.23.
|
166
|
+
version: 3.23.1
|
167
167
|
description: A client for using the South African Air Quality Index API in Ruby. This
|
168
168
|
is an unofficial project.
|
169
169
|
email:
|
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
|
-
rubygems_version: 3.5.
|
210
|
+
rubygems_version: 3.5.11
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: A client for using the South African Air Quality Index API in Ruby.
|