cinebase 5.9.2 → 5.9.3
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/cinebase/audience.rb +2 -1
- data/lib/cinebase/festival.rb +13 -7
- data/lib/cinebase/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffabe8bcfcbe9896be6fbb27f3a067729e6d3e7444bcf32452908a392cd93e6d
|
|
4
|
+
data.tar.gz: b823bdaff6ed9cfe85e92890514c72b157af85250bfd4e704d2a4190476dc4ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e5cb3d6be63d00e6c0f177e93f815f729b3ef046f08205600dd6db389917d75e638e50f9c9f1225674f728ecd36abf4b45a0355d9e16370d335ccc2d63228d8
|
|
7
|
+
data.tar.gz: '0792164a88db56abcb6eef6eb4d1c3e223921ad2d47a332417c688442db6b29397d60d7e327b65f6549981c2c3e8d17eb2848ee1d0854a7cb58a936bb8d7e155'
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [5.9.3] - 2026-11-03
|
|
6
|
+
### Added
|
|
7
|
+
- Festivals named in full, such as `UK Jewish Film Festival:` and `Women and the World International Film Festival:`, in brackets after the film, such as `Coward (French Film Festival)`, or with the year next to the name, such as `FFF26:`.
|
|
8
|
+
- `Dog Friendly:` without a hyphen marks a dog-friendly screening, and `(Preview)` or `[Preview]` a preview.
|
|
9
|
+
|
|
5
10
|
## [5.9.2] - 2026-11-03
|
|
6
11
|
### Changed
|
|
7
12
|
- Festivals take their full name, so chains agree: `CFF` is Cambridge Film Festival, `FFF` and `French Film Fest UK` are French Film Festival, `IFF` is Into Film Festival, `JFF` and `UKJFF` are UK Jewish Film Festival, `LPFF` is London Palestine Film Festival, `RFF` is Romanian Film Festival and `SLA` is Scotland Loves Anime.
|
data/lib/cinebase/audience.rb
CHANGED
|
@@ -9,12 +9,13 @@ module Cinebase
|
|
|
9
9
|
LABELS = {
|
|
10
10
|
'kids' => [/\A(?:Toddler (?:Club|Kino)|Kids'? Club)\s*:\s*/i],
|
|
11
11
|
'relaxed' => [/\ARelaxed(?: Screening)?\s*:\s*/i, /#{SEPARATOR}(?:Sensory|Autism) Friendly Screening\z/i],
|
|
12
|
-
'dog_friendly' => [/\ADog-Friendly(?: Screening)?\s*[:\-–]\s*/i],
|
|
12
|
+
'dog_friendly' => [/\ADog[- ]Friendly(?: Screening)?\s*[:\-–]\s*/i],
|
|
13
13
|
'baby' => [/\s*\(Parent (?:&|and) Baby(?: Only Show)?\)/i],
|
|
14
14
|
'members' => [/#{SEPARATOR}(?:Unlimited|MyOmnipass Member) Screening\z/i],
|
|
15
15
|
'subtitled' => [/\([^)]*\bsubtitles\)/i],
|
|
16
16
|
'preview' => [
|
|
17
17
|
/\s*[-–]\s*(?:Special )?Preview\z/i,
|
|
18
|
+
/\s*[(\[]Preview[)\]]/i,
|
|
18
19
|
/\s*[:\-–]\s*Preview and Q(?:&|\+)A\z/i,
|
|
19
20
|
/\ASee It First\s*[-–:]\s*/i
|
|
20
21
|
]
|
data/lib/cinebase/festival.rb
CHANGED
|
@@ -6,9 +6,10 @@ module Cinebase
|
|
|
6
6
|
# An annual festival edition a film is screened in
|
|
7
7
|
class Festival
|
|
8
8
|
NAMES = [
|
|
9
|
-
'CFF', 'Cinecity', 'FFF', 'French Film Fest UK', '
|
|
10
|
-
'London Palestine Film Festival', 'LPFF', 'NFF', 'Queer East', 'RFF', 'SLA',
|
|
11
|
-
'Women and the World Festival'
|
|
9
|
+
'CFF', 'Cinecity', 'FFF', 'French Film Fest UK', 'French Film Festival', 'IFF', 'Into Film Festival',
|
|
10
|
+
'JFF', 'LDNDOCS', 'London Palestine Film Festival', 'LPFF', 'NFF', 'Queer East', 'RFF', 'SLA',
|
|
11
|
+
'UK Jewish Film Festival', 'UKJFF', 'Women and the World', 'Women and the World Festival',
|
|
12
|
+
'Women and the World International Film Festival'
|
|
12
13
|
].freeze
|
|
13
14
|
|
|
14
15
|
# Full names for short forms, so every chain names a festival alike
|
|
@@ -21,23 +22,28 @@ module Cinebase
|
|
|
21
22
|
'LPFF' => 'London Palestine Film Festival',
|
|
22
23
|
'RFF' => 'Romanian Film Festival',
|
|
23
24
|
'SLA' => 'Scotland Loves Anime',
|
|
24
|
-
'UKJFF' => 'UK Jewish Film Festival'
|
|
25
|
+
'UKJFF' => 'UK Jewish Film Festival',
|
|
26
|
+
'Women and the World' => 'Women and the World Festival',
|
|
27
|
+
'Women and the World International Film Festival' => 'Women and the World Festival'
|
|
25
28
|
}.freeze
|
|
26
29
|
|
|
27
|
-
NAME_PATTERN = NAMES.map { |name| Regexp.escape(name) }.join('|')
|
|
30
|
+
NAME_PATTERN = NAMES.sort_by { |name| -name.length }.map { |name| Regexp.escape(name) }.join('|')
|
|
28
31
|
|
|
29
32
|
# Title prefixes naming a festival: the name, then the year when given
|
|
30
33
|
PREFIXES = [
|
|
31
34
|
/\A(Cine-Excess) (20\d{2}): /,
|
|
32
35
|
/\A(Cinemagic) (\d{4}) -/,
|
|
33
36
|
/\A(Horror Season) (20\d{2}) /,
|
|
34
|
-
/\A(#{NAME_PATTERN})(?: ((?:20)?\d{2}))?(?:\s*[:–-]\s*|\s+(?=Shorts:))/
|
|
37
|
+
/\A(#{NAME_PATTERN})(?: ?((?:20)?\d{2}))?(?:\s*[:–-]\s*|\s+(?=Shorts:))/
|
|
35
38
|
].freeze
|
|
36
39
|
|
|
37
40
|
# A festival named after the film, such as "Party USA - NFF UK Premier"
|
|
38
41
|
SUFFIX = /\s+[-–]\s+(#{NAME_PATTERN})\b(?: ((?:20)?\d{2})\b)?.*\z/
|
|
39
42
|
|
|
40
|
-
|
|
43
|
+
# A festival in brackets after the film, such as "Coward (French Film Festival)"
|
|
44
|
+
BRACKETED = /\s*\((#{NAME_PATTERN})(?: ((?:20)?\d{2}))?\)/
|
|
45
|
+
|
|
46
|
+
PATTERNS =[*PREFIXES, SUFFIX, BRACKETED].freeze
|
|
41
47
|
|
|
42
48
|
CENTURY = 2000
|
|
43
49
|
|
data/lib/cinebase/version.rb
CHANGED