Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impl Rubicure::Series#to_json #83

Merged
merged 1 commit into from
Aug 22, 2015
Merged

Impl Rubicure::Series#to_json #83

merged 1 commit into from
Aug 22, 2015

Conversation

sue445
Copy link
Owner

@sue445 sue445 commented Aug 22, 2015

Before

Precure.smile.to_json
#=> "{\"星空みゆき\":null,\"日野あかね\":null,\"黄瀬やよい\":null,\"緑川なお\":null,\"青木れいか\":null}"

After

Precure.smile.to_json
#=> "{\"series_name\":\"smile\",\"title\":\"スマイルプリキュア!\",\"started_date\":\"2012-02-05\",\"ended_date\":\"2013-01-27\",\"girls\":[\"cure_happy\",\"cure_sunny\",\"cure_peace\",\"cure_march\",\"cure_beauty\"]}"


let(:json) do
<<-JSON
{\"series_name\":\"splash_star\",\"title\":\"ふたりはプリキュア Splash☆Star\",\"started_date\":\"2006-02-05\",\"ended_date\":\"2007-01-28\",\"girls\":[\"cure_bloom\",\"cure_egret\"]}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [173/160]

sue445 added a commit that referenced this pull request Aug 22, 2015
@sue445 sue445 merged commit faab7f5 into master Aug 22, 2015
@sue445 sue445 deleted the feature/series_to_json branch August 22, 2015 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants