{"id":16068075,"url":"https://github.com/ged/redleaf","last_synced_at":"2025-03-18T05:31:07.363Z","repository":{"id":2127351,"uuid":"3070348","full_name":"ged/redleaf","owner":"ged","description":"A better Ruby binding for the Redland RDF library (librdf)","archived":false,"fork":false,"pushed_at":"2012-01-17T17:45:23.000Z","size":3636,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T07:32:57.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://deveiate.org/projects/Redleaf","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tiancaiamao/go-internals","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ged.png","metadata":{"files":{"readme":"README.rdoc","changelog":"History.rdoc","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":"2011-12-29T18:48:35.000Z","updated_at":"2021-11-29T00:05:13.000Z","dependencies_parsed_at":"2022-09-13T11:52:10.495Z","dependency_job_id":null,"html_url":"https://github.com/ged/redleaf","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Fredleaf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Fredleaf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Fredleaf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Fredleaf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ged","download_url":"https://codeload.github.com/ged/redleaf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243903163,"owners_count":20366433,"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-10-09T06:08:23.771Z","updated_at":"2025-03-18T05:31:04.763Z","avatar_url":"https://github.com/ged.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redleaf\n\n* http://deveiate.org/projects/Redleaf\n\n## Description\n\nRedleaf is an RDF library for Ruby. It's composed of a hand-written binding\nfor the Redland RDF Library, and a high-level layer that adds some idioms that\nRubyists might find more familiar.\n\nIt currently binds a good slice of the functionality that is offered by\nRedland, but is still missing a few features. There are plans to add them in\nthe near future. We've built and deployed projects using it, but the API may\nhave to change somewhat as we learn more.\n\n\n## Installation\n\nAfter installing Redland from http://librdf.org/:\n\n    gem install redleaf\n\n\n## Contributing\n\nYou can check out the current development source with Mercurial like so:\n\n    hg clone http://repo.deveiate.org/Redleaf\n\nOr if you prefer Git, via its Github mirror:\n\n    https://github.com/ged/redleaf\n\nAfter checking out the source, install Hoe (gem install hoe) if you haven't \nalready and run:\n\n\t$ rake newb\n\nThis task will install any missing dependencies, run the tests/specs, and\ngenerate the API documentation.\n\n\n### RDBMS-backed Store Tests\n\nNote that the Redleaf::Store classes that store triples in an RDBMS actually\ndo connect to a database. While this is not ideal (I'd much rather they work\nin isolation), it can't be helped if the corresponding bindings are to be\ntestable. Connection errors should be handled gracefully as 'Pending'\nexamples, but if you want to exercise one or more of them, just make a YAML\nfile called 'test-config.yml' in the base directory, and add a Hash for each\nbackend you wish to test with the requisite connection information. An example\nis provided as 'test-config.yml.example'.\n\n### W3C and RDFa Auto-Generated Tests\n\nRedleaf includes an optional (and only partially-finished) implementation of\nthe W3C RDF test suite (http://www.w3.org/TR/rdf-testcases/) and the RDFa test\nsuite (http://www.w3.org/2006/07/SWD/RDFa/testsuite/) that run using Redleaf.\nThere are rake tasks (`w3ctests` and `rdfatests` respecively) that will fetch\nthe latest test manifests and data files and generate specs in the spec/\ndirectory that then are included in the normal 'rake spec' run.\n\nThere are currently a large number of failures in the W3C test suite, but I've\nyet to determine whether they indicate a problem in Redleaf, Redland, or with\nthe way I'm generating the specs. Suggestions or help in fixing them would be\ngreatly appreciated.\n\nThe tests are really not that useful to the end-user (IMO), so they're not\ndistributed in the gem, and I'd ask that you only run them if you're\ninterested in helping out with them, as they do fetch files from other\npeoples' servers (albeit with a sleep between each request).\n\nSee the spec/README file for more information on what the various files under\nspec/ do.\n\n\n## Contributors\n\n* Thanks to Leslie Wu (lwu2 at graphics.stanford.edu) for her suggestions and\n  bug reports.\n* Thanks to Gregg Kellogg (gregg at kellogg-assoc.com) for suggestions\n  regarding the testing of the RDBMS-backed stores.\n\n\n## License\n\nCopyright (c) 2008-2011, Michael Granger\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice,\n  this list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author/s, nor the names of the project's\n  contributors may be used to endorse or promote products derived from this\n  software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fged%2Fredleaf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fged%2Fredleaf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fged%2Fredleaf/lists"}