{"id":24502764,"url":"https://github.com/sul-dlss/suri-rails","last_synced_at":"2026-05-11T06:50:39.566Z","repository":{"id":36952275,"uuid":"101420011","full_name":"sul-dlss/suri-rails","owner":"sul-dlss","description":"A Rails-based identifier service","archived":false,"fork":false,"pushed_at":"2024-04-08T15:55:41.000Z","size":433,"stargazers_count":1,"open_issues_count":6,"forks_count":1,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-04-08T19:09:33.649Z","etag":null,"topics":["application","infrastructure","rails","rails-api","ruby"],"latest_commit_sha":null,"homepage":"https://sul-dlss.github.io/suri-rails/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sul-dlss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-08-25T16:00:17.000Z","updated_at":"2024-04-15T12:42:29.120Z","dependencies_parsed_at":"2023-11-06T12:34:02.777Z","dependency_job_id":"6b4d966f-fba7-4447-9897-1c20e26dbaa1","html_url":"https://github.com/sul-dlss/suri-rails","commit_stats":null,"previous_names":[],"tags_count":119,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Fsuri-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Fsuri-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Fsuri-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Fsuri-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sul-dlss","download_url":"https://codeload.github.com/sul-dlss/suri-rails/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243701464,"owners_count":20333631,"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":["application","infrastructure","rails","rails-api","ruby"],"created_at":"2025-01-21T23:13:51.846Z","updated_at":"2026-05-11T06:50:39.529Z","avatar_url":"https://github.com/sul-dlss.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://circleci.com/gh/sul-dlss/suri-rails.svg?style=svg)](https://circleci.com/gh/sul-dlss/suri-rails)\n[![codecov](https://codecov.io/github/sul-dlss/suri-rails/graph/badge.svg?token=HPGVvrZghX)](https://codecov.io/github/sul-dlss/suri-rails)\n[![Docker image](https://images.microbadger.com/badges/image/suldlss/suri-rails.svg)](https://microbadger.com/images/suldlss/suri-rails \"Get your own image badge on microbadger.com\")\n[![OpenAPI Validator](http://validator.swagger.io/validator?url=https://raw.githubusercontent.com/sul-dlss/suri-rails/main/openapi.yml)](http://validator.swagger.io/validator/debug?url=https://raw.githubusercontent.com/sul-dlss/suri-rails/main/openapi.yml)\n\n# SURI\n\nSURI is the Stanford Unique Resource Identifier service. It mints unique identifiers (e.g., DRUIDs).\n\nSURI has an [OpenAPI 3.0 spec](http://spec.openapis.org/oas/v3.0.2) that documents the API in [openapi.yml](openapi.yml). You can browse the generated documentation at [http://sul-dlss.github.io/suri-rails/](http://sul-dlss.github.io/suri-rails/).\n\n## Installation\n\nClone the repository\n\n    $ git clone git@github.com:sul-dlss/suri-rails.git\n\nChange directories into the app and install dependencies\n\n    $ bundle install\n\nStart the development server\n\n    $ rails s\n\n## Testing\n\nFirst, ensure the database container is spun up:\n\n    $ docker compose up db # use -d to daemonize/run in background\n\nAnd if you haven't yet prepared the test database, run:\n\n    $ bin/rails db:setup\n\nThe test suite (with RuboCop style enforcement) will be run with the default rake task (also run on CI).\n\n    $ bin/rake\n\nThe specs can be run without RuboCop enforcement\n\n    $ bin/rake spec\n\nThe RuboCop style enforcement can be run without running the tests\n\n    $ bin/rake rubocop\n\n## Building for Docker\n\nSpin up the application and its database:\n\n    $ docker compose up --build\n\n## Updating Docker Image\n\nNote that CI is configured to automatically update the image hosted on DockerHub on every commit to `main`. If you want to build and push an image manually, run:\n\n    $ docker build -t suldlss/suri-rails:latest .\n    $ docker push suldlss/suri-rails:latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsul-dlss%2Fsuri-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsul-dlss%2Fsuri-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsul-dlss%2Fsuri-rails/lists"}