movies 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,8 @@ excluded:
22
22
  - (\w+)?SUB
23
23
  - NTSC
24
24
  - PAL
25
- - "S\d{1,2}E\d{1,2}"
25
+ - "s\d+e\d+"
26
+ - "\d+x\d+"
26
27
  - "R[4|5|6]"
27
28
  groups:
28
29
  - EXTENDED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "movies"
6
- s.version = "0.1.9"
6
+ s.version = "0.1.10"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Linus Oleander"]
9
9
  s.email = ["linus@oleander.nu"]
@@ -163,6 +163,10 @@ describe MovieFilter do
163
163
  it "should not contain 'R6'" do
164
164
  MovieFilter.new(title: "Just Go With It R6 LiNE XviD-Rx").title.should_not match(/r6/i)
165
165
  end
166
+
167
+ it "should not contain '10x20'" do
168
+ MovieFilter.new(title: "Just Go With It 10x20 LiNE XviD-Rx").title.should eq("Just Go With It")
169
+ end
166
170
 
167
171
  it "should be able to parse the year" do
168
172
  MovieFilter.new(title: "Sex.And.The.City.2.2010.SUB.DVDRip.XviD.AC3-Rx").year.should eq(2010)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: movies
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.9
5
+ version: 0.1.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Linus Oleander
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-23 00:00:00 Z
13
+ date: 2011-12-08 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client