http_utilities 1.3.8 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca7938604d4814cf219bf301c6dc09aa46eeb291dbd511ecfe1e06a4b5f24ed1
4
- data.tar.gz: 96b644d0788ff62aff276785ebe7cd623c1a3f66b1e30c8bf20344d6c90e6853
3
+ metadata.gz: d3950c37c0d9ee3f4904ee15ea56ae68f0c4c2cf6c3c02d0bd11930b07bc595a
4
+ data.tar.gz: ddf84f8c12eca16854200b7306c9911b0b35db8a56c624246df57db5ea3d0cb3
5
5
  SHA512:
6
- metadata.gz: 89c13106c5399ae51fd31acafd83080786a903f4da5007434f6be1c7ba7e2ae87294806eb82b5a89068dec038733ceaab462563c8d61aadb50c7b17dd880ad85
7
- data.tar.gz: 4f2499c3d882ca00a2ec31b077b4a5950eb40a1633809dce48494845b4213891b90ff0a1d238345c5a1d4b7470959bfea301277ce1851bb966f631be504e7847
6
+ metadata.gz: 95fef597f8335070798abb4a19720d3175dff9b2650b779abf3bc24baeb266b2336c2ed237dd25e34fce8af61a0dae74df2daef2efa59d7d8f208a0734d7ace3
7
+ data.tar.gz: 806593095a5895076cacc313f2e62eb6e9cf3a322b0328e33b4fee0c4d40666de4d2e84a435345c5412bc90f61e8df6733e6830fad21c59df361e91bcacd33f6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.8
1
+ 1.3.9
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
4
4
 
5
5
  s.name = "http_utilities"
6
- s.version = "1.3.8"
6
+ s.version = "1.3.9"
7
7
 
8
8
  s.authors = ["Sebastian Johnsson"]
9
9
  s.description = "Wrapper for Faraday with additional functionality"
@@ -5,7 +5,7 @@ require "faraday_middleware"
5
5
  require "mechanize"
6
6
 
7
7
  module HttpUtilities
8
- VERSION = "1.3.8"
8
+ VERSION = "1.3.9"
9
9
 
10
10
  require File.join(File.dirname(__FILE__), 'http_utilities/railtie') if defined?(Rails)
11
11
 
@@ -9,11 +9,11 @@ module HttpUtilities
9
9
  Faraday::Error
10
10
  ]
11
11
 
12
- def get(url, arguments: {}, options: {}, raise_exceptions: false, retries: 3)
12
+ def get(url, arguments: {}, options: {}, client_options: {}, raise_exceptions: false, retries: 3)
13
13
  response = nil
14
14
 
15
15
  begin
16
- request = build_request(options: options)
16
+ request = build_request(options: options, client_options: client_options)
17
17
  response = request.interface.get(url, arguments)
18
18
  response = HttpUtilities::Http::Response.new(response: response, request: request, options: options)
19
19
 
@@ -27,11 +27,11 @@ module HttpUtilities
27
27
  return response
28
28
  end
29
29
 
30
- def post(url, data: nil, options: {}, raise_exceptions: false, retries: 3)
30
+ def post(url, data: nil, options: {}, client_options: {}, raise_exceptions: false, retries: 3)
31
31
  response = nil
32
32
 
33
33
  begin
34
- request = build_request(options: options)
34
+ request = build_request(options: options, client_options: client_options)
35
35
  response = request.interface.post(url, data)
36
36
  response = HttpUtilities::Http::Response.new(response: response, request: request, options: options)
37
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_utilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Johnsson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2017-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday