rubydora 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -5
- data/VERSION +1 -1
- data/lib/rubydora/rest_api_client.rb +0 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a3cb0f516d462a7840ff2d05e13736c0e4049a0
|
4
|
+
data.tar.gz: c6dfcef98d31c52456eda1997968b0e6f3ddc771
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bd6f39b559d69821166fc12211cdb190e5926f27b821434608e3a6fbcd1a93bc47bfb1e6ad82429946f91d227074f02bb27f30b7b5820ee4e893ee8d25686ef
|
7
|
+
data.tar.gz: 5dec0ba2cdea2b353dde866fde0d7d42b3ecda766c7df003d27afb58665e891b24780a16bec782aa1ed2e7f346631d7b400debb87d8293088a0424d4002b02f7
|
data/.travis.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.9.
|
1
|
+
1.9.1
|
@@ -14,8 +14,6 @@ module Rubydora
|
|
14
14
|
|
15
15
|
DEFAULT_CONTENT_TYPE = "application/octet-stream"
|
16
16
|
|
17
|
-
VALID_CLIENT_OPTIONS = [:user, :password, :timeout, :open_timeout, :ssl_client_cert, :ssl_client_key]
|
18
|
-
|
19
17
|
included do
|
20
18
|
include ActiveSupport::Rescuable
|
21
19
|
|
@@ -54,7 +52,6 @@ module Rubydora
|
|
54
52
|
if config.empty? || @config_hash.nil? || (client_config.hash == @config_hash)
|
55
53
|
@config_hash = client_config.hash
|
56
54
|
url = client_config[:url]
|
57
|
-
client_config.delete_if { |k,v| !VALID_CLIENT_OPTIONS.include?(k) }
|
58
55
|
client_config[:open_timeout] ||= client_config[:timeout]
|
59
56
|
@client ||= RestClient::Resource.new(url, client_config)
|
60
57
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubydora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|