download_tv 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/download_tv/torrent.rb +5 -0
- data/lib/download_tv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0af99a48106973261cbe72aa5ba52b15282533b9c411ebfe23e1efbb8d847d9f
|
4
|
+
data.tar.gz: fb02bd92c7308fd9800e1b8c0029334e06ef9b296a5ceb47bd6369013e553ec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97ecf94a1fcd2fc3efd1e748b998e54302d894b69822b4864e8659c467f020d4435b86662f9db0fa584f3b58a5e6fb03f7d95fefb77e293d78e69f6379b444de
|
7
|
+
data.tar.gz: 344c702622eebef1dbd4bdaddcbd06af281c465c4ee2d0723da5f0a4c551a9c8610eea852ffb49e0d610dbd03a7e85f1e8a5c6708e8891cca345f625e20891ad
|
data/lib/download_tv/torrent.rb
CHANGED
@@ -22,11 +22,16 @@ module DownloadTV
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def check_grabber_online
|
25
|
+
if @g_instances.empty?
|
26
|
+
warn 'There are no available grabbers.'
|
27
|
+
exit 1
|
28
|
+
end
|
25
29
|
return if @g_instances.first.online?
|
26
30
|
# We won't be using this grabber
|
27
31
|
warn "Problem accessing #{@g_instances.first.class.name}"
|
28
32
|
@tries -= 1
|
29
33
|
@g_instances.shift # Removes first element
|
34
|
+
check_grabber_online
|
30
35
|
end
|
31
36
|
|
32
37
|
def change_grabbers
|
data/lib/download_tv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: download_tv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- guille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|