sparql 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -56,7 +56,7 @@ an implementation with support for HTTP Get headers (such as `Net::HTTP`).
56
56
 
57
57
  ### Result formats
58
58
 
59
- {SPARQL.serialize_results} may be used on it's own, or in conjunction with {Rack::SPARQL} or {Sinatra::SPARQL}
59
+ `SPARQL.serialize_results` may be used on it's own, or in conjunction with {Rack::SPARQL} or {Sinatra::SPARQL}
60
60
  to provide content-negotiated query results. For basic `SELECT` and `ASK` this includes HTML, XML and JSON formats.
61
61
  `DESCRIBE` and `CONSTRUCT` create an `RDF::Graph`, which can be serialized through [HTTP Content Netogiation][conneg]
62
62
  using available RDF writers. For best results, require [Linked Data][] to enable
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/bin/sparql CHANGED
@@ -24,7 +24,7 @@ def run(input, options = {})
24
24
  SPARQL::Algebra.parse(input, {:debug => options[:debug]})
25
25
  else
26
26
  # Only do grammar debugging if we're generating SSE
27
- SPARQL::Grammar.parse(input, options.merge(:debug => options.has_key?(:to_sse)))
27
+ SPARQL::Grammar.parse(input, options)
28
28
  end
29
29
 
30
30
  puts ("\nSSE:\n" + query.to_sse) if options[:debug] || options[:to_sse]
data/lib/sparql.rb CHANGED
@@ -60,7 +60,7 @@ module SPARQL
60
60
  # @option options [RDF::URI, String, Array<RDF::URI, String>] :named_graph_uri
61
61
  # One or more URIs used to initialize the `queryable` as a named context.
62
62
  # @return [RDF::Graph, RDF::Query::Solutions, Boolean]
63
- # Note, results may be used with SPARQL.serialize_results to obtain appropriate
63
+ # Note, results may be used with {SPARQL.serialize_results} to obtain appropriate
64
64
  # output encoding.
65
65
  # @raise [SPARQL::MalformedQuery] on invalid input
66
66
  def self.execute(query, queryable, options = {})
@@ -309,7 +309,7 @@ module SPARQL
309
309
  ##
310
310
  # Parses input from the given file name or URL.
311
311
  #
312
- # @param [String, #to_s] filename
312
+ # @param [String, #to_s] sse
313
313
  # @param [Hash{Symbol => Object}] options
314
314
  # any additional options (see {Operator#initialize})
315
315
  # @option options [RDF::URI, #to_s] :base_uri
@@ -13,8 +13,14 @@ class Object
13
13
 
14
14
  ##
15
15
  # Make sure the object is in SXP form and transform it to a string form
16
+ # @return String
16
17
  def to_sse
17
- self.to_sxp_bin.to_sxp
18
+ if SXP::VERSION::MAJOR.to_i >= 1 || SXP::VERSION::MINOR.to_i >= 1
19
+ # FIXME: Right now, this depends on un-merged request, so requires bundler to work
20
+ SXP::Generator.string(self.to_sxp_bin)
21
+ else
22
+ self.to_sxp_bin.to_sxp
23
+ end
18
24
  end
19
25
  end
20
26
 
@@ -160,11 +160,15 @@ module SPARQL; module Algebra
160
160
  ##
161
161
  # Initializes a new operator instance.
162
162
  #
163
- # @param [Array<RDF::Term>] operands
164
- # @param [Hash{Symbol => Object}] options
165
- # any additional options
166
- # @option options [Boolean] :memoize (false)
167
- # whether to memoize results for particular operands
163
+ # @overload initialize(*operands)
164
+ # @param [Array<RDF::Term>] operands
165
+ #
166
+ # @overload initialize(*operands, options)
167
+ # @param [Array<RDF::Term>] operands
168
+ # @param [Hash{Symbol => Object}] options
169
+ # any additional options
170
+ # @option options [Boolean] :memoize (false)
171
+ # whether to memoize results for particular operands
168
172
  # @raise [TypeError] if any operand is invalid
169
173
  def initialize(*operands)
170
174
  @options = operands.last.is_a?(Hash) ? operands.pop.dup : {}
@@ -199,7 +203,7 @@ module SPARQL; module Algebra
199
203
  # Set Base URI associated with SPARQL document, typically done
200
204
  # when reading SPARQL from a URI
201
205
  #
202
- # @param [RDF::URI] base
206
+ # @param [RDF::URI] uri
203
207
  # @return [RDF::URI]
204
208
  def self.base_uri=(uri)
205
209
  @base_uri = RDF::URI(uri)
@@ -15,8 +15,8 @@ module SPARQL; module Algebra
15
15
  ##
16
16
  # A `graph` is an RDF::Query with a context.
17
17
  #
18
- # @param [RDF::URI, RDF::Query::Variable] context
19
- # @param [RDF::Query] bgp
18
+ # @overload self.new(*patterns)
19
+ # @param [Array<RDF::Query::Pattern>] patterns
20
20
  # @return [RDF::Query]
21
21
  def self.new(*patterns)
22
22
  RDF::Query.new(*(patterns + [{:context => false}]))
@@ -16,7 +16,7 @@ module SPARQL; module Algebra
16
16
  ##
17
17
  # Returns the operand with its sign reversed.
18
18
  #
19
- # @param [RDF::Literal::Numeric] numeric
19
+ # @param [RDF::Literal::Numeric] term
20
20
  # a numeric literal
21
21
  # @return [RDF::Literal::Numeric]
22
22
  # @raise [TypeError] if the operand is not a numeric literal
@@ -16,7 +16,7 @@ module SPARQL; module Algebra
16
16
  ##
17
17
  # Returns the operand with its sign unchanged.
18
18
  #
19
- # @param [RDF::Literal::Numeric] numeric
19
+ # @param [RDF::Literal::Numeric] term
20
20
  # a numeric literal
21
21
  # @return [RDF::Literal::Numeric]
22
22
  # @raise [TypeError] if the operand is not a numeric literal
@@ -25,14 +25,19 @@ module RDF::Queryable
25
25
  #
26
26
  # Used to implement the SPARQL `describe` operator.
27
27
  #
28
- # @param [Array<RDF::Term>] *terms
29
- # List of terms to include in the results.
30
- # @param [Hash{Symbol => Object}] options
31
- # @option options [Boolean] :non_subjects (true)
32
- # If `term` is not a `subject` within `self`
33
- # then add all `subject`s referencing the term as a `predicate` or `object`.
34
- # @option options [RDF::Graph] graph
35
- # Graph containing statements already considered.
28
+ # @overload concise_bounded_description(*terms, &block)
29
+ # @param [Array<RDF::Term>] terms
30
+ # List of terms to include in the results.
31
+ #
32
+ # @overload concise_bounded_description(*terms, options, &block)
33
+ # @param [Array<RDF::Term>] terms
34
+ # List of terms to include in the results.
35
+ # @param [Hash{Symbol => Object}] options
36
+ # @option options [Boolean] :non_subjects (true)
37
+ # If `term` is not a `subject` within `self`
38
+ # then add all `subject`s referencing the term as a `predicate` or `object`.
39
+ # @option options [RDF::Graph] graph
40
+ # Graph containing statements already considered.
36
41
  # @yield [statement]
37
42
  # @yieldparam [RDF::Statement] statement
38
43
  # @yieldreturn [void] ignored
@@ -94,7 +94,11 @@ module SPARQL; module Grammar
94
94
  end
95
95
  end
96
96
 
97
- include RUBY_VERSION >= '1.9' ? Unicode : UTF_8
97
+ if RUBY_VERSION < '1.9'
98
+ include UTF_8
99
+ else
100
+ include Unicode
101
+ end
98
102
 
99
103
  KEYWORD = /#{KEYWORDS.join('|')}|#{FUNCTIONS.join('|')}/i
100
104
  DELIMITER = /\^\^|[{}()\[\],;\.]/
