air_quality_index 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1ee3e1620339090347a5bf86ddf9726ee2987af
4
- data.tar.gz: 49a16a9decdf18ffc06f04afe7bf2cd9fb61e527
3
+ metadata.gz: c5b61c65fd170880568e180d35649d27f4931d17
4
+ data.tar.gz: 236072dcfa10b5c6a53a3f123e7b30e75609a9ab
5
5
  SHA512:
6
- metadata.gz: ac007b3abb5e3c63551b2c1c8f4422c8e1e0053b38244c5513c3b886cfa5017fda958b82a60b7393bd8de63fb29e4056f256e07b14951a3219a1d277179e57c5
7
- data.tar.gz: d4a2827b5d822d0a92c1a33be614b8085162d0311187a2ccd2208d35667b915b580a86f5688668d124138666904c3a2e9d98f3c7c18ec93ec744b198b33f6074
6
+ metadata.gz: 3d5a3bd0b3ebc30577e7936583959f2a1f5ea5b85f85c3ceaddec2f32aecbafc946d9bf634573e27143795a667172fd45b0ed38a3ccaf37f6689fb5ac9890589
7
+ data.tar.gz: 494db92f88cd736beed76cb56ff7b73e0313b78ea29b23583825644bd276a969ade484e5571b8b14d1fed49fec5cf18bd1c63d8fb12f72dc6613be4a5be746dd
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
23
+ Install and enter AirQualityIndex::CLI.new.call to start a new instance of of the CLI.
24
24
 
25
25
  ## Development
26
26
 
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
@@ -1,3 +1,3 @@
1
1
  module AirQualityIndex
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  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.0
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