{"id":21572022,"url":"https://github.com/krzyzak/rpg","last_synced_at":"2025-07-25T19:35:59.306Z","repository":{"id":4160134,"uuid":"5274713","full_name":"krzyzak/rpg","owner":"krzyzak","description":"Real Pesel Generator","archived":false,"fork":false,"pushed_at":"2012-08-04T11:33:43.000Z","size":140,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-27T02:11:29.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krzyzak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-02T16:06:20.000Z","updated_at":"2024-12-30T15:26:20.000Z","dependencies_parsed_at":"2022-09-09T05:30:46.057Z","dependency_job_id":null,"html_url":"https://github.com/krzyzak/rpg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krzyzak/rpg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzak%2Frpg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzak%2Frpg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzak%2Frpg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzak%2Frpg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krzyzak","download_url":"https://codeload.github.com/krzyzak/rpg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzak%2Frpg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259493745,"owners_count":22866385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T11:17:59.115Z","updated_at":"2025-06-12T15:33:18.863Z","avatar_url":"https://github.com/krzyzak.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rpg\n\nThis library aims to generate random (but correct!) \u003ca href=\"http://en.wikipedia.org/wiki/PESEL\"\u003ePESEL\u003c/a\u003e numbers.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'rpg'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rpg\n\n## Usage\n\n    # Generate pesel for female, born at March 14, 1988\n    @pesel = Rpg::Pesel.new(gender: :female, date: \"1988-03-14\")\n    @pesel.generate # =\u003e \"88031469364\"\n\n    # date can be Date object as well:\n    @pesel = Rpg::Pesel.new(gender: :male, date: Date.parse(\"1988-03-14\"))\n    @pesel.generate # =\u003e \"88031443355\"\n\n    #if you don't specify gender, it will be random.\n    @pesel = Rpg::Pesel.new(date: Date.parse(\"1960-10-10\"))\n    @pesel.generate # =\u003e \"60101014058\"\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrzyzak%2Frpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrzyzak%2Frpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrzyzak%2Frpg/lists"}