@@ -1038,7 +1038,9 @@ module SPARQL; module Grammar
1038
1038
  # Current ProdData element
1039
1039
  def prod_data; @prod_data.last; end
1040
1040
 
1041
- # @param [String] str Error string
1041
+ ##
1042
+ # @param [String] node Location
1043
+ # @param [String] message Error string
1042
1044
  # @param [Hash] options
1043
1045
  # @option options [URI, #to_s] :production
1044
1046
  # @option options [Token] :token
@@ -1050,7 +1052,9 @@ module SPARQL; module Grammar
1050
1052
 
1051
1053
  ##
1052
1054
  # Progress output when parsing
1053
- # @param [String] str
1055
+ #
1056
+ # @param [String] node Location
1057
+ # @param [String] message
1054
1058
  def progress(node, message, options = {})
1055
1059
  depth = options[:depth] || @productions.length
1056
1060
  $stderr.puts("[#{@lineno}]#{' ' * depth}#{node}: #{message}") if @options[:progress]
@@ -1059,30 +1063,33 @@ module SPARQL; module Grammar
1059
1063
  ##
1060
1064
  # Progress output when debugging
1061
1065
  #
1062
- # @overload: May be called with node, message and an option hash
1066
+ # May be called with node, message and an option hash
1067
+ # @overload debug(node, message, options)
1063
1068
  # @param [String] node processing node
1064
1069
  # @param [String] message
1065
1070
  # @param [Hash{Symbol => Object}] options
1066
1071
  # @option options [Boolean] :debug output debug messages to $stderr
1067
1072
  # @option options [Integer] :depth (@productions.length)
1068
1073
  # Processing depth for indenting message output.
1069
- # @yieldreturn [String] appended to message, to allow for lazy-evaulation of message
1070
1074
  #
1071
- # @overload: May be called with node and an option hash
1075
+ # May be called with node and an option hash
1076
+ # @overload debug(node, options)
1072
1077
  # @param [String] node processing node
1073
1078
  # @param [Hash{Symbol => Object}] options
1074
1079
  # @option options [Boolean] :debug output debug messages to $stderr
1075
1080
  # @option options [Integer] :depth (@productions.length)
1076
1081
  # Processing depth for indenting message output.
1077
- # @yieldreturn [String] appended to message, to allow for lazy-evaulation of message
1078
1082
  #
1079
- # @overload: May be called with only options, in which case the block is used to return the output message
1080
- # @param [String] node processing node
1083
+ # May be called with only options,
1084
+ # in which case the block is used to return the output message
1085
+ # @overload debug(options)
1081
1086
  # @param [Hash{Symbol => Object}] options
1082
1087
  # @option options [Boolean] :debug output debug messages to $stderr
1083
1088
  # @option options [Integer] :depth (@productions.length)
1084
1089
  # Processing depth for indenting message output.
1085
- # @yieldreturn [String] appended to message, to allow for lazy-evaulation of message
1090
+ #
1091
+ # @yieldreturn [String]
1092
+ # appended to message, to allow for lazy-evaulation of message
1086
1093
  def debug(*args)
1087
1094
  options = args.last.is_a?(Hash) ? args.pop : @options
1088
1095
  return unless options[:debug]
@@ -1309,10 +1316,8 @@ module SPARQL; module Grammar
1309
1316
 
1310
1317
  # add a pattern
1311
1318
  #
1312
- # @param [String] production:: Production generating pattern
1313
- # @param [RDF::Term] subject:: the subject of the pattern
1314
- # @param [RDF::Term] predicate:: the predicate of the pattern
1315
- # @param [RDF::Term, Node, Literal] object:: the object of the pattern
1319
+ # @param [String] production Production generating pattern
1320
+ # @param [Hash{Symbol => Object}] options
1316
1321
  def add_pattern(production, options)
1317
1322
  progress(production, "add_pattern: #{options.inspect}")
1318
1323
  progress(production, "[:pattern, #{options[:subject]}, #{options[:predicate]}, #{options[:object]}]")
@@ -177,7 +177,6 @@ module SPARQL
177
177
  end
178
178
  fmt = RDF::Format.for(format ? format.to_sym : {:content_type => content_type})
179
179
  fmt ||= RDF::NTriples::Format
180
- puts "fmt: #{fmt.inspect}, format: #{format.inspect}, content_type: #{content_type}"
181
180
  format ||= fmt.to_sym
182
181
  content_type ||= fmt.content_type.first
183
182
  results = solutions.dump(format, options)
@@ -195,8 +194,14 @@ module SPARQL
195
194
 
196
195
  content_type ||= RDF::Query::Solutions::MIME_TYPES[format] if format
197
196
 
198
- serialization.instance_variable_set(:"@content_type", content_type)
199
- def serialization.content_type; @content_type; end
197
+ serialization.instance_eval do
198
+ if RUBY_VERSION < "1.9"
199
+ singleton = class << self; self end
200
+ singleton.send :define_method, :content_type, lambda { content_type }
201
+ else
202
+ define_singleton_method(:content_type) { content_type }
203
+ end
204
+ end
200
205
 
201
206
  serialization
202
207
  end
@@ -260,8 +265,14 @@ module SPARQL
260
265
  exception.message
261
266
  end
262
267
 
263
- serialization.instance_variable_set(:"@content_type", content_type)
264
- def serialization.content_type; @content_type; end
268
+ serialization.instance_eval do
269
+ if RUBY_VERSION < "1.9"
270
+ singleton = class << self; self end
271
+ singleton.send :define_method, :content_type, lambda { content_type }
272
+ else
273
+ define_singleton_method(:content_type) { content_type }
274
+ end
275
+ end
265
276
 
266
277
  serialization
267
278
  end
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: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-05-14 00:00:00.000000000Z
14
+ date: 2012-07-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rdf
18
- requirement: &70303058490440 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,15 @@ dependencies:
23
23
  version: 0.3.5
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70303058490440
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: 0.3.5
27
32
  - !ruby/object:Gem::Dependency
28
33
  name: builder
29
- requirement: &70303058489780 !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
30
35
  none: false
31
36
  requirements:
32
37
  - - ! '>='
@@ -34,10 +39,15 @@ dependencies:
34
39
  version: 3.0.0
35
40
  type: :runtime
36
41
  prerelease: false
37
- version_requirements: *70303058489780
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 3.0.0
38
48
  - !ruby/object:Gem::Dependency
39
49
  name: json
40
- requirement: &70303058489140 !ruby/object:Gem::Requirement
50
+ requirement: !ruby/object:Gem::Requirement
41
51
  none: false
42
52
  requirements:
43
53
  - - ! '>='
@@ -45,10 +55,15 @@ dependencies:
45
55
  version: 1.5.1
46
56
  type: :runtime
47
57
  prerelease: false
48
- version_requirements: *70303058489140
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: 1.5.1
49
64
  - !ruby/object:Gem::Dependency
50
65
  name: sxp
51
- requirement: &70303058488380 !ruby/object:Gem::Requirement
66
+ requirement: !ruby/object:Gem::Requirement
52
67
  none: false
53
68
  requirements:
54
69
  - - ! '>='
@@ -56,10 +71,15 @@ dependencies:
56
71
  version: 0.0.14
57
72
  type: :runtime
58
73
  prerelease: false
59
- version_requirements: *70303058488380
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ! '>='
78
+ - !ruby/object:Gem::Version
79
+ version: 0.0.14
60
80
  - !ruby/object:Gem::Dependency
61
81
  name: sparql-client
62
- requirement: &70303058487660 !ruby/object:Gem::Requirement
82
+ requirement: !ruby/object:Gem::Requirement
63
83
  none: false
64
84
  requirements:
65
85
  - - ! '>='
@@ -67,10 +87,15 @@ dependencies:
67
87
  version: 0.1.0
68
88
  type: :runtime
69
89
  prerelease: false
70
- version_requirements: *70303058487660
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: 0.1.0
71
96
  - !ruby/object:Gem::Dependency
72
97
  name: rdf-xsd
73
- requirement: &70303058486880 !ruby/object:Gem::Requirement
98
+ requirement: !ruby/object:Gem::Requirement
74
99
  none: false
75
100
  requirements:
76
101
  - - ! '>='
@@ -78,10 +103,15 @@ dependencies:
78
103
  version: 0.3.5
79
104
  type: :runtime
80
105
  prerelease: false
81
- version_requirements: *70303058486880
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ! '>='
110
+ - !ruby/object:Gem::Version
111
+ version: 0.3.5
82
112
  - !ruby/object:Gem::Dependency
83
113
  name: sinatra
84
- requirement: &70303058471320 !ruby/object:Gem::Requirement
114
+ requirement: !ruby/object:Gem::Requirement
85
115
  none: false
86
116
  requirements:
87
117
  - - ! '>='
@@ -89,10 +119,15 @@ dependencies:
89
119
  version: 1.3.2
90
120
  type: :development
91
121
  prerelease: false
92
- version_requirements: *70303058471320
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: 1.3.2
93
128
  - !ruby/object:Gem::Dependency
94
129
  name: rack
95
- requirement: &70303058470380 !ruby/object:Gem::Requirement
130
+ requirement: !ruby/object:Gem::Requirement
96
131
  none: false
97
132
  requirements:
98
133
  - - ! '>='
@@ -100,10 +135,15 @@ dependencies:
100
135
  version: 1.4.1
101
136
  type: :development
102
137
  prerelease: false
103
- version_requirements: *70303058470380
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: 1.4.1
104
144
  - !ruby/object:Gem::Dependency
105
145
  name: rack-test
106
- requirement: &70303058469520 !ruby/object:Gem::Requirement
146
+ requirement: !ruby/object:Gem::Requirement
107
147
  none: false
108
148
  requirements:
109
149
  - - ! '>='
@@ -111,10 +151,15 @@ dependencies:
111
151
  version: 0.6.1
112
152
  type: :development
113
153
  prerelease: false
114
- version_requirements: *70303058469520
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: 0.6.1
115
160
  - !ruby/object:Gem::Dependency
116
161
  name: linkeddata
117
- requirement: &70303058468620 !ruby/object:Gem::Requirement
162
+ requirement: !ruby/object:Gem::Requirement
118
163
  none: false
119
164
  requirements:
120
165
  - - ! '>='
@@ -122,10 +167,15 @@ dependencies:
122
167
  version: 0.3.5
123
168
  type: :development
124
169
  prerelease: false
125
- version_requirements: *70303058468620
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ none: false
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
175
+ version: 0.3.5
126
176
  - !ruby/object:Gem::Dependency
127
177
  name: rdf-spec
128
- requirement: &70303058467640 !ruby/object:Gem::Requirement
178
+ requirement: !ruby/object:Gem::Requirement
129
179
  none: false
130
180
  requirements:
131
181
  - - ! '>='
@@ -133,10 +183,15 @@ dependencies:
133
183
  version: 0.3.5
134
184
  type: :development
135
185
  prerelease: false
136
- version_requirements: *70303058467640
186
+ version_requirements: !ruby/object:Gem::Requirement
187
+ none: false
188
+ requirements:
189
+ - - ! '>='
190
+ - !ruby/object:Gem::Version
191
+ version: 0.3.5
137
192
  - !ruby/object:Gem::Dependency
138
193
  name: open-uri-cached
139
- requirement: &70303058466820 !ruby/object:Gem::Requirement
194
+ requirement: !ruby/object:Gem::Requirement
140
195
  none: false
141
196
  requirements:
142
197
  - - ! '>='
@@ -144,10 +199,15 @@ dependencies:
144
199
  version: 0.0.4
145
200
  type: :development
146
201
  prerelease: false
147
- version_requirements: *70303058466820
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ none: false
204
+ requirements:
205
+ - - ! '>='
206
+ - !ruby/object:Gem::Version
207
+ version: 0.0.4
148
208
  - !ruby/object:Gem::Dependency
