lita-onewheel-forecast-io 1.9.0 → 1.9.1

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: 429dfa682ff7dbbd15315d8c46046f9e556c5d2738efc8f7a52dd516ebf30ced
4
- data.tar.gz: 338f7d711135abc03bfe3e46e5d4040273c0a98804a88aea0a7ddd080af87260
3
+ metadata.gz: 33e09546f949c74898eca3909bc15e4bb6356645fe3023c71d2dede103916326
4
+ data.tar.gz: 8f78e1ef1893a01f97c66d55a5f5cfa27bc614f9fddde9f63ab328c56c05a858
5
5
  SHA512:
6
- metadata.gz: 2550e1fd5af98671496f6a6611bb6b8f69bb2d6cddd300892900d6da3303521e4a71437561c3f080f7fad410c391b699ec64167891b3742cb6b3f212ba9622bb
7
- data.tar.gz: 23759a74521fbc70062ac61f7d908d99a7694c2f5aae87f004c2b193b8e7524fab2be63fc002226bbb169fd6c677da2a5825d043011879525766014a2f7c0017
6
+ metadata.gz: 5a7a60d3b098e5301d01e17010b995d55b5f3cf608d3f978dd7a016e82dafeaa7bd3fc6d9c12acef7e2f6d4926d459054cb02245990f7f195a27d74245e65038
7
+ data.tar.gz: b31aa8bcad56cd473c73e824b1ff85a5f1b3d2e69446cd18feacac67a54995e92b688bf480c17d6da62b39f0af95920d9f2a6f9102ed2fcc4ac7c16138032c0b
@@ -294,7 +294,7 @@ module ForecastIo
294
294
  def do_the_fog_thing(forecast, chars)
295
295
  key = 'visibility'
296
296
  data_points = []
297
- data = forecast['hourly']['data']
297
+ data = forecast['hourly']['data'].slice(0,23)
298
298
 
299
299
  max = 0
300
300
  min = 10
@@ -308,9 +308,9 @@ module ForecastIo
308
308
 
309
309
  differential = data_points.max - data_points.min
310
310
 
311
- str = get_dot_str(chars, data, data_points.min, differential, key)
311
+ str = get_dot_str(chars, data, 0, 10, key)
312
312
 
313
- "48h fog report |#{str}| visibility #{min}mi - #{max}mi"
313
+ "24h fog report |#{str}| visibility #{min}mi - #{max}mi"
314
314
  end
315
315
 
316
316
  def do_the_sunrise_thing(forecast)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-forecast-io'
3
- spec.version = '1.9.0'
3
+ spec.version = '1.9.1'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = <<-EOS
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-forecast-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-04 00:00:00.000000000 Z
11
+ date: 2019-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita