activerdf_sparql 1.2.1 → 1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == activerdf_sparql (1.3) Sun, 18 Feb 2007 15:11:05 +0000
2
+ * added support for datatyped literals in SPARQL queries
3
+
1
4
  == activerdf_sparql (1.2.1) Tue, 13 Feb 2007 19:18:47 +0000
2
5
  * gems published automatically from Rakefile
3
6
  * fixed wrong require statement in sparql.rb
@@ -43,9 +43,11 @@ class SparqlAdapter < ActiveRdfAdapter
43
43
  end
44
44
 
45
45
  # do the real work of executing the sparql query
46
- def execute_sparql_query(qs, header, &block)
46
+ def execute_sparql_query(qs, header=nil, &block)
47
47
  $activerdflog.debug "executing query #{qs} on url #@url"
48
48
 
49
+ header = header(nil) if header.nil?
50
+
49
51
  # encoding query string in URL
50
52
  url = "#@url?query=#{CGI.escape(qs)}"
51
53
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: activerdf_sparql
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.1
7
- date: 2007-02-13 00:00:00 +00:00
6
+ version: "1.3"
7
+ date: 2007-02-18 00:00:00 +00:00
8
8
  summary: ActiveRDF adapter to SPARQL endpoint
9
9
  require_paths:
10
10
  - lib