sparql 1.1.7 → 1.1.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8e188130c333370c626f037f5c2312a222b5f3d
4
- data.tar.gz: 61c0398d56e8e2891dc97d4a8843411c5912e0d6
3
+ metadata.gz: 5d72aeb5d5db6d7d428b89437f714b0c210e863f
4
+ data.tar.gz: daccd43bd940b353f85b9bfe9e4d6bf8915463b7
5
5
  SHA512:
6
- metadata.gz: 9398d997c21707cfaeef51fb8fd5dd11008e0d23bcc81ee8f9027d98ee37297b19735b4c4a6202cbf241c7faf811510af0dbf588742bcaf2389cfdda1488027a
7
- data.tar.gz: 03a7de12fa45056026eff0a2d93bfc92d375173c6afabfc462e223f10f5ea75f4ef943d22a9621aa84836b07703be4d4ee2206b917206edba70648af30f79723
6
+ metadata.gz: 22242763a859e2ab8c5c704f67e5fcfe4e36868ef3591c8ff8aaaceb0edffe5a4e0cda204d77b558df270c161f85d4bbbc01b8c5af1043a7e3aed93b64fd7bbc
7
+ data.tar.gz: 266accb58158ef89a63705165409ede9d92d3112d1c7d465cc213bca276c91cf83f23ebf8eaf318079cc9b06b9906761eb9e04e165db4668a7f0bcb2023ebc4f
data/README.md CHANGED
@@ -6,6 +6,8 @@ This is a [Ruby][] implementation of [SPARQL][] for [RDF.rb][].
6
6
 
7
7
  [![Build Status](https://travis-ci.org/ruby-rdf/sparql.png?branch=master)](http://travis-ci.org/ruby-rdf/sparql)
8
8
 
9
+ [![Coverage Status](https://coveralls.io/repos/ruby-rdf/sparql/badge.svg)](https://coveralls.io/r/ruby-rdf/sparql)
10
+
9
11
  ## Features
10
12
 
11
13
  * 100% free and unencumbered [public domain](http://unlicense.org/) software.
@@ -326,10 +328,10 @@ A copy of the [SPARQL 1.0 tests][] and [SPARQL 1.1 tests][] are also included in
326
328
  [SPARQL 1.0 tests]:http://www.w3.org/2001/sw/DataAccess/tests/
327
329
  [SPARQL 1.1 tests]: http://www.w3.org/2009/sparql/docs/tests/
328
330
  [SSE]: http://openjena.org/wiki/SSE
329
- [SXP]: http://sxp.rubyforge.org/
331
+ [SXP]: http://www.rubydoc.info/github/bendiken/sxp-ruby
330
332
  [grammar]: http://www.w3.org/TR/rdf-sparql-query/#grammar
331
333
  [RDF 1.1]: http://www.w3.org/TR/rdf11-concepts
332
- [RDF.rb]: http://rdf.rubyforge.org/
334
+ [RDF.rb]: http://rubydoc.info/github/ruby-rdf/rdf
333
335
  [Backports]: http://rubygems.org/gems/backports
334
336
  [Linked Data]: http://rubygems.org/gems/linkeddata
335
337
  [SPARQL doc]: http://rubydoc.info/github/ruby-rdf/sparql/frames
@@ -338,7 +340,7 @@ A copy of the [SPARQL 1.0 tests][] and [SPARQL 1.1 tests][] are also included in
338
340
  [SPARQL EBNF]: http://www.w3.org/TR/sparql11-query/#sparqlGrammar
339
341
 
340
342
  [SSD]: http://www.w3.org/TR/sparql11-service-description/
341
- [Rack]: http://rack.rubyforge.org/
343
+ [Rack]: http://rack.github.io
342
344
  [Sinatra]: http://www.sinatrarb.com/
343
345
  [conneg]: http://en.wikipedia.org/wiki/Content_negotiation
344
346
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.7
1
+ 1.1.8
@@ -47,7 +47,7 @@ module SPARQL::Grammar
47
47
  attr_reader :tokens
48
48
 
49
49
  ##
50
- # The internal representation of the result using hierarch of RDF objects and SPARQL::Algebra::Operator
50
+ # The internal representation of the result using hierarchy of RDF objects and SPARQL::Algebra::Operator
51
51
  # objects.
52
52
  # @return [Array]
53
53
  # @see http://sparql.rubyforge.org/algebra
@@ -819,7 +819,6 @@ module SPARQL::Grammar
819
819
  data[:Subject] = prod_data[:Subject]
820
820
  error(nil, "Expected Subject", production: :ObjectList) if !prod_data[:Subject] && validate?
821
821
  error(nil, "Expected Verb", production: :ObjectList) if !(prod_data[:Verb] || prod_data[:VerbPath]) && validate?
822
- data[:Subject] = prod_data[:Subject]
823
822
  if prod_data[:Verb]
824
823
  data[:Verb] = prod_data[:Verb]
825
824
  else
@@ -882,7 +881,9 @@ module SPARQL::Grammar
882
881
 
883
882
  # [85] VerbSimple ::= Var
884
883
  production(:VerbSimple) do |input, data, callback|
885
- data.values.each {|v| add_prod_datum(:Verb, v)}
884
+ #require 'byebug'; byebug
885
+ #data.values.each {|v| add_prod_datum(:Verb, v)}
886
+ input[:Verb] = data.values.flatten.first
886
887
  end
887
888
 
888
889
  # [86] ObjectListPath ::= ObjectPath ("," ObjectPath)*
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: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-12 00:00:00.000000000 Z
12
+ date: 2015-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
@@ -448,7 +448,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
448
448
  version: '0'
449
449
  requirements: []
450
450
  rubyforge_project: sparql
451
- rubygems_version: 2.4.3
451
+ rubygems_version: 2.4.7
452
452
  signing_key:
453
453
  specification_version: 4
454
454
  summary: SPARQL Query and Update library for Ruby.