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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c219e160fc1acb88a74ddc7373a3045ef15dbc6aa5462586680ef4901c5b6e48
4
- data.tar.gz: 0cbe59a186ff5d0128c62fe794d90303c5c04ade5628c7cb477e1410f52fe531
3
+ metadata.gz: 6b2a2d330b612737f902443cb707e5ba66367724934d03e1abc040291949dcfc
4
+ data.tar.gz: 5414a511a6aa679508efd0df9145d042b3adc77f37b98fc5b6e30b3a54fd9770
5
5
  SHA512:
6
- metadata.gz: d7a0851861232062aa79a20b7d6e53ff6b4187da853e22b5394343ea5b819df25d64e0a6244b98334b496f7f12751291f94e910eec50226cf32c3495455dcbd6
7
- data.tar.gz: e77e35ea9c953b78705f3caa86e507ce900f27406a198f440333d80f7a564590291e495ddf04f11dbf5a6dc6a4312fbdadacfa4855d78579757cb2546535735f
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 = Http.new("url_base").get("method",header)
43
+ - res = Https.new("url_base").get("method",header,body)
42
44
 
43
45
  ## http response
44
46
  - Net::HTTP
@@ -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/http_client"
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|
Binary file
@@ -1,3 +1,3 @@
1
1
  module HttpClient
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-06 00:00:00.000000000 Z
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/http_client
78
+ homepage: https://gitlab.com/vini.freire.oliveira/l6_http
78
79
  licenses:
79
80
  - MIT
80
81
  metadata: {}