httply 0.1.9 → 0.2.0

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: b7a4ab9b01b8b05a2b6719e008577e909f7d34abf8b8fe119d2ae29760eca61b
4
- data.tar.gz: d2acbc10fa201caffa6f5c0d827dd5b1abfa036ac91a31914d0ef22e863e01d2
3
+ metadata.gz: 3b2dced2e5c3b300465476bf4949695bd38df27ab1bbef68af874e2ee9aeecf3
4
+ data.tar.gz: ceecd02689a32bcd6691f0bfd1a0da986076425cbc5bdc2b73c59c03dae481d9
5
5
  SHA512:
6
- metadata.gz: e04a34309d5a77fd04f1418c96f03ef77034c247f8d33a397ba824cfdac10c9c38bca2ea4c665ed7278e7e29ed52ca940ce197d1e77bb8a218c7edcd518618dd
7
- data.tar.gz: 877de8c7af979b63c1aec8b69e56ef3a06bdb750f3f39cd6bfd828bc14ca48f14ab3b6ce92afe0f85fb10ef6d76d6696c464d51d432a267a1958a80e1ace7e6e
6
+ metadata.gz: 98ec1ac47349f35f2243c2cbe9cf6c103f73b7e34547a8b8984574291663959fb03c1d8328df865ae6622f46c8c8afdffb35ae7bd14d758fc7e7eb88112adc16
7
+ data.tar.gz: 157483ba68c30fe7475076e4de37ddeb62ce1b5c3f06d0d87669d5dc5310cb72833011bbb8faadf34b287edf055c227ca81e9c1c6cf8aa1354da064097f5e299
@@ -11,7 +11,6 @@ require "httply/middlewares/html"
11
11
 
12
12
  require "httply/utilities/uri"
13
13
 
14
- require "httply/response"
15
14
  require "httply/proxies"
16
15
  require "httply/client"
17
16
 
@@ -64,7 +64,6 @@ module Httply
64
64
  end
65
65
  end
66
66
 
67
- response = ::Httply::Response.new(response)
68
67
  response = force_format(response, format) unless format.to_s.empty?
69
68
 
70
69
  return response
@@ -1,3 +1,3 @@
1
1
  module Httply
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httply
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Johnsson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-12 00:00:00.000000000 Z
11
+ date: 2020-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -185,7 +185,6 @@ files:
185
185
  - lib/httply/configuration.rb
186
186
  - lib/httply/middlewares/html.rb
187
187
  - lib/httply/proxies.rb
188
- - lib/httply/response.rb
189
188
  - lib/httply/utilities/uri.rb
190
189
  - lib/httply/version.rb
191
190
  homepage: https://github.com/SebastianJ/httply
@@ -1,11 +0,0 @@
1
- module Httply
2
- class Response
3
- attr_accessor :response, :body
4
-
5
- def initialize(response)
6
- self.response = response
7
- self.body = response.body
8
- end
9
-
10
- end
11
- end