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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d483fc60e2194575d7f64b489e0e585d34863b7
4
- data.tar.gz: ada1d2c7c2e53d08e46249f582b18b5df9ccef97
3
+ metadata.gz: 2d87cb241e6124d2c3e7ae9141f2f6ee9493aa7b
4
+ data.tar.gz: a169bebf9209ef26a13a5bdb568813772b42834d
5
5
  SHA512:
6
- metadata.gz: 861157fbe616e5e0a80cd5f1565090e6478dbec2686dd2586d8512fdd87a3ea42291a1c8c4f33b521f8b3369c4c9da049e655204f4bfd18b381a604fb9d90ced
7
- data.tar.gz: 494fec48575721c51b05d9900c90aabbbf99deee23a157f938ea60d23ca00fc9e7a141ee6f9e6db85b349f29d6485f4ee8891e8f44db23d9eca1da7864d8aed3
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
@@ -1,3 +1,3 @@
1
1
  module TenkiJp
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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-08 00:00:00.000000000 Z
11
+ date: 2015-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jisx0402