Skip to content

Commit 8b04531

Browse files
committed
Prep for 3.1 release.
1 parent b4a16b5 commit 8b04531

File tree

3 files changed

+7
-34
lines changed

3 files changed

+7
-34
lines changed

README.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff 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/>

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.6
1+
3.1.0

json-ld-preloaded.gemspec

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff 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
3330
end

0 commit comments

Comments
 (0)