Skip to content

Commit

Permalink
Finish 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Oct 7, 2022
2 parents 50a7c75 + db04d9e commit 7cbbb86
Show file tree
Hide file tree
Showing 9 changed files with 192 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
ruby:
- 2.6
- 2.7
- 3.0
- "3.0"
- 3.1
- ruby-head
- jruby
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build & deploy documentation
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Update gh-pages with docs
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
- name: Install required gem dependencies
run: gem install yard --no-document
- name: Build YARD Ruby Documentation
run: yardoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/yard
publish_branch: gh-pages
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ group 'development' do
gem 'rdf-isomorphic', github: "ruby-rdf/rdf-isomorphic", branch: "develop"
gem 'rdf-vocab', github: "ruby-rdf/rdf-vocab", branch: "develop"
gem 'sxp', github: "dryruby/sxp.rb", branch: "develop"
gem 'nokogiri', '~> 1.10'
gem 'nokogiri', '~> 1.13', '>= 1.13.4'
end

group :debug do
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.2.1
7 changes: 7 additions & 0 deletions json-ld-preloaded.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Gem::Specification.new do |gem|
gem.license = 'Unlicense'
gem.summary = "JSON-LD with preloaded contexts for RDF.rb."
gem.description = "A meta-release of the json-ld gem including preloaded vocabularies for the Ruby RDF.rb library suite."
gem.metadata = {
"documentation_uri" => "https://ruby-rdf.github.io/json-ld-preloaded",
"bug_tracker_uri" => "https://github.com/ruby-rdf/json-ld-preloaded/issues",
"homepage_uri" => "https://github.com/ruby-rdf/json-ld-preloaded",
"mailing_list_uri" => "https://lists.w3.org/Archives/Public/public-rdf-ruby/",
"source_code_uri" => "https://github.com/ruby-rdf/json-ld-preloaded",
}

gem.authors = ['Gregg Kellogg']
gem.email = '[email protected]'
Expand Down
7 changes: 7 additions & 0 deletions lib/json/ld/preloaded/entityfacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ class JSON::LD::Context
"associatedCountry" => TermDefinition.new("associatedCountry", id: "https://d-nb.info/standards/elementset/gnd#geographicAreaCode", type_mapping: "@id"),
"associatedDate" => TermDefinition.new("associatedDate", id: "https://d-nb.info/standards/elementset/gnd#associatedDate", simple: true),
"associatedPlace" => TermDefinition.new("associatedPlace", id: "https://d-nb.info/standards/elementset/gnd#associatedPlace", simple: true),
"attributionRequired" => TermDefinition.new("attributionRequired", id: "https://d-nb.info/standards/elementset/dnb#attributionRequired", simple: true),
"biographicalOrHistoricalInformation" => TermDefinition.new("biographicalOrHistoricalInformation", id: "https://d-nb.info/standards/elementset/gnd#biographicalOrHistoricalInformation", language_mapping: "de"),
"collection" => TermDefinition.new("collection", id: "https://d-nb.info/standards/elementset/dnb#isDescribedIn", simple: true),
"coordinates" => TermDefinition.new("coordinates", id: "https://purl.org/geojson/vocab#coordinates", container_mapping: "@list"),
"copyrighted" => TermDefinition.new("copyrighted", id: "https://d-nb.info/standards/elementset/dnb#copyrighted", simple: true),
"creator" => TermDefinition.new("creator", id: "http://purl.org/dc/elements/1.1/creator", simple: true),
"creditText" => TermDefinition.new("creditText", id: "https://schema.org/creditText", simple: true),
"dateOfBirth" => TermDefinition.new("dateOfBirth", id: "https://d-nb.info/standards/elementset/gnd#dateOfBirth", simple: true),
"dateOfBirthAndDeath" => TermDefinition.new("dateOfBirthAndDeath", id: "https://d-nb.info/standards/elementset/gnd#dateOfBirthAndDeath", simple: true),
"dateOfDeath" => TermDefinition.new("dateOfDeath", id: "https://d-nb.info/standards/elementset/gnd#dateOfDeath", simple: true),
Expand All @@ -27,6 +31,7 @@ class JSON::LD::Context
"dateOfTermination" => TermDefinition.new("dateOfTermination", id: "https://d-nb.info/standards/elementset/gnd#dateOfTermination", simple: true),
"depiction" => TermDefinition.new("depiction", id: "http://xmlns.com/foaf/0.1/depiction", simple: true),
"describedBy" => TermDefinition.new("describedBy", id: "http://www.w3.org/2007/05/powder-s#describedby", simple: true),
"description" => TermDefinition.new("description", id: "http://purl.org/dc/terms/description", simple: true),
"event" => TermDefinition.new("event", id: "https://d-nb.info/standards/elementset/gnd#ConferenceOrEvent", simple: true),
"familialRelationship" => TermDefinition.new("familialRelationship", id: "https://d-nb.info/standards/elementset/gnd#familialRelationship", simple: true),
"family" => TermDefinition.new("family", id: "https://d-nb.info/standards/elementset/gnd#Family", simple: true),
Expand Down Expand Up @@ -65,11 +70,13 @@ class JSON::LD::Context
"relatedOrganisation" => TermDefinition.new("relatedOrganisation", id: "https://d-nb.info/standards/elementset/gnd#relatedCorporateBody", simple: true),
"relatedPerson" => TermDefinition.new("relatedPerson", id: "https://d-nb.info/standards/elementset/gnd#relatedPerson", type_mapping: "https://d-nb.info/standards/elementset/gnd#Person"),
"relatedSubject" => TermDefinition.new("relatedSubject", id: "https://d-nb.info/standards/elementset/gnd#relatedSubjectHeading", type_mapping: "https://d-nb.info/standards/elementset/gnd#SubjectHeading"),
"restrictions" => TermDefinition.new("restrictions", id: "http://rdaregistry.info/Elements/u/P60497", simple: true),
"sameAs" => TermDefinition.new("sameAs", id: "http://schema.org/sameAs", simple: true),
"subject" => TermDefinition.new("subject", id: "https://d-nb.info/standards/elementset/gnd#SubjectHeading", simple: true),
"successor" => TermDefinition.new("successor", id: "https://d-nb.info/standards/elementset/gnd#successor", simple: true),
"surname" => TermDefinition.new("surname", id: "https://d-nb.info/standards/elementset/gnd#surname", simple: true),
"thumbnail" => TermDefinition.new("thumbnail", id: "http://xmlns.com/foaf/0.1/thumbnail", simple: true),
"title" => TermDefinition.new("title", id: "http://purl.org/dc/terms/title", simple: true),
"titleOfNobility" => TermDefinition.new("titleOfNobility", id: "https://d-nb.info/standards/elementset/gnd#titleOfNobility", language_mapping: "de"),
"topic" => TermDefinition.new("topic", id: "https://d-nb.info/standards/elementset/gnd#topic", simple: true),
"type" => TermDefinition.new("type", id: "@type", simple: true),
Expand Down
Loading

0 comments on commit 7cbbb86

Please sign in to comment.