yahoo_weatherman 1.2.1 → 1.2.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.
- data/i18n/es.yml +62 -0
- data/i18n/zh-cn.yml +62 -0
- data/lib/yahoo_weatherman.rb +1 -1
- data/yahoo_weatherman.gemspec +3 -1
- metadata +4 -2
data/i18n/es.yml
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
0: Tornado
|
|
2
|
+
1: Tormenta Tropical
|
|
3
|
+
2: Huracán
|
|
4
|
+
3: Tormentas severas
|
|
5
|
+
4: Tormentas
|
|
6
|
+
5: Lluvia y nieve
|
|
7
|
+
6: Lluvia y aguanieve
|
|
8
|
+
7: Nieve y aguanieve
|
|
9
|
+
8: Llovizna helada
|
|
10
|
+
9: Llovizna
|
|
11
|
+
10: Lluvia helada
|
|
12
|
+
11: Lluvias
|
|
13
|
+
12: Lluvias
|
|
14
|
+
13: Copos de nieve
|
|
15
|
+
14: Nevadas ligeras
|
|
16
|
+
15: Viento y nieve
|
|
17
|
+
16: Nieve
|
|
18
|
+
17: Granizo
|
|
19
|
+
18: Granizo
|
|
20
|
+
19: Polvo
|
|
21
|
+
20: Brumoso
|
|
22
|
+
21: Neblina
|
|
23
|
+
22: Neblina
|
|
24
|
+
23: Tempestuoso
|
|
25
|
+
24: Ventoso
|
|
26
|
+
25: Frío
|
|
27
|
+
26: Nublado
|
|
28
|
+
27: Mayoritariamente Nublado (noche)
|
|
29
|
+
28: Mayoritariamente Nublado (día)
|
|
30
|
+
29: Parcialmente Nublado (noche)
|
|
31
|
+
30: Parcialmente Nublado (día)
|
|
32
|
+
31: Cielo despejado
|
|
33
|
+
32: Soleado
|
|
34
|
+
33: Despejado (noche)
|
|
35
|
+
34: Despejado (día)
|
|
36
|
+
35: Mezcla de nieve y granizo
|
|
37
|
+
36: Calor
|
|
38
|
+
37: Tormentas aisladas
|
|
39
|
+
38: Tormentas intermitentes
|
|
40
|
+
39: Tormentas intermitentes
|
|
41
|
+
40: Chubascos intermitentes
|
|
42
|
+
41: Bastante Nieve
|
|
43
|
+
42: Nieve intermitente
|
|
44
|
+
43: Bastante Nieve
|
|
45
|
+
44: Parcialmente Nublado
|
|
46
|
+
45: Tormentas
|
|
47
|
+
46: Tormentas de nieve
|
|
48
|
+
47: Tormentas aisladas
|
|
49
|
+
3200: No Disponible
|
|
50
|
+
|
|
51
|
+
locations:
|
|
52
|
+
Brazil: Brasil
|
|
53
|
+
|
|
54
|
+
forecasts:
|
|
55
|
+
days:
|
|
56
|
+
Mon: Lunes
|
|
57
|
+
Tue: Martes
|
|
58
|
+
Wed: Miércoles
|
|
59
|
+
Thu: Jueves
|
|
60
|
+
Fri: Viernes
|
|
61
|
+
Sat: Sábado
|
|
62
|
+
Sun: Domingo
|
data/i18n/zh-cn.yml
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
0: 龙卷风 #tornado
|
|
2
|
+
1: 热带风暴 #tropical storm
|
|
3
|
+
2: 台风/飓风 #hurricane
|
|
4
|
+
3: 强雷暴 #severe thunderstorms
|
|
5
|
+
4: 雷雨 #thunderstorms
|
|
6
|
+
5: 雨夹雪 #mixed rain and snow
|
|
7
|
+
6: 雨和雨夹雪 #mixed rain and sleet
|
|
8
|
+
7: 雪和雨夹雪 #mixed snow and sleet
|
|
9
|
+
8: 冻雾雨 #freezing drizzle
|
|
10
|
+
9: 雾雨 #drizzle
|
|
11
|
+
10: 冻雨 #freezing rain
|
|
12
|
+
11: 阵雨 #showers
|
|
13
|
+
12: 阵雨 #showers
|
|
14
|
+
13: 小雪 #snow flurries
|
|
15
|
+
14: 小阵雪 #light snow showers
|
|
16
|
+
15: 高吹雪 #blowing snow
|
|
17
|
+
16: 雪 #snow
|
|
18
|
+
17: 冰雹 #hail
|
|
19
|
+
18: 雨夹雪 #sleet
|
|
20
|
+
19: 浮尘 #dust
|
|
21
|
+
20: 雾 #foggy
|
|
22
|
+
21: 霾 #haze
|
|
23
|
+
22: 烟雾 #smoky
|
|
24
|
+
23: 大风 #blustery
|
|
25
|
+
24: 有风 #windy
|
|
26
|
+
25: 寒冷 #cold
|
|
27
|
+
26: 多云 #cloudy
|
|
28
|
+
27: 夜间大部多云 #mostly cloudy (night)
|
|
29
|
+
28: 大部多云 #mostly cloudy (day)
|
|
30
|
+
29: 夜间局部多云 #partly cloudy (night)
|
|
31
|
+
30: 局部多云 #partly cloudy (day)
|
|
32
|
+
31: 夜间晴朗 #clear (night)
|
|
33
|
+
32: 晴朗 #sunny
|
|
34
|
+
33: 夜间天气良好 #fair (night)
|
|
35
|
+
34: 大部晴朗 # Mostly Sunny | fair (day)
|
|
36
|
+
35: 雨夹冰雹 #mixed rain and hail
|
|
37
|
+
36: 炎热 #hot
|
|
38
|
+
37: 局部雷雨 #isolated thunderstorms
|
|
39
|
+
38: 零星雷雨 #scattered thunderstorms
|
|
40
|
+
39: 零星雷雨 #scattered thunderstorms
|
|
41
|
+
40: 零星阵雨 #scattered showers
|
|
42
|
+
41: 大雪 #heavy snow
|
|
43
|
+
42: 零星阵雪 #scattered snow showers
|
|
44
|
+
43: 大雪 #heavy snow
|
|
45
|
+
44: 局部多云 #partly cloudy
|
|
46
|
+
45: 雷阵雨 #thundershowers
|
|
47
|
+
46: 阵雪 #snow showers
|
|
48
|
+
47: 局部雷阵雨 #isolated thundershowers
|
|
49
|
+
3200: 未知 #not available
|
|
50
|
+
|
|
51
|
+
locations:
|
|
52
|
+
China: 中国
|
|
53
|
+
|
|
54
|
+
forecasts:
|
|
55
|
+
days:
|
|
56
|
+
Mon: 星期一
|
|
57
|
+
Tue: 星期二
|
|
58
|
+
Wed: 星期三
|
|
59
|
+
Thu: 星期四
|
|
60
|
+
Fri: 星期五
|
|
61
|
+
Sat: 星期六
|
|
62
|
+
Sun: 星期日
|
data/lib/yahoo_weatherman.rb
CHANGED
data/yahoo_weatherman.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |gem|
|
|
2
2
|
gem.name = "yahoo_weatherman"
|
|
3
|
-
gem.version = "1.2.
|
|
3
|
+
gem.version = "1.2.2"
|
|
4
4
|
gem.authors = ["Dalto Curvelano Junior"]
|
|
5
5
|
gem.description = "A ruby wrapper to the Yahoo! Weather feed with i18n support."
|
|
6
6
|
gem.summary = "A ruby wrapper to the Yahoo! Weather feed with i18n support."
|
|
@@ -13,6 +13,8 @@ Gem::Specification.new do |gem|
|
|
|
13
13
|
"lib/yahoo_weatherman.rb",
|
|
14
14
|
"i18n/pt-br.yml",
|
|
15
15
|
"i18n/ru.yml",
|
|
16
|
+
"i18n/es.yml",
|
|
17
|
+
"i18n/zh-cn.yml",
|
|
16
18
|
"spec/files/belo_horizonte_c.rss",
|
|
17
19
|
"spec/files/belo_horizonte_f.rss",
|
|
18
20
|
"spec/spec_helper.rb",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yahoo_weatherman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-11-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|
|
@@ -73,6 +73,8 @@ files:
|
|
|
73
73
|
- lib/yahoo_weatherman.rb
|
|
74
74
|
- i18n/pt-br.yml
|
|
75
75
|
- i18n/ru.yml
|
|
76
|
+
- i18n/es.yml
|
|
77
|
+
- i18n/zh-cn.yml
|
|
76
78
|
- spec/files/belo_horizonte_c.rss
|
|
77
79
|
- spec/files/belo_horizonte_f.rss
|
|
78
80
|
- spec/spec_helper.rb
|