Sha256: 55e350acd951bf8139a199d9b9f7bd671bca859e07c4b376518fe4d5486b8b6d
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 KB
Contents
# Faker::Precure Test data generator using Precure(Pretty Cure) [](http://badge.fury.io/rb/faker-precure) [](https://travis-ci.org/sue445/faker-precure) [](https://codeclimate.com/github/sue445/faker-precure) [](https://coveralls.io/r/sue445/faker-precure) [](https://gemnasium.com/sue445/faker-precure) ## Installation Add this line to your application's Gemfile: gem 'faker-precure' And then execute: $ bundle Or install it yourself as: $ gem install faker-precure ## Usage ```ruby require "faker/precure" Faker::Precure.human_name #=> "黄瀬やよい" Faker::Precure.precure_name #=> "キュアアクア" Faker::Precure.cast_name #=> "豊口めぐみ" Faker::Precure.title #=> "Yes! プリキュア5" Faker::Precure.transform_message #=> "レッツプレイ!プリキュアモジュレーション!!\n爪弾くは女神の調べ! キュアミューズ!\n届け4人の組曲!スイートプリキュア!" Faker::Precure.user_name #=> "cure_mint" ``` ## Example of factory ```ruby FactoryGirl.define do factory :user do name { Faker::Precure.human_name } end end ``` ## Contributing 1. Fork it ( https://github.com/sue445/faker-precure/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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faker-precure-0.0.5 | README.md |
faker-precure-0.0.4 | README.md |