Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.7.1"
".": "1.8.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 30
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-b625345de7b9c51744ddc6c75b8c37a159a536204481404cca91d7d6a859149d.yml
openapi_spec_hash: 9bf1e5bf00ef9936a9181ebd0956d5b8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-4a35fd1e705bc2b75f44e2fd82144b95eeb56f329e4e05bbede7e6bc8adc479e.yml
openapi_spec_hash: bc73be5518578c9ad8e878b82c540691
config_hash: c28ddf5b7754155603d9fd1c5fcaeeff
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.8.0 (2026-05-20)

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

### Features

* **api:** api update ([48900b2](https://github.com/OneBusAway/ruby-sdk/commit/48900b22b5fada35d55e08599ef1c5d74bde150e))

## 1.7.1 (2026-05-14)

Full Changelog: [v1.7.0...v1.7.1](https://github.com/OneBusAway/ruby-sdk/compare/v1.7.0...v1.7.1)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
onebusaway-sdk (1.7.1)
onebusaway-sdk (1.8.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "onebusaway-sdk", "~> 1.7.1"
gem "onebusaway-sdk", "~> 1.8.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 9 additions & 1 deletion lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,23 @@ class Entry < OnebusawaySDK::Internal::Type::BaseModel
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds

# @!attribute status
# Trip-specific status for the arriving transit vehicle.
#
# @return [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status, nil]
optional :status, -> { OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status }

# @!method initialize(trip_id:, frequency: nil, schedule: nil, service_date: nil, situation_ids: nil, status: nil)
# @param trip_id [String]
#
# @param frequency [String, nil]
#
# @param schedule [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Schedule]
#
# @param service_date [Integer]
#
# @param situation_ids [Array<String>]
# @param status [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status]
#
# @param status [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status] Trip-specific status for the arriving transit vehicle.

# @see OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry#schedule
class Schedule < OnebusawaySDK::Internal::Type::BaseModel
Expand Down Expand Up @@ -322,6 +328,8 @@ class Status < OnebusawaySDK::Internal::Type::BaseModel
# {OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status} for
# more details.
#
# Trip-specific status for the arriving transit vehicle.
#
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
#
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
Expand Down
10 changes: 9 additions & 1 deletion lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,23 @@ class Entry < OnebusawaySDK::Internal::Type::BaseModel
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds

# @!attribute status
# Trip-specific status for the arriving transit vehicle.
#
# @return [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status, nil]
optional :status, -> { OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status }

# @!method initialize(trip_id:, frequency: nil, schedule: nil, service_date: nil, situation_ids: nil, status: nil)
# @param trip_id [String]
#
# @param frequency [String, nil]
#
# @param schedule [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule]
#
# @param service_date [Integer]
#
# @param situation_ids [Array<String>]
# @param status [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status]
#
# @param status [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status] Trip-specific status for the arriving transit vehicle.

# @see OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry#schedule
class Schedule < OnebusawaySDK::Internal::Type::BaseModel
Expand Down Expand Up @@ -322,6 +328,8 @@ class Status < OnebusawaySDK::Internal::Type::BaseModel
# {OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status} for
# more details.
#
# Trip-specific status for the arriving transit vehicle.
#
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
#
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
Expand Down
10 changes: 9 additions & 1 deletion lib/onebusaway_sdk/models/trips_for_location_list_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class List < OnebusawaySDK::Internal::Type::BaseModel
required :schedule, -> { OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule }

# @!attribute status
# Trip-specific status for the arriving transit vehicle.
#
# @return [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status]
required :status, -> { OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status }
Expand All @@ -78,10 +79,15 @@ class List < OnebusawaySDK::Internal::Type::BaseModel

# @!method initialize(schedule:, status:, trip_id:, frequency: nil, service_date: nil, situation_ids: nil)
# @param schedule [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule]
# @param status [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status]
#
# @param status [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status] Trip-specific status for the arriving transit vehicle.
#
# @param trip_id [String]
#
# @param frequency [String, nil]
#
# @param service_date [Integer]
#
# @param situation_ids [Array<String>]

# @see OnebusawaySDK::Models::TripsForLocationListResponse::Data::List#schedule
Expand Down Expand Up @@ -339,6 +345,8 @@ class Status < OnebusawaySDK::Internal::Type::BaseModel
# {OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status} for
# more details.
#
# Trip-specific status for the arriving transit vehicle.
#
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
#
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
Expand Down
10 changes: 9 additions & 1 deletion lib/onebusaway_sdk/models/trips_for_route_list_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class List < OnebusawaySDK::Internal::Type::BaseModel
required :schedule, -> { OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule }

# @!attribute status
# Trip-specific status for the arriving transit vehicle.
#
# @return [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status]
required :status, -> { OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status }
Expand All @@ -67,10 +68,15 @@ class List < OnebusawaySDK::Internal::Type::BaseModel

# @!method initialize(schedule:, status:, trip_id:, frequency: nil, service_date: nil, situation_ids: nil)
# @param schedule [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule]
# @param status [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status]
#
# @param status [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status] Trip-specific status for the arriving transit vehicle.
#
# @param trip_id [String]
#
# @param frequency [String, nil]
#
# @param service_date [Integer]
#
# @param situation_ids [Array<String>]

# @see OnebusawaySDK::Models::TripsForRouteListResponse::Data::List#schedule
Expand Down Expand Up @@ -327,6 +333,8 @@ class Status < OnebusawaySDK::Internal::Type::BaseModel
# {OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status} for more
# details.
#
# Trip-specific status for the arriving transit vehicle.
#
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
#
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
Expand Down
15 changes: 14 additions & 1 deletion lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class List < OnebusawaySDK::Internal::Type::BaseModel
optional :trip_id, String, api_name: :tripId

# @!attribute trip_status
# Trip-specific status for the arriving transit vehicle.
#
# @return [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus, nil]
optional :trip_status,
Expand All @@ -94,16 +95,26 @@ class List < OnebusawaySDK::Internal::Type::BaseModel

# @!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)
# @param last_location_update_time [Integer]
#
# @param last_update_time [Integer]
#
# @param vehicle_id [String]
#
# @param location [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::Location]
#
# @param occupancy_capacity [Integer]
#
# @param occupancy_count [Integer]
#
# @param occupancy_status [String]
#
# @param phase [String]
#
# @param status [String]
#
# @param trip_id [String]
# @param trip_status [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus]
#
# @param trip_status [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus] Trip-specific status for the arriving transit vehicle.

# @see OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List#location
class Location < OnebusawaySDK::Internal::Type::BaseModel
Expand Down Expand Up @@ -300,6 +311,8 @@ class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
# {OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus}
# for more details.
#
# Trip-specific status for the arriving transit vehicle.
#
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
#
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
Expand Down
2 changes: 1 addition & 1 deletion lib/onebusaway_sdk/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OnebusawaySDK
VERSION = "1.7.1"
VERSION = "1.8.0"
end
3 changes: 3 additions & 0 deletions rbi/onebusaway_sdk/models/trip_detail_retrieve_response.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ module OnebusawaySDK
sig { params(situation_ids: T::Array[String]).void }
attr_writer :situation_ids

# Trip-specific status for the arriving transit vehicle.
sig do
returns(
T.nilable(
Expand Down Expand Up @@ -168,6 +169,7 @@ module OnebusawaySDK
schedule: nil,
service_date: nil,
situation_ids: nil,
# Trip-specific status for the arriving transit vehicle.
status: nil
)
end
Expand Down Expand Up @@ -518,6 +520,7 @@ module OnebusawaySDK
sig { params(vehicle_id: String).void }
attr_writer :vehicle_id

# Trip-specific status for the arriving transit vehicle.
sig do
params(
active_trip_id: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ module OnebusawaySDK
sig { params(situation_ids: T::Array[String]).void }
attr_writer :situation_ids

# Trip-specific status for the arriving transit vehicle.
sig do
returns(
T.nilable(
Expand Down Expand Up @@ -172,6 +173,7 @@ module OnebusawaySDK
schedule: nil,
service_date: nil,
situation_ids: nil,
# Trip-specific status for the arriving transit vehicle.
status: nil
)
end
Expand Down Expand Up @@ -522,6 +524,7 @@ module OnebusawaySDK
sig { params(vehicle_id: String).void }
attr_writer :vehicle_id

# Trip-specific status for the arriving transit vehicle.
sig do
params(
active_trip_id: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module OnebusawaySDK
end
attr_writer :schedule

# Trip-specific status for the arriving transit vehicle.
sig do
returns(
OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status
Expand Down Expand Up @@ -185,6 +186,7 @@ module OnebusawaySDK
end
def self.new(
schedule:,
# Trip-specific status for the arriving transit vehicle.
status:,
trip_id:,
frequency: nil,
Expand Down Expand Up @@ -539,6 +541,7 @@ module OnebusawaySDK
sig { params(vehicle_id: String).void }
attr_writer :vehicle_id

# Trip-specific status for the arriving transit vehicle.
sig do
params(
active_trip_id: String,
Expand Down
3 changes: 3 additions & 0 deletions rbi/onebusaway_sdk/models/trips_for_route_list_response.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ module OnebusawaySDK
end
attr_writer :schedule

# Trip-specific status for the arriving transit vehicle.
sig do
returns(
OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status
Expand Down Expand Up @@ -166,6 +167,7 @@ module OnebusawaySDK
end
def self.new(
schedule:,
# Trip-specific status for the arriving transit vehicle.
status:,
trip_id:,
frequency: nil,
Expand Down Expand Up @@ -520,6 +522,7 @@ module OnebusawaySDK
sig { params(vehicle_id: String).void }
attr_writer :vehicle_id

# Trip-specific status for the arriving transit vehicle.
sig do
params(
active_trip_id: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ module OnebusawaySDK
sig { params(trip_id: String).void }
attr_writer :trip_id

# Trip-specific status for the arriving transit vehicle.
sig do
returns(
T.nilable(
Expand Down Expand Up @@ -215,6 +216,7 @@ module OnebusawaySDK
phase: nil,
status: nil,
trip_id: nil,
# Trip-specific status for the arriving transit vehicle.
trip_status: nil
)
end
Expand Down Expand Up @@ -450,6 +452,7 @@ module OnebusawaySDK
sig { params(vehicle_id: String).void }
attr_writer :vehicle_id

# Trip-specific status for the arriving transit vehicle.
sig do
params(
active_trip_id: String,
Expand Down