dronejob 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -13
- data/lib/dronejob/version.rb +1 -1
- data/lib/dronejob/workspace_file/media.rb +2 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 133722f1098d1e4aa29d16ec5b71ed117cef0078
|
4
|
+
data.tar.gz: 567c9672e9390da26e265add6233d769ca4d04f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5753b22a4c6997f63151063bbd2251b7b38f126f2f3aeb48b1bbf399110a2b1984a7696236846544b91a956103fc3052bf10ce1c9a8f197440783732b11c47ba
|
7
|
+
data.tar.gz: 4b4d05c428e4a8130de93eba65977261a97990854c5c22015cedb33cf293da9392c6856cb24b2e7910e53e47220180d464fffaa4b6b61a3a3d09c50ee8e1cdde
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dronejob (1.1.
|
4
|
+
dronejob (1.1.6)
|
5
5
|
activejob (~> 4.2)
|
6
6
|
bundler (>= 1.3.0, < 2.0)
|
7
7
|
git (~> 1.2)
|
@@ -16,37 +16,40 @@ PATH
|
|
16
16
|
GEM
|
17
17
|
remote: http://rubygems.org/
|
18
18
|
specs:
|
19
|
-
activejob (4.2.
|
20
|
-
activesupport (= 4.2.
|
19
|
+
activejob (4.2.7)
|
20
|
+
activesupport (= 4.2.7)
|
21
21
|
globalid (>= 0.3.0)
|
22
|
-
activesupport (4.2.
|
22
|
+
activesupport (4.2.7)
|
23
23
|
i18n (~> 0.7)
|
24
24
|
json (~> 1.7, >= 1.7.7)
|
25
25
|
minitest (~> 5.1)
|
26
26
|
thread_safe (~> 0.3, >= 0.3.4)
|
27
27
|
tzinfo (~> 1.1)
|
28
28
|
coderay (1.1.1)
|
29
|
-
concurrent-ruby (1.0.
|
29
|
+
concurrent-ruby (1.0.2)
|
30
30
|
connection_pool (2.2.0)
|
31
31
|
diff-lcs (1.2.5)
|
32
32
|
ethon (0.9.0)
|
33
33
|
ffi (>= 1.3.0)
|
34
|
-
ffi (1.9.
|
34
|
+
ffi (1.9.14)
|
35
35
|
git (1.3.0)
|
36
|
-
globalid (0.3.
|
36
|
+
globalid (0.3.7)
|
37
37
|
activesupport (>= 4.1.0)
|
38
38
|
haml (4.0.7)
|
39
39
|
tilt
|
40
40
|
i18n (0.7.0)
|
41
41
|
json (1.8.3)
|
42
42
|
method_source (0.8.2)
|
43
|
-
minitest (5.
|
43
|
+
minitest (5.9.0)
|
44
44
|
open_uri_redirections (0.2.1)
|
45
45
|
pry (0.10.3)
|
46
46
|
coderay (~> 1.1.0)
|
47
47
|
method_source (~> 0.8.1)
|
48
48
|
slop (~> 3.4)
|
49
|
-
|
49
|
+
rack (1.6.4)
|
50
|
+
rack-protection (1.5.3)
|
51
|
+
rack
|
52
|
+
redis (3.3.1)
|
50
53
|
rspec (3.4.0)
|
51
54
|
rspec-core (~> 3.4.0)
|
52
55
|
rspec-expectations (~> 3.4.0)
|
@@ -61,17 +64,22 @@ GEM
|
|
61
64
|
rspec-support (~> 3.4.0)
|
62
65
|
rspec-support (3.4.1)
|
63
66
|
rubyzip (1.2.0)
|
64
|
-
sidekiq (4.1.
|
67
|
+
sidekiq (4.1.4)
|
65
68
|
concurrent-ruby (~> 1.0)
|
66
69
|
connection_pool (~> 2.2, >= 2.2.0)
|
67
70
|
redis (~> 3.2, >= 3.2.1)
|
71
|
+
sinatra (>= 1.4.7)
|
68
72
|
sidekiq-status (0.6.0)
|
69
73
|
sidekiq (>= 2.7)
|
74
|
+
sinatra (1.4.7)
|
75
|
+
rack (~> 1.5)
|
76
|
+
rack-protection (~> 1.4)
|
77
|
+
tilt (>= 1.3, < 3)
|
70
78
|
slop (3.6.0)
|
71
79
|
thor (0.19.1)
|
72
80
|
thread_safe (0.3.5)
|
73
|
-
tilt (2.0.
|
74
|
-
typhoeus (1.0
|
81
|
+
tilt (2.0.5)
|
82
|
+
typhoeus (1.1.0)
|
75
83
|
ethon (>= 0.9.0)
|
76
84
|
tzinfo (1.2.2)
|
77
85
|
thread_safe (~> 0.1)
|
@@ -85,4 +93,4 @@ DEPENDENCIES
|
|
85
93
|
rspec (~> 3.3)
|
86
94
|
|
87
95
|
BUNDLED WITH
|
88
|
-
1.12.
|
96
|
+
1.12.4
|
data/lib/dronejob/version.rb
CHANGED
@@ -28,7 +28,8 @@ module Dronejob
|
|
28
28
|
def cache_assets(cache_dir, &block)
|
29
29
|
hydra = Typhoeus::Hydra.new(max_concurrency: 10)
|
30
30
|
html = contents
|
31
|
-
html.scan(/["'(]{1}(https
|
31
|
+
html.scan(/["'(]{1}((https:|http:)?\/\/[^"')]+\.(jpg|jpeg|png|gif|mp3|mp4))["')?#]{1}/).map{|match| match[0]}.uniq.each do |url|
|
32
|
+
url = "http:#{url}" if url[0..1] == "//"
|
32
33
|
ext = File.extname(url).gsub(/^\./, "")
|
33
34
|
cache_file = cache_dir.file("#{Digest::MD5.hexdigest(url)}.#{ext}")
|
34
35
|
request = cache_file.queue_download(url) do
|
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.6
|
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-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -244,9 +244,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
version: '2.4'
|
245
245
|
requirements: []
|
246
246
|
rubyforge_project:
|
247
|
-
rubygems_version: 2.
|
247
|
+
rubygems_version: 2.6.6
|
248
248
|
signing_key:
|
249
249
|
specification_version: 4
|
250
250
|
summary: DroneJob Drone Factory
|
251
251
|
test_files: []
|
252
|
-
has_rdoc:
|