A summary of data about the Ruby ecosystem.

https://github.com/ffaker/ffaker

Faker refactored.
https://github.com/ffaker/ffaker

Keywords from Contributors

activerecord activejob mvc rubygem sidekiq rspec sinatra crash-reporting jobs background-jobs

Last synced: about 13 hours ago
JSON representation

Repository metadata

Faker refactored.

README.md

Build Status
Code Climate
Reviewed by Hound

ffaker

Gitter

ffaker is a rewrite of faker.

Usage

require 'ffaker'

FFaker::Name.name       #=> "Christophe Bartell"
FFaker::Internet.email  #=> "kirsten.greenholt@corkeryfisher.info"

See more →

ffaker vs faker

The faker and ffaker APIs are mostly the same, although the API on ffaker keeps
diverging with its users additions. In general, the only difference is that you
need to:

gem install ffaker

and then

require 'ffaker'

Rails

  1. If using rails then add the gem to your development and test environments:
group :development, :test do
  gem 'ffaker'
end
  1. and then run bundle install in your terminal/BASH/command line.

Why ffaker?

ffaker is a fork of faker, and was initially written in an effort to speed up
a slow spec suite. Since those days faker has also been rewritten and the
"speed" factor is probably irrelevant now. Bear in mind, if your spec suite
is slow, chances are the generation of random data will probably not account
for much of the run time.

Nowadays the code bases have diverged enough to make the two projects truly
different: since ffaker creation, a lot of new API methods have been added
through the generous contributions of people all over the world.

Hopefully some day faker and ffaker will join forces!

Contributors

A lot of people have contributed to ffaker. Check this list.

If you want to add new modules or localization data, use one of the
directories for data files
(or create a new one!).

const_missing is
overridden
for Faker modules, so if you try to use a constant that is not defined
in the module, the
override
will look for a data file matching the name of the constant. E.G.: the
first time someone accesses FFaker::Name::FIRST_NAMES, a const of that
name will be set with data from ffaker/data/name/first_names.

Using the same random seed as your tests

To get repeatable results in Minitest or Rspec, follow these instructions.

Unique values

You can ensure unique values are generated using the unique method. ffaker will retry the generation
until an unique value if found.

Example:

FFaker::Name.unique.name # ensures an unique value is returned for FFaker::Name

If an unique value cannot be generated within a maximum limit of retries for a generator
a FFaker::UniqueUtils::RetryLimitExceeded error will be raised.

You can prevent exceeding the limit by clearing the record of used values (e.g. between tests):

FFaker::Name.unique.clear # clears the used values for FFaker::Name
FFaker::UniqueUtils.clear # clears the used values for all generators

TODO

  • Even though the API is pretty simple, better rdoc documentation would not hurt.
  • Put all modules under their respective languages (E.G. EducationUS instead of just Education)

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
    • To run all the tests: rake test
    • To run a single test: rake test TEST=test/test_lorem_br.rb
  • Commit, do not mess with rakefile, version, or history.
    (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Release

  • Bump version in lib/version.rb.
  • Update Changelog.md.
  • Tag with v<major>.<minor>.<patch>.
  • Push it.

Copyright

Copyright (c) 2013 Emmanuel Oga. See LICENSE for details.
Copyright (c) 2007 Benjamin Curtis


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 885
Total Committers: 228
Avg Commits per committer: 3.882
Development Distribution Score (DDS): 0.817

Commits in past year: 28
Committers in past year: 8
Avg Commits per committer in past year: 3.5
Development Distribution Score (DDS) in past year: 0.25

Name Email Commits
marocchino m****o 162
Emmanuel Oga E****a@g****m 96
Hannes Maack h****k@r****t 41
Voloshyn Vsevolod s****n@g****m 40
Matthew Nielsen x****r@p****g 36
Kristján Pétursson k****n@g****m 23
Pathe SENE p****e@g****m 20
Rico Sta. Cruz hi@r****m 16
Tijn Schuurmans t****n@t****l 14
Walerian Sobczak w****k@g****m 11
Alexander Popov a****r@g****m 10
Pablo Ruiz p****z@m****x 9
Vsevolod Romashov 7@7****u 9
swcool a****8@y****m 8
davidnoelte d****e@d****l 8
Emmanuel Oga c****t@e****m 8
Kristian Mandrup k****p@g****m 7
Igor Marques i****a@g****m 7
Derek Ethier d****r@g****m 6
Jakub Misina j****a@g****m 6
Todd Sedano t****o@g****m 6
makabde h****o@m****e 6
Tee Parham t****e@n****m 5
Luke Inglis l****s@A****l 5
Eric Santos W****i 4
Steve Clarke d****h@n****m 4
hoblin e****n@g****m 4
Antonios Falegkos f****1@g****m 4
Jason Dugdale j****e@g****m 4
Gustavo Souza g****j@h****m 4
and 198 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 11 days ago

Total issues: 32
Total pull requests: 105
Average time to close issues: about 1 year
Average time to close pull requests: about 2 months
Total issue authors: 28
Total pull request authors: 51
Average comments per issue: 2.56
Average comments per pull request: 1.08
Merged pull request: 89
Bot issues: 0
Bot pull requests: 0

Past year issues: 2
Past year pull requests: 11
Past year average time to close issues: N/A
Past year average time to close pull requests: about 1 month
Past year issue authors: 2
Past year pull request authors: 7
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.27
Past year merged pull request: 10
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ffaker/ffaker

Top Issue Authors

  • yudanhezhongweijie (2)
  • rstacruz (2)
  • professor (2)
  • marocchino (2)
  • paulomcnally (1)
  • hurtstotouchfire (1)
  • gusailov (1)
  • graudeejs (1)
  • hmaack (1)
  • nicolas-brousse (1)
  • tansaku (1)
  • vizjerai (1)
  • rabinshr (1)
  • zedtux (1)
  • marko-avlijas (1)

Top Pull Request Authors

  • Volosh1n (21)
  • marocchino (9)
  • professor (8)
  • AlexWayfer (4)
  • hulous (3)
  • nedzib (2)
  • nigelgomesot (2)
  • stilist (2)
  • kianmeng (2)
  • SteveRedka (2)
  • hmaack (2)
  • abnersajr (2)
  • cookiepingyen (2)
  • boimw (2)
  • petergoldstein (2)

Top Issue Labels

Top Pull Request Labels

  • hacktoberfest-accepted (3)
  • enhancement (1)

Package metadata

gem.coop: ffaker

Ffaker generates dummy data.

  • Homepage: https://github.com/ffaker/ffaker
  • Documentation: http://www.rubydoc.info/gems/ffaker/
  • Licenses: MIT
  • Latest release: 2.25.0 (published 3 months ago)
  • Last Synced: 2025-12-09T04:02:18.797Z (1 day ago)
  • Versions: 69
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 68,584,742 Total
  • Docker Downloads: 455,821,616
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.162%
    • Docker downloads count: 0.241%
    • Downloads: 0.406%
  • Maintainers (5)
rubygems.org: ffaker

Ffaker generates dummy data.

  • Homepage: https://github.com/ffaker/ffaker
  • Documentation: http://www.rubydoc.info/gems/ffaker/
  • Licenses: MIT
  • Latest release: 2.25.0 (published 3 months ago)
  • Last Synced: 2025-12-09T00:03:02.205Z (1 day ago)
  • Versions: 69
  • Dependent Packages: 528
  • Dependent Repositories: 14,600
  • Downloads: 68,582,058 Total
  • Docker Downloads: 455,821,616
  • Rankings:
    • Dependent packages count: 0.086%
    • Dependent repos count: 0.289%
    • Docker downloads count: 0.33%
    • Downloads: 0.424%
    • Average: 0.598%
    • Forks count: 1.162%
    • Stargazers count: 1.298%
  • Maintainers (5)
proxy.golang.org: github.com/ffaker/ffaker

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ffaker/ffaker#section-documentation
  • Licenses: mit
  • Latest release: v2.24.0+incompatible (published 10 months ago)
  • Last Synced: 2025-12-07T21:04:02.643Z (3 days ago)
  • Versions: 63
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 1.207%
    • Stargazers count: 1.712%
    • Average: 5.824%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%

Dependencies

ffaker.gemspec rubygems
  • rake ~> 13.0 development
  • rubocop >= 0 development
  • test-unit >= 0 development
.github/workflows/publish.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
.github/workflows/reference.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
  • stefanzweifel/git-auto-commit-action v4 composite
.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite

Score: 33.565462855116905