cineworld_uk 2.1.3 → 2.1.4

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: 9abc2a426e4158e2310650a55f98441d663f039b
4
- data.tar.gz: 4d7841592c6ca399f55c663a7dccd72eae6c06e1
3
+ metadata.gz: d3fa5ffb1775986af650dbeffa7c23542b66408d
4
+ data.tar.gz: 7eba5d6f73af1baf82a49baf52e5bad368d66702
5
5
  SHA512:
6
- metadata.gz: 2cfe4a3b48ffca4403279aeefbfe041cd272000dfaa2503e8f13f9be9b6dea313bb3b154a4b04e2c4e757541a9278bd52d0d799fecd730e886bf1587e3404222
7
- data.tar.gz: 0d4fa9af846731dc9708c4915c2e7b4be8ffcbd6bfbe9f4855685a5484a468fb4d43d2c78fa0d7e18b80a242d68490d62bea59ba17c77eb6cdb0317200f9bcba
6
+ metadata.gz: 75d7b255e996c3e94593a814891cac3803956745aa0b9727541f5cff2a165796f387679339a75c08d4beee9e322ac36bdc17c3bcc270e65466df113d783b7dfe
7
+ data.tar.gz: 399d7e9b9a7d8bf4012b5657009be07370edcc62f99b748aaa2ae5b7b625b7f91fe2956191d0e7bc817a2bc6c8d125be8d9d9f7123ff7648c5ff82164d1c869b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 2.1.4 - 2015-01-03
6
+
7
+ ### Added
8
+ - title sanitation
9
+ - movies for juniors
10
+ - singalong
11
+
5
12
  ## 2.1.3 - 2014-12-31
6
13
 
7
14
  ### Fixed
@@ -24,6 +24,8 @@ module CineworldUk
24
24
  '(IMAX)', # IMAX
25
25
  'SciScreen: ', # SciScreen
26
26
  ' - Live Q and A', # Live Q&A
27
+ /(\s+\-\s+)?MOVIES FOR JUNIORS/i, # movies for juniors
28
+ /\bsing\-?a\-?long\b/i, # singalong
27
29
  ]
28
30
 
29
31
  # regexes and their replacements
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.cineworld.co.uk
2
- # @version 2.1.3
2
+ # @version 2.1.4
3
3
  module CineworldUk
4
4
  # Gem version
5
- VERSION = '2.1.3'
5
+ VERSION = '2.1.4'
6
6
  end
@@ -141,5 +141,13 @@ describe CineworldUk::Internal::TitleSanitizer do
141
141
  subject.must_equal('Boyhood')
142
142
  end
143
143
  end
144
+
145
+ describe 'singalong and movies for juniors' do
146
+ let(:title) { 'Frozen Sing-Along - Movies For Juniors' }
147
+
148
+ it 'removes prefix' do
149
+ subject.must_equal('Frozen')
150
+ end
151
+ end
144
152
  end
145
153
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cineworld_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-31 00:00:00.000000000 Z
11
+ date: 2015-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler