rdf-turtle 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef0892c78eb6709b482496caf5e42ae2b6cf3ac4
4
- data.tar.gz: 1c5fd88f0273339f82eb609738f2999faa7af6c8
3
+ metadata.gz: 7605cd4b343338164a862ce206deb245fbfa3f72
4
+ data.tar.gz: 47b11e06a8fadf38ff3782b8c3966a1a4b4300c0
5
5
  SHA512:
6
- metadata.gz: c8617f14034832235eccfd8f64d3c60e61f62656f8e942bfc676bc27f0a63c154dcb50bce9617b5e4b8bc7e3d52f486ff1727fb6319195883ad97b0cdef58125
7
- data.tar.gz: 6a6cd334a408c73f89b4a9121411ef3e9e4ff3c2492b78d9419b608d0b39b9ee1a08ea2fdb52b81bd8fcb41693a67f42005c17c65e61a357a42eede52a9ceac4
6
+ metadata.gz: 30e75188e3b62f2ea6f0612e4cd33dd0b4cdcccd1e91eeaba91441c411559e075dc53a9b009f4696fa6109f8cce2120b28e231578f503950341a39c8acdfeaf0
7
+ data.tar.gz: 6c62e607438a70fd87d1bf04242f6b23ea48a3d7ca8034484f2557ef952fd16df65db8fe80dbf88ead735fad77fc704eea7f2f55d85c044372402a249385f23b
data/README.md CHANGED
@@ -17,7 +17,7 @@ Install with `gem install rdf-turtle`
17
17
 
