addic7ed_downloader 1.0.0 → 1.0.1

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: 6d5010c8960bd6a47416839f748b667d317ca962
4
- data.tar.gz: e8457ab07b0a71d956ddf1bb0930b879b4b098ab
3
+ metadata.gz: 7188a8b0ab68024df3d172e9c3bc4f6ec4a5f7ad
4
+ data.tar.gz: dec1e904491b81d8d5af5616fcbac0f88633fe49
5
5
  SHA512:
6
- metadata.gz: 9c3e8788e8906148eb9aa9d1b5e8103d2b3070477a5534283098eeb0d85e3c0120f7c4e4991b272aaf1953c677cef9f5f2b586ee3affc7e6000d15b929372f2c
7
- data.tar.gz: a98a926cc5a8ab0a3d0f6adf9500c1e1135cf593df09a1b4c7943452f58c07fa6f5af2b29e74122e0fb3010eb119fe2c6e4c46126331902b4463a22010913714
6
+ metadata.gz: 478b87d36afbfac7c747dcca996673c6157b50c72c8754523db305d48dc78bfef7e9163a23a4ba966def7144860a4f7621ee45bbf6518623f1c676f86ed67348
7
+ data.tar.gz: 98d05656e23c601640daac69a5540810b0e9d4f15df3b8d8522ca2e5493739c6c5fde2514e78bdac81ea0a379ab1ee76b9ae78cfb3d48af4eb6c9f3fb3968371
@@ -36,6 +36,10 @@ module Addic7edDownloader
36
36
  "#{@showname.split.map(&:capitalize).join(' ')} #{sprintf('%02dx%02d', @season, @episode)}"
37
37
  end
38
38
 
39
+ def extract_tags(filename)
40
+ @tags = filename[TAGS_REGEXP, :tags].split(TAGS_FILTER_REGEXP) if filename
41
+ end
42
+
39
43
  def results
40
44
  @results ||= build_subtitles_list
41
45
  end
@@ -1,3 +1,3 @@
1
1
  module Addic7edDownloader
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addic7ed_downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
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-17 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: nokogiri