File tree Expand file tree Collapse file tree 3 files changed +7
-34
lines changed Expand file tree Collapse file tree 3 files changed +7
-34
lines changed Original file line number Diff line number Diff line change @@ -49,33 +49,9 @@ Contexts are taken from https://github.com/json-ld/json-ld.org/wiki/existing-con
4949* [ CSVW Namespace Vocabulary Terms] ( https://www.w3.org/TR/tabular-data-model/ )
5050 * https://www.w3.org/ns/csvw
5151
52- ## Examples
53-
54- require 'rubygems'
55- require 'json/ld/preloaded'
56- require 'rdf/turtle'
57- require 'rdf/vocab'
58-
59- input = JSON.parse %({
60- "@context": "https://schema.org/",
61- "@id": "https://github.com/ruby-rdf/json-ld-preloaded",
62- "@type": "SoftwareApplication",
63- "name": "JSON-LD Preloaded",
64- "description": "A meta-release of the json-ld gem including preloaded vocabularies.",
65- "author": {
66- "@id": "https://greggkellogg.net/foaf#me",
67- "@type": "Person",
68- "name": "Gregg Kellogg"
69- }
70- })
71-
72- RDF::Turtle::Writer.new(STDOUT, standard_prefixes: true) do |w|
73- w << JSON::LD::API.toRdf(input)
74- end
75-
7652## Dependencies
77- * [ Ruby] ( https://ruby-lang.org/ ) (>= 2.2.2 )
78- * [ JSON::LD] ( https://rubygems.org/gems/json-ld ) (>= 2.2 )
53+ * [ Ruby] ( https://ruby-lang.org/ ) (>= 2.4 )
54+ * [ JSON::LD] ( https://rubygems.org/gems/json-ld ) (>= 3.1 )
7955
8056## Mailing List
8157* < https://lists.w3.org/Archives/Public/public-rdf-ruby/ >
Original file line number Diff line number Diff line change 1- 3.0.6
1+ 3.1.0
Original file line number Diff line number Diff line change @@ -21,13 +21,10 @@ Gem::Specification.new do |gem|
2121
2222 gem . required_ruby_version = '>= 2.2.2'
2323 gem . requirements = [ ]
24- gem . add_runtime_dependency 'rdf' , '~> 3.0'
25- gem . add_runtime_dependency 'json-ld' , '~> 3.0' #, '>= 3.0.3'
26- gem . add_runtime_dependency 'multi_json' , '~> 1.12'
27- gem . add_development_dependency 'oj' , '~> 2.18' unless RUBY_ENGINE == "jruby"
28- gem . add_development_dependency 'rdf-turtle' , '~> 3.0'
29- gem . add_development_dependency 'rspec' , '~> 3.7'
30- gem . add_development_dependency 'yard' , '~> 0.9.12'
24+ gem . add_runtime_dependency 'rdf' , '~> 3.1'
25+ gem . add_runtime_dependency 'json-ld' , '~> 3.1'
26+ gem . add_development_dependency 'rspec' , '~> 3.9'
27+ gem . add_development_dependency 'yard' , '~> 0.9.20'
3128
3229 gem . post_install_message = nil
3330end
You can’t perform that action at this time.
0 commit comments