rdf-turtle 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/README.markdown +3 -3
- data/VERSION +1 -1
- data/lib/rdf/turtle.rb +2 -2
- data/lib/rdf/turtle/format.rb +16 -4
- data/lib/rdf/turtle/writer.rb +1 -1
- metadata +21 -21
data/AUTHORS
CHANGED
@@ -1 +1 @@
|
|
1
|
-
* Gregg Kellogg <gregg@
|
1
|
+
* Gregg Kellogg <gregg@greggkellogg.net>
|
data/README.markdown
CHANGED
@@ -104,7 +104,7 @@ To install the latest official release of the `RDF::Turtle` gem, do:
|
|
104
104
|
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
105
105
|
|
106
106
|
## Author
|
107
|
-
* [Gregg Kellogg](http://github.com/gkellogg) - <http://
|
107
|
+
* [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
|
108
108
|
|
109
109
|
## Contributing
|
110
110
|
* Do your best to adhere to the existing coding conventions and idioms.
|
@@ -128,9 +128,9 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
|
128
128
|
[YARD]: http://yardoc.org/
|
129
129
|
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
130
130
|
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
131
|
-
[RDF.rb]: http://
|
131
|
+
[RDF.rb]: http://rubydoc.info/github/gkellogg/rdf/master/frames
|
132
132
|
[Backports]: http://rubygems.org/gems/backports
|
133
133
|
[N-Triples]: http://www.w3.org/TR/rdf-testcases/#ntriples
|
134
134
|
[Turtle]: http://www.w3.org/TR/2011/WD-turtle-20110809/
|
135
|
-
[Turtle doc]: http://rubydoc.info/github/
|
135
|
+
[Turtle doc]: http://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.markdown
|
136
136
|
[Turtle EBNF]: http://www.w3.org/TR/2011/WD-turtle-20110809/turtle.bnf
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/rdf/turtle.rb
CHANGED
@@ -14,10 +14,10 @@ module RDF
|
|
14
14
|
# end
|
15
15
|
# end
|
16
16
|
#
|
17
|
-
# @see http://
|
17
|
+
# @see http://rubydoc.info/github/ruby-rdf/rdf/master/frames
|
18
18
|
# @see http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html
|
19
19
|
#
|
20
|
-
# @author [Gregg Kellogg](http://
|
20
|
+
# @author [Gregg Kellogg](http://greggkellogg.net/)
|
21
21
|
module Turtle
|
22
22
|
require 'rdf/turtle/format'
|
23
23
|
autoload :Reader, 'rdf/turtle/reader'
|
data/lib/rdf/turtle/format.rb
CHANGED
@@ -16,10 +16,13 @@ module RDF::Turtle
|
|
16
16
|
#
|
17
17
|
# @see http://www.w3.org/TR/rdf-testcases/#ntriples
|
18
18
|
class Format < RDF::Format
|
19
|
-
content_type 'text/turtle',
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
content_type 'text/turtle',
|
20
|
+
:extension => :ttl,
|
21
|
+
:aliases => %w(
|
22
|
+
text/rdf+turtle
|
23
|
+
application/turtle
|
24
|
+
application/x-turtle
|
25
|
+
)
|
23
26
|
content_encoding 'utf-8'
|
24
27
|
|
25
28
|
reader { RDF::Turtle::Reader }
|
@@ -62,6 +65,15 @@ module RDF::Turtle
|
|
62
65
|
# RDF::Format.for(:ttl).reader # RDF::Turtle::Reader
|
63
66
|
# RDF::Format.for(:ttl).writer # RDF::Turtle::Writer
|
64
67
|
class TTL < RDF::Format
|
68
|
+
content_type 'text/turtle',
|
69
|
+
:extension => :ttl,
|
70
|
+
:aliases => %w(
|
71
|
+
text/rdf+turtle
|
72
|
+
application/turtle
|
73
|
+
application/x-turtle
|
74
|
+
)
|
75
|
+
content_encoding 'utf-8'
|
76
|
+
|
65
77
|
reader { RDF::Turtle::Reader }
|
66
78
|
writer { RDF::Turtle::Writer }
|
67
79
|
end
|
data/lib/rdf/turtle/writer.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-turtle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-05-14 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdf
|
16
|
-
requirement: &
|
16
|
+
requirement: &70328228117260 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.3.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70328228117260
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: open-uri-cached
|
27
|
-
requirement: &
|
27
|
+
requirement: &70328228116800 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.0.4
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70328228116800
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: spira
|
38
|
-
requirement: &
|
38
|
+
requirement: &70328228100440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,21 +43,21 @@ dependencies:
|
|
43
43
|
version: 0.0.12
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70328228100440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &70328228099980 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.8.0
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70328228099980
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rdf-isomorphic
|
60
|
-
requirement: &
|
60
|
+
requirement: &70328228099500 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 0.3.4
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70328228099500
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rdf-n3
|
71
|
-
requirement: &
|
71
|
+
requirement: &70328228099020 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 0.3.5
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70328228099020
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rdf-spec
|
82
|
-
requirement: &
|
82
|
+
requirement: &70328228098540 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 0.3.4
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70328228098540
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: yard
|
93
|
-
requirement: &
|
93
|
+
requirement: &70328228098080 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
version: 0.6.0
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70328228098080
|
102
102
|
description: RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.
|
103
103
|
email: public-rdf-ruby@w3.org
|
104
104
|
executables: []
|
@@ -120,7 +120,7 @@ files:
|
|
120
120
|
- lib/rdf/turtle/version.rb
|
121
121
|
- lib/rdf/turtle/writer.rb
|
122
122
|
- lib/rdf/turtle.rb
|
123
|
-
homepage: http://github.com/
|
123
|
+
homepage: http://github.com/ruby-rdf/rdf-turtle
|
124
124
|
licenses:
|
125
125
|
- Public Domain
|
126
126
|
post_install_message:
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project: rdf-turtle
|
144
|
-
rubygems_version: 1.8.
|
144
|
+
rubygems_version: 1.8.17
|
145
145
|
signing_key:
|
146
146
|
specification_version: 3
|
147
147
|
summary: Turtle reader/writer for Ruby.
|