Skip to content

Commit 7aa6b98

Browse files
committed
Attempt to avoid network connections from Travis.
1 parent e1791bf commit 7aa6b98

File tree

3 files changed

+194
-4
lines changed

3 files changed

+194
-4
lines changed

example-files/poe-context.jsonld

Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
{
2+
"@context": {
3+
"odrl": "http://www.w3.org/ns/odrl/2/",
4+
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
5+
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
6+
"owl": "http://www.w3.org/2002/07/owl#",
7+
"skos": "http://www.w3.org/2004/02/skos/core#",
8+
"dct": "http://purl.org/dc/terms/",
9+
"xsd": "http://www.w3.org/2001/XMLSchema#",
10+
11+
"id": {"@type": "@id", "@id": "@id"},
12+
"type": {"@type": "@id", "@id": "@type"},
13+
14+
"Policy": "odrl:Policy",
15+
"Rule": "odrl:Rule",
16+
"profile": {"@type": "@id", "@id": "odrl:profile"},
17+
18+
"inheritAllowed": {"@type": "xsd:boolean", "@id": "odrl:inheritAllowed"},
19+
"inheritFrom": {"@type": "@id", "@id": "odrl:inheritFrom"},
20+
"inheritRelation": {"@type": "@id", "@id": "odrl:inheritRelation"},
21+
22+
"ConflictTerm": "odrl:ConflictTerm",
23+
"conflict": {"@type": "@id", "@id": "odrl:conflict"},
24+
"perm": "odrl:perm",
25+
"prohibit": "odrl:prohibit",
26+
"invalid": "odrl:invalid",
27+
28+
"UndefinedTerm": "odrl:UndefinedTerm",
29+
"undefined": {"@type": "@id", "@id": "odrl:undefined"},
30+
"ignore": "odrl:ignore",
31+
"invalid": "odrl:invalid",
32+
"support": "odrl:support",
33+
34+
"Agreement": "odrl:Agreement",
35+
"Assertion": "odrl:Assertion",
36+
"Offer": "odrl:Offer",
37+
"Privacy": "odrl:Privacy",
38+
"Request": "odrl:Request",
39+
"Set": "odrl:Set",
40+
"Ticket": "odrl:Ticket",
41+
42+
"Asset": "odrl:Asset",
43+
"relation": {"@type": "@id", "@id": "odrl:relation"},
44+
"scope": {"@type": "@id", "@id": "odrl:scope"},
45+
46+
"target": {"@type": "@id", "@id": "odrl:target"},
47+
"output": {"@type": "@id", "@id": "odrl:output"},
48+
49+
"Party": "odrl:Party",
50+
"function": {"@type": "@id", "@id": "odrl:fuction"},
51+
"PartyScope": "odrl:PartyScope",
52+
"scope": {"@type": "@id", "@id": "odrl:scope"},
53+
54+
"assignee": {"@type": "@id", "@id": "odrl:assignee"},
55+
"assigner": {"@type": "@id", "@id": "odrl:assigner"},
56+
"attributedParty": {"@type": "@id", "@id": "odrl:attributedParty"},
57+
"compensatedParty": {"@type": "@id", "@id": "odrl:compensatedParty"},
58+
"compensatingParty": {"@type": "@id", "@id": "odrl:compensatingParty"},
59+
"consentingParty": {"@type": "@id", "@id": "odrl:consentingParty"},
60+
"informedParty": {"@type": "@id", "@id": "odrl:informedParty"},
61+
"trackingParty": {"@type": "@id", "@id": "odrl:trackingParty"},
62+
63+
"Group": "odrl:Group",
64+
"Individual": "odrl:Individual",
65+
"All": "odrl:All",
66+
"AllConnections": "odrl:AllConnections",
67+
"All2ndConnections": "odrl:All2ndConnections",
68+
"AllGroups": "odrl:AllGroups",
69+
70+
"Action": "odrl:Action",
71+
"action": {"@type": "@id", "@id": "odrl:action"},
72+
73+
"Permission": "odrl:Permission",
74+
"permission": {"@type": "@id", "@id": "odrl:permission"},
75+
76+
"Prohibition": "odrl:Prohibition",
77+
"prohibition": {"@type": "@id", "@id": "odrl:prohibition"},
78+
79+
"use": "odrl:use",
80+
"grantUse": "odrl:grantUse",
81+
"aggregate": "odrl:aggregate",
82+
"annotate": "odrl:annotate",
83+
"anonymize": "odrl:anonymize",
84+
"archive": "odrl:archive",
85+
"concurrentUse": "odrl:concurrentUse",
86+
"derive": "odrl:derive",
87+
"digitize": "odrl:digitize",
88+
"display": "odrl:display",
89+
"distribute": "odrl:distribute",
90+
"execute": "odrl:execute",
91+
"extract": "odrl:extract",
92+
"give": "odrl:give",
93+
"index": "odrl:index",
94+
"install": "odrl:install",
95+
"modify": "odrl:modify",
96+
"move": "odrl:move",
97+
"play": "odrl:play",
98+
"present": "odrl:present",
99+
"print": "odrl:print",
100+
"read": "odrl:read",
101+
"reproduce": "odrl:reproduce",
102+
"sell": "odrl:sell",
103+
"textToSpeech": "odrl:textToSpeech",
104+
"transfer": "odrl:transfer",
105+
"transform": "odrl:transform",
106+
"translate": "odrl:translate",
107+
108+
"Duty": "odrl:Duty",
109+
"duty": {"@type": "@id", "@id": "odrl:duty"},
110+
111+
"acceptTracking": "odrl:acceptTracking",
112+
"attribute": "odrl:attribute",
113+
"compensate": "odrl:compensate",
114+
"delete": "odrl:delete",
115+
"ensureExclusivity": "odrl:ensureExclusivity",
116+
"include": "odrl:include",
117+
"inform": "odrl:inform",
118+
"nextPolicy": "odrl:nextPolicy",
119+
"obtainConsent": "odrl:obtainConsent",
120+
"reviewPolicy": "odrl:reviewPolicy",
121+
"uninstall": "odrl:uninstall",
122+
"watermark": "odrl:watermark",
123+
124+
"Constraint": "odrl:Constraint",
125+
"constraint": {"@type": "@id", "@id": "odrl:constraint"},
126+
"Operator": "odrl:Operator",
127+
"operator": {"@type": "@id", "@id": "odrl:operator"},
128+
"RightOperand": "odrl:RightOperand",
129+
"rightOperand": "odrl:rightOperand",
130+
"rightOperandReference":{"@type": "xsd:anyURI", "@id": "odrl:rightOperandReference"},
131+
"LeftOperand": "odrl:LeftOperand",
132+
"leftOperand": {"@type": "@id", "@id": "odrl:leftOperand"},
133+
"unit": "odrl:unit",
134+
"dataType": {"@type": "xsd:anyType", "@id": "odrl:datatype"},
135+
"status": "odrl:status",
136+
137+
"absolutePosition": "odrl:absolutePosition",
138+
"absoluteSpatialPosition": "odrl:absoluteSpatialPosition",
139+
"absoluteTemporalPosition":"odrl:absoluteTemporalPosition",
140+
"absoluteSize": "odrl:absoluteSize",
141+
"count": "odrl:count",
142+
"dateTime": "odrl:dateTime",
143+
"delayPeriod": "odrl:delayPeriod",
144+
"deliveryChannel": "odrl:deliveryChannel",
145+
"elapsedTime": "odrl:elapsedTime",
146+
"event": "odrl:event",
147+
"fileFormat": "odrl:fileFormat",
148+
"industry": "odrlindustry:",
149+
"language": "odrl:language",
150+
"media": "odrl:media",
151+
"meteredTime": "odrl:meteredTime",
152+
"payAmount": "odrl:payAmount",
153+
"percentage": "odrl:percentage",
154+
"product": "odrl:product",
155+
"purpose": "odrl:purpose",
156+
"recipient": "odrl:recipient",
157+
"relativePosition": "odrl:relativePosition",
158+
"relativeSpatialPosition": "odrl:relativeSpatialPosition",
159+
"relativeTemporalPosition":"odrl:relativeTemporalPosition",
160+
"relativeSize": "odrl:relativeSize",
161+
"resolution": "odrl:resolution",
162+
"spatial": "odrl:spatial",
163+
"spatialCoordinates": "odrl:spatialCoordinates",
164+
"systemDevice": "odrl:systemDevice",
165+
"timeInterval": "odrl:timeInterval",
166+
"unitOfCount": "odrl:unitOfCount",
167+
"version": "odrl:version",
168+
"virtualLocation": "odrl:virtualLocation",
169+
170+
"eq": "odrl:eq",
171+
"gt": "odrl:gt",
172+
"gteq": "odrl:gteq",
173+
"lt": "odrl:lt",
174+
"lteq": "odrl:lteq",
175+
"neq": "odrl:neg",
176+
"isA": "odrl:isA",
177+
"hasPart": "odrl:hasPart",
178+
"isPartOf": "odrl:isPartOf",
179+
"isAllOf": "odrl:isAllOf",
180+
"isAnyOf": "odrl:isAnyOf",
181+
"isNoneOf": "odrl:isNoneOf",
182+
"or": "odrl:or",
183+
"xor": "odrl:xor",
184+
"and": "odrl:and",
185+
"andSequence": "odrl:andSequence",
186+
187+
"policyUsage": "odrl:policyUsage"
188+
189+
}
190+
}

spec/streaming_writer_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
end
100100

101101

102-
context "Writes fromRdf tests to isomorphic graph", skip: ENV['CI'] do
102+
context "Writes fromRdf tests to isomorphic graph" do
103103
require 'suite_helper'
104104
m = Fixtures::SuiteTest::Manifest.open("#{Fixtures::SuiteTest::SUITE}tests/fromRdf-manifest.jsonld")
105105
[nil, {}].each do |ctx|
@@ -124,7 +124,7 @@
124124
end
125125
end
126126
end
127-
end
127+
end unless ENV['CI']
128128

129129
def parse(input, options = {})
130130
format = options.fetch(:format, :trig)

spec/writer_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
end
191191
end
192192

193-
context "Writes fromRdf tests to isomorphic graph", skip: ENV['CI'] do
193+
context "Writes fromRdf tests to isomorphic graph" do
194194
require 'suite_helper'
195195
m = Fixtures::SuiteTest::Manifest.open("#{Fixtures::SuiteTest::SUITE}tests/fromRdf-manifest.jsonld")
196196
describe m.name do
@@ -212,7 +212,7 @@
212212
end
213213
end
214214
end
215-
end
215+
end unless ENV['CI']
216216

217217
def parse(input, options = {})
218218
format = options.fetch(:format, :trig)

0 commit comments

Comments
 (0)