seatsio 53.1.0 → 53.3.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 +4 -4
- data/.github/workflows/build.yml +6 -0
- data/Gemfile.lock +1 -1
- data/lib/seatsio/domain.rb +4 -2
- data/lib/seatsio/events.rb +4 -0
- data/lib/seatsio/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0626d9cef01129c01eff4c98f8840b08324ea2e03615195d9f2529e3a210da1c
|
|
4
|
+
data.tar.gz: de529b32992a4187d37e25e1f06433d4411935bc47d441fd4edbb7f51980ddff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 822122ca50d0414b1e54a11340a7f9b44cd5046e2594094adeb8e2c1d89ecf7f874dda11fe9a42d6629a397be988679ea5da7b95bd39c16e60238721ea159f8b
|
|
7
|
+
data.tar.gz: cd70b2c1ef6afc097edfccda9d9e763e6b54d7a9c0ccef6b399f6f8de29584e7ab6a5bdebe91e261f631410f770f7e1e0e9e34fcb0f7106e7effc04c41ba7d0d
|
data/.github/workflows/build.yml
CHANGED
|
@@ -10,6 +10,11 @@ jobs:
|
|
|
10
10
|
test:
|
|
11
11
|
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
|
+
services:
|
|
14
|
+
httpbin:
|
|
15
|
+
image: mccutchen/go-httpbin:2.25.0
|
|
16
|
+
ports:
|
|
17
|
+
- 8080:8080
|
|
13
18
|
strategy:
|
|
14
19
|
fail-fast: false
|
|
15
20
|
matrix:
|
|
@@ -27,5 +32,6 @@ jobs:
|
|
|
27
32
|
- run: bundle exec parallel_test
|
|
28
33
|
env:
|
|
29
34
|
API_URL: https://api-staging-eu.seatsio.net
|
|
35
|
+
HTTPBIN_URL: http://127.0.0.1:${{ job.services.httpbin.ports[8080] }}
|
|
30
36
|
DEMO_COMPANY_SECRET_KEY: ${{ secrets.DEMO_COMPANY_SECRET_KEY }}
|
|
31
37
|
CORE_V2_STAGING_EU_SYSTEM_API_SECRET: ${{ secrets.CORE_V2_STAGING_EU_SYSTEM_API_SECRET }}
|
data/Gemfile.lock
CHANGED
data/lib/seatsio/domain.rb
CHANGED
|
@@ -383,7 +383,7 @@ module Seatsio
|
|
|
383
383
|
class ChartObjectInfo
|
|
384
384
|
|
|
385
385
|
attr_reader :label, :labels, :ids, :category_key, :category_label, :section, :entrance, :capacity, :object_type,
|
|
386
|
-
:left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point, :num_seats, :is_accessible,
|
|
386
|
+
:area_type, :left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point, :num_seats, :is_accessible,
|
|
387
387
|
:is_companion_seat, :has_lift_up_armrests, :is_hearing_impaired, :is_semi_ambulatory_seat, :has_sign_language_interpretation,
|
|
388
388
|
:is_plus_size, :has_restricted_view, :zone, :floor
|
|
389
389
|
|
|
@@ -397,6 +397,7 @@ module Seatsio
|
|
|
397
397
|
@entrance = data['entrance']
|
|
398
398
|
@capacity = data['capacity']
|
|
399
399
|
@object_type = data['objectType']
|
|
400
|
+
@area_type = data['areaType']
|
|
400
401
|
@left_neighbour = data['leftNeighbour']
|
|
401
402
|
@right_neighbour = data['rightNeighbour']
|
|
402
403
|
@book_as_a_whole = data['bookAsAWhole']
|
|
@@ -471,7 +472,7 @@ module Seatsio
|
|
|
471
472
|
RESALE = 'resale'
|
|
472
473
|
|
|
473
474
|
attr_reader :labels, :ids, :label, :order_id, :extra_data, :capacity, :status,
|
|
474
|
-
:category_key, :entrance, :object_type, :hold_token, :category_label,
|
|
475
|
+
:category_key, :entrance, :object_type, :area_type, :hold_token, :category_label,
|
|
475
476
|
:ticket_type, :num_booked, :num_free, :num_held, :for_sale, :section,
|
|
476
477
|
:is_accessible, :is_companion_seat, :has_lift_up_armrests, :is_hearing_impaired, :is_semi_ambulatory_seat,
|
|
477
478
|
:has_sign_language_interpretation, :is_plus_size, :has_restricted_view, :displayed_object_type, :parent_displayed_object_type,
|
|
@@ -498,6 +499,7 @@ module Seatsio
|
|
|
498
499
|
@num_held = data['numHeld']
|
|
499
500
|
@capacity = data['capacity']
|
|
500
501
|
@object_type = data['objectType']
|
|
502
|
+
@area_type = data['areaType']
|
|
501
503
|
@extra_data = data['extraData']
|
|
502
504
|
@is_accessible = data['isAccessible']
|
|
503
505
|
@is_companion_seat = data['isCompanionSeat']
|
data/lib/seatsio/events.rb
CHANGED
|
@@ -189,6 +189,10 @@ module Seatsio
|
|
|
189
189
|
@http_client.post("events/#{key}/actions/mark-everything-as-for-sale")
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
+
def mark_everything_as_not_for_sale(key: nil)
|
|
193
|
+
@http_client.post("events/#{key}/actions/mark-everything-as-not-for-sale")
|
|
194
|
+
end
|
|
195
|
+
|
|
192
196
|
def move_to_new_chart_copy(event_key)
|
|
193
197
|
response = @http_client.post("events/#{event_key}/actions/move-to-new-chart-copy")
|
|
194
198
|
Event.from_json(response)
|
data/lib/seatsio/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: seatsio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 53.
|
|
4
|
+
version: 53.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seats.io
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|