activerdf_net7 1.6.11 → 1.6.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,9 +107,9 @@ class Query
107
107
  # regular expression
108
108
  def filter_regexp(variable, regexp)
109
109
  raise(ActiveRdfError, "variable must be a symbol") unless variable.is_a? Symbol
110
- raise(ActiveRdfError, "regexp must be a ruby regexp") unless regexp.is_a? Regexp
110
+ regexp = regexp.source if(regexp.is_a?(Regexp))
111
111
 
112
- filter "regex(str(?#{variable}), #{regexp.inspect.gsub('/','"')})"
112
+ filter "regex(str(?#{variable}), \"#{regexp}\")"
113
113
  end
114
114
  alias :filter_regex :filter_regexp
115
115
 
metadata CHANGED
@@ -1,13 +1,48 @@
1
1
  --- !ruby/object:Gem::Specification
2
- extensions: []
2
+ name: activerdf_net7
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.12
5
+ platform: ruby
6
+ authors:
7
+ - Eyal Oren
8
+ - The Talia Team
9
+ autorequire: active_rdf
10
+ bindir: bin
11
+ cert_chain: []
3
12
 
4
- homepage: http://www.activerdf.org
13
+ date: 2009-11-04 00:00:00 +01:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: gem_plugin
18
+ type: :runtime
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 0.2.1
25
+ version:
26
+ - !ruby/object:Gem::Dependency
27
+ name: grit
28
+ type: :runtime
29
+ version_requirement:
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 1.1.1
35
+ version:
36
+ description: Offers object-oriented access to RDF (with adapters to several datastores). Version of the Talia project. THIS IS NOT THE OFFICIAL VERSION.
37
+ email: hahn@netseven.it
5
38
  executables: []
6
39
 
7
- version: !ruby/object:Gem::Version
8
- version: 1.6.11
9
- post_install_message:
10
- date: 2009-10-13 22:00:00 +00:00
40
+ extensions: []
41
+
42
+ extra_rdoc_files:
43
+ - CHANGELOG
44
+ - LICENSE
45
+ - README.rdoc
11
46
  files:
12
47
  - activerdf-jena/CHANGELOG
13
48
  - activerdf-jena/LICENSE
@@ -179,39 +214,36 @@ files:
179
214
  - CHANGELOG
180
215
  - LICENSE
181
216
  - README.rdoc
182
- rubygems_version: 1.3.5
183
- rdoc_options:
184
- - --charset=UTF-8
185
- signing_key:
186
- cert_chain: []
187
-
188
- name: activerdf_net7
189
217
  has_rdoc: true
190
- platform: ruby
191
- summary: Offers object-oriented access to RDF (with adapters to several datastores).
192
- Version of the Talia project.
193
- default_executable:
194
- bindir: bin
218
+ homepage: http://www.activerdf.org
195
219
  licenses: []
196
220
 
197
- required_rubygems_version: !ruby/object:Gem::Requirement
198
- version:
221
+ post_install_message:
222
+ rdoc_options:
223
+ - --charset=UTF-8
224
+ require_paths:
225
+ - lib
226
+ required_ruby_version: !ruby/object:Gem::Requirement
199
227
  requirements:
200
- - - '>='
228
+ - - ">="
201
229
  - !ruby/object:Gem::Version
202
230
  version: "0"
203
- required_ruby_version: !ruby/object:Gem::Requirement
204
231
  version:
232
+ required_rubygems_version: !ruby/object:Gem::Requirement
205
233
  requirements:
206
- - - '>='
234
+ - - ">="
207
235
  - !ruby/object:Gem::Version
208
236
  version: "0"
209
- require_paths:
210
- - lib
237
+ version:
238
+ requirements: []
239
+
240
+ rubyforge_project:
241
+ rubygems_version: 1.3.5
242
+ signing_key:
211
243
  specification_version: 3
244
+ summary: Offers object-oriented access to RDF (with adapters to several datastores). Version of the Talia project.
212
245
  test_files:
213
246
  - test/common.rb
214
- - test/test_adapters.rb
215
247
  - test/directaccess/test_direct_access.rb
216
248
  - test/federation/test_connection_pool.rb
217
249
  - test/federation/test_federation_manager.rb
@@ -229,38 +261,4 @@ test_files:
229
261
  - test/queryengine/test_query2jars2.rb
230
262
  - test/queryengine/test_query2sparql.rb
231
263
  - test/queryengine/test_query_engine.rb
232
- dependencies:
233
- - !ruby/object:Gem::Dependency
234
- type: :runtime
235
- name: gem_plugin
236
- version_requirement:
237
- version_requirements: !ruby/object:Gem::Requirement
238
- version:
239
- requirements:
240
- - - '>='
241
- - !ruby/object:Gem::Version
242
- version: 0.2.1
243
- - !ruby/object:Gem::Dependency
244
- type: :runtime
245
- name: grit
246
- version_requirement:
247
- version_requirements: !ruby/object:Gem::Requirement
248
- version:
249
- requirements:
250
- - - '>='
251
- - !ruby/object:Gem::Version
252
- version: 1.1.1
253
- description: Offers object-oriented access to RDF (with adapters to several datastores).
254
- Version of the Talia project. THIS IS NOT THE OFFICIAL VERSION.
255
- email: hahn@netseven.it
256
- authors:
257
- - Eyal Oren
258
- - The Talia Team
259
- extra_rdoc_files:
260
- - CHANGELOG
261
- - LICENSE
262
- - README.rdoc
263
- requirements: []
264
-
265
- rubyforge_project:
266
- autorequire: active_rdf
264
+ - test/test_adapters.rb