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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17f6402d04441c1394724f1405165267890d7262
4
- data.tar.gz: 21986130d87f7ac765ec3c5a23c595f79ab85a32
3
+ metadata.gz: 0e55548823a110cc549e48bc0d64f8ec8f132f43
4
+ data.tar.gz: a537887a7b1cf8ab7dd5e2ab668a37482c7a13a8
5
5
  SHA512:
6
- metadata.gz: c1d96ab4e08e743308bcfb82488c072d79cf503aa24a5dc7ad4a75f8323d66f1f227423724aa6c3e8f5ef24c74cc613a613fbd3bd34e7db7c15ff952c2ae72c4
7
- data.tar.gz: ade889d374db2e60b86ee748ae1585e344dd5f5896dd5c83509868088b388864766554dcd4fdf587f898b8a40e73f15d27706179b95033ab85b1a027184ab3a4
6
+ metadata.gz: 7504ab2fac3dd22e38996b9795cff1106732c8a76a2b66d7d377511849da0490f70f99f308b1e34119cb6ac1cc7ca93876e01ddd9e1e6e04ef9282c5328784a3
7
+ data.tar.gz: c3e534e6fe06e4d7ddd3d6dfb66417c279743f06c0edcc67849143c7c7c3bfd427bd5e78a63aa90390d561a692d01edfc7555fd9d817bf6f0660aa2bdb02330e
@@ -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.by_string(options[:search], lang: options[:language], filename: video_file)
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
@@ -1,3 +1,3 @@
1
1
  module Peerflixrb
2
- VERSION = '2.0.2'.freeze
2
+ VERSION = '2.0.3'.freeze
3
3
  end
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.2'
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.2
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-10 00:00:00.000000000 Z
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.2'
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.2'
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement