Skip to content

Commit 8b636d6

Browse files
committedMar 29, 2022
Correct some require names.
1 parent dfc1f96 commit 8b636d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ In the first case, the embedded node is not asserted, and only appears as the su
7272

7373
#### Serializing a Graph containing embedded statements
7474

75-
require 'json-ld'
75+
require 'json/ld'
7676
statement = RDF::Statement(RDF::URI('bob'), RDF::Vocab::FOAF.age, RDF::Literal(23))
7777
graph = RDF::Graph.new << [statement, RDF::URI("ex:certainty"), RDF::Literal(0.9)]
7878
graph.dump(:jsonld, validate: false, standard_prefixes: true)

‎lib/json/ld/context.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
begin
99
# Attempt to load this to avoid unnecessary context fetches
10-
require 'json-ld-preloaded'
10+
require 'json/ld/preloaded'
1111
rescue LoadError
1212
# Silently allow this to fail
1313
end

0 commit comments

Comments
 (0)