rdf-trig 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +24 -25
- data/UNLICENSE +1 -1
- data/VERSION +1 -1
- data/lib/rdf/trig.rb +4 -4
- data/lib/rdf/trig/format.rb +1 -1
- data/lib/rdf/trig/streaming_writer.rb +1 -1
- data/lib/rdf/trig/writer.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1d8dbbc7d4a803a805ddb7dfe29359490d16ceef967164a28272cc9644f27aa
|
4
|
+
data.tar.gz: 839cf54eed3bd0f495719d153d01279e715166eeb5a3c4801426928493cc54f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376e7606927e27df2fcf047397641128979a6929cad69a1e164f70fa95ba3b98a4e24bc436bb8a7168aac10eeb5d1ef45abaff6df332cf0d93c18818a7f6c198
|
7
|
+
data.tar.gz: 1e4aa2e7619f1d78aa5e7584d1dffdcea6492a32a03784319db88fecd4534ef1fb0578d82426c84c34c44511efa5573d2cbf896aca3801773e2d7668ebc5a135
|
data/README.md
CHANGED
@@ -2,10 +2,9 @@
|
|
2
2
|
|
3
3
|
[TriG][] reader/writer for [RDF.rb][RDF.rb] .
|
4
4
|
|
5
|
-
[](
|
6
|
-
[](
|
5
|
+
[](https://badge.fury.io/rb/rdf-trig)
|
6
|
+
[](https://travis-ci.org/ruby-rdf/rdf-trig)
|
7
7
|
[](https://coveralls.io/r/ruby-rdf/rdf-trig)
|
8
|
-
[](https://gemnasium.com/ruby-rdf/rdf-trig)
|
9
8
|
|
10
9
|
## Description
|
11
10
|
This is a [Ruby][] implementation of a [TriG][] reader and writer for [RDF.rb][].
|
@@ -15,7 +14,7 @@ RDF::TriG parses [TriG][Trig] into statements or quads. It also serializes to Tr
|
|
15
14
|
|
16
15
|
Install with `gem install rdf-trig`
|
17
16
|
|
18
|
-
* 100% free and unencumbered [public domain](
|
17
|
+
* 100% free and unencumbered [public domain](https://unlicense.org/) software.
|
19
18
|
* Implements a complete parser and serializer for [TriG][].
|
20
19
|
* Compatible with Ruby 2.x, and JRuby 1.7+.
|
21
20
|
* Optional streaming writer, to serialize large graphs
|
@@ -58,22 +57,22 @@ There is a new `:stream` option to {RDF::TriG::Writer} which is more efficient f
|
|
58
57
|
|
59
58
|
## Dependencies
|
60
59
|
|
61
|
-
* [Ruby](
|
62
|
-
* [RDF.rb](
|
63
|
-
* [rdf-turtle](
|
60
|
+
* [Ruby](https://ruby-lang.org/) (>= 2.2.2)
|
61
|
+
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.0)
|
62
|
+
* [rdf-turtle](https://rubygems.org/gems/rdf-turtle) (~> 3.0)
|
64
63
|
|
65
64
|
## Installation
|
66
65
|
|
67
|
-
The recommended installation method is via [RubyGems](
|
66
|
+
The recommended installation method is via [RubyGems](https://rubygems.org/).
|
68
67
|
To install the latest official release of the `RDF::TriG` gem, do:
|
69
68
|
|
70
69
|
% [sudo] gem install rdf-trig
|
71
70
|
|
72
71
|
## Mailing List
|
73
|
-
* <
|
72
|
+
* <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
74
73
|
|
75
74
|
## Author
|
76
|
-
* [Gregg Kellogg](
|
75
|
+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
|
77
76
|
|
78
77
|
## Contributing
|
79
78
|
* Do your best to adhere to the existing coding conventions and idioms.
|
@@ -90,18 +89,18 @@ To install the latest official release of the `RDF::TriG` gem, do:
|
|
90
89
|
|
91
90
|
## License
|
92
91
|
This is free and unencumbered public domain software. For more information,
|
93
|
-
see <
|
94
|
-
|
95
|
-
A copy of the [TriG EBNF][] and derived parser files are included in the repository, which are not covered under the UNLICENSE. These files are covered via the [W3C Document License](
|
96
|
-
|
97
|
-
[Ruby]:
|
98
|
-
[RDF]:
|
99
|
-
[YARD]:
|
100
|
-
[YARD-GS]:
|
101
|
-
[PDD]:
|
102
|
-
[RDF.rb]:
|
103
|
-
[Backports]:
|
104
|
-
[TriG]:
|
105
|
-
[TriG doc]:
|
106
|
-
[TriG EBNF]:
|
107
|
-
[Turtle doc]:
|
92
|
+
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
93
|
+
|
94
|
+
A copy of the [TriG EBNF][] and derived parser files are included in the repository, which are not covered under the UNLICENSE. These files are covered via the [W3C Document License](https://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231).
|
95
|
+
|
96
|
+
[Ruby]: https://ruby-lang.org/
|
97
|
+
[RDF]: https://www.w3.org/RDF/
|
98
|
+
[YARD]: https://yardoc.org/
|
99
|
+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
100
|
+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
101
|
+
[RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf/master/frames
|
102
|
+
[Backports]: https://rubygems.org/gems/backports
|
103
|
+
[TriG]: https://www.w3.org/TR/trig/
|
104
|
+
[TriG doc]: https://rubydoc.info/github/ruby-rdf/rdf-trig/master/file/README.markdown
|
105
|
+
[TriG EBNF]: https://dvcs.w3.org/hg/rdf/raw-file/default/trig/trig.bnf
|
106
|
+
[Turtle doc]: https://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.markdown
|
data/UNLICENSE
CHANGED
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
21
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
22
|
OTHER DEALINGS IN THE SOFTWARE.
|
23
23
|
|
24
|
-
For more information, please refer to <
|
24
|
+
For more information, please refer to <https://unlicense.org/>
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.1
|
data/lib/rdf/trig.rb
CHANGED
@@ -15,11 +15,11 @@ module RDF
|
|
15
15
|
# end
|
16
16
|
# end
|
17
17
|
#
|
18
|
-
# @see
|
19
|
-
# @see
|
20
|
-
# @see
|
18
|
+
# @see https://rubydoc.info/github/ruby-rdf/rdf-turtle/
|
19
|
+
# @see https://rubydoc.info/github/ruby-rdf/rdf/master/
|
20
|
+
# @see https://www.w3.org/TR/trig/
|
21
21
|
#
|
22
|
-
# @author [Gregg Kellogg](
|
22
|
+
# @author [Gregg Kellogg](https://greggkellogg.net/)
|
23
23
|
module TriG
|
24
24
|
require 'rdf/trig/format'
|
25
25
|
autoload :Reader, 'rdf/trig/reader'
|
data/lib/rdf/trig/format.rb
CHANGED
@@ -14,7 +14,7 @@ module RDF::TriG
|
|
14
14
|
# @example Obtaining serialization format file extension mappings
|
15
15
|
# RDF::Format.file_extensions #=> {trig: "application/trig"}
|
16
16
|
#
|
17
|
-
# @see
|
17
|
+
# @see https://www.w3.org/TR/rdf-testcases/#ntriples
|
18
18
|
class Format < RDF::Format
|
19
19
|
content_type 'application/trig', extension: :trig, alias: 'application/x-trig;q=0.2'
|
20
20
|
content_encoding 'utf-8'
|
data/lib/rdf/trig/writer.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-trig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
34
34
|
type: :runtime
|
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: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rdf-turtle
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,7 +167,7 @@ files:
|
|
167
167
|
- lib/rdf/trig/streaming_writer.rb
|
168
168
|
- lib/rdf/trig/version.rb
|
169
169
|
- lib/rdf/trig/writer.rb
|
170
|
-
homepage:
|
170
|
+
homepage: https://github.com/ruby-rdf/rdf-trig
|
171
171
|
licenses:
|
172
172
|
- Unlicense
|
173
173
|
metadata: {}
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
|
-
rubygems_version: 3.
|
189
|
+
rubygems_version: 3.1.3
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: TriG reader/writer for Ruby.
|