air_quality_index 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/air_quality_index-0.2.0.gem +0 -0
- data/lib/air_quality_index/local_aqi.rb +1 -2
- data/lib/air_quality_index/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5b61c65fd170880568e180d35649d27f4931d17
|
4
|
+
data.tar.gz: 236072dcfa10b5c6a53a3f123e7b30e75609a9ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d5a3bd0b3ebc30577e7936583959f2a1f5ea5b85f85c3ceaddec2f32aecbafc946d9bf634573e27143795a667172fd45b0ed38a3ccaf37f6689fb5ac9890589
|
7
|
+
data.tar.gz: 494db92f88cd736beed76cb56ff7b73e0313b78ea29b23583825644bd276a969ade484e5571b8b14d1fed49fec5cf18bd1c63d8fb12f72dc6613be4a5be746dd
|
data/README.md
CHANGED
Binary file
|
@@ -125,12 +125,11 @@ class AirQualityIndex::LocalAQI
|
|
125
125
|
#grabs timestamp of aqi measurement, if none available, sets to "Time Unavailable" and returns
|
126
126
|
def timestamp
|
127
127
|
timestamp = self.doc.search("td.AQDataSectionTitle").css("small").text.split(" ")
|
128
|
-
binding.pry
|
129
128
|
if timestamp != []
|
130
129
|
timestamp[0].capitalize!
|
131
130
|
timestamp = timestamp.join(" ")
|
132
131
|
else
|
133
|
-
timestamp = 'Time Unavailable'
|
132
|
+
timestamp = 'Time Captured Unavailable'
|
134
133
|
end
|
135
134
|
timestamp
|
136
135
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: air_quality_index
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "'Jameson Bass'"
|
@@ -54,6 +54,7 @@ files:
|
|
54
54
|
- README.md
|
55
55
|
- Rakefile
|
56
56
|
- air_quality_index-0.1.0.gem
|
57
|
+
- air_quality_index-0.2.0.gem
|
57
58
|
- air_quality_index.gemspec
|
58
59
|
- bin/air-quality-index
|
59
60
|
- bin/console
|