seatsio 52.3.0 → 52.5.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/Gemfile.lock +12 -10
- data/lib/seatsio/domain.rb +14 -2
- data/lib/seatsio/events.rb +4 -2
- data/lib/seatsio/version.rb +1 -1
- data/seatsio.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f26db1ce9db95e8ffa17b2ef37d706606a5ca90c11e0aee854c2ab8752502f1
|
|
4
|
+
data.tar.gz: de767f8666182e062734379b9911716eaa3020880c9708872b0a8ec82b53e8c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f8bd13ee8250cc6ab76c99c862985e2719a95277448c2a20c835c2365d6b72887c336238e2b211f55b6d50a3c1057c18868d2b0d8e6869771676879feccb184
|
|
7
|
+
data.tar.gz: fd933cda32717070b3c6bbf77467bb29815f79ae09cdcc6a4c0e4e9d4cf74ffbc45323b5fd9414699cd89214237ab70fdcaae3a39c3488f4afd75e09a04aa0cd
|
data/Gemfile.lock
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
seatsio (52.
|
|
4
|
+
seatsio (52.5.0)
|
|
5
5
|
base64 (>= 0.2, < 0.4)
|
|
6
6
|
rest-client (~> 2.0, >= 2.0.2)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
addressable (2.
|
|
12
|
-
public_suffix (>= 2.0.2, <
|
|
11
|
+
addressable (2.9.0)
|
|
12
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
13
13
|
base64 (0.3.0)
|
|
14
|
-
bigdecimal (
|
|
14
|
+
bigdecimal (4.1.0)
|
|
15
15
|
crack (1.0.1)
|
|
16
16
|
bigdecimal
|
|
17
17
|
rexml
|
|
18
18
|
domain_name (0.6.20240107)
|
|
19
|
+
drb (2.2.3)
|
|
19
20
|
hashdiff (1.2.1)
|
|
20
21
|
http-accept (1.7.0)
|
|
21
22
|
http-cookie (1.0.8)
|
|
@@ -25,14 +26,15 @@ GEM
|
|
|
25
26
|
logger
|
|
26
27
|
mime-types-data (~> 3.2015)
|
|
27
28
|
mime-types-data (3.2025.0402)
|
|
28
|
-
minitest (6.0.
|
|
29
|
+
minitest (6.0.3)
|
|
30
|
+
drb (~> 2.0)
|
|
29
31
|
prism (~> 1.5)
|
|
30
32
|
netrc (0.11.0)
|
|
31
33
|
parallel (1.27.0)
|
|
32
|
-
parallel_tests (5.
|
|
34
|
+
parallel_tests (5.6.0)
|
|
33
35
|
parallel
|
|
34
|
-
prism (1.
|
|
35
|
-
public_suffix (
|
|
36
|
+
prism (1.9.0)
|
|
37
|
+
public_suffix (7.0.5)
|
|
36
38
|
rake (13.3.1)
|
|
37
39
|
rest-client (2.1.0)
|
|
38
40
|
http-accept (>= 1.7.0, < 2.0)
|
|
@@ -40,7 +42,7 @@ GEM
|
|
|
40
42
|
mime-types (>= 1.16, < 4.0)
|
|
41
43
|
netrc (~> 0.8)
|
|
42
44
|
rexml (3.4.4)
|
|
43
|
-
webmock (3.26.
|
|
45
|
+
webmock (3.26.2)
|
|
44
46
|
addressable (>= 2.8.0)
|
|
45
47
|
crack (>= 0.3.2)
|
|
46
48
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
@@ -51,7 +53,7 @@ PLATFORMS
|
|
|
51
53
|
DEPENDENCIES
|
|
52
54
|
bundler (~> 2.2)
|
|
53
55
|
minitest (~> 6.0)
|
|
54
|
-
parallel_tests (~> 5.
|
|
56
|
+
parallel_tests (~> 5.6.0)
|
|
55
57
|
rake (~> 13.0)
|
|
56
58
|
seatsio!
|
|
57
59
|
webmock (~> 3.4, >= 3.4.2)
|
data/lib/seatsio/domain.rb
CHANGED
|
@@ -375,7 +375,8 @@ module Seatsio
|
|
|
375
375
|
|
|
376
376
|
attr_reader :label, :labels, :ids, :category_key, :category_label, :section, :entrance, :capacity, :object_type,
|
|
377
377
|
:left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point, :num_seats, :is_accessible,
|
|
378
|
-
:is_companion_seat, :
|
|
378
|
+
:is_companion_seat, :has_lift_up_armrests, :is_hearing_impaired, :is_semi_ambulatory_seat, :has_sign_language_interpretation,
|
|
379
|
+
:is_plus_size, :has_restricted_view, :zone, :floor
|
|
379
380
|
|
|
380
381
|
def initialize(data)
|
|
381
382
|
@label = data['label']
|
|
@@ -393,6 +394,11 @@ module Seatsio
|
|
|
393
394
|
@distance_to_focal_point = data['distanceToFocalPoint']
|
|
394
395
|
@num_seats = data['numSeats']
|
|
395
396
|
@is_accessible = data['isAccessible']
|
|
397
|
+
@has_lift_up_armrests = data['hasLiftUpArmrests']
|
|
398
|
+
@is_hearing_impaired = data['isHearingImpaired']
|
|
399
|
+
@is_semi_ambulatory_seat = data['isSemiAmbulatorySeat']
|
|
400
|
+
@has_sign_language_interpretation = data['hasSignLanguageInterpretation']
|
|
401
|
+
@is_plus_size = data['isPlusSize']
|
|
396
402
|
@is_companion_seat = data['isCompanionSeat']
|
|
397
403
|
@has_restricted_view = data['hasRestrictedView']
|
|
398
404
|
@zone = data['zone']
|
|
@@ -458,7 +464,8 @@ module Seatsio
|
|
|
458
464
|
attr_reader :labels, :ids, :label, :order_id, :extra_data, :capacity, :status,
|
|
459
465
|
:category_key, :entrance, :object_type, :hold_token, :category_label,
|
|
460
466
|
:ticket_type, :num_booked, :num_free, :num_held, :for_sale, :section,
|
|
461
|
-
:is_accessible, :is_companion_seat, :
|
|
467
|
+
:is_accessible, :is_companion_seat, :has_lift_up_armrests, :is_hearing_impaired, :is_semi_ambulatory_seat,
|
|
468
|
+
:has_sign_language_interpretation, :is_plus_size, :has_restricted_view, :displayed_object_type, :parent_displayed_object_type,
|
|
462
469
|
:left_neighbour, :right_neighbour, :is_available, :channel,
|
|
463
470
|
:book_as_a_whole, :distance_to_focal_point, :holds, :num_seats, :variable_occupancy,
|
|
464
471
|
:min_occupancy, :max_occupancy, :season_status_overridden_quantity, :num_not_for_sale,
|
|
@@ -485,6 +492,11 @@ module Seatsio
|
|
|
485
492
|
@extra_data = data['extraData']
|
|
486
493
|
@is_accessible = data['isAccessible']
|
|
487
494
|
@is_companion_seat = data['isCompanionSeat']
|
|
495
|
+
@has_lift_up_armrests = data['hasLiftUpArmrests']
|
|
496
|
+
@is_hearing_impaired = data['isHearingImpaired']
|
|
497
|
+
@is_semi_ambulatory_seat = data['isSemiAmbulatorySeat']
|
|
498
|
+
@has_sign_language_interpretation = data['hasSignLanguageInterpretation']
|
|
499
|
+
@is_plus_size = data['isPlusSize']
|
|
488
500
|
@has_restricted_view = data['hasRestrictedView']
|
|
489
501
|
@displayed_object_type = data['displayedObjectType']
|
|
490
502
|
@parent_displayed_object_type = data['parentDisplayedObjectType']
|
data/lib/seatsio/events.rb
CHANGED
|
@@ -35,15 +35,17 @@ module Seatsio
|
|
|
35
35
|
@http_client.post("events/#{key}", payload)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
def override_season_object_status(key:, objects:)
|
|
38
|
+
def override_season_object_status(key:, objects:, season: nil)
|
|
39
39
|
request = {}
|
|
40
40
|
request[:objects] = objects
|
|
41
|
+
request[:season] = season if season != nil
|
|
41
42
|
@http_client.post("events/#{key}/actions/override-season-status", request)
|
|
42
43
|
end
|
|
43
44
|
|
|
44
|
-
def use_season_object_status(key:, objects:)
|
|
45
|
+
def use_season_object_status(key:, objects:, season: nil)
|
|
45
46
|
request = {}
|
|
46
47
|
request[:objects] = objects
|
|
48
|
+
request[:season] = season if season != nil
|
|
47
49
|
@http_client.post("events/#{key}/actions/use-season-status", request)
|
|
48
50
|
end
|
|
49
51
|
|
data/lib/seatsio/version.rb
CHANGED
data/seatsio.gemspec
CHANGED
|
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
spec.add_development_dependency "rake", "~> 13.0"
|
|
28
28
|
spec.add_development_dependency "minitest", "~> 6.0"
|
|
29
29
|
spec.add_development_dependency 'webmock', '~> 3.4', '>= 3.4.2'
|
|
30
|
-
spec.add_development_dependency 'parallel_tests', '~> 5.
|
|
30
|
+
spec.add_development_dependency 'parallel_tests', '~> 5.6.0'
|
|
31
31
|
end
|
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: 52.
|
|
4
|
+
version: 52.5.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-
|
|
11
|
+
date: 2026-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -118,14 +118,14 @@ dependencies:
|
|
|
118
118
|
requirements:
|
|
119
119
|
- - "~>"
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
|
-
version: 5.
|
|
121
|
+
version: 5.6.0
|
|
122
122
|
type: :development
|
|
123
123
|
prerelease: false
|
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
|
125
125
|
requirements:
|
|
126
126
|
- - "~>"
|
|
127
127
|
- !ruby/object:Gem::Version
|
|
128
|
-
version: 5.
|
|
128
|
+
version: 5.6.0
|
|
129
129
|
description: This is the official Ruby client library for the Seats.io V2 REST API
|
|
130
130
|
email:
|
|
131
131
|
- nahuel@seats.io
|