sparql-client 1.1.3 → 1.1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CREDITS +1 -0
- data/README +1 -0
- data/VERSION +1 -1
- data/lib/sparql/client.rb +8 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc30780970896aa3335259e0ff2e6d957a021620
|
4
|
+
data.tar.gz: 503ea698a4471c3d724b70a8f877727e0f1d4aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5f7bcde8d7215cd9557979ef5960f5514c5a593fb5f0607201bcb6256dc0ea40120eca17737fd0b488e8a01df9882df366512d62fc31443f4ad2d4705624726
|
7
|
+
data.tar.gz: 92886ab2902fd1c5cefc23052a3033c394224c0bb7e3c4419233b99c5bed80dc2f31c94932b5164545bd854fef97e8032aad309ffe8d0e9eef64f7d04ad689a5
|
data/CREDITS
CHANGED
data/README
CHANGED
@@ -120,6 +120,7 @@ follows:
|
|
120
120
|
* [Michael Sokol](http://github.com/mikaa123) - <http://sokolmichael.com/>
|
121
121
|
* [Yves Raimond](http://github.com/moustaki) - <http://moustaki.org/>
|
122
122
|
* [Thomas Feron](http://github.com/thoferon) - <http://github.com/thoferon>
|
123
|
+
* [Nick Gottlieb](http://github.com/ngottlieb) - <http://www.nicholasgottlieb.com>
|
123
124
|
|
124
125
|
##Contributing
|
125
126
|
This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.3
|
1
|
+
1.1.3.1
|
data/lib/sparql/client.rb
CHANGED
@@ -675,11 +675,15 @@ module SPARQL
|
|
675
675
|
request.basic_auth(url.user, url.password) if url.user && !url.user.empty?
|
676
676
|
|
677
677
|
response = @http.request(url, request)
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
678
|
+
|
679
|
+
10.times do
|
680
|
+
if response.kind_of? Net::HTTPRedirection
|
681
|
+
response = @http.request(RDF::URI(response['location']), request)
|
682
|
+
else
|
683
|
+
return block_given? ? block.call(response) : response
|
684
|
+
end
|
682
685
|
end
|
686
|
+
raise ServerError, "Infinite redirect at #{url}. Redirected more than 10 times."
|
683
687
|
end
|
684
688
|
|
685
689
|
##
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sparql-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.3
|
4
|
+
version: 1.1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arto Bendiken
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '2.9'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '2.9'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: sparql
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|