Project

rubimas

0.01
No commit activity in last 3 years
No release in over 3 years
The 765 pro idol's information library. This gem provides names, birthdays, favorites, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Rubimas

Build Status

A reference for 765PRO all stars (include million stars)

This gem is inspired by sue445/rubicure strongly.

Installation

Add this line to your application's Gemfile:

gem 'rubimas'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rubimas

Usage

require 'rubimas'
765.pro.haruka.name.full # => "天海春香"
765.pro.haruka.birthday # => "04/03"
765.pro.haruka.favorites # => ["歌うこと"]

# idol_id search
765.pro.find_by_id(39).name.full # => "馬場このみ"

# `Rubimas` is simple way to use rubimas.
Rubimas.find_by_id(39).name.full # => "馬場このみ"
Rubimas.find_by_name("馬場このみ").favorite # => ["日本酒"]

How to use theaterdays idols

If you want to use new members of theaterdays, you can use them by calling Rubimas.theaterdays!

require 'rubimas'

Rubimas.find_by_name('紬') # => Rubimas::Idol::UnknownIdolError (unknown idol: 紬)

Rubimas.theaterdays!

# You can search new idols
Rubimas.find_by_name("紬").favorite # => #<Rubimas::Idol: @idol_id=51, @key=:tsumugi, @name=#<Rubimas::Idol::Name: @family="白石", @family_kana="しらいし", @given="紬", @given_kana="つむぎ", @shorten="紬">...

Contributing

  1. Fork it ( https://github.com/imas/rubimas/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request