[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7644":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},7644,"faker","faker-ruby\u002Ffaker","faker-ruby","A library for generating fake data such as names, addresses, and phone numbers.","",null,"Ruby",11621,3165,125,14,0,1,6,23,4,45,"MIT License",false,"main",true,[27,28],"fake","ruby","2026-06-12 02:01:42","# Faker [![Gem Version][version-badge]][rubygems] [![Build Status][github-actions-badge]][github-actions] [![Total Downloads][downloads-total]][rubygems] [![Downloads][downloads-badge]][rubygems]\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F36028424\u002F40263395-4318481e-5b44-11e8-92e5-3dcc1ce169b3.png\" width=\"400\"\u002F>\n  \u003Cp>Generate (almost) realistic fake data for testing, demos, and populating your database during development.\u003C\u002Fp>\n\u003C\u002Fdiv>\n\n[version-badge]: https:\u002F\u002Fimg.shields.io\u002Fgem\u002Fv\u002Ffaker.svg\n[rubygems]: https:\u002F\u002Frubygems.org\u002Fgems\u002Ffaker\n[github-actions-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Ffaker-ruby\u002Ffaker\u002F.github\u002Fworkflows\u002Fruby.yml?branch=main\n[github-actions]: https:\u002F\u002Fgithub.com\u002Ffaker-ruby\u002Ffaker\u002Factions\n[downloads-total]: https:\u002F\u002Fimg.shields.io\u002Fgem\u002Fdt\u002Ffaker.svg\n[downloads-badge]: https:\u002F\u002Fimg.shields.io\u002Fgem\u002Fdtv\u002Ffaker.svg\n\n## Quick links\n\n- 📖 **[Read the documentation for the latest version][rubydocs].**\n- 📢 **[See what's changed in recent versions][changelog].**\n\n[rubydocs]: https:\u002F\u002Fwww.rubydoc.info\u002Fgems\u002Ffaker\u002F\n[changelog]: CHANGELOG.md\n\n## Features\n\n- Internet: Email addresses, Passwords, Domains, etc.\n- Date and Time: Travel back in time or to the future.\n- Person: Names, Genders, Bios, Job titles, and more.\n- Number and String: Random numbers and strings.\n- Location: Addresses, Zip Codes, Street Names, States, and Countries.\n- Finance: Account Details, Transactions, and Crypto Addresses.\n- Localization - Customize faker with over 40 locales to generate realistic-looking Names, Addresses, and Phone Numbers.\n\n> **Note:** The generated names, addresses, emails, phone numbers, and\u002For other data might return valid information. Please be careful when using faker in your tests.\n\nFor a complete list of the generators, see [Generators](.\u002FGENERATORS.md).\n\n## Getting Started\n\nStart by including `faker` in your Gemfile:\n\n```ruby\ngem 'faker'\n```\n\nThen run `bundle install`.\n\n## Usage\n\n```ruby\nrequire 'faker'\n\nFaker::Name.name                      #=> \"Christophe Bartell\"\nFaker::Internet.password              #=> \"Vg5mSvY1UeRg7\"\nFaker::Internet.email                 #=> \"eliza@mann.test\"\nFaker::Address.full_address           #=> \"5479 William Way, East Sonnyhaven, LA 63637\"\nFaker::Markdown.emphasis              #=> \"Quo qui aperiam. Amet corrupti distinctio. Sit quia *dolor.*\"\nFaker::Lorem.paragraph                #=> \"Recusandae minima consequatur. Expedita sequi blanditiis. Ut fuga et.\"\nFaker::Alphanumeric.alpha(number: 10) #=> \"zlvubkrwga\"\nFaker::ProgrammingLanguage.name       #=> \"Ruby\"\n```\n\n## Table of Contents\n\n- [Faker    ](#faker----)\n  - [Quick links](#quick-links)\n  - [Features](#features)\n  - [Getting Started](#getting-started)\n  - [Usage](#usage)\n  - [Table of Contents](#table-of-contents)\n    - [Notes](#notes)\n    - [Ensuring unique values](#ensuring-unique-values)\n    - [Deterministic Random](#deterministic-random)\n    - [Localization](#localization)\n    - [Minitest and Faker \\>= 2.22](#minitest-and-faker--222)\n  - [Generators](#generators)\n  - [Contributing](#contributing)\n  - [Versioning](#versioning)\n  - [Inspiration](#inspiration)\n  - [In the media](#in-the-media)\n  - [License](#license)\n\n### Notes\n\n* While Faker generates data at random, returned values are not guaranteed to be unique by default. To explicitly specify when you require unique values, see [Ensuring Unique Values](#ensuring-unique-values).\n* Values also can be deterministic if you use the deterministic feature, see [Deterministic Random](#deterministic-random).\n* This is the `main` branch of Faker and may contain changes that are not yet released. The list of all versions is [available here](https:\u002F\u002Fgithub.com\u002Fstympy\u002Ffaker\u002Freleases).\n\n### Ensuring unique values\n\nTo ensure Faker generates unique values, prefix your method call with `unique`:\n\n```ruby\nFaker::Name.unique.name # This will return a unique name every time it is called\n```\n\nIf too many unique values are requested from a generator that has a limited\nnumber of potential values, a `Faker::UniqueGenerator::RetryLimitExceeded`\nexception may be raised. It is possible to clear the record of unique values\nthat have been returned, for example between tests.\n\n```ruby\nFaker::Name.unique.clear     # Clears used values for Faker::Name\nFaker::UniqueGenerator.clear # Clears used values for all generators\n```\n\nYou can also give some already-used values to the unique generator if you have\ncollisions with the generated data (i.e., using FactoryBot with random and\nmanually set values).\n\n```ruby\n# Faker::\u003Cgenerator>.unique.exclude(method, arguments, list)\n\n# Add 'azerty' and 'wxcvbn' to the string generator with 6 char length\nFaker::Lorem.unique.exclude :string, [number: 6], %w[azerty wxcvbn]\n```\n\n### Deterministic Random\n\nFaker supports seeding of its pseudo-random number generator (PRNG)\nto provide deterministic output of repeated method calls.\n\n```ruby\nFaker::Config.random = Random.new(42)\nFaker::Lorem.word              #=> \"velit\"\nFaker::Lorem.word              #=> \"quisquam\"\n\nFaker::Config.random = Random.new(42)\nFaker::Lorem.word              #=> \"velit\"\nFaker::Lorem.word              #=> \"quisquam\"\n\nFaker::Config.random = nil     # seeds the PRNG using default entropy sources\nFaker::Config.random.seed      #=> 185180369676275068918401850258677722187\nFaker::Lorem.word              #=> \"ipsam\"\n```\n\n### Localization\n\nYou may want Faker to print information depending on your location in the world.\nTo assist you in this, Faker uses the `I18n` gem to store strings and formats to\nrepresent the names and postal codes of the area of your choosing.\n\nJust set the locale you want as shown below, and Faker will take care of the rest.\n\n```ruby\nFaker::Config.locale = 'es'\n# or\nFaker::Config.locale = :es\n```\n\nTo override Faker's locales, and set it on threaded server environments\ncheck out the [locales README](lib\u002Flocales\u002FREADME.md).\n\n### Minitest and Faker >= 2.22\n\nTo prevent Faker (version >= 2.22) from [generating duplicate values](https:\u002F\u002Fgithub.com\u002Ffaker-ruby\u002Ffaker\u002Fissues\u002F2534) when using Minitest,\nyou might need to add the following to the `test_helper.rb` or `rails_helper.rb` file:\n\n```ruby\nFaker::Config.random = Random.new\n```\n\n## Generators\n\nTo see the full list, check out the [GENERATORS](.\u002FGENERATORS.md) document.\n\n## Contributing\n\n**Note**: We are not accepting proposals for new generators and locales. The [Contributing](https:\u002F\u002Fgithub.com\u002Ffaker-ruby\u002Ffaker\u002Fblob\u002Fmain\u002FCONTRIBUTING.md) guide has a few notes about this decision.\n\nTake a look at the [Contributing](https:\u002F\u002Fgithub.com\u002Ffaker-ruby\u002Ffaker\u002Fblob\u002Fmain\u002FCONTRIBUTING.md) document for\ninstructions on setting up the repo on your machine, opening bug reports, understanding the codebase,\nand creating a good pull request.\n\nThere is a [Discord channel](https:\u002F\u002Fdiscord.gg\u002FRMumTwB) to discuss anything\nregarding improvements or feature requests. This is not actively monitored by the current maintainers.\n\nThank you, contributors!\n\n## Versioning\n\nFaker follows Semantic Versioning 2.0 as defined at https:\u002F\u002Fsemver.org.\n\n## Inspiration\n\nFaker was inspired by [Perl's Data::Faker library](https:\u002F\u002Fmetacpan.org\u002Fpod\u002FData::Faker).\n\n## In the media\n\n- 📰 [With Great Humor Comes Great Developer Engagement] - KTH Royal Institute of Technology research\n- 🎧 [Computer und Kommunikation 4.5.2024, komplette Sendung] - Deutschland Funk Radio Interview\n\n[With Great Humor Comes Great Developer Engagement]: https:\u002F\u002Farxiv.org\u002Fpdf\u002F2312.01680\n[Computer und Kommunikation 4.5.2024, komplette Sendung]: https:\u002F\u002Fwww.deutschlandfunk.de\u002Fcomputer-und-kommunikation-4-5-2024-komplette-sendung-dlf-16492b03-100.html\n\n## License\n\nThis code is free to use under the terms of the MIT license.\n","Faker 是一个用于生成诸如姓名、地址和电话号码等虚假数据的 Ruby 库。其核心功能包括生成互联网信息（如电子邮件地址）、日期时间、人物信息（如姓名、性别）、数字与字符串、地理位置及财务详情等，支持超过 40 种语言环境以生成更加贴近实际的数据。适用于软件开发中的测试案例构建、演示准备以及在开发阶段填充数据库等场景，帮助开发者快速获得大量看似真实的示例数据，提高工作效率。",2,"2026-06-11 03:13:30","top_language"]