down 2.3.3 → 2.3.4
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/down.rb +1 -0
- data/lib/down/version.rb +1 -1
- 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: 12be7acdecca578d9385bc67459b077062379472
|
4
|
+
data.tar.gz: 1cb8c7bd82932f209a2a007f5d646b7b423c009e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eaba4513d19f7e4569fb375197343abf254b790343ff1e045b5af91c7119fc0e670e3153fd469b72ec4ff8c7489c196f48c5d9b2eecc5dfab75f227733e84337
|
7
|
+
data.tar.gz: 1ad257a23df05031c06cd3ed7b185a144ff9a7902dee8ce1b5621ddce7765fde0391f61499a41b29e29ca2bf39f3a621a9fbfdc79622cb2a2ffca90cbcfd2dad
|
data/README.md
CHANGED
@@ -85,9 +85,9 @@ There are a lot of ways in which a download can fail:
|
|
85
85
|
|
86
86
|
* URL is really invalid (`URI::InvalidURIError`)
|
87
87
|
* URL is a little bit invalid, e.g. "http:/example.com" (`Errno::ECONNREFUSED`)
|
88
|
-
* Domain
|
88
|
+
* Domain was not found (`SocketError`)
|
89
89
|
* Domain was found, but status is 4xx or 5xx (`OpenURI::HTTPError`)
|
90
|
-
* Request timeout
|
90
|
+
* Request timeout (`Timeout::Error`)
|
91
91
|
|
92
92
|
Down unifies all of these errors into one `Down::NotFound` error (because this
|
93
93
|
is what actually happened from the outside perspective). If you want to get the
|
data/lib/down.rb
CHANGED
data/lib/down/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: down
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|