Skip to content

Commit

Permalink
Finish 3.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Feb 16, 2021
2 parents d39d9a5 + 897d620 commit b4dd4fc
Show file tree
Hide file tree
Showing 88 changed files with 49,221 additions and 108,165 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- 2.5
- 2.6
- 2.7
#- 3.0 # net-http-persistent
#- ruby-head # net-http-persistent
- 3.0
- ruby-head
#- jruby # Nokogumbo
steps:
- name: Clone repository
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem 'rdf',
branch: 'develop'

group :development, :test do
gem 'ruby-prof'
gem 'ruby-prof', platform: :mri
gem 'ebnf', git: 'https://github.com/dryruby/ebnf.git', branch: 'develop'
gem 'json-ld', git: 'https://github.com/ruby-rdf/json-ld.git', branch: 'develop'
#gem 'linkeddata', git: 'https://github.com/ruby-rdf/linkeddata.git', branch: 'develop'
Expand All @@ -26,6 +26,7 @@ group :development, :test do
gem 'sparql', git: 'https://github.com/ruby-rdf/sparql.git', branch: 'develop'
gem 'sparql-client', git: 'https://github.com/ruby-rdf/sparql-client.git', branch: 'develop'
gem 'sxp', git: 'https://github.com/dryruby/sxp.rb.git', branch: 'develop'
gem 'nokogumbo', '~> 2.0', platform: :mri

gem 'simplecov', platforms: :mri
gem 'coveralls', '~> 0.8', platforms: :mri
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Common OWL/RDFS Vocabularies for use with Ruby [RDF.rb][]

[![Gem Version](https://badge.fury.io/rb/rdf-vocab.png)](https://badge.fury.io/rb/rdf-vocab)
[![Build Status](https://github.com/ruby-rdf/rdf-vocab/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-vocab/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-vocab/badge.svg)](https://coveralls.io/github/ruby-rdf/rdf-vocab)
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-vocab/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-vocab?branch=develop)
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)

## Extensions
Expand Down
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ RDF::Vocab::VOCABS.each do |id, v|
cmd += " --module-name #{v.fetch(:module_name, "RDF::Vocab")}"
cmd += " --class-name #{v[:class_name] ? v[:class_name] : id.to_s.upcase}"
cmd += " --strict" if v.fetch(:strict, true)
cmd += " --extra #{URI.encode v[:extra].to_json}" if v[:extra]
cmd += " --noDoc"
cmd += " --extra #{URI.encode_www_form_component v[:extra].to_json}" if v[:extra]
cmd += " -o lib/rdf/vocab/#{id}.rb_t"
cmd += " '" + v.fetch(:source, v[:uri]) + "'"
puts " #{cmd}"
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.10
3.1.11
4 changes: 2 additions & 2 deletions etc/doap.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
doap:name "RDF::Vocab" ;
doap:homepage <https://ruby-rdf.github.com/rdf-vocab> ;
doap:license <https://unlicense.org/1.0/> ;
doap:shortdesc "A library of RDF vocabularies"@en ;
doap:description "Defines several standard RDF vocabularies"@en ;
doap:shortdesc "A library of RDF vocabularies for RDF.rb."@en ;
doap:description "Defines several standard RDF vocabularies for the Ruby RDF.rb library suite."@en ;
doap:created "2015-04-04"^^xsd:date ;
doap:programming-language "Ruby" ;
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
Expand Down
14 changes: 13 additions & 1 deletion lib/rdf/vocab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@ module RDF
module Vocab
autoload :VERSION, 'rdf/vocab/version'
VOCABS = {
acl: {uri: "http://www.w3.org/ns/auth/acl#"},
acl: {
uri: "http://www.w3.org/ns/auth/acl#",
patch: %{
@prefix acl: <http://www.w3.org/ns/auth/acl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
DeleteExisting {
acl:Access acl:label "access"@en .
} .
AddNew {
acl:Access rdfs:label "access"@en .
} .
}
},
as: {uri: "https://www.w3.org/ns/activitystreams#", source: 'etc/as.ttl'},
bf2: {uri: 'http://id.loc.gov/ontologies/bibframe/'},
bibframe: {
Expand Down
181 changes: 47 additions & 134 deletions lib/rdf/vocab/acl.rb

Large diffs are not rendered by default.

Loading

0 comments on commit b4dd4fc

Please sign in to comment.