peerflixrb 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/peerflixrb/commands.rb +2 -1
- data/lib/peerflixrb/version.rb +1 -1
- data/peerflixrb.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e55548823a110cc549e48bc0d64f8ec8f132f43
|
4
|
+
data.tar.gz: a537887a7b1cf8ab7dd5e2ab668a37482c7a13a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7504ab2fac3dd22e38996b9795cff1106732c8a76a2b66d7d377511849da0490f70f99f308b1e34119cb6ac1cc7ca93876e01ddd9e1e6e04ef9282c5328784a3
|
7
|
+
data.tar.gz: c3e534e6fe06e4d7ddd3d6dfb66417c279743f06c0edcc67849143c7c7c3bfd427bd5e78a63aa90390d561a692d01edfc7555fd9d817bf6f0660aa2bdb02330e
|
data/lib/peerflixrb/commands.rb
CHANGED
@@ -73,7 +73,8 @@ module Peerflixrb
|
|
73
73
|
|
74
74
|
def find_tv_subtitles(video_file, options)
|
75
75
|
# TV Show search based on video filename
|
76
|
-
search = Addic7edDownloader::Search.
|
76
|
+
search = Addic7edDownloader::Search.by_filename(options[:search], lang: options[:language])
|
77
|
+
search.extract_tags(video_file)
|
77
78
|
return search.download_best unless options[:choose_subtitles]
|
78
79
|
|
79
80
|
# Choose subtitle
|
data/lib/peerflixrb/version.rb
CHANGED
data/peerflixrb.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = 'peerflixrb'
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.add_runtime_dependency 'addic7ed_downloader', '~> 0
|
22
|
+
spec.add_runtime_dependency 'addic7ed_downloader', '~> 1.0'
|
23
23
|
spec.add_runtime_dependency 'nokogiri', '~> 1.6'
|
24
24
|
spec.add_runtime_dependency 'highline', '~> 1.7'
|
25
25
|
spec.add_runtime_dependency 'httparty', '~> 0.13'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peerflixrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Marchante
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addic7ed_downloader
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|