lita-onewheel-forecast-io 1.4.10 → 1.4.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33dc9d11a270c21e86e4bcf16edfeca51a44e1ea
|
4
|
+
data.tar.gz: 66208f153063969114b20b7c67fe8907bb455ff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 829c0e5971290d70a7bf001444bed9e7281c2c29677056122ecd61daf8aa7cb597f8db8d6a6431a3a0d128ff9162bf2c4753a9e720408bc602c8a71d0342904e
|
7
|
+
data.tar.gz: 40741740952e137111420fc642545ef9f86e7ad661fe39f6a5b9e9f3e488096fe20f581612172a29a799206bf828635bf142cf5f399ce6b2b5951d037cb9f6a3
|
@@ -479,7 +479,7 @@ module ForecastIo
|
|
479
479
|
window_close_temp = hour['temperature']
|
480
480
|
end
|
481
481
|
|
482
|
-
if !time_to_open_the_windows and time_to_close_the_windows and hour['temperature'].to_i
|
482
|
+
if !time_to_open_the_windows and time_to_close_the_windows and hour['temperature'].to_i <= 75
|
483
483
|
time_to_open_the_windows = hour['time']
|
484
484
|
end
|
485
485
|
|
@@ -513,7 +513,7 @@ describe Lita::Handlers::OnewheelForecastIo, lita_handler: true do
|
|
513
513
|
it '!windows' do
|
514
514
|
mock_up 'windows'
|
515
515
|
send_command 'windows'
|
516
|
-
expect(replies.last).to eq('Close the windows at 16:00, it will be 72°F. Open them back up at
|
516
|
+
expect(replies.last).to eq('Close the windows at 16:00, it will be 72°F. Open them back up at 16:00. The high today will be 72°F.')
|
517
517
|
end
|
518
518
|
|
519
519
|
it 'will not say a 28.000000000000004% chance of rain' do
|
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.4.
|
4
|
+
version: 1.4.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kreps
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|