18
18
  * 100% free and unencumbered [public domain](http://unlicense.org/) software.
19
19
  * Implements a complete parser for [Turtle][].
20
- * Compatible with Ruby >= 2.0.
20
+ * Compatible with Ruby >= 2.2.2.
21
21
  * Optional streaming writer, to serialize large graphs
22
22
 
23
23
  ## Usage
@@ -40,8 +40,6 @@ Full documentation available on [Rubydoc.info][Turtle doc]
40
40
 
41
41
  ### Principle Classes
42
42
  * {RDF::Turtle::Format}
43
- * {RDF::Turtle::TTL}
44
- Asserts :ttl format, text/turtle mime-type and .ttl file extension.
45
43
  * {RDF::Turtle::Reader}
46
44
  * {RDF::Turtle::Writer}
47
45
 
@@ -86,9 +84,9 @@ This version uses a hand-written parser using the Lexer from the [EBNF][] gem in
86
84
 
87
85
  ## Dependencies
88
86
 
89
- * [Ruby](http://ruby-lang.org/) (>= 2.0)
90
- * [RDF.rb](http://rubygems.org/gems/rdf) (~> 2.0)
91
- * [EBNF][] (~> 1.0)
87
+ * [Ruby](http://ruby-lang.org/) (>= 2.2)
88
+ * [RDF.rb](http://rubygems.org/gems/rdf) (~> 2.2)
89
+ * [EBNF][] (~> 1.1)
92
90
 
93
91
  ## Installation
94
92
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.2.0
@@ -20,8 +20,8 @@ module RDF::Turtle
20
20
  extension: :ttl,
21
21
  aliases: %w(
22
22
  text/rdf+turtle
23
- application/turtle
24
- application/x-turtle
23
+ application/turtle;q=0.2
24
+ application/x-turtle;q=0.2
25
25
  )
26
26
  content_encoding 'utf-8'
27
27
 
@@ -549,7 +549,7 @@ module RDF::Turtle
549
549
  ctx = ""
550
550
  ctx += "(found #{options[:token].inspect})" if options[:token]
551
551
  ctx += ", production = #{options[:production].inspect}" if options[:production]
552
- lineno = @lineno || (options[:token].lineno if options[:token].respond_to?(:lineno))
552
+ lineno = @lineno || (options[:token].lineno if options[:token].respond_to?(:lineno)) || @lexer.lineno
553
553
  log_error(*args, ctx,
554
554
  lineno: lineno,
555
555
  token: options[:token],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-turtle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.2.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: 2016-04-10 00:00:00.000000000 Z
11
+ date: 2017-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf
@@ -16,62 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2.2'
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: '2.0'
26
+ version: '2.2'
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: '1.0'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 1.0.1
33
+ version: '1.1'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '1.0'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 1.0.1
40
+ version: '1.1'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rspec
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '3.0'
47
+ version: '3.5'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '3.0'
54
+ version: '3.5'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: rspec-its
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '1.0'
61
+ version: '1.2'
68
62
  type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '1.0'
68
+ version: '1.2'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: rdf-isomorphic
77
71
  requirement: !ruby/object:Gem::Requirement
@@ -92,70 +86,70 @@ dependencies:
92
86
  requirements:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
- version: '2.0'
89
+ version: '2.1'
96
90
  type: :development
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: '2.0'
96
+ version: '2.1'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: rdf-spec
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
101
  - - "~>"
108
102
  - !ruby/object:Gem::Version
109
- version: '2.0'
103
+ version: '2.2'
110
104
  type: :development
111
105
  prerelease: false
112
106
  version_requirements: !ruby/object:Gem::Requirement
113
107
  requirements:
114
108
  - - "~>"
115
109
  - !ruby/object:Gem::Version
116
- version: '2.0'
110
+ version: '2.2'
117
111
  - !ruby/object:Gem::Dependency
118
112
  name: rdf-vocab
119
113
  requirement: !ruby/object:Gem::Requirement
120
114
  requirements:
121
115
  - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: '2.0'
117
+ version: '2.1'
124
118
  type: :development
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - "~>"
129
123
  - !ruby/object:Gem::Version
130
- version: '2.0'
124
+ version: '2.1'
131
125
  - !ruby/object:Gem::Dependency
132
126
  name: rake
133
127
  requirement: !ruby/object:Gem::Requirement
134
128
  requirements:
135
129
  - - "~>"
136
130
  - !ruby/object:Gem::Version
137
- version: '10.4'
131
+ version: '12.0'
138
132
  type: :development
139
133
  prerelease: false
140
134
  version_requirements: !ruby/object:Gem::Requirement
141
135
  requirements:
142
136
  - - "~>"
143
137
  - !ruby/object:Gem::Version
144
- version: '10.4'
138
+ version: '12.0'
145
139
  - !ruby/object:Gem::Dependency
146
140
  name: yard
147
141
  requirement: !ruby/object:Gem::Requirement
148
142
  requirements:
149
143
  - - "~>"
150
144
  - !ruby/object:Gem::Version
151
- version: '0.8'
145
+ version: '0.9'
152
146
  type: :development
153
147
  prerelease: false
154
148
  version_requirements: !ruby/object:Gem::Requirement
155
149
  requirements:
156
150
  - - "~>"
157
151
  - !ruby/object:Gem::Version
158
- version: '0.8'
152
+ version: '0.9'
159
153
  description: RDF::Turtle is an Turtle reader/writer for the RDF.rb library suite.
160
154
  email: public-rdf-ruby@w3.org
161
155
  executables: []
@@ -187,7 +181,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
187
181
  requirements:
188
182
  - - ">="
189
183
  - !ruby/object:Gem::Version
190
- version: '2.0'
184
+ version: 2.2.2
191
185
  required_rubygems_version: !ruby/object:Gem::Requirement
192
186
  requirements:
193
187
  - - ">="
@@ -195,9 +189,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
189
  version: '0'
196
190
  requirements: []
197
191
  rubyforge_project: rdf-turtle
198
- rubygems_version: 2.4.8
192
+ rubygems_version: 2.6.8
199
193
  signing_key:
200
194
  specification_version: 4
201
195
  summary: Turtle reader/writer for Ruby.
202
196
  test_files: []
203
- has_rdoc: false