z-http-request 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +1 -2
- data/.travis.yml +1 -0
- data/Gemfile +1 -2
- data/README.md +1 -0
- data/lib/z-http/http_connection.rb +0 -1
- data/lib/z-http/version.rb +1 -1
- data/spec/client_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e048f7596a3f6161a4a8f29c2c221d59956935bc
|
|
4
|
+
data.tar.gz: cd048f536d013eab0117d98fcdfb9a5d2cba8a5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a71e554e23a7861e719fdbf39e3ef6c189706d09fd3de8ff0aaad8e3bba57083cbd535abd68f5dce3d5341323515d92a83c9d83fcc4a471d475404bcfab53a7
|
|
7
|
+
data.tar.gz: a22ba78954db375861d5aa9d0615000ef95f417ea05c5520bc3a87ddc189be225178cdc8f1354ed54b27cf7a599e9e8b934ecd3661dda0476b020d42484bf7bd
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -5,6 +5,7 @@ This is a fork of Ilya Gregoriks em-http-request, ported to
|
|
|
5
5
|
socksify has been removed as it is not needed for our simple http client use
|
|
6
6
|
case.
|
|
7
7
|
|
|
8
|
+
[](http://badge.fury.io/rb/z-http-request)
|
|
8
9
|
[](https://travis-ci.org/liquidm/z-http-request)
|
|
9
10
|
[](https://codeclimate.com/github/liquidm/z-http-request)
|
|
10
11
|
[](https://gemnasium.com/liquidm/z-http-request)
|
data/lib/z-http/version.rb
CHANGED
data/spec/client_spec.rb
CHANGED
|
@@ -453,6 +453,7 @@ describe ZMachine::HttpRequest do
|
|
|
453
453
|
http = ZMachine::HttpRequest.new('http://127.0.0.1:8090/timeout', :inactivity_timeout => 0.1).get
|
|
454
454
|
|
|
455
455
|
http.errback {
|
|
456
|
+
http.error.should == Errno::ETIMEDOUT
|
|
456
457
|
(Time.now.to_i - t).should <= 1
|
|
457
458
|
ZMachine.stop
|
|
458
459
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: z-http-request
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ilya Grigorik
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-12-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: addressable
|