rdf-json 2.0.0 → 2.2.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 +4 -4
- data/VERSION +1 -1
- data/etc/doap.rj +3 -3
- data/lib/rdf/json.rb +2 -2
- data/lib/rdf/json/extensions.rb +2 -2
- metadata +37 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56175362ef0bde77026c9546609b3584728ca5c7
|
4
|
+
data.tar.gz: e6c7424f163d7c03787ec03ca822482272dc8da6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eb2ad41596075493c9ece5416bb94366fa39abaa42a070ef262b3c80efedf33eb91acc12d5a016565d409ea4cdad96cf4519fd76bfb8b4920788aa98b1ec615
|
7
|
+
data.tar.gz: c90c09a8b617731af968ae7ae1fd260cbde6de8a53fe12ee3a9b9ce6e831eb25b916fef466fbe06e37e6e48885c537f7bf11840dd6a4fee01c8d97ea02b3f9a3
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ RDF/JSON Support for RDF.rb
|
|
4
4
|
This is an [RDF.rb][] extension that adds support for parsing/serializing
|
5
5
|
[RDF/JSON][], a simple JSON-based RDF serialization format.
|
6
6
|
|
7
|
-
* <http://github.com/
|
7
|
+
* <http://github.com/ruby-rdf/rdf-json>
|
8
8
|
* <http://blog.datagraph.org/2010/04/parsing-rdf-with-ruby>
|
9
9
|
|
10
10
|
[![Gem Version](https://badge.fury.io/rb/rdf-json.png)](http://badge.fury.io/rb/rdf-json)
|
@@ -42,7 +42,7 @@ To get a local working copy of the development repository, do:
|
|
42
42
|
Alternatively, download the latest development version as a tarball as
|
43
43
|
follows:
|
44
44
|
|
45
|
-
% wget http://github.com/
|
45
|
+
% wget http://github.com/ruby-rdf/rdf-json/tarball/master
|
46
46
|
|
47
47
|
Mailing List
|
48
48
|
------------
|
@@ -52,7 +52,7 @@ Mailing List
|
|
52
52
|
Author
|
53
53
|
------
|
54
54
|
|
55
|
-
* [Arto Bendiken](http://github.com/
|
55
|
+
* [Arto Bendiken](http://github.com/ruby-rdf) - <http://ar.to/>
|
56
56
|
|
57
57
|
Contributors
|
58
58
|
------------
|
@@ -83,7 +83,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
|
|
83
83
|
This is free and unencumbered public domain software. For more information,
|
84
84
|
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
85
85
|
|
86
|
-
[RDF.rb]: http://
|
86
|
+
[RDF.rb]: http://www.rubydoc.info/github/ruby-rdf/rdf/
|
87
87
|
[RDF/JSON]: http://www.w3.org/TR/2013/NOTE-rdf-json-20131107/
|
88
88
|
[YARD]: http://yardoc.org/
|
89
89
|
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.0
|
data/etc/doap.rj
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
"http://usefulinc.com/ns/doap#bug-database": [
|
52
52
|
{
|
53
53
|
"type": "uri",
|
54
|
-
"value": "http://github.com/
|
54
|
+
"value": "http://github.com/ruby-rdf/rdf-json/issues"
|
55
55
|
}
|
56
56
|
],
|
57
57
|
"http://usefulinc.com/ns/doap#created": [
|
@@ -82,13 +82,13 @@
|
|
82
82
|
"http://usefulinc.com/ns/doap#download-page": [
|
83
83
|
{
|
84
84
|
"type": "uri",
|
85
|
-
"value": "http://
|
85
|
+
"value": "http://rubygems.org/gems/rdf-json"
|
86
86
|
}
|
87
87
|
],
|
88
88
|
"http://usefulinc.com/ns/doap#homepage": [
|
89
89
|
{
|
90
90
|
"type": "uri",
|
91
|
-
"value": "
|
91
|
+
"value": "https://rubygems.org/gems/rdf-json/"
|
92
92
|
}
|
93
93
|
],
|
94
94
|
"http://usefulinc.com/ns/doap#implements": [
|
data/lib/rdf/json.rb
CHANGED
@@ -23,14 +23,14 @@ module RDF
|
|
23
23
|
#
|
24
24
|
# @example Serializing RDF values into RDF/JSON strings
|
25
25
|
# RDF::Node.new('foobar').to_rdf_json.to_json
|
26
|
-
# RDF::URI.new("
|
26
|
+
# RDF::URI.new("https://rubygems.org/gems/rdf/").to_rdf_json.to_json
|
27
27
|
# RDF::Literal.new("Hello, world!").to_rdf_json
|
28
28
|
# RDF::Literal.new("Hello, world!", :language => 'en-US').to_rdf_json.to_json
|
29
29
|
# RDF::Literal.new(3.1415).to_rdf_json.to_json
|
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 http://
|
33
|
+
# @see http://www.rubydoc.info/github/ruby-rdf/rdf/
|
34
34
|
# @see http://n2.talis.com/wiki/RDF_JSON_Specification
|
35
35
|
# @see http://en.wikipedia.org/wiki/JSON
|
36
36
|
#
|
data/lib/rdf/json/extensions.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module RDF::JSON
|
2
2
|
##
|
3
|
-
# RDF/JSON extensions for [RDF.rb](
|
3
|
+
# RDF/JSON extensions for [RDF.rb](https://github.com/ruby-rdf/rdf) core classes
|
4
4
|
# and mixins.
|
5
5
|
#
|
6
6
|
# Classes are extended with two new instance methods:
|
@@ -12,7 +12,7 @@ module RDF::JSON
|
|
12
12
|
# RDF::Node.new(id).to_rdf_json.to_json
|
13
13
|
#
|
14
14
|
# @example Serializing URI references into RDF/JSON format
|
15
|
-
# RDF::URI.new("
|
15
|
+
# RDF::URI.new("https://rubygems.org/gems/rdf/").to_rdf_json.to_json
|
16
16
|
#
|
17
17
|
# @example Serializing plain literals into RDF/JSON format
|
18
18
|
# RDF::Literal.new("Hello, world!").to_rdf_json.to_json
|
metadata
CHANGED
@@ -1,85 +1,103 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.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: 2017-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.2'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
29
|
+
version: '2.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rdf-spec
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
39
|
+
version: '2.2'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '4.0'
|
34
43
|
type: :development
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
49
|
+
version: '2.2'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '4.0'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: rdf-isomorphic
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
|
-
- - "
|
57
|
+
- - ">="
|
46
58
|
- !ruby/object:Gem::Version
|
47
59
|
version: '2.0'
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '4.0'
|
48
63
|
type: :development
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
|
-
- - "
|
67
|
+
- - ">="
|
53
68
|
- !ruby/object:Gem::Version
|
54
69
|
version: '2.0'
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '4.0'
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
74
|
name: rspec
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
59
77
|
- - "~>"
|
60
78
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
79
|
+
version: '3.4'
|
62
80
|
type: :development
|
63
81
|
prerelease: false
|
64
82
|
version_requirements: !ruby/object:Gem::Requirement
|
65
83
|
requirements:
|
66
84
|
- - "~>"
|
67
85
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
86
|
+
version: '3.4'
|
69
87
|
- !ruby/object:Gem::Dependency
|
70
88
|
name: rspec-its
|
71
89
|
requirement: !ruby/object:Gem::Requirement
|
72
90
|
requirements:
|
73
91
|
- - "~>"
|
74
92
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
93
|
+
version: '1.2'
|
76
94
|
type: :development
|
77
95
|
prerelease: false
|
78
96
|
version_requirements: !ruby/object:Gem::Requirement
|
79
97
|
requirements:
|
80
98
|
- - "~>"
|
81
99
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
100
|
+
version: '1.2'
|
83
101
|
- !ruby/object:Gem::Dependency
|
84
102
|
name: yard
|
85
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,17 +142,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
142
|
requirements:
|
125
143
|
- - ">="
|
126
144
|
- !ruby/object:Gem::Version
|
127
|
-
version:
|
145
|
+
version: 2.2.2
|
128
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
147
|
requirements:
|
130
148
|
- - ">="
|
131
149
|
- !ruby/object:Gem::Version
|
132
150
|
version: '0'
|
133
151
|
requirements: []
|
134
|
-
rubyforge_project:
|
135
|
-
rubygems_version: 2.
|
152
|
+
rubyforge_project:
|
153
|
+
rubygems_version: 2.6.14
|
136
154
|
signing_key:
|
137
155
|
specification_version: 4
|
138
156
|
summary: RDF/JSON support for RDF.rb.
|
139
157
|
test_files: []
|
140
|
-
has_rdoc: false
|