nice_http 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/nice_http_utils.rb +0 -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: bfeca77d5f8d579b9ff3c0a3f0c9d88b0b65774e628426856e281c49c75cadbf
|
4
|
+
data.tar.gz: f229b14d5ac5f0ae922de4e7acbb6f2c85976856a1fb975b7ce455e6f18c120a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03e44f0e6c1ce0f539bd0a33e68bb40e3cbf9f654a696e332ede5399b50dc7efd1387a128277d0fc5f2694ba842fded516254cf979a816126a551dc90f39f5f7
|
7
|
+
data.tar.gz: 8a8ea1627a132419e67816c1556d29343a59813cc6e4754f273b8ba1b15de6de04bc941279109bdc9f25a437b74314eb8ffb6a4294f3633e0bbb050132fa0f3e
|
data/README.md
CHANGED
@@ -241,7 +241,6 @@ path="/authorize?client_id=kbyuFDidLLm280LIwVFiazOqjO3ty8KH&response_type=code"
|
|
241
241
|
|
242
242
|
@http = NiceHttp.new(server)
|
243
243
|
|
244
|
-
|
245
244
|
resp = @http.get(path)
|
246
245
|
|
247
246
|
p "With autoredirection:"
|
@@ -267,7 +266,8 @@ The output:
|
|
267
266
|
```
|
268
267
|
"With autoredirection:"
|
269
268
|
"Cookies: "
|
270
|
-
{"/"=>{"auth0"=>"s%3A6vEEwmmIf-9YAG-NjvsOIyZAh-NS97jj.yFSXILdmCov6DRwXjEei3q3eHIrxZxHI4eg4%2BTpUaK4"},
|
269
|
+
{"/"=>{"auth0"=>"s%3A6vEEwmmIf-9YAG-NjvsOIyZAh-NS97jj.yFSXILdmCov6DRwXjEei3q3eHIrxZxHI4eg4%2BTpUaK4"},
|
270
|
+
"/usernamepassword/login"=>{"_csrf"=>"bboZ0koMScwXkISzWaAMTYdY"}}
|
271
271
|
"Code: 200 OK "
|
272
272
|
"****************************************"
|
273
273
|
"Without autoredirection:"
|
data/lib/nice_http_utils.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nice_http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nice_hash
|
@@ -30,7 +30,8 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.4.0
|
33
|
-
description:
|
33
|
+
description: NiceHttp -- simplest library for accessing and testing HTTP and REST
|
34
|
+
resources. Manage different hosts on the fly. Easily get the value you want from
|
34
35
|
the JSON strings. Use hashes on your requests.
|
35
36
|
email: marioruizs@gmail.com
|
36
37
|
executables: []
|