peerflixrb 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/peerflixrb +1 -1
- data/lib/peerflixrb/version.rb +1 -1
- data/lib/peerflixrb/yify.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d5bfd2e6e48a703fab7ab9eff2e8c9d4960275b
|
4
|
+
data.tar.gz: bb4a9d85db39f8a1ee04f73e64d7ff0c3f1c261f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8410d0412899e51698842a27cdb90eb4fc0304d37dfbc1fa16f01783f3722a5c85185fa32a05e6e784337e1feab509eea1f719c9ebee74b834ac6113c0e26b9
|
7
|
+
data.tar.gz: fff747bbe765928ab2569aeeb6f307f9542e9d508e7b350a9da277e7c55115dba05340ce64c11216cd9f42040c476fe0d2c8f88cfe1312a85bf62616a24b8efe
|
data/bin/peerflixrb
CHANGED
@@ -99,7 +99,7 @@ ensure
|
|
99
99
|
if link
|
100
100
|
cache_dir = "/tmp/torrent-stream/#{link.info_hash}"
|
101
101
|
video_file = Dir["#{cache_dir}/**/*.{mkv,mp4,avi,wmv,mpg,flv,mov}"].first
|
102
|
-
FileUtils.mv(sub_file, File.dirname(video_file)) if sub_file
|
102
|
+
FileUtils.mv(sub_file, File.dirname(video_file)) if sub_file && video_file
|
103
103
|
cli.say "Your downloads will be in #{cache_dir.blue} #{'for 3 days :)'.yellow}".yellow
|
104
104
|
end
|
105
105
|
end
|
data/lib/peerflixrb/version.rb
CHANGED
data/lib/peerflixrb/yify.rb
CHANGED