Skip to content

Commit 8c38af1

Browse files
committed
Generally update dependencies and use Ruby 2.6.
Update example files.
1 parent 4f22eb5 commit 8c38af1

7 files changed

+158
-118
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- stage: examples
1717
name: "Verify examples are consistent"
1818
language: ruby
19-
rvm: 2.5
19+
rvm: 2.6
2020
before_install:
2121
- 'gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)'
2222
- 'gem update bundler --conservative'
@@ -30,7 +30,7 @@ jobs:
3030
# Because (alas) rawgit is end of life, we'll run this only on the master branch.
3131
if: branch = master
3232
language: ruby
33-
rvm: 2.5
33+
rvm: 2.6
3434
before_install:
3535
- 'gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)'
3636
- 'gem update bundler --conservative'

Gemfile.lock

+113-114
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
GIT
22
remote: https://github.com/ruby-rdf/json-ld.git
3-
revision: 94a5f041320f71ef89e4e82c73a01fd07ab4af27
3+
revision: d0bfdefb6cddac6a22683ff9733a94936c4e5dbe
44
branch: develop
55
specs:
6-
json-ld (3.0.2)
6+
json-ld (3.1.0)
77
htmlentities (~> 4.3)
88
json-canonicalization (~> 0.1)
99
link_header (~> 0.0, >= 0.0.8)
10-
multi_json (~> 1.13)
11-
rack (>= 1.6, < 3.0)
12-
rdf (~> 3.0, >= 3.0.8)
10+
multi_json (~> 1.14)
11+
rack (~> 2.0)
12+
rdf (~> 3.1)
1313

