rubimas 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 474a1dee042ecef549c7735798417ced4af80e6d
4
+ data.tar.gz: 631194e39c34e903faea12962ea237bacd214f85
5
+ SHA512:
6
+ metadata.gz: d9d497ba2b48eb08aadd656a0e71aaee7ab64eccbe469552fc2cd5b041d6cc3ccb91660bf9de384068b3914cc7f41020dd53bf33c8dd593383a055b06331ff18
7
+ data.tar.gz: aff3ec4a1d5eb6918b7c7b9d9447fa4155301d28199777b3e19643fd9db99fe69713dd7645d5c3e403a7837d55eed3f163a1d9021ff69b007b4bbf75f9b26410
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rubimas.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 treby
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # Rubimas
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'rubimas'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install rubimas
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it ( https://github.com/[my-github-username]/rubimas/fork )
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
7
+
data/config/idols.yml ADDED
@@ -0,0 +1,968 @@
1
+ ---
2
+ haruka:
3
+ idol_id: 1
4
+ name: "天海 春香"
5
+ name_kana: "あまみ はるか"
6
+ age: 17
7
+ height: 158.0
8
+ weight: 46.0
9
+ bust: 83.0
10
+ waist: 56.0
11
+ hip: 82.0
12
+ birthday: 04/03
13
+ blood_type: O
14
+ handedness: right
15
+ hobby:
16
+ - "カラオケ"
17
+ - "長電話"
18
+ talent:
19
+ - "お菓子作り"
20
+ favorite:
21
+ - "歌うこと"
22
+ chihaya:
23
+ idol_id: 2
24
+ name: "如月 千早"
25
+ name_kana: "きさらぎ ちはや"
26
+ age: 16
27
+ height: 162.0
28
+ weight: 41.0
29
+ bust: 72.0
30
+ waist: 55.0
31
+ hip: 78.0
32
+ birthday: 02/25
33
+ blood_type: A
34
+ handedness: right
35
+ hobby:
36
+ - "音楽鑑賞"
37
+ talent:
38
+ - "歌"
39
+ favorite:
40
+ - "トレーニング"
41
+ miki:
42
+ idol_id: 3
43
+ name: "星井 美希"
44
+ name_kana: "ほしい みき"
45
+ age: 15
46
+ height: 161.0
47
+ weight: 45.0
48
+ bust: 86.0
49
+ waist: 55.0
50
+ hip: 83.0
51
+ birthday: 11/23
52
+ blood_type: B
53
+ handedness: right
54
+ hobby:
55
+ - "友達とおしゃべり"
56
+ - "ネイルアート"
57
+ talent:
58
+ - "寝ること"
59
+ favorite:
60
+ - "おにぎり"
61
+ - "いちごババロア"
62
+ yukiho:
63
+ idol_id: 4
64
+ name: "萩原 雪歩"
65
+ name_kana: "はぎわら ゆきほ"
66
+ age: 17
67
+ height: 155.0
68
+ weight: 42.0
69
+ bust: 81.0
70
+ waist: 56.0
71
+ hip: 81.0
72
+ birthday: 12/24
73
+ blood_type: A
74
+ handedness: right
75
+ hobby:
76
+ - MY詩集を書くこと
77
+ talent:
78
+ - "日本茶をいれること"
79
+ favorite:
80
+ - "ブログ"
81
+ yayoi:
82
+ idol_id: 5
83
+ name: "高槻 やよい"
84
+ name_kana: "たかつき やよい"
85
+ age: 14
86
+ height: 145.0
87
+ weight: 37.0
88
+ bust: 74.0
89
+ waist: 54.0
90
+ hip: 78.0
91
+ birthday: 03/25
92
+ blood_type: O
93
+ handedness: right
94
+ hobby:
95
+ - "オセロ"
96
+ - "野球"
97
+ talent:
98
+ - "節約"
99
+ - "家庭菜園"
100
+ favorite:
101
+ - "家族"
102
+ makoto:
103
+ idol_id: 6
104
+ name: "菊地 真"
105
+ name_kana: "きくち まこと"
106
+ age: 17
107
+ height: 159.0
108
+ weight: 44.0
109
+ bust: 75.0
110
+ waist: 57.0
111
+ hip: 78.0
112
+ birthday: 08/29
113
+ blood_type: O
114
+ handedness: right
115
+ hobby:
116
+ - "スポーツ全般"
117
+ talent:
118
+ - "空手"
119
+ - "ダンス"
120
+ favorite:
121
+ - "ぬいぐるみ"
122
+ iori:
123
+ idol_id: 7
124
+ name: "水瀬 伊織"
125
+ name_kana: "みなせ いおり"
126
+ age: 15
127
+ height: 153.0
128
+ weight: 40.0
129
+ bust: 77.0
130
+ waist: 54.0
131
+ hip: 79.0
132
+ birthday: 05/05
133
+ blood_type: AB
134
+ handedness: right
135
+ hobby:
136
+ - "海外旅行"
137
+ - "食べ歩き"
138
+ talent:
139
+ - "ショッピング"
140
+ favorite:
141
+ - "果汁100%オレンジジュース"
142
+ takane:
143
+ idol_id: 8
144
+ name: "四条 貴音"
145
+ name_kana: "しじょう たかね"
146
+ age: 18
147
+ height: 169.0
148
+ weight: 49.0
149
+ bust: 90.0
150
+ waist: 62.0
151
+ hip: 92.0
152
+ birthday: 01/21
153
+ blood_type: B
154
+ handedness: right
155
+ hobby:
156
+ - "天体観測"
157
+ - "歴史"
158
+ talent:
159
+ - "直感"
160
+ favorite:
161
+ - "ラーメン"
162
+ ritsuko:
163
+ idol_id: 9
164
+ name: "秋月 律子"
165
+ name_kana: "あきづき りつこ"
166
+ age: 19
167
+ height: 156.0
168
+ weight: 43.0
169
+ bust: 85.0
170
+ waist: 57.0
171
+ hip: 85.0
172
+ birthday: 06/23
173
+ blood_type: A
174
+ handedness: right
175
+ hobby:
176
+ - "資格取得"
177
+ talent:
178
+ - "分析・実践"
179
+ favorite:
180
+ - "ゲーム"
181
+ - "小説"
182
+ azusa:
183
+ idol_id: 10
184
+ name: "三浦 あずさ"
185
+ name_kana: "みうら あずさ"
186
+ age: 21
187
+ height: 168.0
188
+ weight: 48.0
189
+ bust: 91.0
190
+ waist: 59.0
191
+ hip: 86.0
192
+ birthday: 07/19
193
+ blood_type: O
194
+ handedness: right
195
+ hobby:
196
+ - "犬の散歩"
197
+ talent:
198
+ - "占い"
199
+ favorite:
200
+ - "カフェ巡り"
201
+ ami:
202
+ idol_id: 11
203
+ name: "双海 亜美"
204
+ name_kana: "ふたみ あみ"
205
+ age: 13
206
+ height: 158.0
207
+ weight: 42.0
208
+ bust: 78.0
209
+ waist: 55.0
210
+ hip: 77.0
211
+ birthday: 05/22
212
+ blood_type: B
213
+ handedness: right
214
+ hobby:
215
+ - "メール"
216
+ - "エコ"
217
+ talent:
218
+ - "モノマネ"
219
+ favorite:
220
+ - "遊ぶこと"
221
+ mami:
222
+ idol_id: 12
223
+ name: "双海 真美"
224
+ name_kana: "ふたみ まみ"
225
+ age: 13
226
+ height: 158.0
227
+ weight: 42.0
228
+ bust: 78.0
229
+ waist: 55.0
230
+ hip: 77.0
231
+ birthday: 05/22
232
+ blood_type: B
233
+ handedness: left
234
+ hobby:
235
+ - "メール"
236
+ - "ゲーム"
237
+ talent:
238
+ - "モノマネ"
239
+ favorite:
240
+ - "遊ぶこと"
241
+ hibiki:
242
+ idol_id: 13
243
+ name: "我那覇 響"
244
+ name_kana: "がなは ひびき"
245
+ age: 16
246
+ height: 152.0
247
+ weight: 41.0
248
+ bust: 83.0
249
+ waist: 56.0
250
+ hip: 80.0
251
+ birthday: 10/10
252
+ blood_type: A
253
+ handedness: right
254
+ hobby:
255
+ - "編み物"
256
+ - "卓球"
257
+ talent:
258
+ - "家事全般"
259
+ favorite:
260
+ - "散歩"
261
+ - "動物"
262
+ mirai:
263
+ idol_id: 14
264
+ name: "春日 未来"
265
+ name_kana: "かすが みらい"
266
+ age: 14
267
+ height: 156.0
268
+ weight: 42.0
269
+ bust: 78.0
270
+ waist: 54.0
271
+ hip: 77.0
272
+ birthday: 06/28
273
+ blood_type: O
274
+ handedness: right
275
+ hobby:
276
+ - "可愛い髪留めを集めること"
277
+ talent:
278
+ - "歌うこと"
279
+ favorite:
280
+ - "ライブ"
281
+ shizuka:
282
+ idol_id: 15
283
+ name: "最上 静香"
284
+ name_kana: "もがみ しずか"
285
+ age: 14
286
+ height: 162.0
287
+ weight: 44.0
288
+ bust: 76.0
289
+ waist: 53.0
290
+ hip: 77.0
291
+ birthday: 09/14
292
+ blood_type: A
293
+ handedness: right
294
+ hobby:
295
+ - "テニス"
296
+ talent:
297
+ - "ピアノ"
298
+ favorite:
299
+ - "うどん"
300
+ tsubasa:
301
+ idol_id: 16
302
+ name: "伊吹 翼"
303
+ name_kana: "いぶき つばさ"
304
+ age: 14
305
+ height: 158.0
306
+ weight: 43.0
307
+ bust: 85.0
308
+ waist: 52.0
309
+ hip: 82.0
310
+ birthday: 07/30
311
+ blood_type: B
312
+ handedness: left
313
+ hobby:
314
+ - "遊びの計画をたてること"
315
+ talent:
316
+ - "じゃんけん"
317
+ favorite:
318
+ - "ビーフステーキ"
319
+ kotoha:
320
+ idol_id: 17
321
+ name: "田中 琴葉"
322
+ name_kana: "たなか ことは"
323
+ age: 18
324
+ height: 157.0
325
+ weight: 44.0
326
+ bust: 79.0
327
+ waist: 55.0
328
+ hip: 78.0
329
+ birthday: 10/05
330
+ blood_type: A
331
+ handedness: right
332
+ hobby:
333
+ - "お風呂"
334
+ talent:
335
+ - "フェンシング"
336
+ favorite:
337
+ - "アイス"
338
+ erena:
339
+ idol_id: 18
340
+ name: "島原 エレナ"
341
+ name_kana: "しまばら えれな"
342
+ age: 17
343
+ height: 160.0
344
+ weight: 47.0
345
+ bust: 85.0
346
+ waist: 58.0
347
+ hip: 86.0
348
+ birthday: 10/26
349
+ blood_type: B
350
+ handedness: right
351
+ hobby:
352
+ - "パーティー"
353
+ talent:
354
+ - "サンバを踊ること"
355
+ favorite:
356
+ - "みんなで騒ぐこと"
357
+ minako:
358
+ idol_id: 19
359
+ name: "佐竹 美奈子"
360
+ name_kana: "さたけ みなこ"
361
+ age: 18
362
+ height: 158.0
363
+ weight: 45.0
364
+ bust: 86.0
365
+ waist: 54.0
366
+ hip: 82.0
367
+ birthday: 03/22
368
+ blood_type: O
369
+ handedness: right
370
+ hobby:
371
+ - "格闘ゲーム"
372
+ talent:
373
+ - "料理"
374
+ favorite:
375
+ - "友達との長電話"
376
+ megumi:
377
+ idol_id: 20
378
+ name: "所 恵美"
379
+ name_kana: "ところ めぐみ"
380
+ age: 16
381
+ height: 159.0
382
+ weight: 47.0
383
+ bust: 88.0
384
+ waist: 56.0
385
+ hip: 85.0
386
+ birthday: 04/15
387
+ blood_type: O
388
+ handedness: right
389
+ hobby:
390
+ - "カラオケ"
391
+ talent:
392
+ - "人の誕生日を覚えること"
393
+ favorite:
394
+ - "友達"
395
+ matsuri:
396
+ idol_id: 21
397
+ name: "徳川 まつり"
398
+ name_kana: "とくがわ まつり"
399
+ age: 19
400
+ height: 163.0
401
+ weight: 44.0
402
+ bust: 85.0
403
+ waist: 59.0
404
+ hip: 85.0
405
+ birthday: 02/04
406
+ blood_type: AB
407
+ handedness: right
408
+ hobby:
409
+ - "漫画あつめ"
410
+ talent:
411
+ - "演技"
412
+ favorite:
413
+ - "焼きマシュマロ"
414
+ - "ウミウシ"
415
+ serika:
416
+ idol_id: 22
417
+ name: "箱崎 星梨花"
418
+ name_kana: "はこざき せりか"
419
+ age: 13
420
+ height: 146.0
421
+ weight: 37.0
422
+ bust: 74.0
423
+ waist: 54.0
424
+ hip: 76.0
425
+ birthday: 02/20
426
+ blood_type: O
427
+ handedness: right
428
+ hobby:
429
+ - "バイオリン"
430
+ talent:
431
+ - "アジリティのハンドラー"
432
+ favorite:
433
+ - "紅茶"
434
+ - "クッキー"
435
+ akane:
436
+ idol_id: 23
437
+ name: "野々原 茜"
438
+ name_kana: "ののはら あかね"
439
+ age: 16
440
+ height: 150.0
441
+ weight: 42.0
442
+ bust: 80.0
443
+ waist: 58.0
444
+ hip: 79.0
445
+ birthday: 12/03
446
+ blood_type: AB
447
+ handedness: left
448
+ hobby:
449
+ - "スキップ"
450
+ talent:
451
+ - "インラインスケート"
452
+ favorite:
453
+ - "プリン"
454
+ anna:
455
+ idol_id: 24
456
+ name: "望月 杏奈"
457
+ name_kana: "もちづき あんな"
458
+ age: 14
459
+ height: 152.0
460
+ weight: 41.0
461
+ bust: 78.0
462
+ waist: 53.0
463
+ hip: 79.0
464
+ birthday: 05/31
465
+ blood_type: AB
466
+ handedness: right
467
+ hobby:
468
+ - "オンラインゲーム"
469
+ talent:
470
+ - "タイピング"
471
+ favorite:
472
+ - "かわいいもの"
473
+ roko:
474
+ idol_id: 25
475
+ name: "伴田 路子"
476
+ name_kana: "はんだ ろこ"
477
+ age: 15
478
+ height: 154.0
479
+ weight: 42.0
480
+ bust: 78.0
481
+ waist: 57.0
482
+ hip: 77.0
483
+ birthday: 03/01
484
+ blood_type: AB
485
+ handedness: right
486
+ hobby:
487
+ - "物を作ること"
488
+ talent:
489
+ - "目を閉じたまま歩ける"
490
+ favorite:
491
+ - "ハト"
492
+ yuriko:
493
+ idol_id: 26
494
+ name: "七尾 百合子"
495
+ name_kana: "ななお ゆりこ"
496
+ age: 15
497
+ height: 154.0
498
+ weight: 41.0
499
+ bust: 78.0
500
+ waist: 56.0
501
+ hip: 80.0
502
+ birthday: 03/18
503
+ blood_type: B
504
+ handedness: right
505
+ hobby:
506
+ - "読書"
507
+ talent:
508
+ - "ペン回し"
509
+ favorite:
510
+ - "おはぎ"
511
+ sayoko:
512
+ idol_id: 27
513
+ name: "高山 紗代子"
514
+ name_kana: "たかやま さよこ"
515
+ age: 17
516
+ height: 156.0
517
+ weight: 42.0
518
+ bust: 82.0
519
+ waist: 55.0
520
+ hip: 80.0
521
+ birthday: 12/29
522
+ blood_type: A
523
+ handedness: right
524
+ hobby:
525
+ - "ハリネズミの飼育"
526
+ talent:
527
+ - "一晩寝ると元気になれる"
528
+ favorite:
529
+ - "友達"
530
+ - "アイドル仲間"
531
+ arisa:
532
+ idol_id: 28
533
+ name: "松田 亜利沙"
534
+ name_kana: "まつだ ありさ"
535
+ age: 16
536
+ height: 154.0
537
+ weight: 40.0
538
+ bust: 81.0
539
+ waist: 54.0
540
+ hip: 80.0
541
+ birthday: 06/07
542
+ blood_type: AB
543
+ handedness: right
544
+ hobby:
545
+ - "アイドルのデータ集め"
546
+ talent:
547
+ - "アイドルの変装を見破れる"
548
+ favorite:
549
+ - "ファミレスのデザート"
550
+ umi:
551
+ idol_id: 29
552
+ name: "高坂 海美"
553
+ name_kana: "こうさか うみ"
554
+ age: 16
555
+ height: 155.0
556
+ weight: 45.0
557
+ bust: 82.0
558
+ waist: 57.0
559
+ hip: 84.0
560
+ birthday: 08/10
561
+ blood_type: O
562
+ handedness: right
563
+ hobby:
564
+ - "ボルダリング"
565
+ talent:
566
+ - "常人にできないポージングができる"
567
+ favorite:
568
+ - "ダンス"
569
+ iku:
570
+ idol_id: 30
571
+ name: "中谷 育"
572
+ name_kana: "なかたに いく"
573
+ age: 10
574
+ height: 142.0
575
+ weight: 37.0
576
+ bust: 72.0
577
+ waist: 52.0
578
+ hip: 73.0
579
+ birthday: 12/16
580
+ blood_type: B
581
+ handedness: right
582
+ hobby:
583
+ - "アニメ鑑賞"
584
+ talent:
585
+ - "早起き"
586
+ favorite:
587
+ - "おかあさん"
588
+ tomoka:
589
+ idol_id: 31
590
+ name: "天空橋 朋花"
591
+ name_kana: "てんくうばし ともか"
592
+ age: 15
593
+ height: 156.0
594
+ weight: 41.0
595
+ bust: 80.0
596
+ waist: 56.0
597
+ hip: 79.0
598
+ birthday: 11/11
599
+ blood_type: AB
600
+ handedness: left
601
+ hobby:
602
+ - "ファンに喜んでもらうこと"
603
+ talent:
604
+ - "口げんか"
605
+ favorite:
606
+ - "かわいい扇子"
607
+ emily:
608
+ idol_id: 32
609
+ name: "エミリー スチュアート"
610
+ name_kana: "えみりー すちゅあーと"
611
+ age: 13
612
+ height: 156.0
613
+ weight: 41.0
614
+ bust: 74.0
615
+ waist: 54.0
616
+ hip: 76.0
617
+ birthday: 01/08
618
+ blood_type: A
619
+ handedness: right
620
+ hobby:
621
+ - "かるた遊び"
622
+ talent:
623
+ - "日本舞踊"
624
+ favorite:
625
+ - "抹茶"
626
+ shiho:
627
+ idol_id: 33
628
+ name: "北沢 志保"
629
+ name_kana: "きたざわ しほ"
630
+ age: 14
631
+ height: 161.0
632
+ weight: 46.0
633
+ bust: 83.0
634
+ waist: 56.0
635
+ hip: 84.0
636
+ birthday: 01/18
637
+ blood_type: A
638
+ handedness: right
639
+ hobby:
640
+ - "お気に入りの絵本を探すこと"
641
+ talent:
642
+ - "記憶力"
643
+ - "集中力が高い"
644
+ favorite:
645
+ - "ぬいぐるみ"
646
+ ayumu:
647
+ idol_id: 34
648
+ name: "舞浜 歩"
649
+ name_kana: "まいはま あゆむ"
650
+ age: 19
651
+ height: 158.0
652
+ weight: 49.9
653
+ bust: 86.0
654
+ waist: 60.0
655
+ hip: 88.0
656
+ birthday: 07/23
657
+ blood_type: A
658
+ handedness: right
659
+ hobby:
660
+ - "ショッピング"
661
+ talent:
662
+ - "ダンス"
663
+ favorite:
664
+ - "わさび"
665
+ hinata:
666
+ idol_id: 35
667
+ name: "木下 ひなた"
668
+ name_kana: "きのした ひなた"
669
+ age: 14
670
+ height: 146.0
671
+ weight: 39.5
672
+ bust: 74.0
673
+ waist: 55.0
674
+ hip: 78.0
675
+ birthday: 07/04
676
+ blood_type: O
677
+ handedness: right
678
+ hobby:
679
+ - "ガーデニング"
680
+ talent:
681
+ - "天気を当てること"
682
+ favorite:
683
+ - "おばあちゃん"
684
+ kana:
685
+ idol_id: 36
686
+ name: "矢吹 可奈"
687
+ name_kana: "やぶき かな"
688
+ age: 14
689
+ height: 155.0
690
+ weight: 43.0
691
+ bust: 77.0
692
+ waist: 54.0
693
+ hip: 76.0
694
+ birthday: 08/18
695
+ blood_type: A
696
+ handedness: right
697
+ hobby:
698
+ - "なんでも歌にすること"
699
+ talent:
700
+ - "合唱"
701
+ favorite:
702
+ - "屋上で歌うこと"
703
+ nao:
704
+ idol_id: 37
705
+ name: "横山 奈緒"
706
+ name_kana: "よこやま なお"
707
+ age: 17
708
+ height: 159.0
709
+ weight: 46.0
710
+ bust: 84.0
711
+ waist: 57.0
712
+ hip: 83.0
713
+ birthday: 02/12
714
+ blood_type: O
715
+ handedness: right
716
+ hobby:
717
+ - "銭湯&温泉巡り"
718
+ talent:
719
+ - "スタミナがある"
720
+ favorite:
721
+ - "友達とおしゃべり"
722
+ chiduru:
723
+ idol_id: 38
724
+ name: "二階堂 千鶴"
725
+ name_kana: "にかいどう ちづる"
726
+ age: 21
727
+ height: 165.0
728
+ weight: 50.0
729
+ bust: 85.0
730
+ waist: 58.0
731
+ hip: 86.0
732
+ birthday: 10/21
733
+ blood_type: B
734
+ handedness: right
735
+ hobby:
736
+ - "カフェでアパレル誌チェック"
737
+ talent:
738
+ - "人の名前と顔を忘れない"
739
+ favorite:
740
+ - "憧れの目で見られること"
741
+ konomi:
742
+ idol_id: 39
743
+ name: "馬場 このみ"
744
+ name_kana: "ばば このみ"
745
+ age: 24
746
+ height: 143.0
747
+ weight: 37.0
748
+ bust: 75.0
749
+ waist: 55.0
750
+ hip: 79.0
751
+ birthday: 06/12
752
+ blood_type: A
753
+ handedness: right
754
+ hobby:
755
+ - "北米ドラマ鑑賞"
756
+ talent:
757
+ - "麻雀"
758
+ favorite:
759
+ - "日本酒"
760
+ tamaki:
761
+ idol_id: 40
762
+ name: "大神 環"
763
+ name_kana: "おおがみ たまき"
764
+ age: 12
765
+ height: 147.0
766
+ weight: 39.0
767
+ bust: 76.0
768
+ waist: 51.0
769
+ hip: 77.0
770
+ birthday: 04/29
771
+ blood_type: B
772
+ handedness: right
773
+ hobby:
774
+ - "探検"
775
+ talent:
776
+ - "石投げ"
777
+ favorite:
778
+ - "アスレチックランド"
779
+ fuuka:
780
+ idol_id: 41
781
+ name: "豊川 風花"
782
+ name_kana: "とよかわ ふうか"
783
+ age: 22
784
+ height: 162.0
785
+ weight: 51.0
786
+ bust: 93.0
787
+ waist: 63.0
788
+ hip: 91.0
789
+ birthday: 09/02
790
+ blood_type: O
791
+ handedness: right
792
+ hobby:
793
+ - "献血"
794
+ talent:
795
+ - "息を止めること"
796
+ favorite:
797
+ - "猫"
798
+ miya:
799
+ idol_id: 42
800
+ name: "宮尾 美也"
801
+ name_kana: "みやお みや"
802
+ age: 17
803
+ height: 156.0
804
+ weight: 46.0
805
+ bust: 84.0
806
+ waist: 58.0
807
+ hip: 83.0
808
+ birthday: 04/24
809
+ blood_type: O
810
+ handedness: right
811
+ hobby:
812
+ - "囲碁"
813
+ - "将棋"
814
+ talent:
815
+ - "視力が高い"
816
+ favorite:
817
+ - "サンドイッチ"
818
+ noriko:
819
+ idol_id: 43
820
+ name: "福田 のり子"
821
+ name_kana: "ふくだ のりこ"
822
+ age: 18
823
+ height: 164.0
824
+ weight: 48.0
825
+ bust: 87.0
826
+ waist: 58.0
827
+ hip: 87.0
828
+ birthday: 03/30
829
+ blood_type: A
830
+ handedness: right
831
+ hobby:
832
+ - "格闘技観戦"
833
+ talent:
834
+ - "バイクの運転"
835
+ favorite:
836
+ - "焼肉"
837
+ mizuki:
838
+ idol_id: 44
839
+ name: "真壁 瑞希"
840
+ name_kana: "まかべ みずき"
841
+ age: 17
842
+ height: 160.0
843
+ weight: 43.0
844
+ bust: 73.0
845
+ waist: 54.0
846
+ hip: 77.0
847
+ birthday: 01/27
848
+ blood_type: B
849
+ handedness: right
850
+ hobby:
851
+ - "手品"
852
+ talent:
853
+ - "バトントワリング"
854
+ favorite:
855
+ - "クロスワードパズル"
856
+ karen:
857
+ idol_id: 45
858
+ name: "篠宮 可憐"
859
+ name_kana: "しのみや かれん"
860
+ age: 16
861
+ height: 159.0
862
+ weight: 48.0
863
+ bust: 90.0
864
+ waist: 59.0
865
+ hip: 90.0
866
+ birthday: 08/27
867
+ blood_type: AB
868
+ handedness: right
869
+ hobby:
870
+ - "アロマテラピー"
871
+ talent:
872
+ - "ポーカーフェイス"
873
+ favorite:
874
+ - "お風呂"
875
+ rio:
876
+ idol_id: 46
877
+ name: "百瀬 莉緒"
878
+ name_kana: "ももせ りお"
879
+ age: 23
880
+ height: 168.0
881
+ weight: 46.0
882
+ bust: 84.0
883
+ waist: 57.0
884
+ hip: 84.0
885
+ birthday: 11/21
886
+ blood_type: A
887
+ handedness: right
888
+ hobby:
889
+ - "ヨガエクササイズ"
890
+ talent:
891
+ - "メイク"
892
+ favorite:
893
+ - "可愛くてセクシーな服"
894
+ subaru:
895
+ idol_id: 47
896
+ name: "永吉 昴"
897
+ name_kana: "ながよし すばる"
898
+ age: 15
899
+ height: 154.0
900
+ weight: 41.0
901
+ bust: 79.0
902
+ waist: 59.0
903
+ hip: 78.0
904
+ birthday: 09/20
905
+ blood_type: B
906
+ handedness: left
907
+ hobby:
908
+ - "野球"
909
+ talent:
910
+ - "変化球"
911
+ favorite:
912
+ - "アイドル"
913
+ reika:
914
+ idol_id: 48
915
+ name: "北上 麗花"
916
+ name_kana: "きたかみ れいか"
917
+ age: 20
918
+ height: 164.0
919
+ weight: 47.0
920
+ bust: 84.0
921
+ waist: 58.0
922
+ hip: 84.0
923
+ birthday: 05/17
924
+ blood_type: A
925
+ handedness: right
926
+ hobby:
927
+ - "登山"
928
+ talent:
929
+ - "肺活量が大きい"
930
+ favorite:
931
+ - "ドライブ"
932
+ momoko:
933
+ idol_id: 49
934
+ name: "周防 桃子"
935
+ name_kana: "すおう ももこ"
936
+ age: 11
937
+ height: 140.0
938
+ weight: 35.0
939
+ bust: 73.0
940
+ waist: 53.0
941
+ hip: 74.0
942
+ birthday: 11/06
943
+ blood_type: B
944
+ handedness: right
945
+ hobby:
946
+ - "かわいいシール集め"
947
+ talent:
948
+ - "演技や台詞の暗記"
949
+ favorite:
950
+ - "ホットケーキ"
951
+ juria:
952
+ idol_id: 50
953
+ name: "ジュリア"
954
+ name_kana: "じゅりあ"
955
+ age: 16
956
+ height: 157.0
957
+ weight: 43.0
958
+ bust: 79.0
959
+ waist: 54.0
960
+ hip: 80.0
961
+ birthday: 09/26
962
+ blood_type: O
963
+ handedness: left
964
+ hobby:
965
+ talent:
966
+ - "ギター"
967
+ favorite:
968
+ - "パンクロック"
@@ -0,0 +1,64 @@
1
+ module Rubimas
2
+ # Precure girl (ex. Cure Peace, Cure Rosetta, Cure Honey)
3
+ #
4
+ # this is record of "config/girls.yml"
5
+ class Idol
6
+ attr_reader :idol_id, :name, :name_kana, :age, :height, :weight, :bust, :waist, :hip,
7
+ :birthday, :blood_type, :handedness, :hobby, :talent, :favorite
8
+ @@cache = {}
9
+ @@config = nil
10
+ @@sleep_sec = 1
11
+
12
+ def initialize(idol_id: nil, name: nil, name_kana: nil, age: nil, height: nil, weight: nil,
13
+ bust: nil, waist: nil, hip: nil, birthday: nil, blood_type: nil, handedness: nil,
14
+ hobby: [], talent: [], favorite: nil)
15
+ @idol_id = idol_id
16
+ @name = name
17
+ @name_kana = name_kana
18
+ @age = age
19
+ @height = height
20
+ @weight = weight
21
+ @bust = bust
22
+ @waist = waist
23
+ @hip = hip
24
+ @birthday = birthday
25
+ @blood_type = blood_type
26
+ @handedness = handedness
27
+ @hobby = hobby
28
+ @talent = talent
29
+ @favorite = favorite
30
+ end
31
+
32
+ # @return [Hash] content of config/girls.yml
33
+ def self.config
34
+ unless @@config
35
+ config_file = "#{File.dirname(__FILE__)}/../../config/idols.yml"
36
+ @@config = YAML.load_file(config_file).deep_symbolize_keys
37
+ end
38
+ @@config
39
+ end
40
+
41
+ # @return [Array<Symbol>]
42
+ def self.names
43
+ config.keys
44
+ end
45
+
46
+ # @param idol_name [Symbol]
47
+ # @return [Rubimas::Idol]
48
+ def self.find(idol_name)
49
+ raise "unknown girl: #{idol_name}" unless valid?(idol_name)
50
+
51
+ unless @@cache[idol_name]
52
+ idol_config = config[idol_name] || {}
53
+ @@cache[idol_name] = Rubimas::Idol.new(idol_config)
54
+ end
55
+
56
+ @@cache[idol_name]
57
+ end
58
+
59
+ # @param [Symbol] idol_name
60
+ def self.valid?(idol_name)
61
+ names.include?(idol_name)
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,9 @@
1
+ module Pro765
2
+ def self.method_missing(name, *args)
3
+ if Rubimas::Idol.valid?(name)
4
+ Rubimas::Idol.find(name)
5
+ else
6
+ super
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module Rubimas
2
+ VERSION = "0.0.1"
3
+ end
data/lib/rubimas.rb ADDED
@@ -0,0 +1,12 @@
1
+ require 'active_support/all'
2
+ require 'yaml'
3
+ require 'hashie'
4
+ require "rubimas/version"
5
+ require "rubimas/idol"
6
+ require "rubimas/pro765"
7
+
8
+ module Rubimas
9
+ def self.core
10
+ Rubimas::Core.instance
11
+ end
12
+ end
data/rubimas.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rubimas/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rubimas"
8
+ spec.version = Rubimas::VERSION
9
+ spec.authors = ["treby"]
10
+ spec.email = ["treby@atelier-nodoka.net"]
11
+ spec.summary = %q{All about idolmaster million live!}
12
+ spec.description = %q{All about idolmaster million live!}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rspec"
24
+ end
data/spec/idol_spec.rb ADDED
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe Rubimas::Idol do
4
+ let(:girl) do
5
+ Rubicure::Idol.new(
6
+ human_name: human_name,
7
+ precure_name: precure_name,
8
+ extra_names: extra_names,
9
+ transform_message: transform_message,
10
+ attack_messages: attack_messages,
11
+ )
12
+ end
13
+
14
+
15
+ end
data/spec/pro765.rb ADDED
@@ -0,0 +1,4 @@
1
+ require 'spec_helper'
2
+
3
+ describe Pro765 do
4
+ end
@@ -0,0 +1,70 @@
1
+ require 'spec_helper'
2
+
3
+ describe Rubimas do
4
+ it 'has a version number' do
5
+ expect(Rubimas::VERSION).not_to be nil
6
+ end
7
+ describe "Idol." do
8
+ context "When Idol.#<name>" do
9
+ where(:name) do
10
+ [
11
+ [:haruka],
12
+ [:chihaya],
13
+ [:miki],
14
+ [:yukiho],
15
+ [:yayoi],
16
+ [:makoto],
17
+ [:iori],
18
+ [:takane],
19
+ [:ritsuko],
20
+ [:azusa],
21
+ [:ami],
22
+ [:mami],
23
+ [:hibiki],
24
+
25
+ [:mirai],
26
+ [:shizuka],
27
+ [:tsubasa],
28
+ [:kotoha],
29
+ [:erena],
30
+ [:minako],
31
+ [:megumi],
32
+ [:matsuri],
33
+ [:serika],
34
+ [:akane],
35
+ [:anna],
36
+ [:roko],
37
+ [:yuriko],
38
+ [:sayoko],
39
+ [:arisa],
40
+ [:umi],
41
+ [:iku],
42
+ [:tomoka],
43
+ [:emily],
44
+ [:shiho],
45
+ [:ayumu],
46
+ [:hinata],
47
+ [:kana],
48
+ [:nao],
49
+ [:chiduru],
50
+ [:konomi],
51
+ [:tamaki],
52
+ [:fuuka],
53
+ [:miya],
54
+ [:noriko],
55
+ [:mizuki],
56
+ [:karen],
57
+ [:rio],
58
+ [:subaru],
59
+ [:reika],
60
+ [:momoko],
61
+ [:juria],
62
+ ]
63
+ end
64
+
65
+ with_them do
66
+ it { expect( Pro765.send(name) ).to be_an_instance_of Rubimas::Idol }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,5 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'rubimas'
3
+ require 'rspec'
4
+ require 'rspec-parameterized'
5
+ require 'rspec/its'
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubimas
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - treby
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: All about idolmaster million live!
56
+ email:
57
+ - treby@atelier-nodoka.net
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - .rspec
64
+ - .travis.yml
65
+ - Gemfile
66
+ - LICENSE.txt
67
+ - README.md
68
+ - Rakefile
69
+ - config/idols.yml
70
+ - lib/rubimas.rb
71
+ - lib/rubimas/idol.rb
72
+ - lib/rubimas/pro765.rb
73
+ - lib/rubimas/version.rb
74
+ - rubimas.gemspec
75
+ - spec/idol_spec.rb
76
+ - spec/pro765.rb
77
+ - spec/rubimas_spec.rb
78
+ - spec/spec_helper.rb
79
+ homepage: ''
80
+ licenses:
81
+ - MIT
82
+ metadata: {}
83
+ post_install_message:
84
+ rdoc_options: []
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - '>='
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ requirements: []
98
+ rubyforge_project:
99
+ rubygems_version: 2.0.3
100
+ signing_key:
101
+ specification_version: 4
102
+ summary: All about idolmaster million live!
103
+ test_files:
104
+ - spec/idol_spec.rb
105
+ - spec/pro765.rb
106
+ - spec/rubimas_spec.rb
107
+ - spec/spec_helper.rb