cinebase 5.10.0 → 5.10.1
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/a1web/performance.rb +1 -1
- data/lib/cinebase/boxoffice/performance.rb +1 -1
- data/lib/cinebase/performance.rb +7 -1
- 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: 2db360e63882bc3450903c62e1eac18dcfe0e9035e95245a11c00d96039b4875
|
|
4
|
+
data.tar.gz: 92adad0b62500f92eab272d2c3c904d0ead4b0577227244b0624f7a326786f0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c164dc67593843ef61a22a31fcbaa7c9b33fe94b9840a242d261818157d3fdbc5ed94c6e03ba8ff952c866bcf7c8253b38fb290fb863de3de6b4c86a1da6632
|
|
7
|
+
data.tar.gz: c513227d811472f21e789a5e0d2ead0511bcceb950f9ed14498b322c2df2682c22a3edfec50820481f78a485f89c7e5f82460b08cc9b60c63dc6c10a10c225f4
|
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.10.1] - 2026-11-03
|
|
6
|
+
### Fixed
|
|
7
|
+
- A1Web and Boxoffice chains name festivals with `Performance.festival_names`, as they set the festival themselves.
|
|
8
|
+
- A sport event drops the `arts` variant that a chain tags its events genre with.
|
|
9
|
+
|
|
5
10
|
## [5.10.0] - 2026-11-03
|
|
6
11
|
### Added
|
|
7
12
|
- Live sport is an `Event`: `Six Nations 2027 - England v France` gives the event Six Nations and the variant `sport`. The fixture keeps the competition in its film name. `Event#variant` is `arts` or `sport`.
|
|
@@ -71,7 +71,7 @@ module Cinebase
|
|
|
71
71
|
{
|
|
72
72
|
booking_url: showing.booking_url,
|
|
73
73
|
dimension: [title, *showing.tags].any? { |text| text.match?(THREE_D) } ? '3d' : '2d',
|
|
74
|
-
festival: Festival.from_title(title, year: showing.date.year),
|
|
74
|
+
festival: Festival.from_title(title, year: showing.date.year, names: festival_names),
|
|
75
75
|
film_name: title_sanitizer.new(title).sanitized,
|
|
76
76
|
film_year: TitleSanitizer.film_year(title),
|
|
77
77
|
language: title[LANGUAGE, 1],
|
|
@@ -57,7 +57,7 @@ module Cinebase
|
|
|
57
57
|
{
|
|
58
58
|
booking_url: showtime.booking_url,
|
|
59
59
|
dimension: showtime.dimension,
|
|
60
|
-
festival: Festival.from_title(title, year: starting_at.year),
|
|
60
|
+
festival: Festival.from_title(title, year: starting_at.year, names: festival_names),
|
|
61
61
|
film_name: title_sanitizer.new(title).sanitized,
|
|
62
62
|
film_year: TitleSanitizer.film_year(title),
|
|
63
63
|
language: showtime.language || title[/\((#{TitleSanitizer::LANGUAGES.join('|')})\)/i, 1],
|
data/lib/cinebase/performance.rb
CHANGED
|
@@ -63,9 +63,15 @@ module Cinebase
|
|
|
63
63
|
Event.from_name(@film_name)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
# Chains list sport under their events genre, which they tag as arts
|
|
66
67
|
def variant
|
|
67
68
|
@variant = @variant.split(' ') if @variant.is_a?(String)
|
|
68
|
-
(@variant + title_variants).map(&:downcase).sort.uniq
|
|
69
|
+
variants = (@variant + title_variants).map(&:downcase).sort.uniq
|
|
70
|
+
if event&.variant == 'sport'
|
|
71
|
+
variants - %w(arts)
|
|
72
|
+
else
|
|
73
|
+
variants
|
|
74
|
+
end
|
|
69
75
|
end
|
|
70
76
|
|
|
71
77
|
# English subtitles or open captions
|
data/lib/cinebase/version.rb
CHANGED