{"id":20635742,"url":"https://github.com/psu-libraries/psu_identity","last_synced_at":"2025-10-06T08:49:51.776Z","repository":{"id":44643462,"uuid":"261259826","full_name":"psu-libraries/psu_identity","owner":"psu-libraries","description":"Gem for interfacing with psu's search-service","archived":false,"fork":false,"pushed_at":"2025-06-06T18:16:15.000Z","size":123,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-04T00:04:08.055Z","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/psu-libraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-04T18:07:26.000Z","updated_at":"2025-06-06T18:13:26.000Z","dependencies_parsed_at":"2023-02-10T18:50:14.904Z","dependency_job_id":"b09af5ab-74c5-4044-b503-7f2a617851a7","html_url":"https://github.com/psu-libraries/psu_identity","commit_stats":{"total_commits":57,"total_committers":5,"mean_commits":11.4,"dds":0.3508771929824561,"last_synced_commit":"1cf3ec5fc395f4cb745bbffd9408b107ea32326d"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/psu-libraries/psu_identity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2Fpsu_identity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2Fpsu_identity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2Fpsu_identity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2Fpsu_identity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psu-libraries","download_url":"https://codeload.github.com/psu-libraries/psu_identity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2Fpsu_identity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263421911,"owners_count":23464047,"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-16T15:07:01.655Z","updated_at":"2025-10-06T08:49:46.734Z","avatar_url":"https://github.com/psu-libraries.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/psu-libraries/psu_identity.svg?style=svg)](https://circleci.com/gh/psu-libraries/psu_identity)\n[![Maintainability](https://api.codeclimate.com/v1/badges/4add85571dd35c111426/maintainability)](https://codeclimate.com/github/psu-libraries/psu_identity/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/4add85571dd35c111426/test_coverage)](https://codeclimate.com/github/psu-libraries/psu_identity/test_coverage)\n\n# PsuIdentity\n\nA wrapper for Penn State's search service API.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'psu_identity'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install psu_identity\n\n## Usage\n\nAdd this to the top of your code:\n\n    require 'psu_identity'\n    \nTo query the search service by name:\n\n    # Takes a hash as parameter with 'text:' as the key\n    \n    PsuIdentity::SearchService::Client.new.search(text: 'Jimmy Tester')\n    \n***This will return an array of PsuIdentity::SearchService::Person objects matching the query***\n\nTo query the search service by userid:\n\n    # Takes a string as a parameter\n    \n    PsuIdentity::SearchService::Client.new.userid('abc123')\n    \n***This will return a single PsuIdentity::SearchService::Person object matching the query***\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/psu_identity. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/psu_identity/blob/master/CODE_OF_CONDUCT.md).\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the PsuIdentity project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/psu_identity/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsu-libraries%2Fpsu_identity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsu-libraries%2Fpsu_identity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsu-libraries%2Fpsu_identity/lists"}