File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ Gem::Specification.new do |gem|
3030 gem . add_runtime_dependency 'link_header' , '~> 0.0' , '>= 0.0.8'
3131 gem . add_runtime_dependency 'lru_redux' , '~> 1.1'
3232 gem . add_runtime_dependency 'json-canonicalization' , '~> 0.2'
33- gem . add_runtime_dependency 'json-stream' , '~> 0.2'
34- gem . add_runtime_dependency 'htmlentities' , '~> 4.3'
33+ gem . add_runtime_dependency 'htmlentities' , '~> 4.3'
3534 gem . add_runtime_dependency 'rack' , '~> 2.0'
3635 gem . add_development_dependency 'sinatra-linkeddata' , '~> 3.1'
3736 gem . add_development_dependency 'jsonlint' , '~> 0.3' unless is_java
Original file line number Diff line number Diff line change 22require 'json/ld'
33require 'json/ld/expand'
44require 'json/ld/to_rdf'
5- require 'json/stream'
65
76module JSON ::LD
87 ##
@@ -42,7 +41,7 @@ def stream_statement(&block)
4241 block . call ( st )
4342 end
4443 end
45- rescue ::JSON ::Stream :: ParserError , :: JSON :: ParserError , ::JSON ::LD ::JsonLdError => e
44+ rescue ::JSON ::ParserError , ::JSON ::LD ::JsonLdError => e
4645 log_fatal ( "Failed to parse input document: #{ e . message } " , exception : RDF ::ReaderError )
4746 end
4847
You can’t perform that action at this time.
0 commit comments