sparql 2.2.1 → 2.2.2

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: 24d94464b57369281dd9908469fa33bdb33a3422
4
- data.tar.gz: 75252c58c49ada1abf1ea695fe2a12e0a714f26b
3
+ metadata.gz: c5dacac58b3db16753e3ed0365462b605a4909dd
4
+ data.tar.gz: 45acd0a253aeb302237303bc1a6d9c72830ea237
5
5
  SHA512:
6
- metadata.gz: 3a8fe5ad88942280d9bfa678ec2592b379f88205099ca3dc2040371f6799cbedb2a3d771e19a23feefe338cf754142a0599495fa32ae4a3d1159d50b5410fb19
7
- data.tar.gz: 351cb78773845db66d68650b7377a872965cabf2bdc2c3d90a90edc554fcd8b6b5ef1a4e07d685e73e90f79d9cded9363823856fae9d90f60ac06f478a10f0ab
6
+ metadata.gz: 3343521fb78230e10d214f0665d74873494ae9ce5e55ce575034c2f57a4e11e8503fed433cfd32d1b4afdad9907527cac8470b226b070681419f53eb3cb7640b
7
+ data.tar.gz: fb3605b0d8c28a9915f9f6d72f70b1e630674c011f4e5a7932e43c37b061aaadd4768081e994c1055af4077aca8ae78c2b250dbf4176d7493da28bd91ae2c061
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.2.2
@@ -43,7 +43,7 @@ module Rack; module SPARQL
43
43
  #
44
44
  # @param [Hash{String => String}] env
45
45
  # @return [Array(Integer, Hash, #each)]
46
- # @see http://rack.rubyforge.org/doc/SPEC.html
46
+ # @see http://www.rubydoc.info/github/rack/rack/Rack/Runtime#call-instance_method
47
47
  def call(env)
48
48
  env['ORDERED_CONTENT_TYPES'] = parse_accept_header(env['HTTP_ACCEPT']) if env.has_key?('HTTP_ACCEPT')
49
49
  response = app.call(env)
@@ -141,21 +141,21 @@ module SPARQL
141
141
  # ## Constructing operator expressions manually
142
142
  #
143
143
  # Operator(:isBlank).new(RDF::Node(:foobar)).to_sxp #=> "(isBlank _:foobar)"
144
- # Operator(:isIRI).new(RDF::URI('http://rdf.rubyforge.org/')).to_sxp #=> "(isIRI <http://rdf.rubyforge.org/>)"
144
+ # Operator(:isIRI).new(RDF::URI('http://rubygems.org/gems/rdf/')).to_sxp #=> "(isIRI <http://rubygems.org/gems/rdf/>)"
145
145
  # Operator(:isLiteral).new(RDF::Literal(3.1415)).to_sxp #=> "(isLiteral 3.1415)"
146
146
  # Operator(:str).new(Operator(:datatype).new(RDF::Literal(3.1415))).to_sxp #=> "(str (datatype 3.1415))"
147
147
  #
148
148
  # ## Constructing operator expressions using SSE forms
149
149
  #
150
150
  # SPARQL::Algebra::Expression[:isBlank, RDF::Node(:foobar)].to_sxp #=> "(isBlank _:foobar)"
151
- # SPARQL::Algebra::Expression[:isIRI, RDF::URI('http://rdf.rubyforge.org/')].to_sxp #=> "(isIRI <http://rdf.rubyforge.org/>)"
151
+ # SPARQL::Algebra::Expression[:isIRI, RDF::URI('http://rubygems.org/gems/rdf/')].to_sxp #=> "(isIRI <http://rubygems.org/gems/rdf/>)"
152
152
  # SPARQL::Algebra::Expression[:isLiteral, RDF::Literal(3.1415)].to_sxp #=> "(isLiteral 3.1415)"
153
153
  # SPARQL::Algebra::Expression[:str, [:datatype, RDF::Literal(3.1415)]].to_sxp #=> "(str (datatype 3.1415))"
154
154
  #
155
155
  # ## Constructing operator expressions using SSE strings
156
156
  #
157
157
  # SPARQL::Algebra::Expression.parse('(isBlank _:foobar)')
158
- # SPARQL::Algebra::Expression.parse('(isIRI <http://rdf.rubyforge.org/>)')
158
+ # SPARQL::Algebra::Expression.parse('(isIRI <http://rubygems.org/gems/rdf/>)')
159
159
  # SPARQL::Algebra::Expression.parse('(isLiteral 3.1415)')
160
160
  # SPARQL::Algebra::Expression.parse('(str (datatype 3.1415))')
161
161
  #
@@ -220,7 +220,7 @@ module SPARQL
220
220
  # scarcity.
221
221
  #
222
222
  # [memoization]: http://en.wikipedia.org/wiki/Memoization
