picturehouse_uk 3.0.9 → 3.0.10

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: 437ad0e8ebc0d270642be6c4d4da06c33833be3f
4
- data.tar.gz: 429a905ad6768ab2428c666dfe3d30c9c6148518
3
+ metadata.gz: 0ab5a283ee762cee5bb1c508017fd2fc9235123c
4
+ data.tar.gz: 8f3191bab2b0b97afe355189aea8b2276bbb52de
5
5
  SHA512:
6
- metadata.gz: 073b9f66f5e761884c50faceb2a5b2b8aa9d13d451d112a1c9827c2f4c49d09cf53887dcc4716e9a85328e3907b60ff4d2a3245cdd5b1ebbf4286b80b93154c7
7
- data.tar.gz: 0349ae4fd13d79da081476a63d02bb1c111d5702039fa862a3f054cf11d294ea9e577a8c9fa5994b0738cef3b6ddc74bcbbe32222016e2c8868ee53b79e2c241
6
+ metadata.gz: 13f5b6c54ef1482de12f8277595ae682bc52ed6ebf66acaa9304d7faaa356da3a77ddb498cfb2d5175c21c85b10827a62dd0f66bf942bd7b7cf646a758e9d1fc
7
+ data.tar.gz: 7e6c2f85f8f1c7b21f6ff7fa278a0a25ffbee40ab6e2697c761840cf87e7e3aa36d1be34219dab679dc8f67e128983b45f970aed78e0eda3a28871cf2691f4d0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [3.0.10] - 2015-04-12
5
+
6
+ ### Changed
7
+ - Use 'NT Live'
8
+
4
9
  ## [3.0.9] - 2015-04-12
5
10
 
6
11
  ### Fixed
@@ -41,14 +41,15 @@ module PicturehouseUk
41
41
 
42
42
  # regexes and their replacements
43
43
  REPLACE = {
44
- /Met\.? Encore:\s*(.*)/ => 'Met Opera: ',
45
- /Met\.? Opera:\s*(.*)/ => 'Met Opera: ',
46
- /NT Encore:\s*(.*)/ => 'National Theatre: ',
47
- /NT Live:\s*(.*)/ => 'National Theatre: ',
48
- /ROH\.? Live:\s*(.*)/ => 'Royal Opera House: ',
49
- /ROH\.? Encore:\s*(.*)/ => 'Royal Opera House: ',
50
- /RSC\.? Live:\s*(.*)/ => 'Royal Shakespeare Company: ',
51
- /RSC\.? Encore:\s*(.*)/ => 'Royal Shakespeare Company: '
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
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.picturehouses.co.uk
2
- # @version 3.0.9
2
+ # @version 3.0.10
3
3
  module PicturehouseUk
4
4
  # Gem version
5
- VERSION = '3.0.9'
5
+ VERSION = '3.0.10'
6
6
  end
@@ -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('National Theatre: Hamlet')
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picturehouse_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll