lita-onewheel-forecast-io 1.14.5 → 1.14.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b29bdb44e2b85d79a57e85ae3170697c93a7c72d2b0ac85746f794dc96583fbd
4
- data.tar.gz: 6faec2852edcb5c7cd999cbfa8d16abc7da4c5418904a314e0142e8e02fc4dde
3
+ metadata.gz: 5c2ab7b8963c554383e0e765370cb89cb002982ff4e6417f491ccae69aac2029
4
+ data.tar.gz: 992fb654ee5af80e21067e5b4e39462f737b23b9cbe3577b0453bf6cd63a3730
5
5
  SHA512:
6
- metadata.gz: 62a337062a60d3eaeb96afc243f09219e504f05427856f636b76d58606502d0ccb8df601004733c7714e92157b9ccd9fe33badd0cceddbb1c3e51125046945f8
7
- data.tar.gz: bd35f1af5a9d54d8b8bee86a6fef15796971d7b4355be846ccd23923a4536aee592c0b7cb9965a6e9801c61ac2994473d61b20af61a40a66f6cb4bf3fd053fcb
6
+ metadata.gz: 7015753f46b98c209815ca8dfc715a38d11e3aa552990c90b9fad93faa42c8b4c8e363ffd4cc4a518791b555bac2caca6c4433482bce61c5a6b2ced54c125503
7
+ data.tar.gz: 35cc68b8f892d85ca4018b1d817e7a40c6839d20cbdf9d160f5cbfd0ae450e1b513b4262eef5acfe308a62016bdc0ce8679100f7018132b48d5c076b48ae3cce
@@ -143,7 +143,7 @@ module ForecastIo
143
143
  def ansi_temp_forecast(forecast, hours = 24)
144
144
  str, temperature_data = do_the_temp_thing(forecast, 'temperature', ansi_chars, hours)
145
145
  resp = "#{hours} hr temps: #{get_temperature temperature_data.first.round(1)} "
146
- resp += "(feels like #{get_current_apparent_temp(forecast)}) |#{str}| "
146
+ resp += "(feels like #{get_temperature get_current_apparent_temp(forecast)}) |#{str}| "
147
147
  resp += "#{get_temperature temperature_data.last.round(1)} Range: "
148
148
  resp += "#{get_temperature temperature_data.min.round(1)} - #{get_temperature temperature_data.max.round(1)}"
149
149
  end
@@ -160,7 +160,10 @@ module ForecastIo
160
160
 
161
161
  def ascii_temp_forecast(forecast, hours = 24)
162
162
  str, temperature_data = do_the_temp_thing(forecast, 'temperature', ascii_chars, hours)
163
- "#{hours} hr temps: #{get_temperature temperature_data.first.round(1)} |#{str}| #{get_temperature temperature_data.last.round(1)} Range: #{get_temperature temperature_data.min.round(1)} - #{get_temperature temperature_data.max.round(1)}"
163
+ resp = "#{hours} hr temps: #{get_temperature temperature_data.first.round(1)} "
164
+ resp += "(feels like #{get_temperature get_current_apparent_temp(forecast)}) "
165
+ resp += "|#{str}| #{get_temperature temperature_data.last.round(1)} Range: "
166
+ resp += "#{get_temperature temperature_data.min.round(1)} - #{get_temperature temperature_data.max.round(1)}"
164
167
  end
165
168
 
166
169
  def do_the_temp_thing(forecast, key, chars, hours)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-forecast-io'
3
- spec.version = '1.14.5'
3
+ spec.version = '1.14.6'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = <<-EOS
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-forecast-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.5
4
+ version: 1.14.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps