rdf-turtle 1.1.0p3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +4 -0
- data/VERSION +1 -1
- data/lib/rdf/turtle/format.rb +4 -10
- data/lib/rdf/turtle/terminals.rb +2 -2
- metadata +30 -30
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
Y2UxYTFhODg2YWFhMDlmYjU3ZDJlOThjOGU0NGI0Yzc0Mzc1ZTJmZDliMGVl
|
10
|
-
MjAzMWZhZGQwNWRhNTI2YTRhYTY2ZGNmOTk3YzM0YWIyZjIwZjM4ZjYzZGRm
|
11
|
-
OTRkZjdhNmUzMWYwOGI5YzM1NDhjNDEwYzIwZDUwNzE4N2Y0OWQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NTliNWU3ZjJmNTk2YmYzOTQ2NzJkZWYyYTllODJmNmY1MTAxNzI3YjI3OTA5
|
14
|
-
NDMxNTc1ZDE4ZmZmMzg1MTM5YWIyZjI3ODYxYTNjMDQwNzJkYmFkNzUxYTY3
|
15
|
-
YTVlODYwZmZjMWNhNWU5NjJlNGViNjc3MzFkYWRkZWE2NWZkZjE=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9da0dbec9f92b0108c25b6ba023e25a9897e5c15
|
4
|
+
data.tar.gz: cedeee4651ab52754b72d647879ad23626cc3b8c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3066dc116e4df74223cefed138c790066aad03d51b8e91255e92cc89748057cd056885eba041190e3f03604f0c9f1dc03d0f21e2e4207fa244ad334853070e25
|
7
|
+
data.tar.gz: 317c05694467551dd7b3a5f72f1c593521e05de342fed71f93e971d951eff8a7f3e9f26a3c203d3683ffec87ea45b7f3c259d3456eb14b825d0dae771b06f601
|
data/README.md
CHANGED
@@ -111,6 +111,8 @@ To install the latest official release of the `RDF::Turtle` gem, do:
|
|
111
111
|
* [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
|
112
112
|
|
113
113
|
## Contributing
|
114
|
+
This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
|
115
|
+
|
114
116
|
* Do your best to adhere to the existing coding conventions and idioms.
|
115
117
|
* Don't use hard tabs, and don't leave trailing whitespace on any line.
|
116
118
|
* Do document every method you add using [YARD][] annotations. Read the
|
@@ -127,6 +129,8 @@ To install the latest official release of the `RDF::Turtle` gem, do:
|
|
127
129
|
This is free and unencumbered public domain software. For more information,
|
128
130
|
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
129
131
|
|
132
|
+
A copy of the [Turtle 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](http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231).
|
133
|
+
|
130
134
|
[Ruby]: http://ruby-lang.org/
|
131
135
|
[RDF]: http://www.w3.org/RDF/
|
132
136
|
[YARD]: http://yardoc.org/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.0
|
data/lib/rdf/turtle/format.rb
CHANGED
@@ -16,11 +16,11 @@ 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 '
|
19
|
+
content_type 'application/turtle',
|
20
20
|
:extension => :ttl,
|
21
21
|
:aliases => %w(
|
22
22
|
text/rdf+turtle
|
23
|
-
|
23
|
+
text/turtle
|
24
24
|
application/x-turtle
|
25
25
|
)
|
26
26
|
content_encoding 'utf-8'
|
@@ -64,15 +64,9 @@ module RDF::Turtle
|
|
64
64
|
# RDF::Format.for(:ttl) # RDF::Turtle::TTL
|
65
65
|
# RDF::Format.for(:ttl).reader # RDF::Turtle::Reader
|
66
66
|
# RDF::Format.for(:ttl).writer # RDF::Turtle::Writer
|
67
|
-
class TTL <
|
68
|
-
content_type 'text/turtle',
|
69
|
-
:extension => :ttl,
|
70
|
-
:aliases => %w(
|
71
|
-
text/rdf+turtle
|
72
|
-
application/turtle
|
73
|
-
application/x-turtle
|
74
|
-
)
|
67
|
+
class TTL < Format
|
75
68
|
content_encoding 'utf-8'
|
69
|
+
content_type 'application/turtle'
|
76
70
|
|
77
71
|
reader { RDF::Turtle::Reader }
|
78
72
|
writer { RDF::Turtle::Writer }
|
data/lib/rdf/turtle/terminals.rb
CHANGED
@@ -20,7 +20,7 @@ module RDF::Turtle
|
|
20
20
|
# 170s
|
21
21
|
PERCENT = /%[0-9A-Fa-f]{2}/.freeze
|
22
22
|
# 172s
|
23
|
-
PN_LOCAL_ESC = /\\[_~\.\-\!$\&'\(\)
|
23
|
+
PN_LOCAL_ESC = /\\[_~\.\-\!$\&'\(\)\*\+,;=\/\?\#@%]/.freeze
|
24
24
|
# 169s
|
25
25
|
PLX = /#{PERCENT}|#{PN_LOCAL_ESC}/.freeze.freeze
|
26
26
|
# 163s
|
@@ -58,7 +58,7 @@ module RDF::Turtle
|
|
58
58
|
# 22
|
59
59
|
STRING_LITERAL_SINGLE_QUOTE = /'(?:[^\'\\\n\r]|#{ECHAR}|#{UCHAR})*'/.freeze
|
60
60
|
# 23
|
61
|
-
STRING_LITERAL_QUOTE = /"(?:[^\"\\\n\r]|#{ECHAR}|#{UCHAR})*"/.freeze
|
61
|
+
STRING_LITERAL_QUOTE = /"(?:[^\"\\\n\r]|#{ECHAR}|#{UCHAR})*"/.freeze
|
62
62
|
# 24
|
63
63
|
STRING_LITERAL_LONG_SINGLE_QUOTE = /'''(?:(?:'|'')?(?:[^'\\]|#{ECHAR}|#{UCHAR}))*'''/m.freeze
|
64
64
|
# 25
|
metadata
CHANGED
@@ -1,139 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-turtle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-15 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
19
|
version: '1.1'
|
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
26
|
version: '1.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ebnf
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.1
|
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: 0.3.
|
40
|
+
version: 0.3.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: open-uri-cached
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.0.5
|
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
54
|
version: 0.0.5
|
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
61
|
version: 2.12.0
|
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
68
|
version: 2.12.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rdf-isomorphic
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.1'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: json-ld
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '1.1'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '1.1'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: yard
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 0.8.3
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.8.3
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rdf-spec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '1.1'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '1.1'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
description: RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.
|
@@ -166,17 +166,17 @@ require_paths:
|
|
166
166
|
- lib
|
167
167
|
required_ruby_version: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
|
-
- -
|
169
|
+
- - '>='
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: 1.9.2
|
172
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
173
|
requirements:
|
174
|
-
- -
|
174
|
+
- - '>='
|
175
175
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
176
|
+
version: '0'
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project: rdf-turtle
|
179
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.1.11
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Turtle reader/writer for Ruby.
|