gft_uk 1.0.1 → 1.1.0

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: 9972f784150fbabe8ab6200f7d9489fb2732fae4f2967847eb2c3d0c9820eeb2
4
- data.tar.gz: 206bcc75aa132a5e912edb173f36b0eb7c1ae735a1dd2596815a744ebcf3936d
3
+ metadata.gz: 3ac986d109ce14f592d90da5095b4cb399068ac89e09fe3987137863b7c3ce96
4
+ data.tar.gz: 353a6aacc32a4fcd3de1585e92df2e6e4057d3e40e748d93861719168424c691
5
5
  SHA512:
6
- metadata.gz: de8a994096f943cbb906c6ed208d1ed2da08faf2883ecb7a36fe0ed9f4129fd407ea0402a66dbcd28126256c1d3927280f66c6bda7bb4c95dbec7e69b7092d08
7
- data.tar.gz: 8efae36d5423f011682f2f0e0c76f9f45efed8b75543c617e1ec0a8e3156d0bd3bad7079efa321fad8aead1563b69e576e8e630d693a59c2e034e3fcd5b77f36
6
+ metadata.gz: 67fbf2fd355940b3dd66f8399a90e7c3a68d86c2e44dde025e5da0f90523e3d3af66822be928e045955d704e1e33b99d6b1c7e58ea50aba4e0f79eb4b0d8efe3
7
+ data.tar.gz: 4112af4325eff401a436a3d34a004953b7bbe0bf2b76da6f2341a861a8fc83acabb6e729355a998b901fa53c91c70daec074b3c59453bf56f7506c788283b647
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.1.0] - 2026-11-03
6
+
7
+ ### Changed
8
+ - Uses cinebase 5.9: performances take the raw `title:`, so audience labels become variants, and series prefixes such as `Met Opera:` become the performance's `event`.
9
+
5
10
  ## [1.0.1] - 2026-11-02
6
11
 
7
12
  ### Changed
data/README.md CHANGED
@@ -136,7 +136,8 @@ Titles are cleaned up:
136
136
  - Anniversaries, restorations and prints go: 'Marie Antoinette - 20th
137
137
  Anniversary - 4K', 'Short Cuts - 35mm', 'A Silent Voice (10th Anniversary)'.
138
138
  - Add-ons go: '+ Q&A', '+ discussion', '+ introduction'.
139
- - 'NT Live:' becomes 'National Theatre Live:'.
139
+ - Series prefixes such as 'NT Live:' go, and the performance's `event` names
140
+ the series, here National Theatre Live.
140
141
 
141
142
  ## Tests
142
143
 
@@ -89,6 +89,7 @@ module GftUk
89
89
  film_name: TitleSanitizer.new(title).sanitized,
90
90
  film_year: Cinebase::TitleSanitizer.film_year(title) || release_year,
91
91
  starting_at: starting_at,
92
+ title: title,
92
93
  variant: variant
93
94
  }
94
95
  end
@@ -107,7 +108,7 @@ module GftUk
107
108
  end
108
109
 
109
110
  def festival
110
- Cinebase::Festival.from_title(title, year: london_year) || badge_festival || title_festival
111
+ title_festival || Cinebase::Festival.from_title(title, year: london_year) || badge_festival
111
112
  end
112
113
 
113
114
  def badge_festival
@@ -22,6 +22,7 @@ module GftUk
22
22
  # @option options [String] :film_name name of the film
23
23
  # @option options [Integer] :film_year (nil) year of the film
24
24
  # @option options [Time] :starting_at listed start time of the performance
25
+ # @option options [String] :title (nil) raw title, for audience variants
25
26
 
26
27
  # Performances within an inclusive range of showing dates: one request
27
28
  # for the dates with showings, then one for every ten of those dates.
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for https://www.glasgowfilm.org
2
- # @version 1.0.1
2
+ # @version 1.1.0
3
3
  module GftUk
4
4
  # Gem version
5
- VERSION = '1.0.1'.freeze
5
+ VERSION = '1.1.0'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gft_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
@@ -99,14 +99,14 @@ dependencies:
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '5.8'
102
+ version: '5.9'
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '5.8'
109
+ version: '5.9'
110
110
  description: Pull movie & cinema information from the Glasgow Film Theatre website
111
111
  email:
112
112
  - andy@goodscary.com