From 4c834b78bdd066998acc91c33f43978027e4e6f0 Mon Sep 17 00:00:00 2001 From: "E. Lynette Rayle" Date: Wed, 18 Feb 2015 14:57:45 -0500 Subject: [PATCH 1/2] bump version for release --- lib/ld4l/ore_rdf/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ld4l/ore_rdf/version.rb b/lib/ld4l/ore_rdf/version.rb index aa45e0a..8942441 100644 --- a/lib/ld4l/ore_rdf/version.rb +++ b/lib/ld4l/ore_rdf/version.rb @@ -1,5 +1,5 @@ module LD4L module OreRDF - VERSION = "0.0.3" + VERSION = "0.0.4" end end From a4d285a2a44ceecf874b72bec5a99816b5caca5e Mon Sep 17 00:00:00 2001 From: "E. Lynette Rayle" Date: Wed, 18 Feb 2015 15:28:23 -0500 Subject: [PATCH 2/2] update doc for released gem; fix config examples --- README.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a39222d..6318da9 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,16 @@ Temporary get the gem from github until the gem is released publicly. Add this line to your application's Gemfile: - - gem 'ld4l-ore_rdf', '~> 0.0.3', :git => 'git@github.com:ld4l/ore_rdf.git' +gem 'ld4l-ore_rdf' And then execute: $ bundle install - ## Usage @@ -108,7 +105,7 @@ LD4L::OreRDF.configure do |config| end a = LD4L::OreRDF::AggregationResource.new(ActiveTriples::LocalName::Minter.generate_local_name( - LD4L::OreRDF::AggregationResource, 10, {:prefix=>'a'} )) + LD4L::OreRDF::AggregationResource, 10, {:prefix=>'ag'} )) puts a.dump :ttl ``` @@ -117,10 +114,9 @@ NOTE: If base_uri is not used, you need to restart your interactive environment through the main Examples, the base_uri was set to the default base_uri. -*Example triples created for a person with configured base_uri and default minter.* +*Example triples created for an aggregation with configured base_uri and default minter.* ``` -# TODO Update Type URI - a . + a . ``` *Example usage using configured base_uri and configured localname_minter.* @@ -131,7 +127,7 @@ LD4L::OreRDF.configure do |config| end a = LD4L::OreRDF::AggregationResource.new(ActiveTriples::LocalName::Minter.generate_local_name( - LD4L::OreRDF::AggregationResource, 10, 'a', + LD4L::OreRDF::AggregationResource, 10, 'ag', &LD4L::OreRDF.configuration.localname_minter )) puts a.dump :ttl @@ -141,11 +137,10 @@ NOTE: If base_uri is not used, you need to restart your interactive environment through the main Examples, the base_uri was set to the default base_uri. -*Example triples created for a person with configured base_uri and configured minter.* -``` -# TODO Update Type URI - a . +*Example triples created for an aggregation with configured base_uri and configured minter.* ``` + a . + ``` ### Models @@ -159,7 +154,7 @@ The LD4L::OreRDF gem provides model definitions using the ### Ontologies -The listed ontologies are used to represent the primary metadata about the person. +The listed ontologies are used to represent the primary metadata about aggregation lists. Other ontologies may also be used that aren't listed. * [ORE](http://www.openarchives.org/ore/1.0/vocabulary)