http_utilities 1.2.5.1 → 1.2.5.2

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: 9122d232c81512e4702fcb8aa12a2ec01d263bca
4
- data.tar.gz: 075bb8df192f856aa39066a2c0af7bb357e78de2
3
+ metadata.gz: 7b0f12de72d36058bdb6019453a497f608800e24
4
+ data.tar.gz: d878618e393eb7475c64f8a838f231be592edb1e
5
5
  SHA512:
6
- metadata.gz: e6640e9d8bfd12f61b4b17f17f0b593e5da727f57cbcb94b9126db763846b341169f982cf7f36f6e19f66b67dfb2fc1ec26b00864d9c81d20fa20f9b802283af
7
- data.tar.gz: 43298e43230ad50198c3a911be62dac68ab6af0fd445d126b14663b3aa1100eaaf2d9efafe3c5d519840813e3da0cc540c98b59aceed185948666a7466eab9ba
6
+ metadata.gz: 71b9a67894d8796c2bc8938d62a6977bb9ff446c49701472880dbca28338544bfec854097ee8ba7806f2e379e9d680919be7a2849c34781d72ea8b9c8b9853d6
7
+ data.tar.gz: 10135024f182e9e524e06ab8ec0359fc233886463d9a63935893ac03fe0cd777b61bfa9559d611f76e1246476e297e40b1f07c4948ed510a6563841c2ab4b6d3
@@ -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.2.5.1"
6
+ s.version = "1.2.5.2"
7
7
 
8
8
  s.authors = ["Sebastian Johnsson"]
9
9
  s.description = "Wrapper for Faraday with additional functionality"
@@ -7,9 +7,9 @@ module HttpUtilities
7
7
 
8
8
  def get(url, arguments: {}, options: {}, raise_exceptions: false, retries: 3)
9
9
  response = nil
10
- request = build_request(options: options)
11
10
 
12
11
  begin
12
+ request = build_request(options: options)
13
13
  response = request.interface.get(url, arguments)
14
14
  response = HttpUtilities::Http::Response.new(response, request, options)
15
15
 
@@ -25,9 +25,9 @@ module HttpUtilities
25
25
 
26
26
  def post(url, data: nil, options: {}, raise_exceptions: false, retries: 3)
27
27
  response = nil
28
- request = build_request(options: options)
29
28
 
30
29
  begin
30
+ request = build_request(options: options)
31
31
  response = request.interface.post(url, data)
32
32
  response = HttpUtilities::Http::Response.new(response, request, options)
33
33
 
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module HttpUtilities
3
- VERSION = "1.2.5.1"
3
+ VERSION = "1.2.5.2"
4
4
 
5
5
  require File.join(File.dirname(__FILE__), 'http_utilities/railtie') if defined?(Rails)
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_utilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5.1
4
+ version: 1.2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Johnsson