http 0.9.3 → 0.9.4
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/CHANGES.md +7 -0
- data/lib/http/timeout/global.rb +4 -0
- data/lib/http/timeout/null.rb +2 -0
- data/lib/http/timeout/per_operation.rb +4 -0
- data/lib/http/version.rb +1 -1
- data/spec/lib/http/request_spec.rb +2 -0
- data/spec/regression_specs.rb +15 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cf4cc1f50d48b38982e5b7d22cce064944076ca
|
4
|
+
data.tar.gz: c3528a21ae58c9ea4ce9e8ea6c8c29c8160c74e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fbfc83dc70d26f03ceefba22ffed7ad9a235c4811dc05342c0f51d1c968af020f990bc31d8dc713659a1cd952350169a25f575695e684cc7b1242ab5394f186
|
7
|
+
data.tar.gz: 631b31981f832f3c22bf6c175345cf68d7a9c0fdac2cb8477c28ba0547bffe0e7dac4218dbdf83242132deb54a867d9d7637a1483ec39107569fa0f0af393aec
|
data/CHANGES.md
CHANGED
data/lib/http/timeout/global.rb
CHANGED
data/lib/http/timeout/null.rb
CHANGED
data/lib/http/version.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
RSpec.describe "Regression testing" do
|
4
|
+
describe "#248" do
|
5
|
+
it "does not fails with github" do
|
6
|
+
github_uri = "http://github.com/"
|
7
|
+
expect { HTTP.get(github_uri).to_s }.not_to raise_error
|
8
|
+
end
|
9
|
+
|
10
|
+
it "does not failes ith googleapis" do
|
11
|
+
google_uri = "https://www.googleapis.com/oauth2/v1/userinfo?alt=json"
|
12
|
+
expect { HTTP.get(google_uri).to_s }.not_to raise_error
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-08-
|
14
|
+
date: 2015-08-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: http_parser.rb
|
@@ -152,6 +152,7 @@ files:
|
|
152
152
|
- spec/lib/http/response/status_spec.rb
|
153
153
|
- spec/lib/http/response_spec.rb
|
154
154
|
- spec/lib/http_spec.rb
|
155
|
+
- spec/regression_specs.rb
|
155
156
|
- spec/spec_helper.rb
|
156
157
|
- spec/support/black_hole.rb
|
157
158
|
- spec/support/capture_warning.rb
|