rest 3.0.5 → 3.0.6
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 +4 -4
- data/lib/rest/client.rb +2 -2
- data/lib/rest/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46d4db70882a5b8fe59606d2473aa51874583007
|
|
4
|
+
data.tar.gz: dbf06faf6715676d2e4e613cce6b04db63a0a4aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19a31e150a929cc339860125abc546a7a64869ad747beba00e0e42f41b2b17b46522b9fea85af4d49ebfc42d7b65e5e2d6e8b403ef52aee75f2ca5c9e62c56d4
|
|
7
|
+
data.tar.gz: cca731a93c27bc4e8840e499fe96a810872c8f249cb5e2f4ec8da53cf5bac68f05e40ca2f5abe2344ec84eb2422d61c889e65e57aecb0876f9ba6bf8dd9a97c2
|
data/lib/rest/client.rb
CHANGED
|
@@ -85,11 +85,11 @@ module Rest
|
|
|
85
85
|
@logger.debug "Using rest-client gem. #{hint}"
|
|
86
86
|
RestClient.proxy = options[:http_proxy] if options[:http_proxy]
|
|
87
87
|
else # use internal client
|
|
88
|
-
require File.expand_path('wrappers/internal_client_wrapper', File.dirname(__FILE__))
|
|
89
88
|
@wrapper = Rest::Wrappers::InternalClientWrapper.new
|
|
90
89
|
@logger.debug "Using rest internal client. #{hint}"
|
|
91
|
-
InternalClient.proxy = options[:http_proxy] if options[:http_proxy]
|
|
92
90
|
end
|
|
91
|
+
# Always set this because of the shared post_file in base_wrapper
|
|
92
|
+
InternalClient.proxy = options[:http_proxy] if options[:http_proxy]
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
def choose_best_gem
|
data/lib/rest/version.rb
CHANGED