Skip to content

Commit

Permalink
Generally update dependencies and use Ruby 2.6.
Browse files Browse the repository at this point in the history
Update example files.
  • Loading branch information
gkellogg committed Dec 19, 2019
1 parent 4f22eb5 commit 8c38af1
Show file tree
Hide file tree
Showing 7 changed files with 158 additions and 118 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- stage: examples
name: "Verify examples are consistent"
language: ruby
rvm: 2.5
rvm: 2.6
before_install:
- 'gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)'
- 'gem update bundler --conservative'
Expand All @@ -30,7 +30,7 @@ jobs:
# Because (alas) rawgit is end of life, we'll run this only on the master branch.
if: branch = master
language: ruby
rvm: 2.5
rvm: 2.6
before_install:
- 'gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)'
- 'gem update bundler --conservative'
Expand Down
227 changes: 113 additions & 114 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
GIT
remote: https://github.com/ruby-rdf/json-ld.git
revision: 94a5f041320f71ef89e4e82c73a01fd07ab4af27
revision: d0bfdefb6cddac6a22683ff9733a94936c4e5dbe
branch: develop
specs:
json-ld (3.0.2)
json-ld (3.1.0)
htmlentities (~> 4.3)
json-canonicalization (~> 0.1)
link_header (~> 0.0, >= 0.0.8)
multi_json (~> 1.13)
rack (>= 1.6, < 3.0)
rdf (~> 3.0, >= 3.0.8)
multi_json (~> 1.14)
rack (~> 2.0)
rdf (~> 3.1)

