rubimas 0.1.0 → 0.2.0
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
- data/.travis.yml +2 -0
- data/CHANGELOG.md +9 -1
- data/config/idols.yml +348 -100
- data/lib/rubimas/idol/name.rb +35 -0
- data/lib/rubimas/idol.rb +4 -4
- data/lib/rubimas/version.rb +1 -1
- data/lib/rubimas.rb +1 -0
- data/rubimas.gemspec +5 -5
- data/spec/rubimas_spec.rb +2 -2
- metadata +25 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 453b347947f2099617b165223680d4c03b224bcd
|
|
4
|
+
data.tar.gz: a0ebb55207b7cdb7d00e9f019325dce2319932a6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 910fea794c886c12bbc220e43ab9282b9618906e8c403b27e4330cd6be8b3a0cab9dc762ccd43ea8a58d994f3fa83cae35a306369d536473c612fb9ee8b87f14
|
|
7
|
+
data.tar.gz: 217ad39ec492f9fdaf327476ceb289cb6a03c5f00f89e3e83fd3bd3fdf1335e913bcec148d1ff184545d3531793bfd887ea7ce3018e061dd13a581dad40403ec
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](http://github.com/imas/rubimas/compare/v0.
|
|
2
|
+
[full changelog](http://github.com/imas/rubimas/compare/v0.2.0...master)
|
|
3
|
+
|
|
4
|
+
## v0.2.0
|
|
5
|
+
[full changelog](http://github.com/imas/rubimas/compare/v0.1.0...v0.2.0)
|
|
6
|
+
|
|
7
|
+
- Idol name class support
|
|
8
|
+
- https://github.com/imas/rubimas/commit/9e77a23c4f1c8c5e7459eb83391ac8371538c200
|
|
9
|
+
- Add the idol type.
|
|
10
|
+
- https://github.com/imas/rubimas/commit/9d72740e90ada992b11c5a1901c3fefd7fba3678
|
|
3
11
|
|
|
4
12
|
## v0.1.0
|
|
5
13
|
[full changelog](http://github.com/imas/rubimas/compare/v0.0.2...v0.1.0)
|
data/config/idols.yml
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
haruka:
|
|
3
3
|
idol_id: 1
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
idol_type: Vo
|
|
5
|
+
name:
|
|
6
|
+
family: "天海"
|
|
7
|
+
family_kana: "あまみ"
|
|
8
|
+
given: "春香"
|
|
9
|
+
given_kana: "はるか"
|
|
10
|
+
shorten: "春香"
|
|
6
11
|
age: 17
|
|
7
12
|
height: 158.0
|
|
8
13
|
weight: 46.0
|
|
@@ -22,8 +27,13 @@ haruka:
|
|
|
22
27
|
color: "#e22b30"
|
|
23
28
|
chihaya:
|
|
24
29
|
idol_id: 2
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
idol_type: Vo
|
|
31
|
+
name:
|
|
32
|
+
family: "如月"
|
|
33
|
+
family_kana: "きさらぎ"
|
|
34
|
+
given: "千早"
|
|
35
|
+
given_kana: "ちはや"
|
|
36
|
+
shorten: "千早"
|
|
27
37
|
age: 16
|
|
28
38
|
height: 162.0
|
|
29
39
|
weight: 41.0
|
|
@@ -42,8 +52,13 @@ chihaya:
|
|
|
42
52
|
color: "#2743d2"
|
|
43
53
|
miki:
|
|
44
54
|
idol_id: 3
|
|
45
|
-
|
|
46
|
-
|
|
55
|
+
idol_type: Vi
|
|
56
|
+
name:
|
|
57
|
+
family: "星井"
|
|
58
|
+
family_kana: "ほしい"
|
|
59
|
+
given: "美希"
|
|
60
|
+
given_kana: "みき"
|
|
61
|
+
shorten: "美希"
|
|
47
62
|
age: 15
|
|
48
63
|
height: 161.0
|
|
49
64
|
weight: 45.0
|
|
@@ -64,8 +79,13 @@ miki:
|
|
|
64
79
|
color: "#b4e04b"
|
|
65
80
|
yukiho:
|
|
66
81
|
idol_id: 4
|
|
67
|
-
|
|
68
|
-
|
|
82
|
+
idol_type: Vi
|
|
83
|
+
name:
|
|
84
|
+
family: "萩原"
|
|
85
|
+
family_kana: "はぎわら"
|
|
86
|
+
given: "雪歩"
|
|
87
|
+
given_kana: "ゆきほ"
|
|
88
|
+
shorten: "雪歩"
|
|
69
89
|
age: 17
|
|
70
90
|
height: 155.0
|
|
71
91
|
weight: 42.0
|
|
@@ -84,8 +104,13 @@ yukiho:
|
|
|
84
104
|
color: "#d3dde9"
|
|
85
105
|
yayoi:
|
|
86
106
|
idol_id: 5
|
|
87
|
-
|
|
88
|
-
|
|
107
|
+
idol_type: Da
|
|
108
|
+
name:
|
|
109
|
+
family: "高槻"
|
|
110
|
+
family_kana: "たかつき"
|
|
111
|
+
given: "やよい"
|
|
112
|
+
given_kana: "やよい"
|
|
113
|
+
shorten: "やよい"
|
|
89
114
|
age: 14
|
|
90
115
|
height: 145.0
|
|
91
116
|
weight: 37.0
|
|
@@ -106,8 +131,13 @@ yayoi:
|
|
|
106
131
|
color: "#f39939"
|
|
107
132
|
makoto:
|
|
108
133
|
idol_id: 6
|
|
109
|
-
|
|
110
|
-
|
|
134
|
+
idol_type: Da
|
|
135
|
+
name:
|
|
136
|
+
family: "菊地"
|
|
137
|
+
family_kana: "きくち"
|
|
138
|
+
given: "真"
|
|
139
|
+
given_kana: "まこと"
|
|
140
|
+
shorten: "真"
|
|
111
141
|
age: 17
|
|
112
142
|
height: 159.0
|
|
113
143
|
weight: 44.0
|
|
@@ -127,8 +157,13 @@ makoto:
|
|
|
127
157
|
color: "#515558"
|
|
128
158
|
iori:
|
|
129
159
|
idol_id: 7
|
|
130
|
-
|
|
131
|
-
|
|
160
|
+
idol_type: Vo
|
|
161
|
+
name:
|
|
162
|
+
family: "水瀬"
|
|
163
|
+
family_kana: "みなせ"
|
|
164
|
+
given: "伊織"
|
|
165
|
+
given_kana: "いおり"
|
|
166
|
+
shorten: "伊織"
|
|
132
167
|
age: 15
|
|
133
168
|
height: 153.0
|
|
134
169
|
weight: 40.0
|
|
@@ -148,8 +183,13 @@ iori:
|
|
|
148
183
|
color: "#fd99e1"
|
|
149
184
|
takane:
|
|
150
185
|
idol_id: 8
|
|
151
|
-
|
|
152
|
-
|
|
186
|
+
idol_type: Vo
|
|
187
|
+
name:
|
|
188
|
+
family: "四条"
|
|
189
|
+
family_kana: "しじょう"
|
|
190
|
+
given: "貴音"
|
|
191
|
+
given_kana: "たかね"
|
|
192
|
+
shorten: "貴音"
|
|
153
193
|
age: 18
|
|
154
194
|
height: 169.0
|
|
155
195
|
weight: 49.0
|
|
@@ -169,8 +209,13 @@ takane:
|
|
|
169
209
|
color: "#a6126a"
|
|
170
210
|
ritsuko:
|
|
171
211
|
idol_id: 9
|
|
172
|
-
|
|
173
|
-
|
|
212
|
+
idol_type: Vi
|
|
213
|
+
name:
|
|
214
|
+
family: "秋月"
|
|
215
|
+
family_kana: "あきづき"
|
|
216
|
+
given: "律子"
|
|
217
|
+
given_kana: "りつこ"
|
|
218
|
+
shorten: "律子"
|
|
174
219
|
age: 19
|
|
175
220
|
height: 156.0
|
|
176
221
|
weight: 43.0
|
|
@@ -190,8 +235,13 @@ ritsuko:
|
|
|
190
235
|
color: "#01a860"
|
|
191
236
|
azusa:
|
|
192
237
|
idol_id: 10
|
|
193
|
-
|
|
194
|
-
|
|
238
|
+
idol_type: Vo
|
|
239
|
+
name:
|
|
240
|
+
family: "三浦"
|
|
241
|
+
family_kana: "みうら"
|
|
242
|
+
given: "あずさ"
|
|
243
|
+
given_kana: "あずさ"
|
|
244
|
+
shorten: "あずさ"
|
|
195
245
|
age: 21
|
|
196
246
|
height: 168.0
|
|
197
247
|
weight: 48.0
|
|
@@ -210,8 +260,13 @@ azusa:
|
|
|
210
260
|
color: "#9238be"
|
|
211
261
|
ami:
|
|
212
262
|
idol_id: 11
|
|
213
|
-
|
|
214
|
-
|
|
263
|
+
idol_type: Vi
|
|
264
|
+
name:
|
|
265
|
+
family: "双海"
|
|
266
|
+
family_kana: "ふたみ"
|
|
267
|
+
given: "亜美"
|
|
268
|
+
given_kana: "あみ"
|
|
269
|
+
shorten: "亜美"
|
|
215
270
|
age: 13
|
|
216
271
|
height: 158.0
|
|
217
272
|
weight: 42.0
|
|
@@ -231,8 +286,13 @@ ami:
|
|
|
231
286
|
color: "#ffe43f"
|
|
232
287
|
mami:
|
|
233
288
|
idol_id: 12
|
|
234
|
-
|
|
235
|
-
|
|
289
|
+
idol_type: Vi
|
|
290
|
+
name:
|
|
291
|
+
family: "双海"
|
|
292
|
+
family_kana: "ふたみ"
|
|
293
|
+
given: "真美"
|
|
294
|
+
given_kana: "まみ"
|
|
295
|
+
shorten: "真美"
|
|
236
296
|
age: 13
|
|
237
297
|
height: 158.0
|
|
238
298
|
weight: 42.0
|
|
@@ -252,8 +312,13 @@ mami:
|
|
|
252
312
|
color: "#ffe43f"
|
|
253
313
|
hibiki:
|
|
254
314
|
idol_id: 13
|
|
255
|
-
|
|
256
|
-
|
|
315
|
+
idol_type: Da
|
|
316
|
+
name:
|
|
317
|
+
family: "我那覇"
|
|
318
|
+
family_kana: "がなは"
|
|
319
|
+
given: "響"
|
|
320
|
+
given_kana: "ひびき"
|
|
321
|
+
shorten: "響"
|
|
257
322
|
age: 16
|
|
258
323
|
height: 152.0
|
|
259
324
|
weight: 41.0
|
|
@@ -274,8 +339,13 @@ hibiki:
|
|
|
274
339
|
color: "#01adb9"
|
|
275
340
|
mirai:
|
|
276
341
|
idol_id: 14
|
|
277
|
-
|
|
278
|
-
|
|
342
|
+
idol_type: Vo
|
|
343
|
+
name:
|
|
344
|
+
family: "春日"
|
|
345
|
+
family_kana: "かすが"
|
|
346
|
+
given: "未来"
|
|
347
|
+
given_kana: "みらい"
|
|
348
|
+
shorten: "未来"
|
|
279
349
|
age: 14
|
|
280
350
|
height: 156.0
|
|
281
351
|
weight: 42.0
|
|
@@ -294,8 +364,13 @@ mirai:
|
|
|
294
364
|
color: "#ea5b76"
|
|
295
365
|
shizuka:
|
|
296
366
|
idol_id: 15
|
|
297
|
-
|
|
298
|
-
|
|
367
|
+
idol_type: Vo
|
|
368
|
+
name:
|
|
369
|
+
family: "最上"
|
|
370
|
+
family_kana: "もがみ"
|
|
371
|
+
given: "静香"
|
|
372
|
+
given_kana: "しずか"
|
|
373
|
+
shorten: "静香"
|
|
299
374
|
age: 14
|
|
300
375
|
height: 162.0
|
|
301
376
|
weight: 44.0
|
|
@@ -314,8 +389,13 @@ shizuka:
|
|
|
314
389
|
color: "#6495cf"
|
|
315
390
|
tsubasa:
|
|
316
391
|
idol_id: 16
|
|
317
|
-
|
|
318
|
-
|
|
392
|
+
idol_type: Vi
|
|
393
|
+
name:
|
|
394
|
+
family: "伊吹"
|
|
395
|
+
family_kana: "いぶき"
|
|
396
|
+
given: "翼"
|
|
397
|
+
given_kana: "つばさ"
|
|
398
|
+
shorten: "翼"
|
|
319
399
|
age: 14
|
|
320
400
|
height: 158.0
|
|
321
401
|
weight: 43.0
|
|
@@ -334,8 +414,13 @@ tsubasa:
|
|
|
334
414
|
color: "#fed552"
|
|
335
415
|
kotoha:
|
|
336
416
|
idol_id: 17
|
|
337
|
-
|
|
338
|
-
|
|
417
|
+
idol_type: Vo
|
|
418
|
+
name:
|
|
419
|
+
family: "田中"
|
|
420
|
+
family_kana: "たなか"
|
|
421
|
+
given: "琴葉"
|
|
422
|
+
given_kana: "ことは"
|
|
423
|
+
shorten: "琴葉"
|
|
339
424
|
age: 18
|
|
340
425
|
height: 157.0
|
|
341
426
|
weight: 44.0
|
|
@@ -354,8 +439,13 @@ kotoha:
|
|
|
354
439
|
color: "#92cfbb"
|
|
355
440
|
erena:
|
|
356
441
|
idol_id: 18
|
|
357
|
-
|
|
358
|
-
|
|
442
|
+
idol_type: Da
|
|
443
|
+
name:
|
|
444
|
+
family: "島原"
|
|
445
|
+
family_kana: "しまばら"
|
|
446
|
+
given: "エレナ"
|
|
447
|
+
given_kana: "えれな"
|
|
448
|
+
shorten: "エレナ"
|
|
359
449
|
age: 17
|
|
360
450
|
height: 160.0
|
|
361
451
|
weight: 47.0
|
|
@@ -374,8 +464,13 @@ erena:
|
|
|
374
464
|
color: "#9bce92"
|
|
375
465
|
minako:
|
|
376
466
|
idol_id: 19
|
|
377
|
-
|
|
378
|
-
|
|
467
|
+
idol_type: Da
|
|
468
|
+
name:
|
|
469
|
+
family: "佐竹"
|
|
470
|
+
family_kana: "さたけ"
|
|
471
|
+
given: "美奈子"
|
|
472
|
+
given_kana: "みなこ"
|
|
473
|
+
shorten: "美奈子"
|
|
379
474
|
age: 18
|
|
380
475
|
height: 158.0
|
|
381
476
|
weight: 45.0
|
|
@@ -394,8 +489,13 @@ minako:
|
|
|
394
489
|
color: "#58a6dc"
|
|
395
490
|
megumi:
|
|
396
491
|
idol_id: 20
|
|
397
|
-
|
|
398
|
-
|
|
492
|
+
idol_type: Vi
|
|
493
|
+
name:
|
|
494
|
+
family: "所"
|
|
495
|
+
family_kana: "ところ"
|
|
496
|
+
given: "恵美"
|
|
497
|
+
given_kana: "めぐみ"
|
|
498
|
+
shorten: "恵美"
|
|
399
499
|
age: 16
|
|
400
500
|
height: 159.0
|
|
401
501
|
weight: 47.0
|
|
@@ -414,8 +514,13 @@ megumi:
|
|
|
414
514
|
color: "#454341"
|
|
415
515
|
matsuri:
|
|
416
516
|
idol_id: 21
|
|
417
|
-
|
|
418
|
-
|
|
517
|
+
idol_type: Vi
|
|
518
|
+
name:
|
|
519
|
+
family: "徳川"
|
|
520
|
+
family_kana: "とくがわ"
|
|
521
|
+
given: "まつり"
|
|
522
|
+
given_kana: "まつり"
|
|
523
|
+
shorten: "まつり"
|
|
419
524
|
age: 19
|
|
420
525
|
height: 163.0
|
|
421
526
|
weight: 44.0
|
|
@@ -435,8 +540,13 @@ matsuri:
|
|
|
435
540
|
color: "#5abfb7"
|
|
436
541
|
serika:
|
|
437
542
|
idol_id: 22
|
|
438
|
-
|
|
439
|
-
|
|
543
|
+
idol_type: Vo
|
|
544
|
+
name:
|
|
545
|
+
family: "箱崎"
|
|
546
|
+
family_kana: "はこざき"
|
|
547
|
+
given: "星梨花"
|
|
548
|
+
given_kana: "せりか"
|
|
549
|
+
shorten: "星梨花"
|
|
440
550
|
age: 13
|
|
441
551
|
height: 146.0
|
|
442
552
|
weight: 37.0
|
|
@@ -456,8 +566,13 @@ serika:
|
|
|
456
566
|
color: "#ed90ba"
|
|
457
567
|
akane:
|
|
458
568
|
idol_id: 23
|
|
459
|
-
|
|
460
|
-
|
|
569
|
+
idol_type: Da
|
|
570
|
+
name:
|
|
571
|
+
family: "野々原"
|
|
572
|
+
family_kana: "ののはら"
|
|
573
|
+
given: "茜"
|
|
574
|
+
given_kana: "あかね"
|
|
575
|
+
shorten: "茜"
|
|
461
576
|
age: 16
|
|
462
577
|
height: 150.0
|
|
463
578
|
weight: 42.0
|
|
@@ -476,8 +591,13 @@ akane:
|
|
|
476
591
|
color: "#eb613f"
|
|
477
592
|
anna:
|
|
478
593
|
idol_id: 24
|
|
479
|
-
|
|
480
|
-
|
|
594
|
+
idol_type: Vo
|
|
595
|
+
name:
|
|
596
|
+
family: "望月"
|
|
597
|
+
family_kana: "もちづき"
|
|
598
|
+
given: "杏奈"
|
|
599
|
+
given_kana: "あんな"
|
|
600
|
+
shorten: "杏奈"
|
|
481
601
|
age: 14
|
|
482
602
|
height: 152.0
|
|
483
603
|
weight: 41.0
|
|
@@ -496,8 +616,14 @@ anna:
|
|
|
496
616
|
color: "#7e6ca8"
|
|
497
617
|
roko:
|
|
498
618
|
idol_id: 25
|
|
499
|
-
|
|
500
|
-
|
|
619
|
+
idol_type: Vi
|
|
620
|
+
name:
|
|
621
|
+
aka: "ロコ"
|
|
622
|
+
family: "伴田"
|
|
623
|
+
family_kana: "はんだ"
|
|
624
|
+
given: "路子"
|
|
625
|
+
given_kana: "ろこ"
|
|
626
|
+
shorten: "ロコ"
|
|
501
627
|
age: 15
|
|
502
628
|
height: 154.0
|
|
503
629
|
weight: 42.0
|
|
@@ -516,8 +642,13 @@ roko:
|
|
|
516
642
|
color: "#fff03c"
|
|
517
643
|
yuriko:
|
|
518
644
|
idol_id: 26
|
|
519
|
-
|
|
520
|
-
|
|
645
|
+
idol_type: Vi
|
|
646
|
+
name:
|
|
647
|
+
family: "七尾"
|
|
648
|
+
family_kana: "ななお"
|
|
649
|
+
given: "百合子"
|
|
650
|
+
given_kana: "ゆりこ"
|
|
651
|
+
shorten: "百合子"
|
|
521
652
|
age: 15
|
|
522
653
|
height: 154.0
|
|
523
654
|
weight: 41.0
|
|
@@ -536,8 +667,13 @@ yuriko:
|
|
|
536
667
|
color: "#c7b83c"
|
|
537
668
|
sayoko:
|
|
538
669
|
idol_id: 27
|
|
539
|
-
|
|
540
|
-
|
|
670
|
+
idol_type: Vo
|
|
671
|
+
name:
|
|
672
|
+
family: "高山"
|
|
673
|
+
family_kana: "たかやま"
|
|
674
|
+
given: "紗代子"
|
|
675
|
+
given_kana: "さよこ"
|
|
676
|
+
shorten: "紗代子"
|
|
541
677
|
age: 17
|
|
542
678
|
height: 156.0
|
|
543
679
|
weight: 42.0
|
|
@@ -557,8 +693,13 @@ sayoko:
|
|
|
557
693
|
color: "#7f6575"
|
|
558
694
|
arisa:
|
|
559
695
|
idol_id: 28
|
|
560
|
-
|
|
561
|
-
|
|
696
|
+
idol_type: Vo
|
|
697
|
+
name:
|
|
698
|
+
family: "松田"
|
|
699
|
+
family_kana: "まつだ"
|
|
700
|
+
given: "亜利沙"
|
|
701
|
+
given_kana: "ありさ"
|
|
702
|
+
shorten: "亜利沙"
|
|
562
703
|
age: 16
|
|
563
704
|
height: 154.0
|
|
564
705
|
weight: 40.0
|
|
@@ -577,8 +718,13 @@ arisa:
|
|
|
577
718
|
color: "#b54461"
|
|
578
719
|
umi:
|
|
579
720
|
idol_id: 29
|
|
580
|
-
|
|
581
|
-
|
|
721
|
+
idol_type: Da
|
|
722
|
+
name:
|
|
723
|
+
family: "高坂"
|
|
724
|
+
family_kana: "こうさか"
|
|
725
|
+
given: "海美"
|
|
726
|
+
given_kana: "うみ"
|
|
727
|
+
shorten: "海美"
|
|
582
728
|
age: 16
|
|
583
729
|
height: 155.0
|
|
584
730
|
weight: 45.0
|
|
@@ -597,8 +743,13 @@ umi:
|
|
|
597
743
|
color: "#e9739b"
|
|
598
744
|
iku:
|
|
599
745
|
idol_id: 30
|
|
600
|
-
|
|
601
|
-
|
|
746
|
+
idol_type: Vi
|
|
747
|
+
name:
|
|
748
|
+
family: "中谷"
|
|
749
|
+
family_kana: "なかたに"
|
|
750
|
+
given: "育"
|
|
751
|
+
given_kana: "いく"
|
|
752
|
+
shorten: "育"
|
|
602
753
|
age: 10
|
|
603
754
|
height: 142.0
|
|
604
755
|
weight: 37.0
|
|
@@ -617,8 +768,13 @@ iku:
|
|
|
617
768
|
color: "#f7e78e"
|
|
618
769
|
tomoka:
|
|
619
770
|
idol_id: 31
|
|
620
|
-
|
|
621
|
-
|
|
771
|
+
idol_type: Vo
|
|
772
|
+
name:
|
|
773
|
+
family: "天空橋"
|
|
774
|
+
family_kana: "てんくうばし"
|
|
775
|
+
given: "朋花"
|
|
776
|
+
given_kana: "ともか"
|
|
777
|
+
shorten: "朋花"
|
|
622
778
|
age: 15
|
|
623
779
|
height: 156.0
|
|
624
780
|
weight: 41.0
|
|
@@ -637,8 +793,13 @@ tomoka:
|
|
|
637
793
|
color: "#bee3e3"
|
|
638
794
|
emily:
|
|
639
795
|
idol_id: 32
|
|
640
|
-
|
|
641
|
-
|
|
796
|
+
idol_type: Da
|
|
797
|
+
name:
|
|
798
|
+
family: "エミリー"
|
|
799
|
+
family_kana: "えみりー"
|
|
800
|
+
given: "スチュアート"
|
|
801
|
+
given_kana: "すちゅあーと"
|
|
802
|
+
shorten: "エミリー"
|
|
642
803
|
age: 13
|
|
643
804
|
height: 156.0
|
|
644
805
|
weight: 41.0
|
|
@@ -657,8 +818,13 @@ emily:
|
|
|
657
818
|
color: "#554171"
|
|
658
819
|
shiho:
|
|
659
820
|
idol_id: 33
|
|
660
|
-
|
|
661
|
-
|
|
821
|
+
idol_type: Vi
|
|
822
|
+
name:
|
|
823
|
+
family: "北沢"
|
|
824
|
+
family_kana: "きたざわ"
|
|
825
|
+
given: "志保"
|
|
826
|
+
given_kana: "しほ"
|
|
827
|
+
shorten: "志保"
|
|
662
828
|
age: 14
|
|
663
829
|
height: 161.0
|
|
664
830
|
weight: 46.0
|
|
@@ -678,8 +844,13 @@ shiho:
|
|
|
678
844
|
color: "#afa690"
|
|
679
845
|
ayumu:
|
|
680
846
|
idol_id: 34
|
|
681
|
-
|
|
682
|
-
|
|
847
|
+
idol_type: Da
|
|
848
|
+
name:
|
|
849
|
+
family: "舞浜"
|
|
850
|
+
family_kana: "まいはま"
|
|
851
|
+
given: "歩"
|
|
852
|
+
given_kana: "あゆむ"
|
|
853
|
+
shorten: "歩"
|
|
683
854
|
age: 19
|
|
684
855
|
height: 158.0
|
|
685
856
|
weight: 49.9
|
|
@@ -698,8 +869,13 @@ ayumu:
|
|
|
698
869
|
color: "#e25a9b"
|
|
699
870
|
hinata:
|
|
700
871
|
idol_id: 35
|
|
701
|
-
|
|
702
|
-
|
|
872
|
+
idol_type: Vo
|
|
873
|
+
name:
|
|
874
|
+
family: "木下"
|
|
875
|
+
family_kana: "きのした"
|
|
876
|
+
given: "ひなた"
|
|
877
|
+
given_kana: "ひなた"
|
|
878
|
+
shorten: "ひなた"
|
|
703
879
|
age: 14
|
|
704
880
|
height: 146.0
|
|
705
881
|
weight: 39.5
|
|
@@ -718,8 +894,13 @@ hinata:
|
|
|
718
894
|
color: "#d1342c"
|
|
719
895
|
kana:
|
|
720
896
|
idol_id: 36
|
|
721
|
-
|
|
722
|
-
|
|
897
|
+
idol_type: Vo
|
|
898
|
+
name:
|
|
899
|
+
family: "矢吹"
|
|
900
|
+
family_kana: "やぶき"
|
|
901
|
+
given: "可奈"
|
|
902
|
+
given_kana: "かな"
|
|
903
|
+
shorten: "可奈"
|
|
723
904
|
age: 14
|
|
724
905
|
height: 155.0
|
|
725
906
|
weight: 43.0
|
|
@@ -738,8 +919,13 @@ kana:
|
|
|
738
919
|
color: "#f5ad3b"
|
|
739
920
|
nao:
|
|
740
921
|
idol_id: 37
|
|
741
|
-
|
|
742
|
-
|
|
922
|
+
idol_type: Da
|
|
923
|
+
name:
|
|
924
|
+
family: "横山"
|
|
925
|
+
family_kana: "よこやま"
|
|
926
|
+
given: "奈緒"
|
|
927
|
+
given_kana: "なお"
|
|
928
|
+
shorten: "奈緒"
|
|
743
929
|
age: 17
|
|
744
930
|
height: 159.0
|
|
745
931
|
weight: 46.0
|
|
@@ -758,8 +944,13 @@ nao:
|
|
|
758
944
|
color: "#788bc5"
|
|
759
945
|
chiduru:
|
|
760
946
|
idol_id: 38
|
|
761
|
-
|
|
762
|
-
|
|
947
|
+
idol_type: Vi
|
|
948
|
+
name:
|
|
949
|
+
family: "二階堂"
|
|
950
|
+
family_kana: "にかいどう"
|
|
951
|
+
given: "千鶴"
|
|
952
|
+
given_kana: "ちづる"
|
|
953
|
+
shorten: "千鶴"
|
|
763
954
|
age: 21
|
|
764
955
|
height: 165.0
|
|
765
956
|
weight: 50.0
|
|
@@ -778,8 +969,13 @@ chiduru:
|
|
|
778
969
|
color: "#f19557"
|
|
779
970
|
konomi:
|
|
780
971
|
idol_id: 39
|
|
781
|
-
|
|
782
|
-
|
|
972
|
+
idol_type: Da
|
|
973
|
+
name:
|
|
974
|
+
family: "馬場"
|
|
975
|
+
family_kana: "ばば"
|
|
976
|
+
given: "このみ"
|
|
977
|
+
given_kana: "このみ"
|
|
978
|
+
shorten: "このみ"
|
|
783
979
|
age: 24
|
|
784
980
|
height: 143.0
|
|
785
981
|
weight: 37.0
|
|
@@ -798,8 +994,13 @@ konomi:
|
|
|
798
994
|
color: "#f1becb"
|
|
799
995
|
tamaki:
|
|
800
996
|
idol_id: 40
|
|
801
|
-
|
|
802
|
-
|
|
997
|
+
idol_type: Da
|
|
998
|
+
name:
|
|
999
|
+
family: "大神"
|
|
1000
|
+
family_kana: "おおがみ"
|
|
1001
|
+
given: "環"
|
|
1002
|
+
given_kana: "たまき"
|
|
1003
|
+
shorten: "環"
|
|
803
1004
|
age: 12
|
|
804
1005
|
height: 147.0
|
|
805
1006
|
weight: 39.0
|
|
@@ -818,8 +1019,13 @@ tamaki:
|
|
|
818
1019
|
color: "#ee762e"
|
|
819
1020
|
fuuka:
|
|
820
1021
|
idol_id: 41
|
|
821
|
-
|
|
822
|
-
|
|
1022
|
+
idol_type: Vi
|
|
1023
|
+
name:
|
|
1024
|
+
family: "豊川"
|
|
1025
|
+
family_kana: "とよかわ"
|
|
1026
|
+
given: "風花"
|
|
1027
|
+
given_kana: "ふうか"
|
|
1028
|
+
shorten: "風花"
|
|
823
1029
|
age: 22
|
|
824
1030
|
height: 162.0
|
|
825
1031
|
weight: 51.0
|
|
@@ -838,8 +1044,13 @@ fuuka:
|
|
|
838
1044
|
color: "#7278a8"
|
|
839
1045
|
miya:
|
|
840
1046
|
idol_id: 42
|
|
841
|
-
|
|
842
|
-
|
|
1047
|
+
idol_type: Vi
|
|
1048
|
+
name:
|
|
1049
|
+
family: "宮尾"
|
|
1050
|
+
family_kana: "みやお"
|
|
1051
|
+
given: "美也"
|
|
1052
|
+
given_kana: "みや"
|
|
1053
|
+
shorten: "美也"
|
|
843
1054
|
age: 17
|
|
844
1055
|
height: 156.0
|
|
845
1056
|
weight: 46.0
|
|
@@ -859,8 +1070,13 @@ miya:
|
|
|
859
1070
|
color: "#d7a96b"
|
|
860
1071
|
noriko:
|
|
861
1072
|
idol_id: 43
|
|
862
|
-
|
|
863
|
-
|
|
1073
|
+
idol_type: Da
|
|
1074
|
+
name:
|
|
1075
|
+
family: "福田"
|
|
1076
|
+
family_kana: "ふくだ"
|
|
1077
|
+
given: "のり子"
|
|
1078
|
+
given_kana: "のりこ"
|
|
1079
|
+
shorten: "のり子"
|
|
864
1080
|
age: 18
|
|
865
1081
|
height: 164.0
|
|
866
1082
|
weight: 48.0
|
|
@@ -879,8 +1095,13 @@ noriko:
|
|
|
879
1095
|
color: "#eceb70"
|
|
880
1096
|
mizuki:
|
|
881
1097
|
idol_id: 44
|
|
882
|
-
|
|
883
|
-
|
|
1098
|
+
idol_type: Da
|
|
1099
|
+
name:
|
|
1100
|
+
family: "真壁"
|
|
1101
|
+
family_kana: "まかべ"
|
|
1102
|
+
given: "瑞希"
|
|
1103
|
+
given_kana: "みずき"
|
|
1104
|
+
shorten: "瑞希"
|
|
884
1105
|
age: 17
|
|
885
1106
|
height: 160.0
|
|
886
1107
|
weight: 43.0
|
|
@@ -899,8 +1120,13 @@ mizuki:
|
|
|
899
1120
|
color: "#99b7dc"
|
|
900
1121
|
karen:
|
|
901
1122
|
idol_id: 45
|
|
902
|
-
|
|
903
|
-
|
|
1123
|
+
idol_type: Vi
|
|
1124
|
+
name:
|
|
1125
|
+
family: "篠宮"
|
|
1126
|
+
family_kana: "しのみや"
|
|
1127
|
+
given: "可憐"
|
|
1128
|
+
given_kana: "かれん"
|
|
1129
|
+
shorten: "可憐"
|
|
904
1130
|
age: 16
|
|
905
1131
|
height: 159.0
|
|
906
1132
|
weight: 48.0
|
|
@@ -919,8 +1145,13 @@ karen:
|
|
|
919
1145
|
color: "#b63b40"
|
|
920
1146
|
rio:
|
|
921
1147
|
idol_id: 46
|
|
922
|
-
|
|
923
|
-
|
|
1148
|
+
idol_type: Da
|
|
1149
|
+
name:
|
|
1150
|
+
family: "百瀬"
|
|
1151
|
+
family_kana: "ももせ"
|
|
1152
|
+
given: "莉緒"
|
|
1153
|
+
given_kana: "りお"
|
|
1154
|
+
shorten: "莉緒"
|
|
924
1155
|
age: 23
|
|
925
1156
|
height: 168.0
|
|
926
1157
|
weight: 46.0
|
|
@@ -939,8 +1170,13 @@ rio:
|
|
|
939
1170
|
color: "#f19591"
|
|
940
1171
|
subaru:
|
|
941
1172
|
idol_id: 47
|
|
942
|
-
|
|
943
|
-
|
|
1173
|
+
idol_type: Da
|
|
1174
|
+
name:
|
|
1175
|
+
family: "永吉"
|
|
1176
|
+
family_kana: "ながよし"
|
|
1177
|
+
given: "昴"
|
|
1178
|
+
given_kana: "すばる"
|
|
1179
|
+
shorten: "昴"
|
|
944
1180
|
age: 15
|
|
945
1181
|
height: 154.0
|
|
946
1182
|
weight: 41.0
|
|
@@ -959,8 +1195,13 @@ subaru:
|
|
|
959
1195
|
color: "#aeb49c"
|
|
960
1196
|
reika:
|
|
961
1197
|
idol_id: 48
|
|
962
|
-
|
|
963
|
-
|
|
1198
|
+
idol_type: Da
|
|
1199
|
+
name:
|
|
1200
|
+
family: "北上"
|
|
1201
|
+
family_kana: "きたかみ"
|
|
1202
|
+
given: "麗花"
|
|
1203
|
+
given_kana: "れいか"
|
|
1204
|
+
shorten: "麗花"
|
|
964
1205
|
age: 20
|
|
965
1206
|
height: 164.0
|
|
966
1207
|
weight: 47.0
|
|
@@ -979,8 +1220,13 @@ reika:
|
|
|
979
1220
|
color: "#6bb6b0"
|
|
980
1221
|
momoko:
|
|
981
1222
|
idol_id: 49
|
|
982
|
-
|
|
983
|
-
|
|
1223
|
+
idol_type: Vi
|
|
1224
|
+
name:
|
|
1225
|
+
family: "周防"
|
|
1226
|
+
family_kana: "すおう"
|
|
1227
|
+
given: "桃子"
|
|
1228
|
+
given_kana: "ももこ"
|
|
1229
|
+
shorten: "桃子"
|
|
984
1230
|
age: 11
|
|
985
1231
|
height: 140.0
|
|
986
1232
|
weight: 35.0
|
|
@@ -999,8 +1245,10 @@ momoko:
|
|
|
999
1245
|
color: "#efb864"
|
|
1000
1246
|
juria:
|
|
1001
1247
|
idol_id: 50
|
|
1002
|
-
|
|
1003
|
-
|
|
1248
|
+
idol_type: Vo
|
|
1249
|
+
name:
|
|
1250
|
+
aka: "ジュリア"
|
|
1251
|
+
shorten: "ジュリア"
|
|
1004
1252
|
age: 16
|
|
1005
1253
|
height: 157.0
|
|
1006
1254
|
weight: 43.0
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Rubimas
|
|
2
|
+
class Idol
|
|
3
|
+
class Name
|
|
4
|
+
attr_reader :aka, :family, :family_kana, :given, :given_kana, :shorten
|
|
5
|
+
|
|
6
|
+
def initialize(name_object)
|
|
7
|
+
name_object.each do |k, v|
|
|
8
|
+
instance_variable_set("@#{k}", v)
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def to_s
|
|
13
|
+
return @aka if @aka
|
|
14
|
+
full
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def full
|
|
18
|
+
if @family && @given
|
|
19
|
+
"#{@family}#{@given}"
|
|
20
|
+
else
|
|
21
|
+
@aka
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def full_kana
|
|
26
|
+
if @family_kana && @given_kana
|
|
27
|
+
"#{@family_kana}#{@given_kana}"
|
|
28
|
+
else
|
|
29
|
+
self.full
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
data/lib/rubimas/idol.rb
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
module Rubimas
|
|
2
2
|
class Idol
|
|
3
|
-
attr_reader :idol_id, :
|
|
3
|
+
attr_reader :idol_id, :idol_type, :name, :age, :height, :weight, :bust, :waist, :hip,
|
|
4
4
|
:birthday, :blood_type, :handedness, :hobbies, :talents, :favorites, :color
|
|
5
5
|
@@cache = {}
|
|
6
6
|
@@id_cache = {}
|
|
7
7
|
@@config = nil
|
|
8
8
|
|
|
9
|
-
def initialize(idol_id: nil,
|
|
9
|
+
def initialize(idol_id: nil, idol_type: nil, name: nil, age: nil, height: nil, weight: nil,
|
|
10
10
|
bust: nil, waist: nil, hip: nil, birthday: nil, blood_type: nil, handedness: nil,
|
|
11
11
|
hobbies: [], talents: [], favorites: [], color: nil)
|
|
12
12
|
@idol_id = idol_id
|
|
13
|
-
@
|
|
14
|
-
@
|
|
13
|
+
@idol_type = idol_type
|
|
14
|
+
@name = Name.new(name)
|
|
15
15
|
@age = age
|
|
16
16
|
@height = height
|
|
17
17
|
@weight = weight
|
data/lib/rubimas/version.rb
CHANGED
data/lib/rubimas.rb
CHANGED
data/rubimas.gemspec
CHANGED
|
@@ -21,12 +21,12 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.add_dependency "activesupport", ">= 4.0.0"
|
|
22
22
|
spec.add_dependency "hashie", ">= 2.0.5"
|
|
23
23
|
|
|
24
|
-
spec.add_development_dependency "bundler"
|
|
24
|
+
spec.add_development_dependency "bundler"
|
|
25
25
|
spec.add_development_dependency "rake"
|
|
26
|
-
spec.add_development_dependency "rspec"
|
|
27
|
-
spec.add_development_dependency "rspec-collection_matchers"
|
|
28
|
-
spec.add_development_dependency "rspec-its"
|
|
29
|
-
spec.add_development_dependency "rspec-parameterized"
|
|
26
|
+
spec.add_development_dependency "rspec"
|
|
27
|
+
spec.add_development_dependency "rspec-collection_matchers"
|
|
28
|
+
spec.add_development_dependency "rspec-its"
|
|
29
|
+
spec.add_development_dependency "rspec-parameterized"
|
|
30
30
|
|
|
31
31
|
spec.add_development_dependency "parser", "~> 2.2.0.pre4"
|
|
32
32
|
end
|
data/spec/rubimas_spec.rb
CHANGED
|
@@ -64,8 +64,8 @@ describe Rubimas do
|
|
|
64
64
|
|
|
65
65
|
with_them do
|
|
66
66
|
it { expect( Pro765.send(name) ).to be_an_instance_of Rubimas::Idol }
|
|
67
|
-
it { expect
|
|
68
|
-
it { expect { Pro765.send(name).
|
|
67
|
+
it { expect( Pro765.send(name).name ).to be_an_instance_of Rubimas::Idol::Name }
|
|
68
|
+
it { expect { Pro765.send(name).name.full }.not_to raise_error }
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubimas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- treby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -42,16 +42,16 @@ dependencies:
|
|
|
42
42
|
name: bundler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rake
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -70,58 +70,58 @@ dependencies:
|
|
|
70
70
|
name: rspec
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
75
|
+
version: '0'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
82
|
+
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: rspec-collection_matchers
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
89
|
+
version: '0'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
96
|
+
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: rspec-its
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- - "
|
|
101
|
+
- - ">="
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version:
|
|
103
|
+
version: '0'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- - "
|
|
108
|
+
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version:
|
|
110
|
+
version: '0'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: rspec-parameterized
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
|
-
- - "
|
|
115
|
+
- - ">="
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: 0
|
|
117
|
+
version: '0'
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
|
-
- - "
|
|
122
|
+
- - ">="
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: 0
|
|
124
|
+
version: '0'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: parser
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -156,6 +156,7 @@ files:
|
|
|
156
156
|
- lib/rubimas/core_ext/fixnum.rb
|
|
157
157
|
- lib/rubimas/core_ext/fixnum/production.rb
|
|
158
158
|
- lib/rubimas/idol.rb
|
|
159
|
+
- lib/rubimas/idol/name.rb
|
|
159
160
|
- lib/rubimas/version.rb
|
|
160
161
|
- rubimas.gemspec
|
|
161
162
|
- spec/rubimas_spec.rb
|
|
@@ -180,10 +181,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
180
181
|
version: '0'
|
|
181
182
|
requirements: []
|
|
182
183
|
rubyforge_project:
|
|
183
|
-
rubygems_version: 2.
|
|
184
|
+
rubygems_version: 2.5.0
|
|
184
185
|
signing_key:
|
|
185
186
|
specification_version: 4
|
|
186
187
|
summary: All about idolmaster million live!
|
|
187
188
|
test_files:
|
|
188
189
|
- spec/rubimas_spec.rb
|
|
189
190
|
- spec/spec_helper.rb
|
|
191
|
+
has_rdoc:
|