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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 880fe5136cd250c97eb7862c93a4b296a4f9b9ad
4
- data.tar.gz: 02dac2153fbc8a86bab768b732547604d19a2c21
3
+ metadata.gz: 46d4db70882a5b8fe59606d2473aa51874583007
4
+ data.tar.gz: dbf06faf6715676d2e4e613cce6b04db63a0a4aa
5
5
  SHA512:
6
- metadata.gz: 8087772b56f2ceebcde26485b8b3a16a2e3cf4ff77ba4e1e6c6ac42a512690b53b056d59bc28c1de0c43529da19d5bad2609af15813851f02ed8b9ae347acfb7
7
- data.tar.gz: 4ffccb545451c80d261cca8071c41c3f2d69e387fb30419106f7c300832fa82447be3213f6dbfffc39a87b25f3cf4884c4e0353771d016d2a15e8b192e1a291b
6
+ metadata.gz: 19a31e150a929cc339860125abc546a7a64869ad747beba00e0e42f41b2b17b46522b9fea85af4d49ebfc42d7b65e5e2d6e8b403ef52aee75f2ca5c9e62c56d4
7
+ data.tar.gz: cca731a93c27bc4e8840e499fe96a810872c8f249cb5e2f4ec8da53cf5bac68f05e40ca2f5abe2344ec84eb2422d61c889e65e57aecb0876f9ba6bf8dd9a97c2
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Rest
2
- VERSION = "3.0.5"
2
+ VERSION = "3.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder