Faker::Okinawa generates Okinawa fake data.
Switch branches/tags
Nothing to show
Clone or download
Latest commit d5130a1 Feb 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin initial commit Feb 14, 2016
lib/faker Bump version v0.1.1 Feb 1, 2018
o-dic git read-tree --prefix=o-dic -u o-dic/master Feb 14, 2016
.gitignore initial commit Feb 14, 2016
CODE_OF_CONDUCT.md initial commit Feb 14, 2016
Gemfile initial commit Feb 14, 2016
LICENSE.txt initial commit Feb 14, 2016
README.md Fix typo Feb 14, 2016
Rakefile initial commit Feb 14, 2016
faker-okinawa.gemspec Update gemspec Feb 14, 2016

README.md

Faker::Okinawa

Faker::Okinawa generates Okinawa fake data.

Installation

Add this line to your application's Gemfile:

gem 'faker-okinawa'

And then execute:

$ bundle

Or install it yourself as:

$ gem install faker-okinawa

Usage

require 'faker/okinawa'

Faker::Okinawa::Address.city # => "嘉手納村"
Faker::Okinawa::Address.district # => "平安名"
Faker::Okinawa::Address.island # => "慶留間"
Faker::Okinawa::Address.park # => "がじゃんびら公園"

Faker::Okinawa::Awamori.name # => "久米仙"

Faker::Okinawa::Base.name # => "キンザー"

Faker::Okinawa::Fish.name # => "スク"

Faker::Okinawa::Food.name # => "中味"

Faker::Okinawa::Name.last_name # => "仲村渠"

Faker::Okinawa::School.name # => "具志頭"

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/okinawarb/faker-okinawa. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Faker::Okinawa using Okinawa dictionary. The Okinawa dictionary is in o-dic directory, everything under o-dic directory is licensed as the Okinawa dictionary license.