down 2.3.3 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/down.rb +1 -0
  4. data/lib/down/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37212a130ab08cdcb38cbb6bcdd207bd8f3d56ec
4
- data.tar.gz: eff7327b20920806bc416e469d924c82fa8ea980
3
+ metadata.gz: 12be7acdecca578d9385bc67459b077062379472
4
+ data.tar.gz: 1cb8c7bd82932f209a2a007f5d646b7b423c009e
5
5
  SHA512:
6
- metadata.gz: 2418a368cc8e8c0118650bf46d23660ecf30cb3aa0da5f8dc78fa84df9d3200e655367a8279f9b030d1be5fd89fa5d946fc5346b3ef3f144fe1e801c6c7b3ed6
7
- data.tar.gz: f7a4f49dc00a43251582ee8cf0d08c3f217e42ba8e4f6bb944b1e884a99e055c2af92b3c52e4381c9166b9935140a1df9d12681542febaeab6cc1230c0bb2592
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 wasn't not found (`SocketError`)
88
+ * Domain was not found (`SocketError`)
89
89
  * Domain was found, but status is 4xx or 5xx (`OpenURI::HTTPError`)
90
- * Request timeout out (`Timeout::Error`)
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
@@ -1,6 +1,7 @@
1
1
  require "down/version"
2
2
 
3
3
  require "open-uri"
4
+ require "net/http"
4
5
  require "tempfile"
5
6
  require "fileutils"
6
7
  require "cgi/util"
data/lib/down/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Down
2
- VERSION = "2.3.3"
2
+ VERSION = "2.3.4"
3
3
  end
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.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-06-23 00:00:00.000000000 Z
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake