fastbound-ruby 1.1.1 → 1.1.2

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: 5636145d94a788e369f51bd5c3118b9858eec7815c91460f91258bde3736cf0b
4
- data.tar.gz: '01187f1976e1658b14d38c2831c1a2d3635ad431f7e55818556ad1c4c9fc99ce'
3
+ metadata.gz: 50df0cbbde2a5bddc6bf840dca3ea5e3427b513cde3a4536676b801916615246
4
+ data.tar.gz: 72d930597d1867d1583d7e7b80b3f6c273184c1966421aa2814b9cbb9421b850
5
5
  SHA512:
6
- metadata.gz: cfbcbd5aa9a90c184b7bcda0bc5051eb3da82da5ebbf6d4c3af268e52b8fa74e8d0ac771b949eb93e5b0c084cd0f99b22deb88525a5d6ac7b4bd99b69f256d51
7
- data.tar.gz: e4b762a8f4deb99b58a638ecdb3a1b79426cd6bf40fcae3f9862d5dab1d057d3e5e1757dbd7dcdbae8b97a525b477a132393fc1152775950673526e5820d508d
6
+ metadata.gz: 27e08924d1543b95a0a28926160dee348fd9468c18563dd53ff9aa6bcd6298501108b8db5c38aeadf21e8adb7d32967e3dbbfb68e62bb1fd53ed008049ab7132
7
+ data.tar.gz: 9cfd6874dd9de4964031202086c9ec857402056544e365de6eddccb2b29b22c6166214ec7bd83effb4e88ba7047d341c99d386f0b5a4646e1eebb915559a644d
@@ -62,11 +62,11 @@ module FastBound
62
62
 
63
63
  def process_request(request)
64
64
  uri = URI(request.path)
65
+ http = Net::HTTP.new(uri.host, uri.port, use_ssl: true)
65
66
 
66
- response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
67
- http.set_debug_output($stdout) if FastBound.config.full_debug?
68
- http.request(request)
69
- end
67
+ http.set_debug_output($stdout) if FastBound.config.full_debug?
68
+
69
+ response = http.start { |_http| _http.request(request) }
70
70
 
71
71
  FastBound::Response.new(response)
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module FastBound
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastbound-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Dill