earl-report 0.2.7.1 → 0.2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/lib/earl_report/views/earl_report.html.haml +2 -2
- data/spec/test-files/results.html +10 -10
- data/spec/test-files/results.jsonld +1 -1
- data/spec/test-files/results.ttl +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OTEyZmY4NWY2YWJjM2ZjOTE5ZWNkODIyYjY5OWFkNmE2MTFkZTAyYg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YmY0ZTQ0MzZiMDU3NWIzYmQ3ZjA0NDUyZTJlMGU1N2ZmNDUyZmNhNA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NTBiNDIzZmU1Yjg5ZjI3MTZiNTg4NjI0ZGIwODZjZWI2YmZlZDY3MzQ3ZmFm
|
|
10
|
+
Yzc3NGUxZjA1YmFjM2JhMjBiZDc3M2MxYmY5MDlkOWQzMTM4YmViNTEzYWJj
|
|
11
|
+
MmMwYTAwODdjNGU1NWRjZGQwMTFjODQzN2I5NjFlMmE2NDViYzA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NjU2NjcyNWNjZWExM2JjN2RlZTM5NzAxY2Q3ZmU0OTg3NzkwN2Q1ZTBmMmE2
|
|
14
|
+
MjNlYWEwMTAxYTZkZThkZWQ5MzMyYTk1NTRiYmZkYmIwYjgwY2IwMzk2M2Mx
|
|
15
|
+
ODAwZjAwZmIwOGU5MWYxOGFiYzRiZDQxODQ3MTI0YWU1Yjc5Njg=
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.7.
|
|
1
|
+
0.2.7.2
|
|
@@ -308,10 +308,10 @@
|
|
|
308
308
|
%p{:property => "dc:description", :lang => 'en'}<
|
|
309
309
|
~ CGI.escapeHTML test['description']
|
|
310
310
|
%pre{:class => "example actionDoc", :property => "mf:action", :resource => test['testAction'], :title => "#{test['title']} Input"}<
|
|
311
|
-
~ Kernel.open(test['testAction']) {|f| f.set_encoding(); CGI.escapeHTML(f.read).gsub(/\n/, '<br/>')} rescue "#{test['testAction']} not loaded"
|
|
311
|
+
~ Kernel.open(test['testAction']) {|f| f.set_encoding(Encoding::UTF_8); CGI.escapeHTML(f.read).gsub(/\n/, '<br/>')} rescue "#{test['testAction']} not loaded"
|
|
312
312
|
- if test['testResult']
|
|
313
313
|
%pre{:class => "example resultDoc", :property => "mf:result", :resource => test['testResult'], :title => "#{test['title']} Result"}<
|
|
314
|
-
~ Kernel.open(test['testResult']) {|f| f.set_encoding(); CGI.escapeHTML(f.read).gsub(/\n/, '<br/>')} rescue "#{test['testResult']} not loaded"
|
|
314
|
+
~ Kernel.open(test['testResult']) {|f| f.set_encoding(Encoding::UTF_8); CGI.escapeHTML(f.read).gsub(/\n/, '<br/>')} rescue "#{test['testResult']} not loaded"
|
|
315
315
|
%section#appendix{:property => "earl:generatedBy", :resource => tests['generatedBy']['@id'], :typeof => tests['generatedBy']['@type']}
|
|
316
316
|
%h2
|
|
317
317
|
Report Generation Software
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
shortName: "turtle-earl",
|
|
25
25
|
subtitle: "Turtle Implementation Conformance Report",
|
|
26
26
|
// if you wish the publication date to be other than today, set this
|
|
27
|
-
publishDate: "2013/08/
|
|
27
|
+
publishDate: "2013/08/20",
|
|
28
28
|
|
|
29
29
|
// if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
|
|
30
30
|
// and its maturity status
|
|
@@ -170,12 +170,12 @@
|
|
|
170
170
|
</span>
|
|
171
171
|
</td>
|
|
172
172
|
</tr>
|
|
173
|
-
<tr inlist='inlist' rel='mf:entries' resource='_:
|
|
173
|
+
<tr inlist='inlist' rel='mf:entries' resource='_:g70206424014960' typeof='earl:TestCriterion earl:TestCase http://www.w3.org/ns/rdftest#TestTurtleEval'>
|
|
174
174
|
<td>
|
|
175
|
-
<a href='#
|
|
175
|
+
<a href='#test_53e0a30bb0cedc31428881150b496f65'>subm-test-01</a>
|
|
176
176
|
</td>
|
|
177
177
|
<td class='UNTESTED' inlist='inlist' property='earl:assertions' typeof='earl:Assertion'>
|
|
178
|
-
<link href='_:
|
|
178
|
+
<link href='_:g70206424014960' property='earl:test' />
|
|
179
179
|
<link href='http://rubygems.org/gems/rdf-turtle' property='earl:subject' />
|
|
180
180
|
<link href='earl:notAvailable' property='earl:mode' />
|
|
181
181
|
<span property='earl:result' typeof='earl:TestResult'>
|
|
@@ -286,11 +286,11 @@
|
|
|
286
286
|
<pre class='example actionDoc' property='mf:action' resource='http://example/test-00.ttl' title='subm-test-00 Input'>http://example/test-00.ttl not loaded</pre>
|
|
287
287
|
<pre class='example resultDoc' property='mf:result' resource='http://example/test-00.out' title='subm-test-00 Result'>http://example/test-00.out not loaded</pre>
|
|
288
288
|
</dd>
|
|
289
|
-
<dt id='
|
|
289
|
+
<dt id='test_53e0a30bb0cedc31428881150b496f65' resource='_:g70206424014960'>
|
|
290
290
|
Test
|
|
291
291
|
<span property='dc:title mf:name'>subm-test-01</span>
|
|
292
292
|
</dt>
|
|
293
|
-
<dd resource='_:
|
|
293
|
+
<dd resource='_:g70206424014960'>
|
|
294
294
|
<p lang='en' property='dc:description'>@prefix and qnames</p>
|
|
295
295
|
<pre class='example actionDoc' property='mf:action' resource='http://example/test-01.ttl' title='subm-test-01 Input'>http://example/test-01.ttl not loaded</pre>
|
|
296
296
|
<pre class='example resultDoc' property='mf:result' resource='http://example/test-01.out' title='subm-test-01 Result'>http://example/test-01.out not loaded</pre>
|
|
@@ -308,10 +308,10 @@
|
|
|
308
308
|
<meta content='Earl Report summary generator' lang='en' property='doap:shortdesc' />
|
|
309
309
|
<meta content='EarlReport generates HTML+RDFa rollups of multiple EARL reports' lang='en' property='doap:description' />
|
|
310
310
|
version
|
|
311
|
-
<span property='doap:release' resource='https://github.com/gkellogg/earl-report/tree/0.2.
|
|
312
|
-
<span property='doap:revision'>0.2.
|
|
313
|
-
<meta content='earl-report-0.2.
|
|
314
|
-
<meta content='2013-08-
|
|
311
|
+
<span property='doap:release' resource='https://github.com/gkellogg/earl-report/tree/0.2.7.1' typeof='doap:Version'>
|
|
312
|
+
<span property='doap:revision'>0.2.7.1</span>
|
|
313
|
+
<meta content='earl-report-0.2.7.1' property='doap:name' />
|
|
314
|
+
<meta content='2013-08-20' datatype='xsd:date' property='doap:created' />
|
|
315
315
|
</span>
|
|
316
316
|
an
|
|
317
317
|
<a href='http://unlicense.org' property='doap:license'>Unlicensed</a>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"@context":{"@vocab":"http://www.w3.org/ns/earl#","foaf:homepage":{"@type":"@id"},"dc":"http://purl.org/dc/terms/","doap":"http://usefulinc.com/ns/doap#","earl":"http://www.w3.org/ns/earl#","mf":"http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#","foaf":"http://xmlns.com/foaf/0.1/","rdfs":"http://www.w3.org/2000/01/rdf-schema#","assertedBy":{"@type":"@id"},"assertions":{"@type":"@id","@container":"@list"},"bibRef":{"@id":"dc:bibliographicCitation"},"created":{"@id":"doap:created","@type":"xsd:date"},"description":{"@id":"dc:description","@language":"en"},"developer":{"@id":"doap:developer","@type":"@id","@container":"@set"},"doapDesc":{"@id":"doap:description","@language":"en"},"generatedBy":{"@type":"@id"},"homepage":{"@id":"doap:homepage","@type":"@id"},"label":{"@id":"rdfs:label","@language":"en"},"language":{"@id":"doap:programming-language"},"license":{"@id":"doap:license","@type":"@id"},"mode":{"@type":"@id"},"name":{"@id":"doap:name"},"outcome":{"@type":"@id"},"release":{"@id":"doap:release","@type":"@id"},"shortdesc":{"@id":"doap:shortdesc","@language":"en"},"subject":{"@type":"@id"},"test":{"@type":"@id"},"testAction":{"@id":"mf:action","@type":"@id"},"testResult":{"@id":"mf:result","@type":"@id"},"entries":{"@id":"mf:entries","@type":"@id","@container":"@list"},"testSubjects":{"@type":"@id","@container":"@list"},"title":{"@id":"dc:title"},"xsd":{"@id":"http://www.w3.org/2001/XMLSchema#"}},"@id":"","@type":["earl:Software","doap:Project"],"name":"Turtle Test Results","bibRef":"[[TURTLE]]","generatedBy":{"@id":"http://rubygems.org/gems/earl-report","@type":"doap:Project","name":"earl-report","shortdesc":"Earl Report summary generator","doapDesc":"EarlReport generates HTML+RDFa rollups of multiple EARL reports","homepage":"https://github.com/gkellogg/earl-report","language":"Ruby","license":"http://unlicense.org","release":{"@id":"https://github.com/gkellogg/earl-report/tree/0.2.
|
|
1
|
+
{"@context":{"@vocab":"http://www.w3.org/ns/earl#","foaf:homepage":{"@type":"@id"},"dc":"http://purl.org/dc/terms/","doap":"http://usefulinc.com/ns/doap#","earl":"http://www.w3.org/ns/earl#","mf":"http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#","foaf":"http://xmlns.com/foaf/0.1/","rdfs":"http://www.w3.org/2000/01/rdf-schema#","assertedBy":{"@type":"@id"},"assertions":{"@type":"@id","@container":"@list"},"bibRef":{"@id":"dc:bibliographicCitation"},"created":{"@id":"doap:created","@type":"xsd:date"},"description":{"@id":"dc:description","@language":"en"},"developer":{"@id":"doap:developer","@type":"@id","@container":"@set"},"doapDesc":{"@id":"doap:description","@language":"en"},"generatedBy":{"@type":"@id"},"homepage":{"@id":"doap:homepage","@type":"@id"},"label":{"@id":"rdfs:label","@language":"en"},"language":{"@id":"doap:programming-language"},"license":{"@id":"doap:license","@type":"@id"},"mode":{"@type":"@id"},"name":{"@id":"doap:name"},"outcome":{"@type":"@id"},"release":{"@id":"doap:release","@type":"@id"},"shortdesc":{"@id":"doap:shortdesc","@language":"en"},"subject":{"@type":"@id"},"test":{"@type":"@id"},"testAction":{"@id":"mf:action","@type":"@id"},"testResult":{"@id":"mf:result","@type":"@id"},"entries":{"@id":"mf:entries","@type":"@id","@container":"@list"},"testSubjects":{"@type":"@id","@container":"@list"},"title":{"@id":"dc:title"},"xsd":{"@id":"http://www.w3.org/2001/XMLSchema#"}},"@id":"","@type":["earl:Software","doap:Project"],"name":"Turtle Test Results","bibRef":"[[TURTLE]]","generatedBy":{"@id":"http://rubygems.org/gems/earl-report","@type":"doap:Project","name":"earl-report","shortdesc":"Earl Report summary generator","doapDesc":"EarlReport generates HTML+RDFa rollups of multiple EARL reports","homepage":"https://github.com/gkellogg/earl-report","language":"Ruby","license":"http://unlicense.org","release":{"@id":"https://github.com/gkellogg/earl-report/tree/0.2.7.1","@type":"doap:Version","name":"earl-report-0.2.7.1","created":"2013-08-20","revision":"0.2.7.1"},"developer":{"@type":"foaf:Person","@id":"http://greggkellogg.net/foaf#me","foaf:name":"Gregg Kellogg","foaf:homepage":"http://greggkellogg.net/"}},"assertions":["/Users/gregg/Projects/earl-report/spec/test-files/report-complete.ttl"],"testSubjects":[{"@id":"http://rubygems.org/gems/rdf-turtle","@type":["earl:TestSubject","doap:Project"],"name":"RDF::Turtle","developer":[{"@type":"foaf:Person","@id":"http://greggkellogg.net/foaf#me","foaf:name":"Gregg Kellogg","foaf:homepage":"http://greggkellogg.net/"}],"doapDesc":"RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.","homepage":"http://ruby-rdf.github.com/rdf-turtle","language":"Ruby"}],"entries":[{"@id":"http://example/manifest.ttl","@type":["earl:Report","mf:Manifest"],"entries":[{"@id":"http://example/manifest.ttl#testeval00","@type":["earl:TestCriterion","earl:TestCase","http://www.w3.org/ns/rdftest#TestTurtleEval"],"title":"subm-test-00","testAction":"http://example/test-00.ttl","assertions":[{"@type":"earl:Assertion","test":"http://example/manifest.ttl#testeval00","subject":"http://rubygems.org/gems/rdf-turtle","mode":"earl:automatic","result":{"@type":"earl:TestResult","outcome":"earl:passed"},"assertedBy":"http://greggkellogg.net/foaf#me"}],"description":"Blank subject","testResult":"http://example/test-00.out"},{"@id":"_:g70206423316860","@type":["earl:TestCriterion","earl:TestCase","http://www.w3.org/ns/rdftest#TestTurtleEval"],"title":"subm-test-01","testAction":"http://example/test-01.ttl","assertions":[{"@type":"earl:Assertion","test":"_:g70206423316860","subject":"http://rubygems.org/gems/rdf-turtle","mode":"earl:notAvailable","result":{"@type":"earl:TestResult","outcome":"earl:untested"}}],"description":"@prefix and qnames","testResult":"http://example/test-01.out"}],"title":"Example Test Cases","description":"Description for Example Test Cases"}]}
|
data/spec/test-files/results.ttl
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
doap:homepage <https://github.com/gkellogg/earl-report>;
|
|
30
30
|
doap:programming-language "Ruby";
|
|
31
31
|
doap:license <http://unlicense.org>;
|
|
32
|
-
doap:release <https://github.com/gkellogg/earl-report/tree/0.2.
|
|
32
|
+
doap:release <https://github.com/gkellogg/earl-report/tree/0.2.7.1>;
|
|
33
33
|
doap:developer <http://greggkellogg.net/foaf#me> .
|
|
34
34
|
|
|
35
35
|
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
rdfs:comment "Description for Example Test Cases";
|
|
42
42
|
mf:entries (
|
|
43
43
|
<http://example/manifest.ttl#testeval00>
|
|
44
|
-
_:
|
|
44
|
+
_:g70206422742880) .
|
|
45
45
|
|
|
46
46
|
#
|
|
47
47
|
# Subject Definitions
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
earl:result [ a earl:TestResult; earl:outcome earl:passed ]]
|
|
77
77
|
) .
|
|
78
78
|
|
|
79
|
-
_:
|
|
79
|
+
_:g70206422742880 a earl:TestCriterion, earl:TestCase, <http://www.w3.org/ns/rdftest#TestTurtleEval>;
|
|
80
80
|
dc:title "subm-test-01";
|
|
81
81
|
dc:description """@prefix and qnames"""@en;
|
|
82
82
|
mf:result <http://example/test-01.out>;
|
|
83
83
|
mf:action <http://example/test-01.ttl>;
|
|
84
84
|
earl:assertions (
|
|
85
85
|
[ a earl:Assertion;
|
|
86
|
-
earl:test _:
|
|
86
|
+
earl:test _:g70206422742880;
|
|
87
87
|
earl:subject <http://rubygems.org/gems/rdf-turtle>;
|
|
88
88
|
earl:mode earl:notAvailable;
|
|
89
89
|
earl:result [ a earl:TestResult; earl:outcome earl:untested ]]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: earl-report
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.7.
|
|
4
|
+
version: 0.2.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gregg Kellogg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: linkeddata
|