tenkijp 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tenkijp/data.rb +21 -3
- data/lib/tenkijp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d87cb241e6124d2c3e7ae9141f2f6ee9493aa7b
|
4
|
+
data.tar.gz: a169bebf9209ef26a13a5bdb568813772b42834d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aef633bcfd1e6d4631023901146028bcadd12bf9aeb3e488e9b4d4431bb9c1a47f70705450bc9417c618ddf614382daa65a5d6b3155f67fdce5f5767ea746d0
|
7
|
+
data.tar.gz: 7c418c068d3c22edbb9c22b606e3f950e79eea08fee4d4defc294153dc0c2273e843a2c1d6c9594892953d6732890758afed288f333f69745aeee4e9627c1aba
|
data/lib/tenkijp/data.rb
CHANGED
@@ -20,20 +20,38 @@ EOB
|
|
20
20
|
def wh(str)
|
21
21
|
w = {
|
22
22
|
week_01: '晴',
|
23
|
-
week_02: '晴時々曇',
|
24
|
-
week_03: '
|
23
|
+
week_02: '晴時々曇',
|
24
|
+
week_03: '晴一時雨',
|
25
|
+
week_04: '晴一時雪',
|
25
26
|
week_05: '晴→曇',
|
26
27
|
week_06: '晴→雨',
|
28
|
+
week_07: '晴→雪',
|
27
29
|
|
28
30
|
week_08: '曇',
|
29
31
|
week_09: '曇時々晴',
|
30
|
-
week_10: '
|
32
|
+
week_10: '曇一時雨',
|
33
|
+
week_11: '曇一時雪',
|
34
|
+
week_12: '曇→晴',
|
35
|
+
week_13: '曇→雨',
|
36
|
+
week_14: '曇→雪',
|
31
37
|
|
32
38
|
week_15: '雨',
|
33
39
|
week_16: '雨時々晴',
|
34
40
|
week_17: '雨時々曇',
|
41
|
+
week_18: '雨時々雪',
|
35
42
|
week_19: '雨→晴',
|
36
43
|
week_20: '雨→曇',
|
44
|
+
week_21: '雨→雪',
|
45
|
+
week_22: '暴風雨?',
|
46
|
+
|
47
|
+
week_23: '雪',
|
48
|
+
week_24: '雪時々晴',
|
49
|
+
week_25: '雪時々曇',
|
50
|
+
week_26: '雪時々雨',
|
51
|
+
week_27: '雪→晴',
|
52
|
+
week_28: '雪→曇',
|
53
|
+
week_29: '雪→雨',
|
54
|
+
week_30: '大雪?',
|
37
55
|
}[str.to_sym] || str
|
38
56
|
w + (4-w.size).times.map{' '}.join
|
39
57
|
end
|
data/lib/tenkijp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tenkijp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cnosuke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jisx0402
|