onebusaway-sdk 1.7.1 → 1.8.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: e7dc0cbc1d74932ae91f5805493effaed0d0522f597480b480ba8dbe499e907f
4
- data.tar.gz: e46525a11a97246aa6850233925dc91f7385a0820dee0f268a102bd93ab9dcc3
3
+ metadata.gz: d44c6d62dd11c432c23628174eaca7e59703f78c9e15c6dcf45f23fa2c8f9e6f
4
+ data.tar.gz: 43644644c6c66a2d36029eb6cb4756a8e9f91b80de73d6667d75ce4bb1d40ea9
5
5
  SHA512:
6
- metadata.gz: d7d2aafa933161cada76756c272d4521fb2f3ff3e71fcd71564ff72c1f180afc10fcf63a9ae0b82529ce9fb384a8978f648b9d7f06c7cfd72ce193eabf9617ce
7
- data.tar.gz: 9e8364afb8bce86f14974fbcf2229b0f72e175a0c3e9528ee069636227e0acb6ef1ddb89bd26ccf49c66b6fce0d4fc33fdad984b00599711ffe8b83229e86d7b
6
+ metadata.gz: 025a51b335e6d32f3a6a250d76dd48dfd90b1625174f1a71e364352af91b07ea6992da7cac940e53fa23c3b0edab258354637bb0f94869aa57aaaa16dfc4f207
7
+ data.tar.gz: 7d51a5181fe99ac9922bb8b87a92fc824facc093eeae7a3cd2e3233320b2dc3861f971c3b791085af75b076082d0a95cf669710de99f0f37487b26a852722e7f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.8.0 (2026-05-20)
4
+
5
+ Full Changelog: [v1.7.1...v1.8.0](https://github.com/OneBusAway/ruby-sdk/compare/v1.7.1...v1.8.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([48900b2](https://github.com/OneBusAway/ruby-sdk/commit/48900b22b5fada35d55e08599ef1c5d74bde150e))
10
+
3
11
  ## 1.7.1 (2026-05-14)
4
12
 
5
13
  Full Changelog: [v1.7.0...v1.7.1](https://github.com/OneBusAway/ruby-sdk/compare/v1.7.0...v1.7.1)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "onebusaway-sdk", "~> 1.7.1"
20
+ gem "onebusaway-sdk", "~> 1.8.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -55,17 +55,23 @@ module OnebusawaySDK
55
55
  optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
56
56
 
57
57
  # @!attribute status
58
+ # Trip-specific status for the arriving transit vehicle.
58
59
  #
59
60
  # @return [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status, nil]
60
61
  optional :status, -> { OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status }
61
62
 
62
63
  # @!method initialize(trip_id:, frequency: nil, schedule: nil, service_date: nil, situation_ids: nil, status: nil)
63
64
  # @param trip_id [String]
65
+ #
64
66
  # @param frequency [String, nil]
67
+ #
65
68
  # @param schedule [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Schedule]
69
+ #
66
70
  # @param service_date [Integer]
71
+ #
67
72
  # @param situation_ids [Array<String>]
68
- # @param status [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status]
73
+ #
74
+ # @param status [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status] Trip-specific status for the arriving transit vehicle.
69
75
 
70
76
  # @see OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry#schedule
71
77
  class Schedule < OnebusawaySDK::Internal::Type::BaseModel
@@ -322,6 +328,8 @@ module OnebusawaySDK
322
328
  # {OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status} for
323
329
  # more details.
324
330
  #
331
+ # Trip-specific status for the arriving transit vehicle.
332
+ #
325
333
  # @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
326
334
  #
327
335
  # @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
@@ -55,17 +55,23 @@ module OnebusawaySDK
55
55
  optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
56
56
 
57
57
  # @!attribute status
58
+ # Trip-specific status for the arriving transit vehicle.
58
59
  #
59
60
  # @return [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status, nil]
60
61
  optional :status, -> { OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status }
61
62
 
62
63
  # @!method initialize(trip_id:, frequency: nil, schedule: nil, service_date: nil, situation_ids: nil, status: nil)
63
64
  # @param trip_id [String]
65
+ #
64
66
  # @param frequency [String, nil]
67
+ #
65
68
  # @param schedule [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule]
69
+ #
66
70
  # @param service_date [Integer]
71
+ #
67
72
  # @param situation_ids [Array<String>]
68
- # @param status [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status]
73
+ #
74
+ # @param status [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status] Trip-specific status for the arriving transit vehicle.
69
75
 
70
76
  # @see OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry#schedule
71
77
  class Schedule < OnebusawaySDK::Internal::Type::BaseModel
@@ -322,6 +328,8 @@ module OnebusawaySDK
322
328
  # {OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status} for
323
329
  # more details.
324
330
  #
331
+ # Trip-specific status for the arriving transit vehicle.
332
+ #
325
333
  # @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
326
334
  #
327
335
  # @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
@@ -52,6 +52,7 @@ module OnebusawaySDK
52
52
  required :schedule, -> { OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule }
53
53
 
54
54
  # @!attribute status
55
+ # Trip-specific status for the arriving transit vehicle.
55
56
  #
56
57
  # @return [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status]
57
58
  required :status, -> { OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status }
@@ -78,10 +79,15 @@ module OnebusawaySDK
78
79
 
79
80
  # @!method initialize(schedule:, status:, trip_id:, frequency: nil, service_date: nil, situation_ids: nil)
80
81
  # @param schedule [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule]
81
- # @param status [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status]
82
+ #
83
+ # @param status [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status] Trip-specific status for the arriving transit vehicle.
84
+ #
82
85
  # @param trip_id [String]
86
+ #
83
87
  # @param frequency [String, nil]
88
+ #
84
89
  # @param service_date [Integer]
90
+ #
85
91
  # @param situation_ids [Array<String>]
86
92
 
87
93
  # @see OnebusawaySDK::Models::TripsForLocationListResponse::Data::List#schedule
@@ -339,6 +345,8 @@ module OnebusawaySDK
339
345
  # {OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status} for
340
346
  # more details.
341
347
  #
348
+ # Trip-specific status for the arriving transit vehicle.
349
+ #
342
350
  # @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
343
351
  #
344
352
  # @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
@@ -41,6 +41,7 @@ module OnebusawaySDK
41
41
  required :schedule, -> { OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule }
42
42
 
43
43
  # @!attribute status
44
+ # Trip-specific status for the arriving transit vehicle.
44
45
  #
45
46
  # @return [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status]
46
47
  required :status, -> { OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status }
@@ -67,10 +68,15 @@ module OnebusawaySDK
67
68
 
68
69
  # @!method initialize(schedule:, status:, trip_id:, frequency: nil, service_date: nil, situation_ids: nil)
69
70
  # @param schedule [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule]
70
- # @param status [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status]
71
+ #
72
+ # @param status [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status] Trip-specific status for the arriving transit vehicle.
73
+ #
71
74
  # @param trip_id [String]
75
+ #
72
76
  # @param frequency [String, nil]
77
+ #
73
78
  # @param service_date [Integer]
79
+ #
74
80
  # @param situation_ids [Array<String>]
75
81
 
76
82
  # @see OnebusawaySDK::Models::TripsForRouteListResponse::Data::List#schedule
@@ -327,6 +333,8 @@ module OnebusawaySDK
327
333
  # {OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status} for more
328
334
  # details.
329
335
  #
336
+ # Trip-specific status for the arriving transit vehicle.
337
+ #
330
338
  # @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
331
339
  #
332
340
  # @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
@@ -86,6 +86,7 @@ module OnebusawaySDK
86
86
  optional :trip_id, String, api_name: :tripId
87
87
 
88
88
  # @!attribute trip_status
89
+ # Trip-specific status for the arriving transit vehicle.
89
90
  #
90
91
  # @return [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus, nil]
91
92
  optional :trip_status,
@@ -94,16 +95,26 @@ module OnebusawaySDK
94
95
 
95
96
  # @!method initialize(last_location_update_time:, last_update_time:, vehicle_id:, location: nil, occupancy_capacity: nil, occupancy_count: nil, occupancy_status: nil, phase: nil, status: nil, trip_id: nil, trip_status: nil)
96
97
  # @param last_location_update_time [Integer]
98
+ #
97
99
  # @param last_update_time [Integer]
100
+ #
98
101
  # @param vehicle_id [String]
102
+ #
99
103
  # @param location [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::Location]
104
+ #
100
105
  # @param occupancy_capacity [Integer]
106
+ #
101
107
  # @param occupancy_count [Integer]
108
+ #
102
109
  # @param occupancy_status [String]
110
+ #
103
111
  # @param phase [String]
112
+ #
104
113
  # @param status [String]
114
+ #
105
115
  # @param trip_id [String]
106
- # @param trip_status [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus]
116
+ #
117
+ # @param trip_status [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus] Trip-specific status for the arriving transit vehicle.
107
118
 
108
119
  # @see OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List#location
109
120
  class Location < OnebusawaySDK::Internal::Type::BaseModel
@@ -300,6 +311,8 @@ module OnebusawaySDK
300
311
  # {OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus}
301
312
  # for more details.
302
313
  #
314
+ # Trip-specific status for the arriving transit vehicle.
315
+ #
303
316
  # @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
304
317
  #
305
318
  # @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OnebusawaySDK
4
- VERSION = "1.7.1"
4
+ VERSION = "1.8.0"
5
5
  end
@@ -133,6 +133,7 @@ module OnebusawaySDK
133
133
  sig { params(situation_ids: T::Array[String]).void }
134
134
  attr_writer :situation_ids
135
135
 
136
+ # Trip-specific status for the arriving transit vehicle.
136
137
  sig do
137
138
  returns(
138
139
  T.nilable(
@@ -168,6 +169,7 @@ module OnebusawaySDK
168
169
  schedule: nil,
169
170
  service_date: nil,
170
171
  situation_ids: nil,
172
+ # Trip-specific status for the arriving transit vehicle.
171
173
  status: nil
172
174
  )
173
175
  end
@@ -518,6 +520,7 @@ module OnebusawaySDK
518
520
  sig { params(vehicle_id: String).void }
519
521
  attr_writer :vehicle_id
520
522
 
523
+ # Trip-specific status for the arriving transit vehicle.
521
524
  sig do
522
525
  params(
523
526
  active_trip_id: String,
@@ -137,6 +137,7 @@ module OnebusawaySDK
137
137
  sig { params(situation_ids: T::Array[String]).void }
138
138
  attr_writer :situation_ids
139
139
 
140
+ # Trip-specific status for the arriving transit vehicle.
140
141
  sig do
141
142
  returns(
142
143
  T.nilable(
@@ -172,6 +173,7 @@ module OnebusawaySDK
172
173
  schedule: nil,
173
174
  service_date: nil,
174
175
  situation_ids: nil,
176
+ # Trip-specific status for the arriving transit vehicle.
175
177
  status: nil
176
178
  )
177
179
  end
@@ -522,6 +524,7 @@ module OnebusawaySDK
522
524
  sig { params(vehicle_id: String).void }
523
525
  attr_writer :vehicle_id
524
526
 
527
+ # Trip-specific status for the arriving transit vehicle.
525
528
  sig do
526
529
  params(
527
530
  active_trip_id: String,
@@ -138,6 +138,7 @@ module OnebusawaySDK
138
138
  end
139
139
  attr_writer :schedule
140
140
 
141
+ # Trip-specific status for the arriving transit vehicle.
141
142
  sig do
142
143
  returns(
143
144
  OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status
@@ -185,6 +186,7 @@ module OnebusawaySDK
185
186
  end
186
187
  def self.new(
187
188
  schedule:,
189
+ # Trip-specific status for the arriving transit vehicle.
188
190
  status:,
189
191
  trip_id:,
190
192
  frequency: nil,
@@ -539,6 +541,7 @@ module OnebusawaySDK
539
541
  sig { params(vehicle_id: String).void }
540
542
  attr_writer :vehicle_id
541
543
 
544
+ # Trip-specific status for the arriving transit vehicle.
542
545
  sig do
543
546
  params(
544
547
  active_trip_id: String,
@@ -119,6 +119,7 @@ module OnebusawaySDK
119
119
  end
120
120
  attr_writer :schedule
121
121
 
122
+ # Trip-specific status for the arriving transit vehicle.
122
123
  sig do
123
124
  returns(
124
125
  OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status
@@ -166,6 +167,7 @@ module OnebusawaySDK
166
167
  end
167
168
  def self.new(
168
169
  schedule:,
170
+ # Trip-specific status for the arriving transit vehicle.
169
171
  status:,
170
172
  trip_id:,
171
173
  frequency: nil,
@@ -520,6 +522,7 @@ module OnebusawaySDK
520
522
  sig { params(vehicle_id: String).void }
521
523
  attr_writer :vehicle_id
522
524
 
525
+ # Trip-specific status for the arriving transit vehicle.
523
526
  sig do
524
527
  params(
525
528
  active_trip_id: String,
@@ -170,6 +170,7 @@ module OnebusawaySDK
170
170
  sig { params(trip_id: String).void }
171
171
  attr_writer :trip_id
172
172
 
173
+ # Trip-specific status for the arriving transit vehicle.
173
174
  sig do
174
175
  returns(
175
176
  T.nilable(
@@ -215,6 +216,7 @@ module OnebusawaySDK
215
216
  phase: nil,
216
217
  status: nil,
217
218
  trip_id: nil,
219
+ # Trip-specific status for the arriving transit vehicle.
218
220
  trip_status: nil
219
221
  )
220
222
  end
@@ -450,6 +452,7 @@ module OnebusawaySDK
450
452
  sig { params(vehicle_id: String).void }
451
453
  attr_writer :vehicle_id
452
454
 
455
+ # Trip-specific status for the arriving transit vehicle.
453
456
  sig do
454
457
  params(
455
458
  active_trip_id: String,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onebusaway-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Onebusaway SDK
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-14 00:00:00.000000000 Z
11
+ date: 2026-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi