Skip to content

Commit ee7f2bc

Browse files
committed
Update test-suite location to HTTPS
1 parent a1a01db commit ee7f2bc

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Rakefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ file "etc/manifests.nt" do
3737
require 'json/ld'
3838
require 'rdf/ntriples'
3939
graph = RDF::Graph.new do |g|
40-
%w( http://json-ld.org/test-suite/tests/compact-manifest.jsonld
41-
http://json-ld.org/test-suite/tests/error-manifest.jsonld
42-
http://json-ld.org/test-suite/tests/expand-manifest.jsonld
43-
http://json-ld.org/test-suite/tests/flatten-manifest.jsonld
44-
http://json-ld.org/test-suite/tests/frame-manifest.jsonld
45-
http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld
46-
http://json-ld.org/test-suite/tests/remote-doc-manifest.jsonld
47-
http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld
40+
%w( https://json-ld.org/test-suite/tests/compact-manifest.jsonld
41+
https://json-ld.org/test-suite/tests/error-manifest.jsonld
42+
https://json-ld.org/test-suite/tests/expand-manifest.jsonld
43+
https://json-ld.org/test-suite/tests/flatten-manifest.jsonld
44+
https://json-ld.org/test-suite/tests/frame-manifest.jsonld
45+
https://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld
46+
https://json-ld.org/test-suite/tests/remote-doc-manifest.jsonld
47+
https://json-ld.org/test-suite/tests/toRdf-manifest.jsonld
4848
).each do |man|
4949
puts "load #{man}"
5050
g.load(man, unique_bnodes: true)

example-files/toRdf-manifest.jsonld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"@context": "http://json-ld.org/test-suite/context.jsonld",
2+
"@context": "https://json-ld.org/test-suite/context.jsonld",
33
"@id": "",
44
"@type": "jld:Manifest",
55
"rdfs:comment": "JSON-LD to RDF tests generate N-Quads Output",
66
"name": "toRdf",
7-
"baseIri": "http://json-ld.org/test-suite/tests/",
7+
"baseIri": "https://json-ld.org/test-suite/tests/",
88
"sequence": [
99
{
1010
"@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],

lib/json/ld/format.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module JSON::LD
1919
# RDF::Format.file_extensions #=> {:jsonld => [JSON::LD::Format] }
2020
#
2121
# @see http://www.w3.org/TR/json-ld/
22-
# @see http://json-ld.org/test-suite/
22+
# @see https://json-ld.org/test-suite/
2323
class Format < RDF::Format
2424
content_type 'application/ld+json',
2525
extension: :jsonld,

spec/suite_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# For now, override RDF::Utils::File.open_file to look for the file locally before attempting to retrieve it
66
module RDF::Util
77
module File
8-
REMOTE_PATH = "http://json-ld.org/test-suite/"
8+
REMOTE_PATH = "https://json-ld.org/test-suite/"
99
LOCAL_PATH = ::File.expand_path("../json-ld.org/test-suite", __FILE__) + '/'
1010

1111
class << self

0 commit comments

Comments
 (0)