myweatherforecast 0.5.1 → 0.5.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/myweatherforecast.rb +6 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3790db2ccc5ae1ac3c3cb9fa56943adc43303f54
|
|
4
|
+
data.tar.gz: 9d0beffee925db0fea583c12226d1ad5ead4b606
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9f140c0f49442db0601c703d3ab9b786f443052ca93ddf916c77f159b1960a13e33e3544356721a55c91552c5cb29e2f6688a6de83622fc256e1ea4bd45dcdc
|
|
7
|
+
data.tar.gz: 4bac4b3568cf6f6814e7f58aa7e810454528724922463770bad27f8775da68e7c356db9703a01624dd88ecc969f30550981c3b955d61db759ed40303e541d764
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/myweatherforecast.rb
CHANGED
|
@@ -244,16 +244,20 @@ class MyWeatherForecast
|
|
|
244
244
|
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
+
def now()
|
|
248
|
+
Hourly.new(@forecast, @tlabel)
|
|
249
|
+
end
|
|
250
|
+
|
|
247
251
|
def today()
|
|
248
252
|
Daily.new(@forecast, @tlabel)
|
|
249
253
|
end
|
|
250
254
|
|
|
255
|
+
alias currently now
|
|
256
|
+
|
|
251
257
|
def tonight()
|
|
252
258
|
Daily.new(@forecast, @tlabel).night
|
|
253
259
|
end
|
|
254
260
|
|
|
255
|
-
alias currently today
|
|
256
|
-
alias now today
|
|
257
261
|
alias this today
|
|
258
262
|
|
|
259
263
|
def tomorrow()
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED