odeon_uk 3.0.1 → 3.0.2

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: 33e72a0a67dcfbd1b10d99c329fc037508a9014a
4
- data.tar.gz: 6f5459ed32a5b88539cc77e6401cb4b68d2238e4
3
+ metadata.gz: 882c43d8e2365c13832880f3eacd7a8612aa5725
4
+ data.tar.gz: 696fe3982d490f5442953610886fa327eafb8b8d
5
5
  SHA512:
6
- metadata.gz: e917c8d7a9d6572ba044e6078ce08458af4e31a03dc4f892b078ca05db5562e9726f4875cf364c7199e275ba9c1d36959f888eb5ff8edf674db5c67a97994712
7
- data.tar.gz: 0beeee5c5630aac0b708823ae8f8d5b770e3e24215c0617952bd49f41d6b11cdd2d5c1bd71ee6f640620ad9f8aaaf68389d02d8d0461f692662793da259fc0a7
6
+ metadata.gz: bb4a5b203215327437a06b71317e351207355690dc38b81f83a605433aa38968c6712bb2635a79bfa6d28efee64fa715a6826915ee6c7bcf511c3b9785100e26
7
+ data.tar.gz: 14bcd4f2be3179c8859d7af8ffe5f6776a810321ec2db5a9d94c1aecf2a29cfbdc4acb9dfffbc3478328ad02cb95c8166bf830ef0807f4808eda43e4611e35ea
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.0.2 - 2015-04-09
2
+
3
+ - fix HTML ampersands in film titles
4
+
1
5
  ## 3.0.1 - 2015-04-09
2
6
 
3
7
  - fix cinema parsing over API
@@ -14,6 +14,7 @@ module OdeonUk
14
14
  'UKJFF -', # UK Jewish festival prefix
15
15
  /\bsing\-?a\-?long\b/i, # singalong
16
16
  'Autism Friendly - ', # autism friendly
17
+ 'amp;', # html ampersands
17
18
  ]
18
19
 
19
20
  # regexes and their replacements
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.odeon.co.uk
2
- # @version 3.0.1
2
+ # @version 3.0.2
3
3
  module OdeonUk
4
4
  # Gem version
5
- VERSION = '3.0.1'
5
+ VERSION = '3.0.2'
6
6
  end
@@ -109,5 +109,13 @@ describe OdeonUk::Internal::TitleSanitizer do
109
109
  subject.must_equal('Frozen')
110
110
  end
111
111
  end
112
+
113
+ describe 'HTML ampersands' do
114
+ let(:title) { 'Fast & Furious 7' }
115
+
116
+ it 'removes prefix' do
117
+ subject.must_equal('Fast & Furious 7')
118
+ end
119
+ end
112
120
  end
113
121
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odeon_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll