dronejob 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dronejob/version.rb +1 -1
- data/lib/dronejob/workspace_file/media.rb +4 -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: 0c94ba81da81adb2eec9c74286d3ee853ee5afeb
|
4
|
+
data.tar.gz: 33703463749cd88f918d58ecc601fa57beba2c60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff736fee739b754e522f48f7b128585eaf46ab6a72b0b48df59431f6530101490ea2a60346a681b69b1ee98a7acf22e1363a32ffa44dba5a37a1a76539f9079
|
7
|
+
data.tar.gz: 5e1e844fdbe97aa49a815ae39e0a10e139f3473cbf4d9a889f7a3cd7d5f7166531357e23705618109c02ae00200c11ad430ee0a7f7152ac6b3163034af2cb666
|
data/Gemfile.lock
CHANGED
data/lib/dronejob/version.rb
CHANGED
@@ -35,6 +35,10 @@ module Dronejob
|
|
35
35
|
cache_file = cache_dir.file("#{Digest::MD5.hexdigest(url)}.#{ext}")
|
36
36
|
request = cache_file.queue_download(url) do
|
37
37
|
cache_file.optimize!
|
38
|
+
if original_url[0..1] == "//"
|
39
|
+
html.gsub!("http:#{original_url}", cache_file.relative_path)
|
40
|
+
html.gsub!("https:#{original_url}", cache_file.relative_path)
|
41
|
+
end
|
38
42
|
html.gsub!(original_url, cache_file.relative_path)
|
39
43
|
end
|
40
44
|
hydra.queue(request)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dronejob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Strebitzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|