down 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/down.gemspec +1 -1
- data/lib/down.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: 308e9ad61508c3ff017fc00268b10bf7940e127c
|
4
|
+
data.tar.gz: 2aaaa11f72a058efa83efbe173989a9bf48ee0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e109c11f4ca94c98c8d7863f00265166e410dfb30feb0717b072016dc93d66b744d8699b1409fc418e7050f44f4592cfebbcbac5b6c8b4f76e54868744cb0af4
|
7
|
+
data.tar.gz: b9e42b21509b659338853831724199124f520cfc7f25d55be0d9d0c7422efd715a783966e3528ccda9a5ce9be6365f9e47abf5526ace76b5b7e9471936a88db6
|
data/down.gemspec
CHANGED
data/lib/down.rb
CHANGED
@@ -33,6 +33,7 @@ module Down
|
|
33
33
|
open_uri_file = downloaded_file
|
34
34
|
downloaded_file = copy_to_tempfile(URI(url).path, open_uri_file)
|
35
35
|
OpenURI::Meta.init downloaded_file, open_uri_file
|
36
|
+
open_uri_file.delete if open_uri_file.respond_to?(:delete)
|
36
37
|
|
37
38
|
downloaded_file.extend DownloadedFile
|
38
39
|
downloaded_file
|
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: 1.0.
|
4
|
+
version: 1.0.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: 2015-11-
|
11
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|