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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c038439c8f7c98392325fff083019c8fa95a58347298be95026f11e49d11a8f1
4
- data.tar.gz: 1ace9daee1c3ef257ce828a956377fe255bc6d3523de935c146851388c451c10
3
+ metadata.gz: 34a23136866807694df72905a39351543e9201f1b89887a72fe1093876a3d185
4
+ data.tar.gz: 70ffc74bfe06c6e3f5d173ca4ac73c90dcfb8697ca9159131b526e5798055c79
5
5
  SHA512:
6
- metadata.gz: bc8beb4a53abc83aa96e69fe5ed3423162b6a088ee4a7edcb992d786a3f7ac4038b0d4d74bfa750c835b1622a92d2308dbade85211c6ede6170b993c2f35d641
7
- data.tar.gz: b534fc6c45bb756c870aef4ca18b11914a9eebb42af12c9a73a9fac8cdc73e30ca64c2990f5504ee79dc6d76770ed1a54eb48c88c5a516f8498f6e5f45106dc2
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
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for https://www.omniplexcinemas.co.uk
2
- # @version 1.0.1
2
+ # @version 1.0.2
3
3
  module OmniplexUk
4
4
  # Gem version
5
- VERSION = '1.0.1'.freeze
5
+ VERSION = '1.0.2'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniplex_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll