Skip to content

Commit 6f22752

Browse files
Merge pull request #620 from OneBusAway/release-please--branches--main--changes--next
release: 1.9.0
2 parents 8b78d20 + 2eaa70a commit 6f22752

30 files changed

Lines changed: 297 additions & 376 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.8.0"
2+
".": "1.9.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-4a35fd1e705bc2b75f44e2fd82144b95eeb56f329e4e05bbede7e6bc8adc479e.yml
3-
openapi_spec_hash: bc73be5518578c9ad8e878b82c540691
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-5f69b2b288261c7adfd9acb065dce897caf8782aff1687efe38ba52541ef7b96.yml
3+
openapi_spec_hash: b03acca245aef78353d3b7a6a4a62eb2
44
config_hash: c28ddf5b7754155603d9fd1c5fcaeeff

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.9.0 (2026-06-01)
4+
5+
Full Changelog: [v1.8.0...v1.9.0](https://github.com/OneBusAway/ruby-sdk/compare/v1.8.0...v1.9.0)
6+
7+
### Features
8+
9+
* **api:** api update ([2e35daf](https://github.com/OneBusAway/ruby-sdk/commit/2e35daf2cb318e35f1506f31487797b630995242))
10+
311
## 1.8.0 (2026-05-20)
412

513
Full Changelog: [v1.7.1...v1.8.0](https://github.com/OneBusAway/ruby-sdk/compare/v1.7.1...v1.8.0)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
onebusaway-sdk (1.8.0)
14+
onebusaway-sdk (1.9.0)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
1717
<!-- x-release-please-start-version -->
1818

1919
```ruby
20-
gem "onebusaway-sdk", "~> 1.8.0"
20+
gem "onebusaway-sdk", "~> 1.9.0"
2121
```
2222

2323
<!-- x-release-please-end -->

lib/onebusaway_sdk/models/arrival_and_departure_list_response.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
158158
# Information about frequency-based scheduling, if applicable to the trip.
159159
#
160160
# @return [String, nil]
161-
optional :frequency, String
161+
optional :frequency, String, nil?: true
162162

163163
# @!attribute historical_occupancy
164164
# Historical occupancy information of the transit vehicle.
@@ -188,13 +188,13 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
188188
# Interval for predicted arrival time, if available.
189189
#
190190
# @return [String, nil]
191-
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval
191+
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval, nil?: true
192192

193193
# @!attribute predicted_departure_interval
194194
# Interval for predicted departure time, if available.
195195
#
196196
# @return [String, nil]
197-
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval
197+
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval, nil?: true
198198

199199
# @!attribute predicted_occupancy
200200
# Predicted occupancy status of the transit vehicle.
@@ -220,13 +220,13 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
220220
# Interval for scheduled arrival time.
221221
#
222222
# @return [String, nil]
223-
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval
223+
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval, nil?: true
224224

225225
# @!attribute scheduled_departure_interval
226226
# Interval for scheduled departure time.
227227
#
228228
# @return [String, nil]
229-
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval
229+
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval, nil?: true
230230

231231
# @!attribute scheduled_track
232232
# Scheduled track information of the arriving transit vehicle.
@@ -295,7 +295,7 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
295295
#
296296
# @param distance_from_stop [Float] Distance of the arriving transit vehicle from the stop, in meters.
297297
#
298-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
298+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
299299
#
300300
# @param historical_occupancy [String] Historical occupancy information of the transit vehicle.
301301
#
@@ -305,19 +305,19 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
305305
#
306306
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
307307
#
308-
# @param predicted_arrival_interval [String] Interval for predicted arrival time, if available.
308+
# @param predicted_arrival_interval [String, nil] Interval for predicted arrival time, if available.
309309
#
310-
# @param predicted_departure_interval [String] Interval for predicted departure time, if available.
310+
# @param predicted_departure_interval [String, nil] Interval for predicted departure time, if available.
311311
#
312312
# @param predicted_occupancy [String] Predicted occupancy status of the transit vehicle.
313313
#
314314
# @param route_long_name [String] Optional route long name that potentially overrides the route long name in the r
315315
#
316316
# @param route_short_name [String] Optional route short name that potentially overrides the route short name in the
317317
#
318-
# @param scheduled_arrival_interval [String] Interval for scheduled arrival time.
318+
# @param scheduled_arrival_interval [String, nil] Interval for scheduled arrival time.
319319
#
320-
# @param scheduled_departure_interval [String] Interval for scheduled departure time.
320+
# @param scheduled_departure_interval [String, nil] Interval for scheduled departure time.
321321
#
322322
# @param scheduled_track [String] Scheduled track information of the arriving transit vehicle.
323323
#
@@ -438,7 +438,7 @@ class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
438438
# Information about frequency-based scheduling, if applicable to the trip.
439439
#
440440
# @return [String, nil]
441-
optional :frequency, String
441+
optional :frequency, String, nil?: true
442442

443443
# @!attribute last_known_location
444444
# Last known location of the transit vehicle (optional).
@@ -541,7 +541,7 @@ class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
541541
#
542542
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
543543
#
544-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
544+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
545545
#
546546
# @param last_known_location [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
547547
#

lib/onebusaway_sdk/models/arrival_and_departure_retrieve_response.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class Entry < OnebusawaySDK::Internal::Type::BaseModel
147147
# Information about frequency-based scheduling, if applicable to the trip.
148148
#
149149
# @return [String, nil]
150-
optional :frequency, String
150+
optional :frequency, String, nil?: true
151151

152152
# @!attribute historical_occupancy
153153
# Historical occupancy information of the transit vehicle.
@@ -177,13 +177,13 @@ class Entry < OnebusawaySDK::Internal::Type::BaseModel
177177
# Interval for predicted arrival time, if available.
178178
#
179179
# @return [String, nil]
180-
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval
180+
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval, nil?: true
181181

182182
# @!attribute predicted_departure_interval
183183
# Interval for predicted departure time, if available.
184184
#
185185
# @return [String, nil]
186-
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval
186+
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval, nil?: true
187187

188188
# @!attribute predicted_occupancy
189189
# Predicted occupancy status of the transit vehicle.
@@ -209,13 +209,13 @@ class Entry < OnebusawaySDK::Internal::Type::BaseModel
209209
# Interval for scheduled arrival time.
210210
#
211211
# @return [String, nil]
212-
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval
212+
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval, nil?: true
213213

214214
# @!attribute scheduled_departure_interval
215215
# Interval for scheduled departure time.
216216
#
217217
# @return [String, nil]
218-
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval
218+
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval, nil?: true
219219

220220
# @!attribute scheduled_track
221221
# Scheduled track information of the arriving transit vehicle.
@@ -284,7 +284,7 @@ class Entry < OnebusawaySDK::Internal::Type::BaseModel
284284
#
285285
# @param distance_from_stop [Float] Distance of the arriving transit vehicle from the stop, in meters.
286286
#
287-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
287+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
288288
#
289289
# @param historical_occupancy [String] Historical occupancy information of the transit vehicle.
290290
#
@@ -294,19 +294,19 @@ class Entry < OnebusawaySDK::Internal::Type::BaseModel
294294
#
295295
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
296296
#
297-
# @param predicted_arrival_interval [String] Interval for predicted arrival time, if available.
297+
# @param predicted_arrival_interval [String, nil] Interval for predicted arrival time, if available.
298298
#
299-
# @param predicted_departure_interval [String] Interval for predicted departure time, if available.
299+
# @param predicted_departure_interval [String, nil] Interval for predicted departure time, if available.
300300
#
301301
# @param predicted_occupancy [String] Predicted occupancy status of the transit vehicle.
302302
#
303303
# @param route_long_name [String] Optional route long name that potentially overrides the route long name in the r
304304
#
305305
# @param route_short_name [String] Optional route short name that potentially overrides the route short name in the
306306
#
307-
# @param scheduled_arrival_interval [String] Interval for scheduled arrival time.
307+
# @param scheduled_arrival_interval [String, nil] Interval for scheduled arrival time.
308308
#
309-
# @param scheduled_departure_interval [String] Interval for scheduled departure time.
309+
# @param scheduled_departure_interval [String, nil] Interval for scheduled departure time.
310310
#
311311
# @param scheduled_track [String] Scheduled track information of the arriving transit vehicle.
312312
#
@@ -427,7 +427,7 @@ class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
427427
# Information about frequency-based scheduling, if applicable to the trip.
428428
#
429429
# @return [String, nil]
430-
optional :frequency, String
430+
optional :frequency, String, nil?: true
431431

432432
# @!attribute last_known_location
433433
# Last known location of the transit vehicle (optional).
@@ -530,7 +530,7 @@ class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
530530
#
531531
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
532532
#
533-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
533+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
534534
#
535535
# @param last_known_location [OnebusawaySDK::Models::ArrivalAndDepartureRetrieveResponse::Data::Entry::TripStatus::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
536536
#

lib/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
184184
# Information about frequency-based scheduling, if applicable to the trip.
185185
#
186186
# @return [String, nil]
187-
optional :frequency, String
187+
optional :frequency, String, nil?: true
188188

189189
# @!attribute historical_occupancy
190190
# Historical occupancy information of the transit vehicle.
@@ -214,13 +214,13 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
214214
# Interval for predicted arrival time, if available.
215215
#
216216
# @return [String, nil]
217-
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval
217+
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval, nil?: true
218218

219219
# @!attribute predicted_departure_interval
220220
# Interval for predicted departure time, if available.
221221
#
222222
# @return [String, nil]
223-
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval
223+
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval, nil?: true
224224

225225
# @!attribute predicted_occupancy
226226
# Predicted occupancy status of the transit vehicle.
@@ -246,13 +246,13 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
246246
# Interval for scheduled arrival time.
247247
#
248248
# @return [String, nil]
249-
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval
249+
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval, nil?: true
250250

251251
# @!attribute scheduled_departure_interval
252252
# Interval for scheduled departure time.
253253
#
254254
# @return [String, nil]
255-
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval
255+
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval, nil?: true
256256

257257
# @!attribute scheduled_track
258258
# Scheduled track information of the arriving transit vehicle.
@@ -321,7 +321,7 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
321321
#
322322
# @param distance_from_stop [Float] Distance of the arriving transit vehicle from the stop, in meters.
323323
#
324-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
324+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
325325
#
326326
# @param historical_occupancy [String] Historical occupancy information of the transit vehicle.
327327
#
@@ -331,19 +331,19 @@ class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
331331
#
332332
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
333333
#
334-
# @param predicted_arrival_interval [String] Interval for predicted arrival time, if available.
334+
# @param predicted_arrival_interval [String, nil] Interval for predicted arrival time, if available.
335335
#
336-
# @param predicted_departure_interval [String] Interval for predicted departure time, if available.
336+
# @param predicted_departure_interval [String, nil] Interval for predicted departure time, if available.
337337
#
338338
# @param predicted_occupancy [String] Predicted occupancy status of the transit vehicle.
339339
#
340340
# @param route_long_name [String] Optional route long name that potentially overrides the route long name in the r
341341
#
342342
# @param route_short_name [String] Optional route short name that potentially overrides the route short name in the
343343
#
344-
# @param scheduled_arrival_interval [String] Interval for scheduled arrival time.
344+
# @param scheduled_arrival_interval [String, nil] Interval for scheduled arrival time.
345345
#
346-
# @param scheduled_departure_interval [String] Interval for scheduled departure time.
346+
# @param scheduled_departure_interval [String, nil] Interval for scheduled departure time.
347347
#
348348
# @param scheduled_track [String] Scheduled track information of the arriving transit vehicle.
349349
#
@@ -464,7 +464,7 @@ class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
464464
# Information about frequency-based scheduling, if applicable to the trip.
465465
#
466466
# @return [String, nil]
467-
optional :frequency, String
467+
optional :frequency, String, nil?: true
468468

469469
# @!attribute last_known_location
470470
# Last known location of the transit vehicle (optional).
@@ -567,7 +567,7 @@ class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
567567
#
568568
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
569569
#
570-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
570+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
571571
#
572572
# @param last_known_location [OnebusawaySDK::Models::ArrivalsAndDeparturesForLocationListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
573573
#

0 commit comments

Comments
 (0)