rubiderella 0.1.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.
Files changed (214) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/coverage.yml +43 -0
  3. data/.github/workflows/test.yml +33 -0
  4. data/.gitignore +12 -0
  5. data/.rspec +3 -0
  6. data/.ruby-version +1 -0
  7. data/CHANGELOG.md +0 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +9 -0
  10. data/Gemfile.lock +126 -0
  11. data/LICENSE.txt +21 -0
  12. data/README.md +243 -0
  13. data/Rakefile +6 -0
  14. data/bin/console +14 -0
  15. data/bin/setup +8 -0
  16. data/config/idols/abe_nana.yml +24 -0
  17. data/config/idols/aiba_yumi.yml +24 -0
  18. data/config/idols/aihara_yukino.yml +24 -0
  19. data/config/idols/aikawa_chilatsu.yml +24 -0
  20. data/config/idols/aino_nagisa.yml +24 -0
  21. data/config/idols/akagi_miria.yml +24 -0
  22. data/config/idols/akanishi_erika.yml +24 -0
  23. data/config/idols/anastasia.yml +25 -0
  24. data/config/idols/anzai_miyako.yml +25 -0
  25. data/config/idols/araki_hina.yml +24 -0
  26. data/config/idols/ariura_kanna.yml +24 -0
  27. data/config/idols/asano_fuka.yml +24 -0
  28. data/config/idols/asari_nanami.yml +25 -0
  29. data/config/idols/ayase_honoka.yml +24 -0
  30. data/config/idols/cathy_graham.yml +25 -0
  31. data/config/idols/clarice.yml +24 -0
  32. data/config/idols/domyoji_karin.yml +24 -0
  33. data/config/idols/ebihara_noho.yml +25 -0
  34. data/config/idols/egami_tsubaki.yml +24 -0
  35. data/config/idols/etou_misaki.yml +25 -0
  36. data/config/idols/eve_santaclaus.yml +24 -0
  37. data/config/idols/fujii_tomo.yml +24 -0
  38. data/config/idols/fujimoto_rina.yml +25 -0
  39. data/config/idols/fujiwara_hajime.yml +25 -0
  40. data/config/idols/fukuyama_mai.yml +24 -0
  41. data/config/idols/furusawa_yoriko.yml +24 -0
  42. data/config/idols/futaba_anzu.yml +24 -0
  43. data/config/idols/hamaguchi_ayame.yml +26 -0
  44. data/config/idols/hamakawa_ayuna.yml +24 -0
  45. data/config/idols/harada_miyo.yml +24 -0
  46. data/config/idols/hattori_toko.yml +25 -0
  47. data/config/idols/hayami_kanade.yml +24 -0
  48. data/config/idols/hayasaka_mirei.yml +24 -0
  49. data/config/idols/helen.yml +24 -0
  50. data/config/idols/hiiragi_shino.yml +24 -0
  51. data/config/idols/himekawa_yuki.yml +24 -0
  52. data/config/idols/hino_akane.yml +24 -0
  53. data/config/idols/hisakawa_hayate.yml +25 -0
  54. data/config/idols/hisakawa_nagi.yml +26 -0
  55. data/config/idols/hojo_karen.yml +24 -0
  56. data/config/idols/honda_mio.yml +24 -0
  57. data/config/idols/hori_yuko.yml +24 -0
  58. data/config/idols/hoshi_syoko.yml +24 -0
  59. data/config/idols/hyodo_rena.yml +24 -0
  60. data/config/idols/ichihara_nina.yml +24 -0
  61. data/config/idols/ichinose_shiki.yml +26 -0
  62. data/config/idols/igarashi_kyoko.yml +24 -0
  63. data/config/idols/ijuin_megumi.yml +24 -0
  64. data/config/idols/ikebukuro_akiha.yml +24 -0
  65. data/config/idols/imai_kana.yml +24 -0
  66. data/config/idols/imura_setsuna.yml +24 -0
  67. data/config/idols/jougasaki_mika.yml +24 -0
  68. data/config/idols/jougasaki_rika.yml +24 -0
  69. data/config/idols/kamijo_haruna.yml +24 -0
  70. data/config/idols/kamiya_nao.yml +24 -0
  71. data/config/idols/kanzaki_ranko.yml +24 -0
  72. data/config/idols/katagiri_sanae.yml +25 -0
  73. data/config/idols/kate.yml +24 -0
  74. data/config/idols/kawashima_mizuki.yml +25 -0
  75. data/config/idols/kiba_manami.yml +25 -0
  76. data/config/idols/kimura_natsuki.yml +24 -0
  77. data/config/idols/kirino_aya.yml +24 -0
  78. data/config/idols/kiryu_tsukasa.yml +26 -0
  79. data/config/idols/kishibe_ayaka.yml +26 -0
  80. data/config/idols/kita_hinako.yml +24 -0
  81. data/config/idols/kitagawa_mahiro.yml +26 -0
  82. data/config/idols/kitami_yuzu.yml +24 -0
  83. data/config/idols/kobayakawa_sae.yml +24 -0
  84. data/config/idols/koga_koharu.yml +25 -0
  85. data/config/idols/kohinata_miho.yml +24 -0
  86. data/config/idols/komatsu_ibuki.yml +26 -0
  87. data/config/idols/komurro_chinami.yml +24 -0
  88. data/config/idols/koseki_reina.yml +24 -0
  89. data/config/idols/koshimuzu_sachiko.yml +24 -0
  90. data/config/idols/kudo_shinobu.yml +24 -0
  91. data/config/idols/kurihara_nene.yml +25 -0
  92. data/config/idols/kurokawa_chiaki.yml +24 -0
  93. data/config/idols/kurosaki_chitose.yml +25 -0
  94. data/config/idols/kusakabe_wakaba.yml +24 -0
  95. data/config/idols/layla.yml +24 -0
  96. data/config/idols/maekawa_miku.yml +24 -0
  97. data/config/idols/makihara_shiho.yml +24 -0
  98. data/config/idols/manabe_itsuki.yml +24 -0
  99. data/config/idols/manaka_misato.yml +24 -0
  100. data/config/idols/mary_cochran.yml +25 -0
  101. data/config/idols/matoba_risa.yml +25 -0
  102. data/config/idols/matsubara_saya.yml +24 -0
  103. data/config/idols/matsumoto_sarina.yml +24 -0
  104. data/config/idols/matsunaga_ryo.yml +24 -0
  105. data/config/idols/matsuo_chizuru.yml +25 -0
  106. data/config/idols/matsuyama_kumiko.yml +24 -0
  107. data/config/idols/mifune_miyu.yml +24 -0
  108. data/config/idols/mimura_kanako.yml +24 -0
  109. data/config/idols/miyamoto_frederica.yml +24 -0
  110. data/config/idols/miyoshi_sana.yml +25 -0
  111. data/config/idols/mizuki_seira.yml +24 -0
  112. data/config/idols/mizumoto_yukari.yml +24 -0
  113. data/config/idols/mizuno_midori.yml +24 -0
  114. data/config/idols/mochida_arisa.yml +24 -0
  115. data/config/idols/mochizuki_hijiri.yml +24 -0
  116. data/config/idols/momoi_azuki.yml +24 -0
  117. data/config/idols/morikubo_nono.yml +25 -0
  118. data/config/idols/moroboshi_kirari.yml +24 -0
  119. data/config/idols/mukai_takumi.yml +24 -0
  120. data/config/idols/munakata_atsumi.yml +24 -0
  121. data/config/idols/murakami_tomoe.yml +25 -0
  122. data/config/idols/muramatsu_sakura.yml +24 -0
  123. data/config/idols/nagatomi_hasumi.yml +25 -0
  124. data/config/idols/nakano_yuka.yml +24 -0
  125. data/config/idols/namba_emi.yml +25 -0
  126. data/config/idols/namiki_meiko.yml +24 -0
  127. data/config/idols/nanjo_hikaru.yml +25 -0
  128. data/config/idols/narumiya_yume.yml +25 -0
  129. data/config/idols/natalia.yml +24 -0
  130. data/config/idols/ninomiya_asuka.yml +26 -0
  131. data/config/idols/nishijima_kai.yml +24 -0
  132. data/config/idols/nishikawa_honami.yml +25 -0
  133. data/config/idols/nitta_minami.yml +25 -0
  134. data/config/idols/niwa_hitomi.yml +25 -0
  135. data/config/idols/nonomura_sora.yml +24 -0
  136. data/config/idols/ogata_chieri.yml +24 -0
  137. data/config/idols/ohara_michiru.yml +24 -0
  138. data/config/idols/ohishi_izumi.yml +24 -0
  139. data/config/idols/ohnishi_yuriko.yml +25 -0
  140. data/config/idols/ohnuma_kurumi.yml +25 -0
  141. data/config/idols/ohta_yu.yml +25 -0
  142. data/config/idols/ohtsuki_yui.yml +24 -0
  143. data/config/idols/oikawa_shizuku.yml +25 -0
  144. data/config/idols/okazaki_yasuha.yml +24 -0
  145. data/config/idols/okuyama_saori.yml +24 -0
  146. data/config/idols/otokura_yuki.yml +25 -0
  147. data/config/idols/ryuzaki_kaoru.yml +24 -0
  148. data/config/idols/saejima_kiyomi.yml +26 -0
  149. data/config/idols/sagisawa_fumika.yml +25 -0
  150. data/config/idols/saionji_kotoka.yml +24 -0
  151. data/config/idols/saito_yoko.yml +24 -0
  152. data/config/idols/sajo_yukimi.yml +24 -0
  153. data/config/idols/sakakibara_satomi.yml +24 -0
  154. data/config/idols/sakuma_mayu.yml +25 -0
  155. data/config/idols/sakurai_momoka.yml +24 -0
  156. data/config/idols/sasaki_chie.yml +24 -0
  157. data/config/idols/sato_shin.yml +25 -0
  158. data/config/idols/sawada_marina.yml +24 -0
  159. data/config/idols/seki_hiromi.yml +24 -0
  160. data/config/idols/sena_shiori.yml +24 -0
  161. data/config/idols/senzaki_ema.yml +24 -0
  162. data/config/idols/shibuya_rin.yml +24 -0
  163. data/config/idols/shiina_noriko.yml +24 -0
  164. data/config/idols/shimara_uzuki.yml +24 -0
  165. data/config/idols/shinohara_rei.yml +24 -0
  166. data/config/idols/shiomi_syuko.yml +25 -0
  167. data/config/idols/shiragiku_hotaru.yml +25 -0
  168. data/config/idols/shirasaka_koume.yml +25 -0
  169. data/config/idols/shirayuki_chiyo.yml +25 -0
  170. data/config/idols/shuto_aoi.yml +24 -0
  171. data/config/idols/soma_natsumi.yml +24 -0
  172. data/config/idols/sugisaka_umi.yml +24 -0
  173. data/config/idols/sunazuka_akira.yml +26 -0
  174. data/config/idols/suzumiya_seika.yml +24 -0
  175. data/config/idols/tachibana_arisu.yml +25 -0
  176. data/config/idols/tada_riina.yml +24 -0
  177. data/config/idols/takafuji_kako.yml +24 -0
  178. data/config/idols/takagaki_kaede.yml +24 -0
  179. data/config/idols/takahashi_reiko.yml +24 -0
  180. data/config/idols/takamine_noa.yml +24 -0
  181. data/config/idols/takamori_aiko.yml +24 -0
  182. data/config/idols/togo_ai.yml +24 -0
  183. data/config/idols/totoki_airi.yml +24 -0
  184. data/config/idols/tsuchiya_ako.yml +25 -0
  185. data/config/idols/tsujino_akari.yml +25 -0
  186. data/config/idols/tsukimiya_miyabi.yml +24 -0
  187. data/config/idols/ueda_suzuho.yml +24 -0
  188. data/config/idols/ujiie_mutsumi.yml +25 -0
  189. data/config/idols/umeki_otoha.yml +25 -0
  190. data/config/idols/wakabayashi_tomoka.yml +24 -0
  191. data/config/idols/wakiyama_tamami.yml +25 -0
  192. data/config/idols/wakui_rumi.yml +24 -0
  193. data/config/idols/yagami_makino.yml +24 -0
  194. data/config/idols/yaguchi_miu.yml +24 -0
  195. data/config/idols/yamato_aki.yml +25 -0
  196. data/config/idols/yanagi_kiyora.yml +24 -0
  197. data/config/idols/yanase_miyuki.yml +24 -0
  198. data/config/idols/yao_fueifuei.yml +24 -0
  199. data/config/idols/yokoyama_chika.yml +24 -0
  200. data/config/idols/yorita_yoshino.yml +26 -0
  201. data/config/idols/yoshioka_saki.yml +24 -0
  202. data/config/idols/yumemi_riamu.yml +25 -0
  203. data/config/idols/yusa_kozue.yml +24 -0
  204. data/config/idols/yuuki_haru.yml +24 -0
  205. data/config/idols/zaizen_tokiko.yml +25 -0
  206. data/lib/cinderella_girls.rb +7 -0
  207. data/lib/cinderella_girls/idol.rb +15 -0
  208. data/lib/rubiderella.rb +11 -0
  209. data/lib/rubiderella/idol.rb +59 -0
  210. data/lib/rubiderella/idol/birthday.rb +18 -0
  211. data/lib/rubiderella/idol/name.rb +24 -0
  212. data/lib/rubiderella/version.rb +5 -0
  213. data/rubiderella.gemspec +36 -0
  214. metadata +370 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ad46335645258b55132eb33b656e2033271d51842b65c9fcdf56b82fc85590dd