1414
GEM
1515
remote: https://rubygems.org/
@@ -18,13 +18,13 @@ GEM
1818
public_suffix (>= 2.0.2, < 5.0)
1919
bcp47 (0.3.3)
2020
i18n
21-
builder (3.2.3)
21+
builder (3.2.4)
2222
colorize (0.8.1)
2323
concurrent-ruby (1.1.5)
2424
connection_pool (2.2.2)
25-
ebnf (1.1.3)
26-
rdf (~> 3.0)
27-
sxp (~> 1.0)
25+
ebnf (1.2.0)
26+
rdf (~> 3.1)
27+
sxp (~> 1.1)
2828
equivalent-xml (0.6.0)
2929
nokogiri (>= 1.4.3)
3030
haml (5.1.2)
@@ -36,130 +36,129 @@ GEM
3636
i18n (1.7.0)
3737
concurrent-ruby (~> 1.0)
3838
json-canonicalization (0.1.0)
39-
json-ld-preloaded (3.0.5)
40-
json-ld (~> 3.0)
41-
multi_json (~> 1.12)
42-
rdf (~> 3.0)
43-
ld-patch (0.3.3)
44-
ebnf (~> 1.1)
45-
rdf (>= 2.2, < 4.0)
46-
rdf-xsd (>= 2.2, < 4.0)
47-
sparql (>= 2.2, < 4.0)
48-
sxp (~> 1.0)
39+
json-ld-preloaded (3.1.0)
40+
json-ld (~> 3.1)
41+
rdf (~> 3.1)
42+
ld-patch (3.1.0)
43+
ebnf (~> 1.2)
44+
rdf (~> 3.1)
45+
rdf-xsd (~> 3.1)
46+
sparql (~> 3.1)
47+
sxp (~> 1.1)
4948
link_header (0.0.8)
50-
linkeddata (3.0.1)
49+
linkeddata (3.1.0)
5150
equivalent-xml (~> 0.6)
52-
json-ld (>= 2.2.1, < 4.0)
53-
ld-patch (~> 0.3, >= 0.3.3)
54-
nokogiri (~> 1.8)
55-
nokogumbo (~> 1.5)
56-
rdf (~> 3.0)
57-
rdf-aggregate-repo (>= 2.2.1, < 4.0)
58-
rdf-isomorphic (~> 3.0)
59-
rdf-json (>= 2.2, < 4.0)
60-
rdf-microdata (>= 2.2.3, < 4.0)
61-
rdf-n3 (~> 3.0)
62-
rdf-normalize (~> 0.3, >= 0.3.3)
63-
rdf-rdfa (~> 3.0)
64-
rdf-rdfxml (>= 2.2.1, < 4.0)
65-
rdf-reasoner (~> 0.5.0)
66-
rdf-tabular (>= 2.2.1, < 4.0)
67-
rdf-trig (>= 2.2, < 4.0)
68-
rdf-trix (>= 2.2.1, < 4.0)
69-
rdf-turtle (~> 3.0, >= 3.0.1)
70-
rdf-vocab (~> 3.0)
71-
rdf-xsd (~> 3.0)
72-
shex (~> 0.5, >= 0.5.2)
73-
sparql (~> 3.0)
74-
sparql-client (~> 3.0)
51+
json-ld (~> 3.1)
52+
ld-patch (~> 3.1)
53+
nokogiri (~> 1.10)
54+
nokogumbo (~> 2.0)
55+
rdf (~> 3.1)
56+
rdf-aggregate-repo (~> 3.1)
57+
rdf-isomorphic (~> 3.1)
58+
rdf-json (~> 3.1)
59+
rdf-microdata (~> 3.1)
60+
rdf-n3 (~> 3.1)
61+
rdf-normalize (~> 0.4)
62+
rdf-rdfa (~> 3.1)
63+
rdf-rdfxml (~> 3.1)
64+
rdf-reasoner (~> 0.6)
65+
rdf-tabular (~> 3.1)
66+
rdf-trig (~> 3.1)
67+
rdf-trix (~> 3.1)
68+
rdf-turtle (~> 3.1)
69+
rdf-vocab (~> 3.1)
70+
rdf-xsd (~> 3.1)
71+
shex (~> 0.6)
72+
sparql (~> 3.1)
73+
sparql-client (~> 3.1)
7574
mini_portile2 (2.4.0)
7675
multi_json (1.14.1)
7776
net-http-persistent (3.1.0)
7877
connection_pool (~> 2.2)
79-
nokogiri (1.10.4)
78+
nokogiri (1.10.7)
8079
mini_portile2 (~> 2.4.0)
81-
nokogumbo (1.5.0)
82-
nokogiri
80+
nokogumbo (2.0.2)
81+
nokogiri (~> 1.8, >= 1.8.4)
8382
public_suffix (4.0.1)
8483
rack (2.0.8)
85-
rake (13.0.0)
86-
rdf (3.0.12)
84+
rake (13.0.1)
85+
rdf (3.1.0)
8786
hamster (~> 3.0)
8887
link_header (~> 0.0, >= 0.0.8)
89-
rdf-aggregate-repo (2.2.1)
90-
rdf (>= 2.2, < 4.0)
91-
rdf-isomorphic (3.0.0)
92-
rdf (~> 3.0)
93-
rdf-json (2.2.0)
94-
rdf (>= 2.2, < 4.0)
95-
rdf-microdata (2.2.3)
88+
rdf-aggregate-repo (3.1.0)
89+
rdf (~> 3.1)
90+
rdf-isomorphic (3.1.0)
91+
rdf (~> 3.1)
92+
rdf-json (3.1.0)
93+
rdf (~> 3.1)
94+
rdf-microdata (3.1.0)
9695
htmlentities (~> 4.3)
97-
nokogiri (~> 1.8)
98-
rdf (>= 2.2.8, < 4.0)
99-
rdf-xsd (>= 2.2, < 4.0)
100-
rdf-n3 (3.1.0)
101-
rdf (~> 3.0)
102-
sparql (~> 3.0)
103-
sxp (~> 1.0)
104-
rdf-normalize (0.3.3)
105-
rdf (>= 2.2, < 4.0)
106-
rdf-rdfa (3.0.1)
107-
haml (~> 5.0)
96+
nokogiri (~> 1.10)
97+
rdf (~> 3.1)
98+
rdf-xsd (~> 3.1)
99+
rdf-n3 (3.1.1)
100+
rdf (~> 3.1)
101+
sparql (~> 3.1)
102+
sxp (~> 1.1)
103+
rdf-normalize (0.4.0)
104+
rdf (~> 3.1)
105+
rdf-rdfa (3.1.0)
106+
haml (~> 5.1)
108107
htmlentities (~> 4.3)
109-
rdf (~> 3.0)
110-
rdf-aggregate-repo (>= 2.2, < 4.0)
111-
rdf-xsd (~> 3.0)
112-
rdf-rdfxml (2.2.1)
108+
rdf (~> 3.1)
109+
rdf-aggregate-repo (~> 3.1)
110+
rdf-xsd (~> 3.1)
111+
rdf-rdfxml (3.1.0)
113112
htmlentities (~> 4.3)
114-
rdf (>= 2.2, < 4.0)
115-
rdf-rdfa (>= 2.2, < 4.0)
116-
rdf-xsd (>= 2.2, < 4.0)
117-
rdf-reasoner (0.5.2)
118-
rdf (~> 3.0)
119-
rdf-vocab (~> 3.0)
120-
rdf-xsd (~> 3.0)
121-
rdf-tabular (2.2.2)
113+
rdf (~> 3.1)
114+
rdf-rdfa (~> 3.1)
115+
rdf-xsd (~> 3.1)
116+
rdf-reasoner (0.6.0)
117+
rdf (~> 3.1)
118+
rdf-vocab (~> 3.1)
119+
rdf-xsd (~> 3.1)
120+
rdf-tabular (3.1.0)
122121
addressable (~> 2.3)
123122
bcp47 (~> 0.3, >= 0.3.3)
124-
json-ld (>= 2.1, < 4.0)
125-
rdf (~> 3.0)
126-
rdf-vocab (~> 3.0)
127-
rdf-xsd (~> 3.0)
128-
rdf-trig (3.0.1)
129-
ebnf (~> 1.1)
130-
rdf (~> 3.0)
131-
rdf-turtle (~> 3.0, >= 3.0.3)
132-
rdf-trix (2.2.1)
133-
rdf (>= 2.2, < 4.0)
134-
rdf-turtle (3.0.6)
123+
json-ld (~> 3.1)
124+
rdf (~> 3.1)
125+
rdf-vocab (~> 3.1)
126+
rdf-xsd (~> 3.1)
127+
rdf-trig (3.1.0)
135128
ebnf (~> 1.1)
136-
rdf (~> 3.0)
137-
rdf-vocab (3.0.11)
138-
rdf (~> 3.0, >= 3.0.11)
139-
rdf-xsd (3.0.1)
140-
rdf (~> 3.0)
129+
rdf (~> 3.1)
130+
rdf-turtle (~> 3.1)
131+
rdf-trix (3.1.0)
132+
rdf (~> 3.1)
133+
rdf-turtle (3.1.0)
134+
ebnf (~> 1.2)
135+
rdf (~> 3.1)
136+
rdf-vocab (3.1.0)
137+
rdf (~> 3.1)
138+
rdf-xsd (3.1.0)
139+
rdf (~> 3.1)
141140
redcarpet (3.5.0)
142-
shex (0.5.2)
143-
ebnf (~> 1.1)
144-
json-ld (>= 2.2, < 4.0)
145-
json-ld-preloaded (>= 2.2, < 4.0)
146-
rdf (>= 2.2, < 4.0)
147-
rdf-xsd (>= 2.2, < 4.0)
148-
sparql (>= 2.2, < 4.0)
149-
sxp (~> 1.0)
150-
sparql (3.0.2)
141+
shex (0.6.0)
142+
ebnf (~> 1.2)
143+
json-ld (~> 3.1)
144+
json-ld-preloaded (~> 3.1)
145+
rdf (~> 3.1)
146+
rdf-xsd (~> 3.1)
147+
sparql (~> 3.1)
148+
sxp (~> 1.1)
149+
sparql (3.1.0)
151150
builder (~> 3.2)
152-
ebnf (~> 1.1)
153-
rdf (~> 3.0)
154-
rdf-aggregate-repo (>= 2.2, < 4.0)
155-
rdf-xsd (~> 3.0)
156-
sparql-client (~> 3.0)
157-
sxp (~> 1.0)
158-
sparql-client (3.0.1)
159-
net-http-persistent (>= 2.9, < 4)
160-
rdf (~> 3.0)
161-
sxp (1.0.2)
162-
rdf (~> 3.0)
151+
ebnf (~> 1.2)
152+
rdf (~> 3.1)
153+
rdf-aggregate-repo (~> 3.1)
154+
rdf-xsd (~> 3.1)
155+
sparql-client (~> 3.1)
156+
sxp (~> 1.1)
157+
sparql-client (3.1.0)
158+
net-http-persistent (~> 3.1)
159+
rdf (~> 3.1)
160+
sxp (1.1.0)
161+
rdf (~> 3.1)
163162
temple (0.8.2)
164163
tilt (2.0.10)
165164

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[{
2+
"@id": "http://me.markus-lanthaler.com/",
3+
"http://xmlns.com/foaf/0.1/name": [
4+
{"@value": "Markus Lanthaler"}
5+
],
6+
"http://xmlns.com/foaf/0.1/homepage": [
7+
{"@id": "http://www.markus-lanthaler.com/"}
8+
]
9+
}]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2+
<html><body><table class="statements" data-result-for="Sample JSON-LD document using an IRI instead of a term to express a property-expanded">
3+
<thead><tr>
4+
<th>Subject</th>
5+
<th>Property</th>
6+
<th>Value</th>
7+
</tr></thead>
8+
<tbody>
9+
<tr>
10+
<td>http://me.markus-lanthaler.com/</td>
11+
<td>foaf:name</td>
12+
<td>Markus Lanthaler</td>
13+
</tr>
14+
<tr>
15+
<td>http://me.markus-lanthaler.com/</td>
16+
<td>http://xmlns.com/foaf/0.1/homepage</td>
17+
<td>http://www.markus-lanthaler.com/</td>
18+
</tr>
19+
</tbody>
20+
</table></body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
2+
<http://me.markus-lanthaler.com/> foaf:name "Markus Lanthaler";
3+
foaf:homepage <http://www.markus-lanthaler.com/> .

examples/Sample-Turtle-document.ttl

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
<http://me.markus-lanthaler.com/> <http://xmlns.com/foaf/0.1/name> "Markus Lanthaler" .
2-
<http://me.markus-lanthaler.com/> <http://xmlns.com/foaf/0.1/homepage> <http://www.markus-lanthaler.com/> .
1+
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
2+
<http://me.markus-lanthaler.com/>
3+
foaf:name "Markus Lanthaler" ;
4+
foaf:homepage <http://www.markus-lanthaler.com/> .
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Example 004: Sample JSON-LD document using an IRI instead of a term to express a property-expanded
2+
---
3+
- "@id": http://me.markus-lanthaler.com/
4+
http://xmlns.com/foaf/0.1/name:
5+
- "@value": Markus Lanthaler
6+
http://xmlns.com/foaf/0.1/homepage:
7+
- "@id": http://www.markus-lanthaler.com/

0 commit comments

Comments
 (0)