GEM
remote: https://rubygems.org/
Expand All @@ -18,13 +18,13 @@ GEM
public_suffix (>= 2.0.2, < 5.0)
bcp47 (0.3.3)
i18n
builder (3.2.3)
builder (3.2.4)
colorize (0.8.1)
concurrent-ruby (1.1.5)
connection_pool (2.2.2)
ebnf (1.1.3)
rdf (~> 3.0)
sxp (~> 1.0)
ebnf (1.2.0)
rdf (~> 3.1)
sxp (~> 1.1)
equivalent-xml (0.6.0)
nokogiri (>= 1.4.3)
haml (5.1.2)
Expand All @@ -36,130 +36,129 @@ GEM
i18n (1.7.0)
concurrent-ruby (~> 1.0)
json-canonicalization (0.1.0)
json-ld-preloaded (3.0.5)
json-ld (~> 3.0)
multi_json (~> 1.12)
rdf (~> 3.0)
ld-patch (0.3.3)
ebnf (~> 1.1)
rdf (>= 2.2, < 4.0)
rdf-xsd (>= 2.2, < 4.0)
sparql (>= 2.2, < 4.0)
sxp (~> 1.0)
json-ld-preloaded (3.1.0)
json-ld (~> 3.1)
rdf (~> 3.1)
ld-patch (3.1.0)
ebnf (~> 1.2)
rdf (~> 3.1)
rdf-xsd (~> 3.1)
sparql (~> 3.1)
sxp (~> 1.1)
link_header (0.0.8)
linkeddata (3.0.1)
linkeddata (3.1.0)
equivalent-xml (~> 0.6)
json-ld (>= 2.2.1, < 4.0)
ld-patch (~> 0.3, >= 0.3.3)
nokogiri (~> 1.8)
nokogumbo (~> 1.5)
rdf (~> 3.0)
rdf-aggregate-repo (>= 2.2.1, < 4.0)
rdf-isomorphic (~> 3.0)
rdf-json (>= 2.2, < 4.0)
rdf-microdata (>= 2.2.3, < 4.0)
rdf-n3 (~> 3.0)
rdf-normalize (~> 0.3, >= 0.3.3)
rdf-rdfa (~> 3.0)
rdf-rdfxml (>= 2.2.1, < 4.0)
rdf-reasoner (~> 0.5.0)
rdf-tabular (>= 2.2.1, < 4.0)
rdf-trig (>= 2.2, < 4.0)
rdf-trix (>= 2.2.1, < 4.0)
rdf-turtle (~> 3.0, >= 3.0.1)
rdf-vocab (~> 3.0)
rdf-xsd (~> 3.0)
shex (~> 0.5, >= 0.5.2)
sparql (~> 3.0)
sparql-client (~> 3.0)
json-ld (~> 3.1)
ld-patch (~> 3.1)
nokogiri (~> 1.10)
nokogumbo (~> 2.0)
rdf (~> 3.1)
rdf-aggregate-repo (~> 3.1)
rdf-isomorphic (~> 3.1)
rdf-json (~> 3.1)
rdf-microdata (~> 3.1)
rdf-n3 (~> 3.1)
rdf-normalize (~> 0.4)
rdf-rdfa (~> 3.1)
rdf-rdfxml (~> 3.1)
rdf-reasoner (~> 0.6)
rdf-tabular (~> 3.1)
rdf-trig (~> 3.1)
rdf-trix (~> 3.1)
rdf-turtle (~> 3.1)
rdf-vocab (~> 3.1)
rdf-xsd (~> 3.1)
shex (~> 0.6)
sparql (~> 3.1)
sparql-client (~> 3.1)
mini_portile2 (2.4.0)
multi_json (1.14.1)
net-http-persistent (3.1.0)
connection_pool (~> 2.2)
nokogiri (1.10.4)
nokogiri (1.10.7)
mini_portile2 (~> 2.4.0)
nokogumbo (1.5.0)
nokogiri
nokogumbo (2.0.2)
nokogiri (~> 1.8, >= 1.8.4)
public_suffix (4.0.1)
rack (2.0.8)
rake (13.0.0)
rdf (3.0.12)
rake (13.0.1)
rdf (3.1.0)
hamster (~> 3.0)
link_header (~> 0.0, >= 0.0.8)
rdf-aggregate-repo (2.2.1)
rdf (>= 2.2, < 4.0)
rdf-isomorphic (3.0.0)
rdf (~> 3.0)
rdf-json (2.2.0)
rdf (>= 2.2, < 4.0)
rdf-microdata (2.2.3)
rdf-aggregate-repo (3.1.0)
rdf (~> 3.1)
rdf-isomorphic (3.1.0)
rdf (~> 3.1)
rdf-json (3.1.0)
rdf (~> 3.1)
rdf-microdata (3.1.0)
htmlentities (~> 4.3)
nokogiri (~> 1.8)
rdf (>= 2.2.8, < 4.0)
rdf-xsd (>= 2.2, < 4.0)
rdf-n3 (3.1.0)
rdf (~> 3.0)
sparql (~> 3.0)
sxp (~> 1.0)
rdf-normalize (0.3.3)
rdf (>= 2.2, < 4.0)
rdf-rdfa (3.0.1)
haml (~> 5.0)
nokogiri (~> 1.10)
rdf (~> 3.1)
rdf-xsd (~> 3.1)
rdf-n3 (3.1.1)
rdf (~> 3.1)
sparql (~> 3.1)
sxp (~> 1.1)
rdf-normalize (0.4.0)
rdf (~> 3.1)
rdf-rdfa (3.1.0)
haml (~> 5.1)
htmlentities (~> 4.3)
rdf (~> 3.0)
rdf-aggregate-repo (>= 2.2, < 4.0)
rdf-xsd (~> 3.0)
rdf-rdfxml (2.2.1)
rdf (~> 3.1)
rdf-aggregate-repo (~> 3.1)
rdf-xsd (~> 3.1)
rdf-rdfxml (3.1.0)
htmlentities (~> 4.3)
rdf (>= 2.2, < 4.0)
rdf-rdfa (>= 2.2, < 4.0)
rdf-xsd (>= 2.2, < 4.0)
rdf-reasoner (0.5.2)
rdf (~> 3.0)
rdf-vocab (~> 3.0)
rdf-xsd (~> 3.0)
rdf-tabular (2.2.2)
rdf (~> 3.1)
rdf-rdfa (~> 3.1)
rdf-xsd (~> 3.1)
rdf-reasoner (0.6.0)
rdf (~> 3.1)
rdf-vocab (~> 3.1)
rdf-xsd (~> 3.1)
rdf-tabular (3.1.0)
addressable (~> 2.3)
bcp47 (~> 0.3, >= 0.3.3)
json-ld (>= 2.1, < 4.0)
rdf (~> 3.0)
rdf-vocab (~> 3.0)
rdf-xsd (~> 3.0)
rdf-trig (3.0.1)
ebnf (~> 1.1)
rdf (~> 3.0)
rdf-turtle (~> 3.0, >= 3.0.3)
rdf-trix (2.2.1)
rdf (>= 2.2, < 4.0)
rdf-turtle (3.0.6)
json-ld (~> 3.1)
rdf (~> 3.1)
rdf-vocab (~> 3.1)
rdf-xsd (~> 3.1)
rdf-trig (3.1.0)
ebnf (~> 1.1)
rdf (~> 3.0)
rdf-vocab (3.0.11)
rdf (~> 3.0, >= 3.0.11)
rdf-xsd (3.0.1)
rdf (~> 3.0)
rdf (~> 3.1)
rdf-turtle (~> 3.1)
rdf-trix (3.1.0)
rdf (~> 3.1)
rdf-turtle (3.1.0)
ebnf (~> 1.2)
rdf (~> 3.1)
rdf-vocab (3.1.0)
rdf (~> 3.1)
rdf-xsd (3.1.0)
rdf (~> 3.1)
redcarpet (3.5.0)
shex (0.5.2)
ebnf (~> 1.1)
json-ld (>= 2.2, < 4.0)
json-ld-preloaded (>= 2.2, < 4.0)
rdf (>= 2.2, < 4.0)
rdf-xsd (>= 2.2, < 4.0)
sparql (>= 2.2, < 4.0)
sxp (~> 1.0)
sparql (3.0.2)
shex (0.6.0)
ebnf (~> 1.2)
json-ld (~> 3.1)
json-ld-preloaded (~> 3.1)
rdf (~> 3.1)
rdf-xsd (~> 3.1)
sparql (~> 3.1)
sxp (~> 1.1)
sparql (3.1.0)
builder (~> 3.2)
ebnf (~> 1.1)
rdf (~> 3.0)
rdf-aggregate-repo (>= 2.2, < 4.0)
rdf-xsd (~> 3.0)
sparql-client (~> 3.0)
sxp (~> 1.0)
sparql-client (3.0.1)
net-http-persistent (>= 2.9, < 4)
rdf (~> 3.0)
sxp (1.0.2)
rdf (~> 3.0)
ebnf (~> 1.2)
rdf (~> 3.1)
rdf-aggregate-repo (~> 3.1)
rdf-xsd (~> 3.1)
sparql-client (~> 3.1)
sxp (~> 1.1)
sparql-client (3.1.0)
net-http-persistent (~> 3.1)
rdf (~> 3.1)
sxp (1.1.0)
rdf (~> 3.1)
temple (0.8.2)
tilt (2.0.10)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[{
"@id": "http://me.markus-lanthaler.com/",
"http://xmlns.com/foaf/0.1/name": [
{"@value": "Markus Lanthaler"}
],
"http://xmlns.com/foaf/0.1/homepage": [
{"@id": "http://www.markus-lanthaler.com/"}
]
}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><body><table class="statements" data-result-for="Sample JSON-LD document using an IRI instead of a term to express a property-expanded">
<thead><tr>
<th>Subject</th>
<th>Property</th>
<th>Value</th>
</tr></thead>
<tbody>
<tr>
<td>http://me.markus-lanthaler.com/</td>
<td>foaf:name</td>
<td>Markus Lanthaler</td>
</tr>
<tr>
<td>http://me.markus-lanthaler.com/</td>
<td>http://xmlns.com/foaf/0.1/homepage</td>
<td>http://www.markus-lanthaler.com/</td>
</tr>
</tbody>
</table></body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://me.markus-lanthaler.com/> foaf:name "Markus Lanthaler";
foaf:homepage <http://www.markus-lanthaler.com/> .
6 changes: 4 additions & 2 deletions examples/Sample-Turtle-document.ttl
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<http://me.markus-lanthaler.com/> <http://xmlns.com/foaf/0.1/name> "Markus Lanthaler" .
<http://me.markus-lanthaler.com/> <http://xmlns.com/foaf/0.1/homepage> <http://www.markus-lanthaler.com/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://me.markus-lanthaler.com/>
foaf:name "Markus Lanthaler" ;
foaf:homepage <http://www.markus-lanthaler.com/> .
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Example 004: Sample JSON-LD document using an IRI instead of a term to express a property-expanded
---
- "@id": http://me.markus-lanthaler.com/
http://xmlns.com/foaf/0.1/name:
- "@value": Markus Lanthaler
http://xmlns.com/foaf/0.1/homepage:
- "@id": http://www.markus-lanthaler.com/

0 comments on commit 8c38af1

Please sign in to comment.