4
+ data.tar.gz: 401589c41914f0367ec32fb127827905fbf504b9d6a866e84352498a5c4d148d
5
+ SHA512:
6
+ metadata.gz: 10f73cb5f7d3a617cb162f503d439f4fb5e43a4c7cd68b42bb04c413550231e011cc2bf359d2d6a4ad78e89cb77b0c83c3c845b626e030afbc62e82df240e418
7
+ data.tar.gz: ea9e08dbabc739fa43ab42e18f1c31a97be35c0688a973086900a91c686a2b0f5976c6a47ea3312f7cb93d86624c2535d05d40631bf969923004da6128514197
@@ -0,0 +1,43 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Coverage
9
+
10
+ env:
11
+ CI: true
12
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
13
+
14
+ on:
15
+ push:
16
+ branches: [ master ]
17
+ pull_request:
18
+ branches: [ master ]
19
+
20
+ jobs:
21
+ upload:
22
+
23
+ runs-on: ubuntu-latest
24
+
25
+ steps:
26
+ - uses: actions/checkout@v2
27
+ - name: Set up Ruby 2.7
28
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
29
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
30
+ uses: ruby/setup-ruby@v1
31
+ # uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
32
+ with:
33
+ ruby-version: 2.7
34
+ - name: Install dependencies
35
+ run: bundle install
36
+ - name: Run RSpec
37
+ run: bundle exec rspec
38
+ - name: Codecov
39
+ uses: codecov/codecov-action@v1.0.12
40
+ with:
41
+ token: ${{ secrets.CODECOV_TOKEN }}
42
+ files: ./coverage/.last_run.json, ./coverage/.resultset.json
43
+ fail_ci_if_error: true
@@ -0,0 +1,33 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+ jobs:
16
+ test:
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ os: [ubuntu, macos]
21
+ ruby: [2.4, 2.5, 2.6, 2.7]
22
+ runs-on: ${{ matrix.os }}-latest
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby }}
28
+ - name: bundle update
29
+ run: bundle update
30
+ - name: bundle install
31
+ run: bundle install
32
+ - name: run test
33
+ run: bundle exec rspec
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ .idea/
10
+ coverage/
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1 @@
1
+ 2.7.1
File without changes
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at hikko624@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rubiderella.gemspec
4
+ gemspec
5
+
6
+ gem 'rake', '~> 12.0'
7
+ gem 'rspec', '~> 3.0'
8
+
9
+ gem 'activesupport', '< 6.0.0' if Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.5.0')
@@ -0,0 +1,126 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rubiderella (0.1.0)
5
+ activesupport
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ abstract_type (0.0.7)
11
+ activesupport (6.0.3.2)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ i18n (>= 0.7, < 2)
14
+ minitest (~> 5.1)
15
+ tzinfo (~> 1.1)
16
+ zeitwerk (~> 2.2, >= 2.2.2)
17
+ adamantium (0.2.0)
18
+ ice_nine (~> 0.11.0)
19
+ memoizable (~> 0.4.0)
20
+ ast (2.4.1)
21
+ binding_ninja (0.2.3)
22
+ byebug (11.1.3)
23
+ codecov (0.2.2)
24
+ colorize
25
+ json
26
+ simplecov
27
+ coderay (1.1.3)
28
+ colorize (0.8.1)
29
+ concord (0.1.5)
30
+ adamantium (~> 0.2.0)
31
+ equalizer (~> 0.0.9)
32
+ concurrent-ruby (1.1.6)
33
+ diff-lcs (1.4.4)
34
+ docile (1.3.2)
35
+ equalizer (0.0.11)
36
+ i18n (1.8.4)
37
+ concurrent-ruby (~> 1.0)
38
+ ice_nine (0.11.2)
39
+ json (2.3.1)
40
+ memoizable (0.4.2)
41
+ thread_safe (~> 0.3, >= 0.3.1)
42
+ method_source (1.0.0)
43
+ minitest (5.14.1)
44
+ parallel (1.19.2)
45
+ parser (2.7.1.4)
46
+ ast (~> 2.4.1)
47
+ proc_to_ast (0.1.0)
48
+ coderay
49
+ parser
50
+ unparser
51
+ procto (0.0.3)
52
+ pry (0.13.1)
53
+ coderay (~> 1.1)
54
+ method_source (~> 1.0)
55
+ pry-byebug (3.9.0)
56
+ byebug (~> 11.0)
57
+ pry (~> 0.13.0)
58
+ rainbow (3.0.0)
59
+ rake (12.3.3)
60
+ regexp_parser (1.7.1)
61
+ rexml (3.2.4)
62
+ rspec (3.9.0)
63
+ rspec-core (~> 3.9.0)
64
+ rspec-expectations (~> 3.9.0)
65
+ rspec-mocks (~> 3.9.0)
66
+ rspec-core (3.9.2)
67
+ rspec-support (~> 3.9.3)
68
+ rspec-expectations (3.9.2)
69
+ diff-lcs (>= 1.2.0, < 2.0)
70
+ rspec-support (~> 3.9.0)
71
+ rspec-mocks (3.9.1)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.9.0)
74
+ rspec-parameterized (0.4.2)
75
+ binding_ninja (>= 0.2.3)
76
+ parser
77
+ proc_to_ast
78
+ rspec (>= 2.13, < 4)
79
+ unparser
80
+ rspec-support (3.9.3)
81
+ rubocop (0.88.0)
82
+ parallel (~> 1.10)
83
+ parser (>= 2.7.1.1)
84
+ rainbow (>= 2.2.2, < 4.0)
85
+ regexp_parser (>= 1.7)
86
+ rexml
87
+ rubocop-ast (>= 0.1.0, < 1.0)
88
+ ruby-progressbar (~> 1.7)
89
+ unicode-display_width (>= 1.4.0, < 2.0)
90
+ rubocop-ast (0.2.0)
91
+ parser (>= 2.7.0.1)
92
+ ruby-progressbar (1.10.1)
93
+ simplecov (0.18.5)
94
+ docile (~> 1.1)
95
+ simplecov-html (~> 0.11)
96
+ simplecov-html (0.12.2)
97
+ thread_safe (0.3.6)
98
+ tzinfo (1.2.7)
99
+ thread_safe (~> 0.1)
100
+ unicode-display_width (1.7.0)
101
+ unparser (0.4.7)
102
+ abstract_type (~> 0.0.7)
103
+ adamantium (~> 0.2.0)
104
+ concord (~> 0.1.5)
105
+ diff-lcs (~> 1.3)
106
+ equalizer (~> 0.0.9)
107
+ parser (>= 2.6.5)
108
+ procto (~> 0.0.2)
109
+ zeitwerk (2.4.0)
110
+
111
+ PLATFORMS
112
+ ruby
113
+
114
+ DEPENDENCIES
115
+ codecov
116
+ pry
117
+ pry-byebug
118
+ rake (~> 12.0)
119
+ rspec (~> 3.0)
120
+ rspec-parameterized
121
+ rubiderella!
122
+ rubocop
123
+ simplecov
124
+
125
+ BUNDLED WITH
126
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 hikko624
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,243 @@
1
+ # Rubiderella
2
+
3
+ ![Ruby](https://github.com/hikko624/rubiderella/workflows/Ruby/badge.svg)
4
+ [![codecov](https://codecov.io/gh/hikko624/rubiderella/branch/master/graph/badge.svg?token=eNS4wQuls7)](https://codecov.io/gh/hikko624/rubiderella)
5
+
6
+ A reference for Idolmaster Cinderella Girls.
7
+
8
+ This gem is inspired by [sue445/rubicure](https://github.com/sue445/rubicure) and [imas/rubimas](https://github.com/imas/rubimas/) strongly.
9
+
10
+ [Idolmaster Official Site](https://idolmaster-official.jp/about/)
11
+
12
+
13
+ ## Requirements
14
+
15
+ - ruby >= 2.4
16
+
17
+ ## Installation
18
+
19
+ $ git clone git@github.com:hikko624/rubiderella.git
20
+ $ cd rubiderella
21
+ $ bin/setup
22
+
23
+ ## Usage
24
+
25
+ $ bin/console
26
+
27
+ ### Call CinderellaGirls
28
+
29
+ ```ruby
30
+ >> CinderellaGirls.idol.all
31
+ #=> [#<Rubiderella::Idol:0x00007fc2bc10a690
32
+ @age=9,
33
+ @birthday=#<Rubiderella::Idol::Birthday:0x00007fc2bc10a5a0 @day=20, @month=7>,
34
+ @blood="O",
35
+ @bust=65.0,
36
+ @cv="春瀬なつみ",
37
+ @favorite=["料理"],
38
+ @from="愛媛県",
39
+ @handed="right",
40
+ @height=132.0,
41
+ @hip=70.0,
42
+ @name=#<Rubiderella::Idol::Name:0x00007fc2bc10a5c8 @first="薫", @first_kana="かおる", @last="龍崎", @last_kana="りゅうざき">,
43
+ @sign="蟹座",
44
+ @type="passion",
45
+ @waist=51.0,
46
+ @weight=32.0>,
47
+ .
48
+ .
49
+ .
50
+ #<Rubiderella::Idol:0x00007fc2bd344cc0
51
+ @age=16,
52
+ @birthday=#<Rubiderella::Idol::Birthday:0x00007fc2bd344c70 @day=3, @month=7>,
53
+ @blood="O",
54
+ @bust=73.0,
55
+ @cv="高田憂希",
56
+ @favorite=["悩み事解決", "石ころ集め", "失せ物探し"],
57
+ @from="鹿児島県",
58
+ @handed="right",
59
+ @height=151.0,
60
+ @hip=73.0,
61
+ @name=#<Rubiderella::Idol::Name:0x00007fc2bd344c98 @first="芳乃", @first_kana="よしの", @last="依田", @last_kana="よりた">,
62
+ @sign="蟹座",
63
+ @type="passion",
64
+ @waist=53.0,
65
+ @weight=40.0>]
66
+
67
+ ```
68
+
69
+ ### Select idol
70
+
71
+ ex: 神崎蘭子(Kanzaki Ranko)
72
+
73
+ ```ruby
74
+ # CinderellaGirls.idol.[IDOL_NAME]
75
+ >> CinderellaGirls.idol.kanzaki_ranko
76
+ => #<Rubiderella::Idol:0x00007feec79bff60
77
+ @age=14,
78
+ @birthday=#<Rubiderella::Idol::Birthday:0x00007feec79bfee8 @day=8, @month=4>,
79
+ @blood="A",
80
+ @bust=81.0,
81
+ @cv="内田真礼",
82
+ @favorite=["絵を描くこと"],
83
+ @from="熊本県",
84
+ @handed="right",
85
+ @height=156.0,
86
+ @hip=80.0,
87
+ @name=#<Rubiderella::Idol::Name:0x00007feec79bff38 @first="蘭子", @first_kana="らんこ", @last="神崎", @last_kana="かんざき">,
88
+ @sign="牡羊座",
89
+ @type="cool",
90
+ @waist=57.0,
91
+ @weight=41.0>
92
+
93
+ # CinderellaGirls.idol.[IDOL_NAME].cv
94
+ >> CinderellaGirls.idol.kanzaki_ranko.cv
95
+ => "内田真礼"
96
+
97
+ # CinderellaGirls.idol.[IDOL_NAME].name
98
+ >> CinderellaGirls.idol.kanzaki_ranko.name
99
+ => #<Rubiderella::Idol::Name:0x00007fdb6c39b828 @first="蘭子", @first_kana="らんこ", @last="神崎", @last_kana="かんざき">
100
+
101
+ # CinderellaGirls.idol.[IDOL_NAME].name.full
102
+ >> CinderellaGirls.idol.kanzaki_ranko.name.full
103
+ => "神崎蘭子"
104
+
105
+ # CinderellaGirls.idol.[IDOL_NAME].name.full_kana
106
+ >> CinderellaGirls.idol.kanzaki_ranko.name.full_kana
107
+ => "かんざきらんこ"
108
+
109
+ # CinderellaGirls.idol.[IDOL_NAME].birthday.date
110
+ >> CinderellaGirls.idol.kanzaki_ranko.birthday.date
111
+ => "4月8日"
112
+ ```
113
+
114
+ ### Rubiderella::Idol#all
115
+
116
+ ```ruby
117
+
118
+ >> Rubiderella::Idol.all
119
+ #=> [#<Rubiderella::Idol:0x00007fc2bc10a690
120
+ @age=9,
121
+ @birthday=#<Rubiderella::Idol::Birthday:0x00007fc2bc10a5a0 @day=20, @month=7>,
122
+ @blood="O",
123
+ @bust=65.0,
124
+ @cv="春瀬なつみ",
125
+ @favorite=["料理"],
126
+ @from="愛媛県",
127
+ @handed="right",
128
+ @height=132.0,
129
+ @hip=70.0,
130
+ @name=#<Rubiderella::Idol::Name:0x00007fc2bc10a5c8 @first="薫", @first_kana="かおる", @last="龍崎", @last_kana="りゅうざき">,
131
+ @sign="蟹座",
132
+ @type="passion",
133
+ @waist=51.0,
134
+ @weight=32.0>,
135
+ .
136
+ .
137
+ .
138
+ #<Rubiderella::Idol:0x00007fc2bd344cc0
139
+ @age=16,
140
+ @birthday=#<Rubiderella::Idol::Birthday:0x00007fc2bd344c70 @day=3, @month=7>,
141
+ @blood="O",
142
+ @bust=73.0,
143
+ @cv="高田憂希",
144
+ @favorite=["悩み事解決", "石ころ集め", "失せ物探し"],
145
+ @from="鹿児島県",
146
+ @handed="right",
147
+ @height=151.0,
148
+ @hip=73.0,
149
+ @name=#<Rubiderella::Idol::Name:0x00007fc2bd344c98 @first="芳乃", @first_kana="よしの", @last="依田", @last_kana="よりた">,
150
+ @sign="蟹座",
151
+ @type="passion",
152
+ @waist=53.0,
153
+ @weight=40.0>]
154
+
155
+ ```
156
+
157
+ ### Rubiderella::Idol#find\_by\_key
158
+
159
+ ```ruby
160
+
161
+ >> Rubiderella::Idol.find_by_key(:kanzaki_ranko)
162
+ => #<Rubiderella::Idol:0x00007fc2bbaffea8
163
+ @age=14,
164
+ @birthday=#<Rubiderella::Idol::Birthday:0x00007fc2bbaffe30 @day=8, @month=4>,
165
+ @blood="A",
166
+ @bust=81.0,
167
+ @cv="内田真礼",
168
+ @favorite=["絵を描くこと"],
169
+ @from="熊本県",
170
+ @handed="right",
171
+ @height=156.0,
172
+ @hip=80.0,
173
+ @name=#<Rubiderella::Idol::Name:0x00007fc2bbaffe58 @first="蘭子", @first_kana="らんこ", @last="神崎", @last_kana="かんざき">,
174
+ @sign="牡羊座",
175
+ @type="cool",
176
+ @waist=57.0,
177
+ @weight=41.0>
178
+
179
+ >> Rubiderella::Idol.find_by_key(:ninomiya_asuka)
180
+ => #<Rubiderella::Idol:0x00007fc2bd27b3c0
181
+ @age=14,
182
+ @birthday=#<Rubiderella::Idol::Birthday:0x00007fc2bd27b348 @day=3, @month=2>,
183
+ @blood="B",
184
+ @bust=75.0,
185
+ @cv="青木志貴",
186
+ @favorite=["ヘアアレンジ", "ラジオを聴くこと", "漫画を描くこと"],
187
+ @from="静岡県",
188
+ @handed="right",
189
+ @height=154.0,
190
+ @hip=78.0,
191
+ @name=#<Rubiderella::Idol::Name:0x00007fc2bd27b398 @first="飛鳥", @first_kana="あすか", @last="二宮", @last_kana="にのみや">,
192
+ @sign="水瓶座",
193
+ @type="cool",
194
+ @waist=55.0,
195
+ @weight=43.0>
196
+ ```
197
+
198
+ ### Rubiderella::Idol::Name#full
199
+
200
+ ```ruby
201
+
202
+ >> Rubiderella::Idol.find_by_key(:kanzaki_ranko).name.full
203
+ => "神崎蘭子"
204
+
205
+ >> Rubiderella::Idol.find_by_key(:ninomiya_asuka).name.full
206
+ => "二宮飛鳥"
207
+ ```
208
+
209
+ ### Rubiderella::Idol::Name#full_kana
210
+
211
+ ```ruby
212
+
213
+ >> Rubiderella::Idol.find_by_key(:kanzaki_ranko).name.full_kana
214
+ => "かんざきらんこ"
215
+
216
+ >> Rubiderella::Idol.find_by_key(:ninomiya_asuka).name.full_kana
217
+ => "にのみやあすか"
218
+ ```
219
+
220
+
221
+ ### Rubiderella::Idol::Birthday#date
222
+
223
+ ```ruby
224
+
225
+ >> Rubiderella::Idol.find_by_key(:kanzaki_ranko).birthday.date
226
+ => "4月8日"
227
+
228
+ >> Rubiderella::Idol.find_by_key(:ninomiya_asuka).birthday.date
229
+ => "2月3日"
230
+
231
+ ```
232
+
233
+ ## Contributing
234
+
235
+ Bug reports and pull requests are welcome on GitHub at https://github.com/hikko624/rubiderella. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/hikko624/rubiderella/blob/master/CODE_OF_CONDUCT.md).
236
+
237
+ ## License
238
+
239
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
240
+
241
+ ## Code of Conduct
242
+
243
+ Everyone interacting in the Rubiderella project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/hikko624/rubiderella/blob/master/CODE_OF_CONDUCT.md).