223
- # [RDF::Util::Cache]: http://rdf.rubyforge.org/RDF/Util/Cache.html
223
+ # [RDF::Util::Cache]: http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Util/Cache
224
224
  #
225
225
  # ## Documentation
226
226
  #
@@ -426,7 +426,7 @@ module SPARQL
426
426
  #
427
427
  # @param [Symbol, #to_sym] name
428
428
  # @return [Variable]
429
- # @see http://rdf.rubyforge.org/RDF/Query/Variable.html
429
+ # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Query/Variable
430
430
  def Variable(name)
431
431
  Variable.new(name)
432
432
  end
@@ -32,8 +32,8 @@ module SPARQL; module Algebra
32
32
  # @return [RDF::Query::Solutions]
33
33
  # the resulting solution sequence
34
34
  # @see http://www.w3.org/TR/sparql11-query/#sparqlAlgebra
35
- # @see http://rdf.rubyforge.org/RDF/Query/Solution.html#merge-instance_method
36
- # @see http://rdf.rubyforge.org/RDF/Query/Solution.html#compatible%3F-instance_method
35
+ # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Query/Solution#merge-instance_method
36
+ # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Query/Solution#compatible%3F-instance_method
37
37
  def execute(queryable, options = {}, &block)
38
38
  # Join(Ω1, Ω2) = { merge(μ1, μ2) | μ1 in Ω1 and μ2 in Ω2, and μ1 and μ2 are compatible }
39
39
  # eval(D(G), Join(P1, P2)) = Join(eval(D(G), P1), eval(D(G), P2))
@@ -32,8 +32,8 @@ module SPARQL; module Algebra
32
32
  # @return [RDF::Query::Solutions]
33
33
  # the resulting solution sequence
34
34
  # @see http://www.w3.org/TR/sparql11-query/#sparqlAlgebra
35
- # @see http://rdf.rubyforge.org/RDF/Query/Solution.html#merge-instance_method
36
- # @see http://rdf.rubyforge.org/RDF/Query/Solution.html#compatible%3F-instance_method
35
+ # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Query/Solution#merge-instance_method
36
+ # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Query/Solution#compatible%3F-instance_method
37
37
  def execute(queryable, options = {}, &block)
38
38
  filter = operand(2)
39
39
 
@@ -1,12 +1,12 @@
1
1
  module SPARQL; module Algebra
2
2
  class Operator
3
3
  ##
4
- # The SPARQL Property Path `reverse` (NegatedPropertySet) operator.
4
+ # The SPARQL Property Path `sequence` (SequencePath) operator.
5
5
  #
6
6
  # @example
7
7
  # (seq :a :b)
8
8
  #
9
- # @see http://www.w3.org/TR/sparql11-query/#defn_evalPP_inverse
9
+ # @see https://www.w3.org/TR/sparql11-query/#defn_evalPP_sequence
10
10
  class Seq < Operator::Binary
11
11
  include Query
12
12
 
@@ -50,7 +50,6 @@ module SPARQL::Grammar
50
50
  # The internal representation of the result using hierarchy of RDF objects and SPARQL::Algebra::Operator
51
51
  # objects.
52
52
  # @return [Array]
53
- # @see http://sparql.rubyforge.org/algebra
54
53
  attr_accessor :result
55
54
 
56
55
  # Terminals passed to lexer. Order matters!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
@@ -9,36 +9,48 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-07-04 00:00:00.000000000 Z
12
+ date: 2017-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '2.2'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '4.0'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: '2.2'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: rdf-aggregate-repo
30
36
  requirement: !ruby/object:Gem::Requirement
31
37
  requirements:
32
- - - "~>"
38
+ - - ">="
33
39
  - !ruby/object:Gem::Version
34
40
  version: '2.2'
41
+ - - "<"
42
+ - !ruby/object:Gem::Version
43
+ version: '4.0'
35
44
  type: :runtime
36
45
  prerelease: false
37
46
  version_requirements: !ruby/object:Gem::Requirement
38
47
  requirements:
39
- - - "~>"
48
+ - - ">="
40
49
  - !ruby/object:Gem::Version
41
50
  version: '2.2'
51
+ - - "<"
52
+ - !ruby/object:Gem::Version
53
+ version: '4.0'
42
54
  - !ruby/object:Gem::Dependency
43
55
  name: ebnf
44
56
  requirement: !ruby/object:Gem::Requirement
@@ -85,30 +97,42 @@ dependencies:
85
97
  name: sparql-client
86
98
  requirement: !ruby/object:Gem::Requirement
87
99
  requirements:
88
- - - "~>"
100
+ - - ">="
89
101
  - !ruby/object:Gem::Version
90
102
  version: '2.1'
103
+ - - "<"
104
+ - !ruby/object:Gem::Version
105
+ version: '4.0'
91
106
  type: :runtime
92
107
  prerelease: false
93
108
  version_requirements: !ruby/object:Gem::Requirement
94
109
  requirements:
95
- - - "~>"
110
+ - - ">="
96
111
  - !ruby/object:Gem::Version
97
112
  version: '2.1'
113
+ - - "<"
114
+ - !ruby/object:Gem::Version
115
+ version: '4.0'
98
116
  - !ruby/object:Gem::Dependency
99
117
  name: rdf-xsd
100
118
  requirement: !ruby/object:Gem::Requirement
101
119
  requirements:
102
- - - "~>"
120
+ - - ">="
103
121
  - !ruby/object:Gem::Version
104
- version: '2.1'
122
+ version: '2.2'
123
+ - - "<"
124
+ - !ruby/object:Gem::Version
125
+ version: '4.0'
105
126
  type: :runtime
106
127
  prerelease: false
107
128
  version_requirements: !ruby/object:Gem::Requirement
108
129
  requirements:
109
- - - "~>"
130
+ - - ">="
110
131
  - !ruby/object:Gem::Version
111
- version: '2.1'
132
+ version: '2.2'
133
+ - - "<"
134
+ - !ruby/object:Gem::Version
135
+ version: '4.0'
112
136
  - !ruby/object:Gem::Dependency
113
137
  name: sinatra
114
138
  requirement: !ruby/object:Gem::Requirement
@@ -143,42 +167,54 @@ dependencies:
143
167
  requirements:
144
168
  - - "~>"
145
169
  - !ruby/object:Gem::Version
146
- version: '0.6'
170
+ version: '0.7'
147
171
  type: :development
148
172
  prerelease: false
149
173
  version_requirements: !ruby/object:Gem::Requirement
150
174
  requirements:
151
175
  - - "~>"
152
176
  - !ruby/object:Gem::Version
153
- version: '0.6'
177
+ version: '0.7'
154
178
  - !ruby/object:Gem::Dependency
155
179
  name: linkeddata
156
180
  requirement: !ruby/object:Gem::Requirement
157
181
  requirements:
158
- - - "~>"
182
+ - - ">="
159
183
  - !ruby/object:Gem::Version
160
184
  version: '2.2'
185
+ - - "<"
186
+ - !ruby/object:Gem::Version
187
+ version: '4.0'
161
188
  type: :development
162
189
  prerelease: false
163
190
  version_requirements: !ruby/object:Gem::Requirement
164
191
  requirements:
165
- - - "~>"
192
+ - - ">="
166
193
  - !ruby/object:Gem::Version
167
194
  version: '2.2'
195
+ - - "<"
196
+ - !ruby/object:Gem::Version
197
+ version: '4.0'
168
198
  - !ruby/object:Gem::Dependency
169
199
  name: rdf-spec
170
200
  requirement: !ruby/object:Gem::Requirement
171
201
  requirements:
172
- - - "~>"
202
+ - - ">="
173
203
  - !ruby/object:Gem::Version
174
204
  version: '2.2'
205
+ - - "<"
206
+ - !ruby/object:Gem::Version
207
+ version: '4.0'
175
208
  type: :development
176
209
  prerelease: false
177
210
  version_requirements: !ruby/object:Gem::Requirement
178
211
  requirements:
179
- - - "~>"
212
+ - - ">="
180
213
  - !ruby/object:Gem::Version
181
214
  version: '2.2'
215
+ - - "<"
216
+ - !ruby/object:Gem::Version
217
+ version: '4.0'
182
218
  - !ruby/object:Gem::Dependency
183
219
  name: open-uri-cached
184
220
  requirement: !ruby/object:Gem::Requirement
@@ -205,14 +241,14 @@ dependencies:
205
241
  requirements:
206
242
  - - "~>"
207
243
  - !ruby/object:Gem::Version
208
- version: '3.6'
244
+ version: '3.7'
209
245
  type: :development
210
246
  prerelease: false
211
247
  version_requirements: !ruby/object:Gem::Requirement
212
248
  requirements:
213
249
  - - "~>"
214
250
  - !ruby/object:Gem::Version
215
- version: '3.6'
251
+ version: '3.7'
216
252
  - !ruby/object:Gem::Dependency
217
253
  name: rspec-its
218
254
  requirement: !ruby/object:Gem::Requirement
@@ -423,8 +459,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
423
459
  - !ruby/object:Gem::Version
424
460
  version: '0'
425
461
  requirements: []
426
- rubyforge_project: sparql
427
- rubygems_version: 2.6.12
462
+ rubyforge_project:
463
+ rubygems_version: 2.6.14
428
464
  signing_key:
429
465
  specification_version: 4
430
466
  summary: SPARQL Query and Update library for Ruby.