picturehouse_uk 3.0.12 → 3.0.13

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: 30d962ac820e201e93eabc8abfedca8f742bfd4c
4
- data.tar.gz: b22653c2ea09cb84f87cfc19cf82868ce08a566c
3
+ metadata.gz: cc7f47e1bf37f9995c5ca275813ffe5d8730596e
4
+ data.tar.gz: 8d63a6095235389577e80de18d76552f89c6293e
5
5
  SHA512:
6
- metadata.gz: 64646e781243e791b08c499a26bf40410473f992f04a8714f675fa627f988f61fa29bbee71352385f6e35f93c9eebc77a70070527409e151a376f44c0719c503
7
- data.tar.gz: f104360a30fd8348eba5d1124b1afbaa3934aa23d349a97e20ea11c978b4c8ab057d3d6e4f00c070b6988ec020acbab70afd113fed41ad5bf094dc9778eb50da
6
+ metadata.gz: b068354d804434d10beec8e9319e7c5de342301c37737979697f977e23d93381de264e7a1ee31607f941020507d1fd0947493635438aa53920e3aca3ee42229b
7
+ data.tar.gz: 56f8adab48cd13a255b6c3099f95f61fab02c7afd604c2312a3be0b7b38fce6f68deef39d6677ae268eea541468756c4ce003f5a09aff31b99fdc15879f70ba2
data/CHANGELOG.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [3.0.11] - 2015-05-03
4
+ ## [3.0.13] - 2015-05-06
5
+
6
+ ### Added
7
+ - title sanitizer for Bolshoi Ballet
8
+
9
+ ## [3.0.12] - 2015-05-03
5
10
 
6
11
  ### Fixed
7
12
  - no duplicate 'arts' for NT Live
@@ -49,7 +49,8 @@ module PicturehouseUk
49
49
  /ROH\.? Live:\s*(.*)/ => 'Royal Opera House: ',
50
50
  /ROH\.? Encore:\s*(.*)/ => 'Royal Opera House: ',
51
51
  /RSC\.? Live:\s*(.*)/ => 'Royal Shakespeare Company: ',
52
- /RSC\.? Encore:\s*(.*)/ => 'Royal Shakespeare Company: '
52
+ /RSC\.? Encore:\s*(.*)/ => 'Royal Shakespeare Company: ',
53
+ /(.*) \(Bolshoi Ballet\)/ => 'Bolshoi Ballet: '
53
54
  }
54
55
 
55
56
  # @param [String] title a film title
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.picturehouses.co.uk
2
- # @version 3.0.12
2
+ # @version 3.0.13
3
3
  module PicturehouseUk
4
4
  # Gem version
5
- VERSION = '3.0.12'
5
+ VERSION = '3.0.13'
6
6
  end
@@ -384,7 +384,12 @@ describe PicturehouseUk::Internal::TitleSanitizer do
384
384
  end
385
385
  end
386
386
 
387
- describe 'SF Opera' do
387
+ describe 'Bolshoi' do
388
+ let(:title) { 'Spartacus (Bolshoi Ballet)' }
389
+
390
+ it 'reorders the title' do
391
+ subject.must_equal('Bolshoi Ballet: Spartacus')
392
+ end
388
393
  end
389
394
  end
390
395
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picturehouse_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.12
4
+ version: 3.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-03 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler