zetabot 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/Zeta/plugins/weather.rb +1 -2
- data/lib/Zeta/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d970c901595835a68b2d869654f9dcd071c7cb17e51ff4f3e6477fbd3da6fce9
|
4
|
+
data.tar.gz: 5fb04929d9fe08a44a9ea72ad9a57e77965d3940da293ed909d8c96576561af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a76924b3122dd5bf4e45e147f696faaaa5dca0a176b83c2f4e471557613071268d4b5e5dc4395ec9f796f2f20f95aed9bba3ac4c0c2f5acbe7a2a57690ecec6
|
7
|
+
data.tar.gz: 0e99f230b90756e8dab9e6a8cd7ff9c98a0bd6a8183f5038578fbf8dd41080eed484c5a56727ebf93681c8e4bd0b15264919f33ad3da5e41d524e674e79b425b
|
data/Gemfile.lock
CHANGED
data/lib/Zeta/plugins/weather.rb
CHANGED
@@ -143,12 +143,11 @@ module Plugins
|
|
143
143
|
gusts = Unitwise(current.windGust, 'mile').convert_to('kilometer').to_i
|
144
144
|
|
145
145
|
tempstring = "#{current.temperature.to_i} F (#{c} C)"
|
146
|
-
# feelslike = "#{current.apparentTemperature.to_i} F (#{c_feels} C)"
|
147
146
|
|
148
147
|
data.reply = "DS ∴ #{ac.formatted_address} " \
|
149
148
|
"≈ #{Time.at(current.time).strftime("%a %D %l:%M %P")} " \
|
150
149
|
"≈ #{current.summary} #{tempstring} " \
|
151
|
-
"≈ Humidity: #{current.
|
150
|
+
"≈ Humidity: #{current.humidity * 100}% " \
|
152
151
|
"≈ Pressure: #{p.convert_to('[in_i\'Hg]').to_f.round(2)} in/Hg " \
|
153
152
|
"(#{p.convert_to("kPa").to_f.round(2)} kPa) " \
|
154
153
|
"≈ Wind: gusts upto #{current.windGust} mph (#{gusts} km/h) ≈ Alerts: #{alerts} ∴"
|
data/lib/Zeta/version.rb
CHANGED