rdf-json 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -19
- data/VERSION +1 -1
- data/lib/rdf/json/format.rb +3 -1
- data/lib/rdf/json.rb +1 -1
- metadata +19 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fdc6e9d7b9cb3c6ae5dbcecee5ed8fa6bafc1fd9d83302c1bd6d3597ee5e7db
|
4
|
+
data.tar.gz: c369ff350ff76da25e00fe03e6490b6ea9ddc2e8814ed2c9ac9c6464daebd116
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a97677eed790b0e961878480eefaf37dbda6dd3b46284944465c5b3dd3ab43d3446c2ebc628bb00d28d862538c0740077f48dac7f48953a9e36efe96de916c
|
7
|
+
data.tar.gz: d0b47c50b3fb9a0cbb2cb8a8a2607e8caf2c7cd4d0c7151e5c4d1281154f3e539a2d0cc9dc0ad425f3f27d471834486982c2d3a009d0cd0a5c744991ca2627c6
|
data/README.md
CHANGED
@@ -1,16 +1,14 @@
|
|
1
|
-
RDF/JSON Support for RDF.rb
|
2
|
-
===========================
|
1
|
+
# RDF/JSON Support for RDF.rb
|
3
2
|
|
4
3
|
This is an [RDF.rb][] extension that adds support for parsing/serializing
|
5
4
|
[RDF/JSON][], a simple JSON-based RDF serialization format.
|
6
5
|
|
7
|
-
[![Gem Version](https://badge.fury.io/rb/rdf-json.
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/rdf-json.svg)](https://badge.fury.io/rb/rdf-json)
|
8
7
|
[![Build Status](https://github.com/ruby-rdf/rdf-json/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-json/actions?query=workflow%3ACI)
|
9
8
|
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-json/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-json?branch=develop)
|
10
9
|
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
|
11
10
|
|
12
|
-
Documentation
|
13
|
-
-------------
|
11
|
+
## Documentation
|
14
12
|
|
15
13
|
* {RDF::JSON}
|
16
14
|
* {RDF::JSON::Format}
|
@@ -18,21 +16,18 @@ Documentation
|
|
18
16
|
* {RDF::JSON::Writer}
|
19
17
|
* {RDF::JSON::Extensions}
|
20
18
|
|
21
|
-
Dependencies
|
22
|
-
------------
|
19
|
+
## Dependencies
|
23
20
|
|
24
|
-
* [RDF.rb](http://rubygems.org/gems/rdf) (~> 3.
|
21
|
+
* [RDF.rb](http://rubygems.org/gems/rdf) (~> 3.3)
|
25
22
|
|
26
|
-
Installation
|
27
|
-
------------
|
23
|
+
## Installation
|
28
24
|
|
29
25
|
The recommended installation method is via [RubyGems](http://rubygems.org/).
|
30
26
|
To install the latest official release of the `RDF::JSON` gem, do:
|
31
27
|
|
32
28
|
% [sudo] gem install rdf-json
|
33
29
|
|
34
|
-
Download
|
35
|
-
--------
|
30
|
+
### Download
|
36
31
|
|
37
32
|
To get a local working copy of the development repository, do:
|
38
33
|
|
@@ -43,18 +38,15 @@ follows:
|
|
43
38
|
|
44
39
|
% wget http://github.com/ruby-rdf/rdf-json/tarball/master
|
45
40
|
|
46
|
-
Mailing List
|
47
|
-
------------
|
41
|
+
## Mailing List
|
48
42
|
|
49
43
|
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
50
44
|
|
51
|
-
Author
|
52
|
-
------
|
45
|
+
## Author
|
53
46
|
|
54
47
|
* [Arto Bendiken](http://github.com/ruby-rdf) - <http://ar.to/>
|
55
48
|
|
56
|
-
Contributors
|
57
|
-
------------
|
49
|
+
## Contributors
|
58
50
|
|
59
51
|
Refer to the accompanying {file:CREDITS} file.
|
60
52
|
|
@@ -84,7 +76,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
|
|
84
76
|
This is free and unencumbered public domain software. For more information,
|
85
77
|
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
86
78
|
|
87
|
-
[RDF.rb]:
|
79
|
+
[RDF.rb]: https://ruby-rdf.github.io/rdf/
|
88
80
|
[RDF/JSON]: http://www.w3.org/TR/2013/NOTE-rdf-json-20131107/
|
89
81
|
[YARD]: http://yardoc.org/
|
90
82
|
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.0
|
data/lib/rdf/json/format.rb
CHANGED
@@ -14,7 +14,9 @@ module RDF::JSON
|
|
14
14
|
#
|
15
15
|
# @see http://n2.talis.com/wiki/RDF_JSON_Specification
|
16
16
|
class Format < RDF::Format
|
17
|
-
content_type 'application/rdf+json',
|
17
|
+
content_type 'application/rdf+json',
|
18
|
+
extension: :rj,
|
19
|
+
uri: 'http://www.w3.org/ns/formats/RDF_JSON'
|
18
20
|
content_encoding 'utf-8'
|
19
21
|
|
20
22
|
reader { RDF::JSON::Reader }
|
data/lib/rdf/json.rb
CHANGED
@@ -30,7 +30,7 @@ module RDF
|
|
30
30
|
# RDF::Literal.new('true', :datatype => RDF::XSD.boolean).to_rdf_json.to_json
|
31
31
|
# RDF::Statement.new(s, p, o).to_rdf_json.to_json
|
32
32
|
#
|
33
|
-
# @see
|
33
|
+
# @see https://ruby-rdf.github.io/rdf/
|
34
34
|
# @see http://n2.talis.com/wiki/RDF_JSON_Specification
|
35
35
|
# @see http://en.wikipedia.org/wiki/JSON
|
36
36
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arto Bendiken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdf-spec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rdf-isomorphic
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
47
|
+
version: '3.3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
61
|
+
version: '3.12'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.12'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-its
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,10 +112,15 @@ files:
|
|
112
112
|
- lib/rdf/json/reader.rb
|
113
113
|
- lib/rdf/json/version.rb
|
114
114
|
- lib/rdf/json/writer.rb
|
115
|
-
homepage:
|
115
|
+
homepage: https://github.com/ruby-rdf/rdf-json
|
116
116
|
licenses:
|
117
117
|
- Unlicense
|
118
|
-
metadata:
|
118
|
+
metadata:
|
119
|
+
documentation_uri: https://ruby-rdf.github.io/rdf-json
|
120
|
+
bug_tracker_uri: https://github.com/ruby-rdf/rdf-json/issues
|
121
|
+
homepage_uri: https://github.com/ruby-rdf/rdf-json
|
122
|
+
mailing_list_uri: https://lists.w3.org/Archives/Public/public-rdf-ruby/
|
123
|
+
source_code_uri: https://github.com/ruby-rdf/rdf-json
|
119
124
|
post_install_message:
|
120
125
|
rdoc_options: []
|
121
126
|
require_paths:
|
@@ -124,14 +129,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
129
|
requirements:
|
125
130
|
- - ">="
|
126
131
|
- !ruby/object:Gem::Version
|
127
|
-
version: '
|
132
|
+
version: '3.0'
|
128
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
134
|
requirements:
|
130
135
|
- - ">="
|
131
136
|
- !ruby/object:Gem::Version
|
132
137
|
version: '0'
|
133
138
|
requirements: []
|
134
|
-
rubygems_version: 3.
|
139
|
+
rubygems_version: 3.4.19
|
135
140
|
signing_key:
|
136
141
|
specification_version: 4
|
137
142
|
summary: RDF/JSON support for RDF.rb.
|