l6_http 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/http_client.gemspec +1 -1
- data/l6_http-0.1.1.gem +0 -0
- data/lib/http_client/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b2a2d330b612737f902443cb707e5ba66367724934d03e1abc040291949dcfc
|
4
|
+
data.tar.gz: 5414a511a6aa679508efd0df9145d042b3adc77f37b98fc5b6e30b3a54fd9770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0b8c9f6a0403bd004ebc235230d77c506d12b1c5f88fac03a351f6b20ae6b734a55c6e778b19182444d64598c49a1c1573f5024ee646d5551301b47ad21c92
|
7
|
+
data.tar.gz: 5980cc15c31f4b75f6883e12690816813ff9c122b184f71e924cbbff3d213a9263dcd2a88de76f59c1fa618672193badaf0dcbbb0d978bc9a7390dbf52067878
|
data/README.md
CHANGED
@@ -23,6 +23,8 @@ Or install it yourself as:
|
|
23
23
|
## Usage
|
24
24
|
Gem to make http and https request
|
25
25
|
|
26
|
+
* require "http_client"
|
27
|
+
|
26
28
|
##http:
|
27
29
|
* Http.new("url_base").get("method")
|
28
30
|
* Http.new("url_base").get("method",header)
|
@@ -38,7 +40,7 @@ Gem to make http and https request
|
|
38
40
|
* how to use:
|
39
41
|
- header = {"Content-Type":"application/json","cache-control":"no-cache"}
|
40
42
|
- body = {"email":"nome@email.com","password":"pass121"}
|
41
|
-
- res =
|
43
|
+
- res = Https.new("url_base").get("method",header,body)
|
42
44
|
|
43
45
|
## http response
|
44
46
|
- Net::HTTP
|
data/http_client.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{gem to make http and https request}
|
13
13
|
spec.description = %q{gem to make http and https request}
|
14
|
-
spec.homepage = "https://gitlab.com/vini.freire.oliveira/
|
14
|
+
spec.homepage = "https://gitlab.com/vini.freire.oliveira/l6_http"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
data/l6_http-0.1.1.gem
ADDED
Binary file
|
data/lib/http_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: l6_http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vinicius Freire
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,9 +72,10 @@ files:
|
|
72
72
|
- bin/setup
|
73
73
|
- http_client.gemspec
|
74
74
|
- l6_http-0.1.0.gem
|
75
|
+
- l6_http-0.1.1.gem
|
75
76
|
- lib/http_client.rb
|
76
77
|
- lib/http_client/version.rb
|
77
|
-
homepage: https://gitlab.com/vini.freire.oliveira/
|
78
|
+
homepage: https://gitlab.com/vini.freire.oliveira/l6_http
|
78
79
|
licenses:
|
79
80
|
- MIT
|
80
81
|
metadata: {}
|