149
209
  name: equivalent-xml
150
- requirement: &70303058465960 !ruby/object:Gem::Requirement
210
+ requirement: !ruby/object:Gem::Requirement
151
211
  none: false
152
212
  requirements:
153
213
  - - ! '>='
@@ -155,10 +215,15 @@ dependencies:
155
215
  version: 0.2.8
156
216
  type: :development
157
217
  prerelease: false
158
- version_requirements: *70303058465960
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ none: false
220
+ requirements:
221
+ - - ! '>='
222
+ - !ruby/object:Gem::Version
223
+ version: 0.2.8
159
224
  - !ruby/object:Gem::Dependency
160
225
  name: nokogiri
161
- requirement: &70303058465200 !ruby/object:Gem::Requirement
226
+ requirement: !ruby/object:Gem::Requirement
162
227
  none: false
163
228
  requirements:
164
229
  - - ! '>='
@@ -166,21 +231,31 @@ dependencies:
166
231
  version: 1.5.0
167
232
  type: :development
168
233
  prerelease: false
169
- version_requirements: *70303058465200
234
+ version_requirements: !ruby/object:Gem::Requirement
235
+ none: false
236
+ requirements:
237
+ - - ! '>='
238
+ - !ruby/object:Gem::Version
239
+ version: 1.5.0
170
240
  - !ruby/object:Gem::Dependency
171
241
  name: rspec
172
- requirement: &70303058464360 !ruby/object:Gem::Requirement
242
+ requirement: !ruby/object:Gem::Requirement
173
243
  none: false
174
244
  requirements:
175
245
  - - ! '>='
176
246
  - !ruby/object:Gem::Version
177
- version: 2.8.0
247
+ version: 2.10.0
178
248
  type: :development
179
249
  prerelease: false
180
- version_requirements: *70303058464360
250
+ version_requirements: !ruby/object:Gem::Requirement
251
+ none: false
252
+ requirements:
253
+ - - ! '>='
254
+ - !ruby/object:Gem::Version
255
+ version: 2.10.0
181
256
  - !ruby/object:Gem::Dependency
182
257
  name: spira
183
- requirement: &70303058463780 !ruby/object:Gem::Requirement
258
+ requirement: !ruby/object:Gem::Requirement
184
259
  none: false
185
260
  requirements:
186
261
  - - ! '>='
@@ -188,18 +263,28 @@ dependencies:
188
263
  version: 0.0.12
189
264
  type: :development
190
265
  prerelease: false
191
- version_requirements: *70303058463780
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ none: false
268
+ requirements:
269
+ - - ! '>='
270
+ - !ruby/object:Gem::Version
271
+ version: 0.0.12
192
272
  - !ruby/object:Gem::Dependency
193
273
  name: yard
194
- requirement: &70303058448580 !ruby/object:Gem::Requirement
274
+ requirement: !ruby/object:Gem::Requirement
195
275
  none: false
196
276
  requirements:
197
277
  - - ! '>='
198
278
  - !ruby/object:Gem::Version
199
- version: 0.7.5
279
+ version: 0.8.2
200
280
  type: :development
201
281
  prerelease: false
202
- version_requirements: *70303058448580
282
+ version_requirements: !ruby/object:Gem::Requirement
283
+ none: false
284
+ requirements:
285
+ - - ! '>='
286
+ - !ruby/object:Gem::Version
287
+ version: 0.8.2
203
288
  description: ! "\n Implements SPARQL grammar parsing to SPARQL Algebra, SPARQL
204
289
  Algebra processing\n and includes SPARQL Client for accessing remote repositories."
205
290
  email: public-rdf-ruby@w3.org
@@ -301,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
386
  version: '0'
302
387
  requirements: []
303
388
  rubyforge_project: sparql
304
- rubygems_version: 1.8.17
389
+ rubygems_version: 1.8.23
305
390
  signing_key:
306
391
  specification_version: 3
307
392
  summary: SPARQL library for Ruby.