picturehouse_uk 3.0.9 → 3.0.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ab5a283ee762cee5bb1c508017fd2fc9235123c
|
4
|
+
data.tar.gz: 8f3191bab2b0b97afe355189aea8b2276bbb52de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13f5b6c54ef1482de12f8277595ae682bc52ed6ebf66acaa9304d7faaa356da3a77ddb498cfb2d5175c21c85b10827a62dd0f66bf942bd7b7cf646a758e9d1fc
|
7
|
+
data.tar.gz: 7e6c2f85f8f1c7b21f6ff7fa278a0a25ffbee40ab6e2697c761840cf87e7e3aa36d1be34219dab679dc8f67e128983b45f970aed78e0eda3a28871cf2691f4d0
|
data/CHANGELOG.md
CHANGED
@@ -41,14 +41,15 @@ module PicturehouseUk
|
|
41
41
|
|
42
42
|
# regexes and their replacements
|
43
43
|
REPLACE = {
|
44
|
-
/Met\.? Encore:\s*(.*)/
|
45
|
-
/Met\.? Opera:\s*(.*)/
|
46
|
-
/
|
47
|
-
/NT
|
48
|
-
/
|
49
|
-
/ROH\.?
|
50
|
-
/
|
51
|
-
/RSC\.?
|
44
|
+
/Met\.? Encore:\s*(.*)/ => 'Met Opera: ',
|
45
|
+
/Met\.? Opera:\s*(.*)/ => 'Met Opera: ',
|
46
|
+
/National Theatre:\s*(.*)/ => 'NT Live: ',
|
47
|
+
/NT Encore:\s*(.*)/ => 'NT Live: ',
|
48
|
+
/NT Live:\s*(.*)/ => 'NT Live: ',
|
49
|
+
/ROH\.? Live:\s*(.*)/ => 'Royal Opera House: ',
|
50
|
+
/ROH\.? Encore:\s*(.*)/ => 'Royal Opera House: ',
|
51
|
+
/RSC\.? Live:\s*(.*)/ => 'Royal Shakespeare Company: ',
|
52
|
+
/RSC\.? Encore:\s*(.*)/ => 'Royal Shakespeare Company: '
|
52
53
|
}
|
53
54
|
|
54
55
|
# @param [String] title a film title
|
@@ -276,7 +276,7 @@ describe PicturehouseUk::Internal::TitleSanitizer do
|
|
276
276
|
let(:title) { 'National Theatre: Hamlet [PG]' }
|
277
277
|
|
278
278
|
it 'removes prefix' do
|
279
|
-
subject.must_equal('
|
279
|
+
subject.must_equal('NT Live: Hamlet')
|
280
280
|
end
|
281
281
|
end
|
282
282
|
|
@@ -383,5 +383,8 @@ describe PicturehouseUk::Internal::TitleSanitizer do
|
|
383
383
|
subject.must_equal("Dr Sketchy's Anti-Art School")
|
384
384
|
end
|
385
385
|
end
|
386
|
+
|
387
|
+
describe 'SF Opera' do
|
388
|
+
end
|
386
389
|
end
|
387
390
|
end
|