omniplex_uk 1.0.1 → 1.0.2
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/omniplex_uk/performance.rb +4 -1
- data/lib/omniplex_uk/version.rb +2 -2
- 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: 34a23136866807694df72905a39351543e9201f1b89887a72fe1093876a3d185
|
|
4
|
+
data.tar.gz: 70ffc74bfe06c6e3f5d173ca4ac73c90dcfb8697ca9159131b526e5798055c79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcab2ab429d0a1670bf916b92dc4f9d51acd6908fadc943f3e677dcb1fd74a7ef319e66d7845a29079c1d92e319d86fa88b11917f769014c88cf14df64ea1cbd
|
|
7
|
+
data.tar.gz: 3a773b39a7d55af75701bea2896b13fc51dbe5e361a9824dbfa00bc150183fb8a87408514b2423139be812de04df3369e8e7ec2cff0e89daf3faeeebad0ce738
|
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
|
+
## [1.0.2] - 2026-11-03
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- Placeholder `Live event test` sessions are left out of performances.
|
|
9
|
+
|
|
5
10
|
## [1.0.1] - 2026-11-02
|
|
6
11
|
|
|
7
12
|
### Changed
|
|
@@ -58,6 +58,9 @@ module OmniplexUk
|
|
|
58
58
|
COUNTRY_LANGUAGES = { 'Poland' => 'Polish' }.freeze
|
|
59
59
|
COUNTRY = /\((#{COUNTRY_LANGUAGES.keys.join('|')})\)/
|
|
60
60
|
|
|
61
|
+
# Placeholder sessions Omniplex lists while setting up a broadcast
|
|
62
|
+
TEST_EVENT = /\ALive event test\b/i
|
|
63
|
+
|
|
61
64
|
# Performances within an inclusive range of showing dates. The website
|
|
62
65
|
# lists one day per page, so this reads the venue's advertised dates
|
|
63
66
|
# from its first page, then one page for each other date in the range.
|
|
@@ -76,7 +79,7 @@ module OmniplexUk
|
|
|
76
79
|
if cinema.url.empty?
|
|
77
80
|
[]
|
|
78
81
|
else
|
|
79
|
-
showings = listings(cinema.id, from..to).flat_map(&:showings)
|
|
82
|
+
showings = listings(cinema.id, from..to).flat_map(&:showings).reject { |showing| showing.title.match?(TEST_EVENT) }
|
|
80
83
|
performances = showings.map do |showing|
|
|
81
84
|
new(attributes(showing).merge(cinema_id: cinema.id, cinema_name: cinema.name))
|
|
82
85
|
end
|
data/lib/omniplex_uk/version.rb
CHANGED