Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 5, 2015
  1. @gkellogg

    Release 1.1.5

    gkellogg authored
    * Allow an RDF::Repository to be used as a SPARQL::Client::Repository url, which will using the SPARQL gem for implementing all query and update operations; mostly useful for testing, but makes access uniform.
  2. @gkellogg

    Version 1.1.5.

    gkellogg authored
  3. @gkellogg

    Updates to allow a native RDF::Repository instance to be used for SPA…

    gkellogg authored
    …RQL::Client::Repository URL, which will use the SPARQL gem for doing updates.
  4. @gkellogg

    When using the SPARQL gem as an update endpoint, use the `:update` op…

    gkellogg authored
    …tion to invoke the proper parser path and catch malformed queries.
Commits on Mar 4, 2015
  1. @gkellogg

    Release 1.1.4

    gkellogg authored
    * Option for separate update_endpoint for Client::Repositories (@marcelotto)
    * Added `SPARQL::Client#request_method` hook to allow external implementations to override how the HTTP method is selected (@jcoyne)
  2. @gkellogg

    Release 1.1.4

    gkellogg authored
    * Option for separate update_endpoint for Client::Repositories (@marcelotto)
    * Added `SPARQL::Client#request_method` hook to allow external implementations to override how the HTTP method is selected (@jcoyne)
  3. @gkellogg

    Version 1.1.4.

    gkellogg authored
  4. @gkellogg

    Change Client#method to Client#request_method, as #method replaces Ob…

    gkellogg authored
    …ject#method, which is over-broad and broke the repository specs.
    
    This fixes #57.
  5. @gkellogg

    Merge pull request #57 from jcoyne/override_method

    gkellogg authored
    Add a mechanism to override the HTTP verb
  6. @jcoyne

    Add a mechanism to override the HTTP verb

    jcoyne authored
    Marmotta 3.3.0 requires GET for DELETE requests, but can
    accept POST for INSERT
    
    This enables rdf-marmotta to override less of #request. See
    jcoyne/rdf-marmotta@9b1cf62
Commits on Oct 24, 2014
  1. @gkellogg

    Merge pull request #54 from marcelotto/feature/update_endpoint

    gkellogg authored
    Option for separate update_endpoint for Client::Repositories
  2. @marcelotto
Commits on Oct 16, 2014
  1. @gkellogg

    Update README.md

    gkellogg authored
    Change account for Christoph Badura from @b4d to @bad
Commits on Oct 7, 2014
  1. @gkellogg
  2. @gkellogg
Commits on Oct 3, 2014
  1. @gkellogg

    Release 1.1.3.1.

    gkellogg authored
    * Some SPARQL servers redirect requests. This allows the library to follow
    redirects, and raise an error in case of a large number of redirects. (Tom Johnson)
    * Update dependency on net-http-persistent to ~> 2.9. (Nick Gottlieb)
    * This relates to issue #18.
  2. @gkellogg

    Release 1.1.3.1.

    gkellogg authored
    * Some SPARQL servers redirect requests. This allows the library to follow
    redirects, and raise an error in case of a large number of redirects. (Tom Johnson)
    * Update dependency on net-http-persistent to ~> 2.9. (Nick Gottlieb)
    * This relates to issue #18.
  3. @gkellogg

    Version 1.1.3.1.

    gkellogg authored
  4. @gkellogg

    Merge pull request #53 from ngottlieb/fix-tests

    gkellogg authored
    disable webmock for rdf-spec repo tests and reenable repo tests
  5. @ngottlieb
  6. @gkellogg

    Update dependency on net-http-persistent to ~> 2.9.

    gkellogg authored
    Disable Repository tests, as Dydra is really just too slow for remote testing, and WebMock continues to be enabled, causing errors.
    This relates to issue #18.
Commits on Sep 30, 2014
  1. @gkellogg

    Merge pull request #52 from no-reply/feature/follow-redirects

    gkellogg authored
    Follow redirects when querying sparql.
    
    Thanks!
Commits on Sep 29, 2014
  1. @no-reply

    Follow redirects when querying sparql

    no-reply authored
    Some SPARQL servers redirect requests. This allows the library to follow
    redirects, and raise an error in case of a large number of redirects.
