{"id":28393040,"url":"https://github.com/dashingrocket/sequel-nonsequential_id","last_synced_at":"2025-06-26T07:31:09.706Z","repository":{"id":56895024,"uuid":"151283023","full_name":"dashingrocket/sequel-nonsequential_id","owner":"dashingrocket","description":"Automatically generate non-sequential (pseudo-random) IDs for Sequel Models","archived":false,"fork":false,"pushed_at":"2018-11-18T16:28:24.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T02:11:53.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/dashingrocket.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":"2018-10-02T16:02:57.000Z","updated_at":"2020-11-03T15:22:27.000Z","dependencies_parsed_at":"2022-08-21T01:20:41.808Z","dependency_job_id":null,"html_url":"https://github.com/dashingrocket/sequel-nonsequential_id","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dashingrocket/sequel-nonsequential_id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingrocket%2Fsequel-nonsequential_id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingrocket%2Fsequel-nonsequential_id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingrocket%2Fsequel-nonsequential_id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingrocket%2Fsequel-nonsequential_id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashingrocket","download_url":"https://codeload.github.com/dashingrocket/sequel-nonsequential_id/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingrocket%2Fsequel-nonsequential_id/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262022065,"owners_count":23246250,"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":"2025-05-31T15:10:31.539Z","updated_at":"2025-06-26T07:31:09.685Z","avatar_url":"https://github.com/dashingrocket.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sequel-nonsequential_id\n[![Run Status](https://api.shippable.com/projects/5bb3aa2628d5f40700431d28/badge?branch=master)](https://app.shippable.com/github/dashingrocket/sequel-nonsequential_id/dashboard) \n[![Gem Version](https://badge.fury.io/rb/sequel-nonsequential_id.svg)](https://badge.fury.io/rb/sequel-nonsequential_id) \n[![Downloads](http://ruby-gem-downloads-badge.herokuapp.com/sequel-nonsequential_id?type=total)](https://rubygems.org/gems/sequel-nonsequential_id)\n\nAutomatically generate non-sequential (pseudo-random) IDs for Sequel Models\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'sequel-nonsequential_id'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install sequel-nonsequential_id\n\n## Usage\n\n```ruby\n# Enable nonsequential id for all Models\nSequel::Model.plugin :nonsequential_id\n\n# Enable nonsequential id on a specific model (defaults to the :id field)\nclass Artist \u003c Sequel::Model\n  plugin :nonsequential_id \nend\n\n\n# Enable nonsequential id on a specific model using a custom id field\nclass Artist \u003c Sequel::Model\n  plugin :nonsequential_id, id_field: :custom_id_field\nend\n```\n\n## Continuous Integration\nTested in a CI environment against the following Ruby versions:\n* ruby-head\n* 2.5\n* 2.4\n* 2.3\n\n\n## Contributing\n\n1. Fork it ( https://github.com/dashingrocket/sequel-nonsequential_id/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashingrocket%2Fsequel-nonsequential_id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashingrocket%2Fsequel-nonsequential_id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashingrocket%2Fsequel-nonsequential_id/lists"}