mint_http 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mint_http/request.rb +5 -0
- data/lib/mint_http/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e41023f0785155bb3968545f7a1e86698c83731c30f300d4da82b468cf64bdd0
|
4
|
+
data.tar.gz: b4dd6b49a7567e6e7b62be3129b21f6a35d0b74d4ec923957f7a3240cfb2f0c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bbd585918f7be38d2d837843030a0a287382d2c0adfa7740c40b115504bb1c5cf7b9aed438faf72b462687ca4c6d52878bdd63e4c2f67eb79da739d39943407
|
7
|
+
data.tar.gz: 314f206f55fcfaab3cfe8aa352c79530e4509f627dff853561a2aed8165dcb8fcc6fc4cfb9ed83e24299d37d7281ac3cfd4b32165af3431a5787413cb111e8a0
|
data/Gemfile.lock
CHANGED
data/lib/mint_http/request.rb
CHANGED
@@ -49,12 +49,16 @@ module MintHttp
|
|
49
49
|
|
50
50
|
@pool = pool
|
51
51
|
header('Connection' => 'keep-alive')
|
52
|
+
|
53
|
+
self
|
52
54
|
end
|
53
55
|
|
54
56
|
def timeout(open, write, read)
|
55
57
|
@open_timeout = open
|
56
58
|
@write_timeout = write
|
57
59
|
@read_timeout = read
|
60
|
+
|
61
|
+
self
|
58
62
|
end
|
59
63
|
|
60
64
|
def base_url(url)
|
@@ -150,6 +154,7 @@ module MintHttp
|
|
150
154
|
@body_type = :raw
|
151
155
|
@body = raw
|
152
156
|
content_type(nil)
|
157
|
+
|
153
158
|
self
|
154
159
|
end
|
155
160
|
|
data/lib/mint_http/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mint_http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ali Alhoshaiyan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-http
|