cineworld_uk 4.3.0 → 4.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b966798e50231ceceb95b749b8c3e9e962db5cc12edc7fb31e98ee40e110078d
4
- data.tar.gz: f26069f75b3de854af94f90758b0d479faa8ef7f2923dfb3c6ed66d16a681432
3
+ metadata.gz: ad899c7276b6850699fdef0706b33806daa05da58f59634711ab96acf8ce9329
4
+ data.tar.gz: 02f570e6d3cf93d49e96c19170cc75c65fab52d53cc26778cce5753705cd3e29
5
5
  SHA512:
6
- metadata.gz: 2d38f7b625fe0625160948172925120d2763ba1f9235acc683f58bf5c4b1fdeca4a6176734884e400dadfa34ed53c5d1a745af7b11ecbf52468884c1bc92d378
7
- data.tar.gz: 71d23a661ac05b7eb340877e6c371ceae53cc4b757048a75d3ebfa4d713258ca7faae8cb74d7c360ecdf5da8655351c7c1167b920c10125a1dc43d6f434b2405
6
+ metadata.gz: 0a14393efc506cb077b7f8785fa8bfe58874ebf4d697e508c41bf6f5c68e7cf370929f4a02caea996bda7bb3cdb356a632bf80cab3c2e6f9aef79fc2a3dddf15
7
+ data.tar.gz: 1337c218a4764de4c8de1f049ae59e29db20131d90bafb1c8c391441ccf8c56315a2aa22b37940e2e799bc5bad11f7cc38702c5ede077b7566983a917c41ed90
@@ -0,0 +1,73 @@
1
+ name: Release Gem
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ package:
8
+ strategy:
9
+ matrix:
10
+ include:
11
+ - runner: ubuntu-latest
12
+ platform: x86_64-linux-gnu
13
+ - runner: ubuntu-24.04-arm
14
+ platform: aarch64-linux-gnu
15
+ - runner: macos-15
16
+ platform: arm64-darwin
17
+ - runner: macos-15-intel
18
+ platform: x86_64-darwin
19
+ runs-on: ${{ matrix.runner }}
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: '4.0'
25
+ bundler-cache: true
26
+ - run: bundle exec rake 'package:native[${{ matrix.platform }}]'
27
+ - run: CINEWORLD_PACKAGE="$(echo pkg/*.gem)" bundle exec ruby test/package_test.rb
28
+ - uses: actions/upload-artifact@v4
29
+ with:
30
+ name: gem-${{ matrix.platform }}
31
+ path: pkg/*.gem
32
+
33
+ release:
34
+ needs: package
35
+ runs-on: ubuntu-latest
36
+ permissions:
37
+ id-token: write
38
+ contents: write
39
+ steps:
40
+ - uses: actions/checkout@v4
41
+ - uses: ruby/setup-ruby@v1
42
+ with:
43
+ ruby-version: '4.0'
44
+ bundler-cache: true
45
+ - run: bundle exec rake test
46
+ - run: bundle exec rake build
47
+ - uses: actions/download-artifact@v4
48
+ with:
49
+ path: pkg
50
+ pattern: gem-*
51
+ merge-multiple: true
52
+ - uses: rubygems/configure-rubygems-credentials@v1.0.0
53
+ - name: Push the source and platform gems
54
+ run: |
55
+ for gem in pkg/*.gem; do
56
+ if output=$(gem push "$gem" 2>&1); then
57
+ echo "$output"
58
+ elif echo "$output" | grep -q "Repushing of gem versions is not allowed"; then
59
+ echo "Already published: $gem"
60
+ else
61
+ echo "$output"
62
+ exit 1
63
+ fi
64
+ done
65
+ - name: Tag the release
66
+ run: |
67
+ tag="v$(ruby -e 'print Gem::Specification.load(Dir["*.gemspec"].first).version')"
68
+ if git ls-remote --exit-code --tags origin "$tag" >/dev/null; then
69
+ echo "$tag already exists"
70
+ else
71
+ git tag "$tag"
72
+ git push origin "$tag"
73
+ fi
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
+ ## 4.3.1 - 2026-10-22
6
+
7
+ ### Fixed
8
+ - Publish the platform gems that bundle curl-impersonate. 4.3.0 shipped only the source gem. No code changes.
9
+
5
10
  ## 4.3.0 - 2026-10-22
6
11
 
7
12
  ### Added
data/README.md CHANGED
@@ -229,7 +229,7 @@ To build and check just one platform on a matching host:
229
229
 
230
230
  ```sh
231
231
  bundle exec rake 'package:native[x86_64-linux-gnu]'
232
- CINEWORLD_PACKAGE=pkg/cineworld_uk-4.3.0-x86_64-linux-gnu.gem bundle exec ruby test/package_test.rb
232
+ CINEWORLD_PACKAGE=pkg/cineworld_uk-4.3.1-x86_64-linux-gnu.gem bundle exec ruby test/package_test.rb
233
233
  ```
234
234
 
235
235
  Native packaging downloads pinned upstream archives at **build time**, verifies
@@ -239,6 +239,11 @@ and installation-tests each platform on its corresponding runner and saves the
239
239
  gems as workflow artifacts; it does not publish them. Publish the source and
240
240
  platform gems together for automatic platform selection to work for users.
241
241
 
242
+ To release, bump the version, merge, then run the **Release Gem** workflow in
243
+ GitHub Actions. It builds the source and four platform gems, publishes them
244
+ through RubyGems trusted publishing (no MFA code needed) and tags the release.
245
+ Versions already on RubyGems are skipped, so a failed run can be rerun.
246
+
242
247
  ## Contributing
243
248
 
244
249
  1. Fork it
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.cineworld.co.uk
2
- # @version 4.3.0
2
+ # @version 4.3.1
3
3
  module CineworldUk
4
4
  # Gem version
5
- VERSION = "4.3.0".freeze
5
+ VERSION = "4.3.1".freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cineworld_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
@@ -143,6 +143,7 @@ extensions: []
143
143
  extra_rdoc_files: []
144
144
  files:
145
145
  - ".agents/setup"
146
+ - ".github/workflows/release.yml"
146
147
  - ".github/workflows/test.yml"
147
148
  - ".gitignore"
148
149
  - ".ruby-version"