lita-onewheel-forecast-io 1.6.4 → 1.6.5

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: 282d3fc2cfdee6d76c4c6c26a240a31ff35d04df
4
- data.tar.gz: d859b10ccccae9258013edce2fced69f7932b8f8
3
+ metadata.gz: dd4ac54281b5e8db22121fc19d40df2a2f8c171c
4
+ data.tar.gz: b9794e2b5b4816427745329abd16a0085b93176f
5
5
  SHA512:
6
- metadata.gz: 2e25b3fb4eac96214183dbc7caf3a46dc9372f356fa9d9f76beca087d5f3a055091d6d69b9be08ae561542f8bd4bfc5b8ffe655ca41da803b72b0bb299ffce98
7
- data.tar.gz: 052cee91b5b0e65b4476e5bdc67e5d902d361f2fc38cd03dcd9a5ef512f810355cdeb1fe4c22254254da1f3214170f40fdc6735c460f2bfdcd89e4a284eec007
6
+ metadata.gz: ababca6f15fb1875f354acc352bfab32082b634ae1e7b8e9ad8b79550fda24cd782fd913a6f76e49c04c6663065801ddef9794b4b1d98b599d14e1876add48d6
7
+ data.tar.gz: c0e39cdda54a706b1d800f0f6d587c2fcb59425dc312b3666674bf5b0c94be487a7c8ee122e29d2682015877dba511e772568b888d8ae6c6972276d72946fd91
@@ -443,11 +443,13 @@ module ForecastIo
443
443
  end
444
444
 
445
445
  def do_the_today_thing(forecast, yesterday)
446
+ Lita.logger.info "Basing today on today - yesterday: #{forecast['daily']['data'][0]['temperatureMax']} - #{yesterday['daily']['data'][0]['temperatureMax']}"
446
447
  temp_diff = forecast['daily']['data'][0]['temperatureMax'] - yesterday['daily']['data'][0]['temperatureMax']
447
448
  get_daily_comparison_text(temp_diff, forecast['daily']['data'][0]['temperatureMax'])
448
449
  end
449
450
 
450
451
  def do_the_tomorrow_thing(forecast)
452
+ Lita.logger.info "Basing tomorrow on today - tomorrow: #{forecast['daily']['data'][0]['temperatureMax']} - #{forecast['daily']['data'][1]['temperatureMax']}"
451
453
  temp_diff = forecast['daily']['data'][0]['temperatureMax'] - forecast['daily']['data'][1]['temperatureMax']
452
454
  get_daily_comparison_text(temp_diff, forecast['daily']['data'][0]['temperatureMax'])
453
455
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-forecast-io'
3
- spec.version = '1.6.4'
3
+ spec.version = '1.6.5'
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.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps