Skip to content

Commit b4dd4fc

Browse files
committed
Finish 3.1.11
2 parents d39d9a5 + 897d620 commit b4dd4fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+49221
-108165
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- 2.5
2424
- 2.6
2525
- 2.7
26-
#- 3.0 # net-http-persistent
27-
#- ruby-head # net-http-persistent
26+
- 3.0
27+
- ruby-head
2828
#- jruby # Nokogumbo
2929
steps:
3030
- name: Clone repository

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gem 'rdf',
1111
branch: 'develop'
1212

1313
group :development, :test do
14-
gem 'ruby-prof'
14+
gem 'ruby-prof', platform: :mri
1515
gem 'ebnf', git: 'https://github.com/dryruby/ebnf.git', branch: 'develop'
1616
gem 'json-ld', git: 'https://github.com/ruby-rdf/json-ld.git', branch: 'develop'
1717
#gem 'linkeddata', git: 'https://github.com/ruby-rdf/linkeddata.git', branch: 'develop'
@@ -26,6 +26,7 @@ group :development, :test do
2626
gem 'sparql', git: 'https://github.com/ruby-rdf/sparql.git', branch: 'develop'
2727
gem 'sparql-client', git: 'https://github.com/ruby-rdf/sparql-client.git', branch: 'develop'
2828
gem 'sxp', git: 'https://github.com/dryruby/sxp.rb.git', branch: 'develop'
29+
gem 'nokogumbo', '~> 2.0', platform: :mri
2930

3031
gem 'simplecov', platforms: :mri
3132
gem 'coveralls', '~> 0.8', platforms: :mri

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Common OWL/RDFS Vocabularies for use with Ruby [RDF.rb][]
55

66
[![Gem Version](https://badge.fury.io/rb/rdf-vocab.png)](https://badge.fury.io/rb/rdf-vocab)
77
[![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)
8-
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-vocab/badge.svg)](https://coveralls.io/github/ruby-rdf/rdf-vocab)
8+
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-vocab/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-vocab?branch=develop)
99
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
1010

1111
## Extensions

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ RDF::Vocab::VOCABS.each do |id, v|
5353
cmd += " --module-name #{v.fetch(:module_name, "RDF::Vocab")}"
5454
cmd += " --class-name #{v[:class_name] ? v[:class_name] : id.to_s.upcase}"
5555
cmd += " --strict" if v.fetch(:strict, true)
56-
cmd += " --extra #{URI.encode v[:extra].to_json}" if v[:extra]
56+
cmd += " --noDoc"
57+
cmd += " --extra #{URI.encode_www_form_component v[:extra].to_json}" if v[:extra]
5758
cmd += " -o lib/rdf/vocab/#{id}.rb_t"
5859
cmd += " '" + v.fetch(:source, v[:uri]) + "'"
5960
puts " #{cmd}"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.10
1+
3.1.11

etc/doap.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
doap:name "RDF::Vocab" ;
1212
doap:homepage <https://ruby-rdf.github.com/rdf-vocab> ;
1313
doap:license <https://unlicense.org/1.0/> ;
14-
doap:shortdesc "A library of RDF vocabularies"@en ;
15-
doap:description "Defines several standard RDF vocabularies"@en ;
14+
doap:shortdesc "A library of RDF vocabularies for RDF.rb."@en ;
15+
doap:description "Defines several standard RDF vocabularies for the Ruby RDF.rb library suite."@en ;
1616
doap:created "2015-04-04"^^xsd:date ;
1717
doap:programming-language "Ruby" ;
1818
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,

lib/rdf/vocab.rb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,19 @@ module RDF
77
module Vocab
88
autoload :VERSION, 'rdf/vocab/version'
99
VOCABS = {
10-
acl: {uri: "http://www.w3.org/ns/auth/acl#"},
10+
acl: {
11+
uri: "http://www.w3.org/ns/auth/acl#",
12+
patch: %{
13+
@prefix acl: <http://www.w3.org/ns/auth/acl#> .
14+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15+
DeleteExisting {
16+
acl:Access acl:label "access"@en .
17+
} .
18+
AddNew {
19+
acl:Access rdfs:label "access"@en .
20+
} .
21+
}
22+
},
1123
as: {uri: "https://www.w3.org/ns/activitystreams#", source: 'etc/as.ttl'},
1224
bf2: {uri: 'http://id.loc.gov/ontologies/bibframe/'},
1325
bibframe: {

lib/rdf/vocab/acl.rb

Lines changed: 47 additions & 134 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)