Commits on Aug 25, 2014
  1. @gkellogg

    Release 1.1.3.

    gkellogg authored
    Be more descriminating on Accept headers sent based on different queries. Queries build using the DSL use either RDF content types, or SPARQL Results content types, not both. This includes adding */*;q=0.1 to all requests.
    Those using RDF content types:
    
     * CONSTRUCT, DESCRIBE, DELETE DATA, LOAD, CREATE
    
    Those using SPARQL Results content types:
    
      * ASK, SELECT, INSERT DATA, CLEAR, DROP
    
    Hopefully, this makes issues such as come up in #51 less likely to happen.
    
    Only use DELETE DATA for #delete_statements if the statement is both constant, and contains no BNodes, otherwise, it falls back to DELETE/INSERT.
    
    Check error response includes query in exception.
    When doing updates, change BNodes to Variables.
  2. @gkellogg

    Version 1.1.3.

    gkellogg authored
  3. @gkellogg

    Be more descriminating on Accept headers sent based on different quer…

    gkellogg authored
    …ies. Queries build using the DSL use either RDF content types, or SPARQL Results content types, not both. This includes adding */*;q=0.1 to all requests.
    
    Those using RDF content types:
    
     * CONSTRUCT, DESCRIBE, DELETE DATA, LOAD, CREATE
    
    Those using SPARQL Results content types:
    
      * ASK, SELECT, INSERT DATA, CLEAR, DROP
    
    Hopefully, this makes issues such as come up in #51 less likely to happen.
    
    Only use DELETE DATA for #delete_statements if the statement is both constant, and contains no BNodes, otherwise, it falls back to DELETE/INSERT.
    
    Check error response includes query in exception.
    When doing updates, change BNodes to Variables.
  4. @gkellogg

    Remove debug point.

    gkellogg authored
  5. @gkellogg

    Add around block with response delegation to capture query and report…

    gkellogg authored
    … on queries run in this example if the example fails. (Not perfect, but still useful).
  6. @gkellogg

    Check error response outputs query.

    gkellogg authored
    When doing updates, change BNodes to Variables.
Commits on Aug 24, 2014
  1. @gkellogg

    Only use DELETE DATA for #delete_statements if the statement is both …

    gkellogg authored
    …constant, and contains no BNodes, otherwise, it falls back to DELETE/INSERT.
  2. @gkellogg

    Update code setting appropriate Accept header, and also add */*;q=0.1…

    gkellogg authored
    … to every request as a fallback.
Commits on Aug 11, 2014
  1. @bendiken

    Ensured that SPARQL 1.1 JSON typed literals are parsed correctly.

    bendiken authored
    The parsing code now supports both SPARQL 1.0 and 1.1 JSON results:
    
        {"type": "literal", "value": "S", "datatype": "D"}        # SPARQL 1.1 JSON
        {"type": "typed-literal", "value": "S", "datatype": "D"}  # SPARQL 1.0 JSON
    
    See: http://www.w3.org/TR/sparql11-results-json/#select-encode-terms
    See: http://www.w3.org/TR/rdf-sparql-json-res/#variable-binding-results
Commits on Jul 30, 2014
  1. @gkellogg

    Be more descriminating on Accept headers sent based on different quer…

    gkellogg authored
    …ies. Queries build using the DSL use either RDF content types, or SPARQL Results content types, not both.
    
    Those using RDF content types:
    
     * CONSTRUCT, DESCRIBE, DELETE DATA, LOAD, CREATE
    
    Those using SPARQL Results content types:
    
      * ASK, SELECT, INSERT DATA, CLEAR, DROP
    
    Hopefully, this makes issues such as come up in #51 less likely to happen.
Commits on Jul 25, 2014
  1. @gkellogg

    Merge pull request #50 from bencpeters/update-url

    gkellogg authored
    Added :endpoint option for #update method to specify an alternative update endpoint
Commits on Jul 24, 2014
  1. Added :endpoint option for #update method to specify an alternative u…

    Ben Peters authored
    …pdate endpoint
Something went wrong with that request. Please try again.