addic7ed_downloader 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e70aecf24ddf62f1043ea74649726aff567a3dad
4
- data.tar.gz: b5af9bddec8f0db159580b3fd0888f55b618d7b7
3
+ metadata.gz: 2a13fd0d854b5d94f42579104f096c7e07b07896
4
+ data.tar.gz: fbd7467d1e69fb425bb8e7bf7794735629344787
5
5
  SHA512:
6
- metadata.gz: edcd85e65fc32c7d7e5bf1d673b45bb75c6bcae5edf77ee0001f8205281ee4acc503a10a23e08385dc2b29cd0ab39e1a2a0b98b743027eadadbe11cec7e1f3ae
7
- data.tar.gz: 1e0de11e80a85d59b8c538fa05082fde3b8d860cc5f3b781cd8e1b3a02b1e20092addc9fe10d80c31ff53c0fcabd77da51dd4690829b04a8671b2680947108b8
6
+ metadata.gz: 5d90811e4b91a93471122955d697082c001d2811ebd238e6d1b585d22036fbf45e76ffd37f1c401436d21d6af95ba293be358c164a5cfadf39af935600129278
7
+ data.tar.gz: 791a16da0ad28571ccf727f98d0b2da22ffb66b0a5abcc34a09dac0a92037a632f01972fc6161f87607f76eaa02470a68f7f0a5447368815ece2973a09ca6d46
@@ -2,5 +2,5 @@ sudo: false
2
2
  language: ruby
3
3
  rvm:
4
4
  - 2.3.1
5
- - 2.1.5
5
+ # - 2.1.5
6
6
  before_install: gem install bundler -v 1.12.5
@@ -5,7 +5,7 @@ require 'addic7ed_downloader'
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
8
- filename = "mr. robot s02e01"
8
+ filename = "It's Always Sunny in Philadelphia s04e01 - Mac & Dennis Manhunters.avi"
9
9
  search = Addic7edDownloader::Search.by_filename(filename)
10
10
 
11
11
  # (If you use this, don't forget to add pry to your Gemfile!)
@@ -1,7 +1,7 @@
1
1
  module Addic7edDownloader
2
2
  # Assuming: "SHOWNAME - SEASON&EPISODE - TAGS"
3
3
  SEASON_EPISODE_REGEXP = /s(?<season>\d{1,2})e(?<episode>\d{1,2})|(?<season>\d{1,2})x(?<episode>\d{1,2})/i
4
- SHOWNAME_REGEXP = /(?<showname>[\w\s\.]+?)[\s\.-]*?#{SEASON_EPISODE_REGEXP}/i
4
+ SHOWNAME_REGEXP = /(?<showname>['\w\s\.]+?)[\s\.-]*?#{SEASON_EPISODE_REGEXP}/i
5
5
  TAGS_REGEXP = /#{SEASON_EPISODE_REGEXP}[\s\.-]?(?<tags>.*)/i # Get the end of file
6
6
  TAGS_FILTER_REGEXP = /(?<!WEB)-(?!DL)|[\.\s\(\)\[\]]+/i # Filter '-', but not 'WEB-DL'
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Addic7edDownloader
2
- VERSION = '1.0.5'.freeze
2
+ VERSION = '1.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addic7ed_downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Marchante