tiny_http_client 0.0.1 → 0.0.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 +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4109d21d4f120aaded6fc6c1f857cc1d0bc482d4
|
4
|
+
data.tar.gz: c5cc209767c59d309b386e0138315da3f95854a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a87ff477ea73920263117937787584d1cfd9e86be4f3ec0dbaa8ad9b0c9f7a8d4314ab3435777bf0332f935ca3f54c8a190e1aef289b172b85e0f123993f0aae
|
7
|
+
data.tar.gz: 15cca4bc72a4b56040996c869ef32bc664cf870d76568b02ca8254bca88fff8455d7a3e014f39cd5df7c826c4ea747aee64dd371e32168ec079c56284b620e5f
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ A really simple http client, get content by url:
|
|
4
4
|
|
5
5
|
```ruby
|
6
6
|
|
7
|
-
html_content =
|
7
|
+
html_content = TinyHttpClient.get("http://www.google.com")
|
8
8
|
|
9
9
|
```
|
10
10
|
|
@@ -12,7 +12,7 @@ or, add basic auth
|
|
12
12
|
|
13
13
|
```ruby
|
14
14
|
|
15
|
-
html_content =
|
15
|
+
html_content = TinyHttpClient.get("http://www.google.com") do |req|
|
16
16
|
req.basic_auth 'user', 'pass'
|
17
17
|
end
|
18
18
|
|