{"id":15059259,"url":"https://github.com/samvera/ldp","last_synced_at":"2025-04-10T05:23:04.407Z","repository":{"id":38805110,"uuid":"11781893","full_name":"samvera/ldp","owner":"samvera","description":"Linked Data Platform.rb client","archived":false,"fork":false,"pushed_at":"2024-01-23T21:10:46.000Z","size":306,"stargazers_count":15,"open_issues_count":20,"forks_count":15,"subscribers_count":62,"default_branch":"main","last_synced_at":"2024-04-26T06:03:08.926Z","etag":null,"topics":["core-components","fcrepo","fedora","samvera-community"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samvera.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-31T03:52:38.000Z","updated_at":"2024-06-19T00:04:19.393Z","dependencies_parsed_at":"2024-06-22T22:02:59.806Z","dependency_job_id":null,"html_url":"https://github.com/samvera/ldp","commit_stats":{"total_commits":214,"total_committers":29,"mean_commits":7.379310344827586,"dds":0.705607476635514,"last_synced_commit":"2e2707a9d27f6c6d4a9e2083275a04ec481ac87d"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Fldp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Fldp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Fldp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Fldp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samvera","download_url":"https://codeload.github.com/samvera/ldp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161687,"owners_count":21057634,"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":["core-components","fcrepo","fedora","samvera-community"],"created_at":"2024-09-24T22:40:08.652Z","updated_at":"2025-04-10T05:23:04.367Z","avatar_url":"https://github.com/samvera.png","language":"Ruby","readme":"# ldp (Linked Data Platform)\n\nCode:\n[![Gem Version](https://badge.fury.io/rb/ldp.png)](http://badge.fury.io/rb/ldp)\n[![Build Status](https://circleci.com/gh/samvera/ldp.svg?style=svg)](https://circleci.com/gh/samvera/ldp)\n[![Coverage Status](https://coveralls.io/repos/github/samvera/ldp/badge.svg?branch=main)](https://coveralls.io/github/samvera/ldp?branch=main)\n\nDocs:\n[![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)\n[![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE.txt)\n\nCommunity Support: [![Samvera Community Slack](https://img.shields.io/badge/samvera-slack-blueviolet)](http://slack.samvera.org/)\n\n# What is `ldp`?\n\n[Linked Data Platform](https://www.w3.org/TR/ldp/) client library for Ruby\n\n## Product Owner \u0026 Maintenance\n\n`ldp` is a Core Component of the Samvera Community. The documentation for what this means can be found [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).\n\n### Product Owner\n\n[randalldfloyd](https://github.com/randalldfloyd)\n\n# Help\n\nThe Samvera community is here to help. Please see our [support guide](./SUPPORT.md).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'ldp'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ldp\n\n## Usage\n\n```ruby\nhost = 'http://localhost:8080'\nclient = Ldp::Client.new(host)\nresource = Ldp::Resource.new(client, host + '/rest/node/to/update')\norm = Ldp::Orm.new(resource)\n\n# view the current title(s)\norm.orm.value(RDF::DC11.title)\n\n# update the title\norm.graph.delete([orm.resource.subject_uri, RDF::DC11.title, nil])\norm.graph.insert([orm.resource.subject_uri, RDF::DC11.title, 'a new title'])\n\n# save changes\norm.save\n```\n## Contributing \n\nIf you're working on PR for this project, create a feature branch off of `main`. \n\nThis repository follows the [Samvera Community Code of Conduct](https://samvera.atlassian.net/wiki/spaces/samvera/pages/405212316/Code+of+Conduct) and [language recommendations](https://github.com/samvera/maintenance/blob/main/templates/CONTRIBUTING.md#language).  Please ***do not*** create a branch called `main` for this repository or as part of your pull request; the branch will either need to be removed or renamed before it can be considered for inclusion in the code base and history of this repository.\n\n## Testing:\n\n- Set Rails version you want to test against. For example:\n\n  - `export RAILS_VERSION=5.1.4`\n\n- Ensure that the correct version of Rails is installed: `bundle update`\n\n- And run tests: `bundle exec rake rspec`\n\n## Releasing\n\n1. `bundle install`\n2. Increase the version number in `lib/ldp/version.rb`\n3. Increase the same version number in `.github_changelog_generator`\n4. Update `CHANGELOG.md` by running this command:\n  ```\n  github_changelog_generator --user samvera --project ldp --token YOUR_GITHUB_TOKEN_HERE\n  ```\n5. Commit these changes to the main branch\n6. Run `rake release`\n\n# Acknowledgments\nThis software has been developed by and is brought to you by the Samvera community.  Learn more at the\n[Samvera website](http://samvera.org)\n\n![Samvera Logo](https://raw.githubusercontent.com/samvera/maintenance/main/assets/samvera_tree.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamvera%2Fldp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamvera%2Fldp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamvera%2Fldp/lists"}