lib/ld/patch/format.rb in ld-patch-3.2.0 vs lib/ld/patch/format.rb in ld-patch-3.2.2
- old
+ new
@@ -9,10 +9,12 @@
# RDF::Format.for(file_extension: "ldp")
# RDF::Format.for(:content_type => "text/ldpatch")
#
# @see http://www.w3.org/TR/ldpatch/
class Format < RDF::Format
- content_type 'text/ldpatch', extension: :ldp
+ content_type 'text/ldpatch',
+ extension: :ldp,
+ uri: 'http://www.w3.org/ns/formats/LD_Patch'
content_encoding 'utf-8'
##
# Hash of CLI commands appropriate for this format
# @return [Hash{Symbol => Lambda(Array, Hash)}]