From 48900b22b5fada35d55e08599ef1c5d74bde150e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 03:29:33 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- .../models/trip_detail_retrieve_response.rb | 10 +++++++++- .../models/trip_for_vehicle_retrieve_response.rb | 10 +++++++++- .../models/trips_for_location_list_response.rb | 10 +++++++++- .../models/trips_for_route_list_response.rb | 10 +++++++++- .../models/vehicles_for_agency_list_response.rb | 15 ++++++++++++++- .../models/trip_detail_retrieve_response.rbi | 3 +++ .../models/trip_for_vehicle_retrieve_response.rbi | 3 +++ .../models/trips_for_location_list_response.rbi | 3 +++ .../models/trips_for_route_list_response.rbi | 3 +++ .../models/vehicles_for_agency_list_response.rbi | 3 +++ 11 files changed, 67 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6608e4d9..62a092eb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb b/lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb index 5c60a452..c3a680be 100644 --- a/lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb +++ b/lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb @@ -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] - # @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 @@ -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. diff --git a/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb b/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb index 85de6584..001f6227 100644 --- a/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb +++ b/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb @@ -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] - # @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 @@ -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. diff --git a/lib/onebusaway_sdk/models/trips_for_location_list_response.rb b/lib/onebusaway_sdk/models/trips_for_location_list_response.rb index f26cb437..ba500238 100644 --- a/lib/onebusaway_sdk/models/trips_for_location_list_response.rb +++ b/lib/onebusaway_sdk/models/trips_for_location_list_response.rb @@ -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 } @@ -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] # @see OnebusawaySDK::Models::TripsForLocationListResponse::Data::List#schedule @@ -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. diff --git a/lib/onebusaway_sdk/models/trips_for_route_list_response.rb b/lib/onebusaway_sdk/models/trips_for_route_list_response.rb index fc0db906..f1aeeb81 100644 --- a/lib/onebusaway_sdk/models/trips_for_route_list_response.rb +++ b/lib/onebusaway_sdk/models/trips_for_route_list_response.rb @@ -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 } @@ -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] # @see OnebusawaySDK::Models::TripsForRouteListResponse::Data::List#schedule @@ -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. diff --git a/lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb b/lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb index 16b789f8..5705afcd 100644 --- a/lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb +++ b/lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb @@ -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, @@ -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 @@ -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. diff --git a/rbi/onebusaway_sdk/models/trip_detail_retrieve_response.rbi b/rbi/onebusaway_sdk/models/trip_detail_retrieve_response.rbi index c236575d..3294c5ac 100644 --- a/rbi/onebusaway_sdk/models/trip_detail_retrieve_response.rbi +++ b/rbi/onebusaway_sdk/models/trip_detail_retrieve_response.rbi @@ -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( @@ -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 @@ -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, diff --git a/rbi/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbi b/rbi/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbi index cbbaa603..9e297a5b 100644 --- a/rbi/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbi +++ b/rbi/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbi @@ -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( @@ -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 @@ -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, diff --git a/rbi/onebusaway_sdk/models/trips_for_location_list_response.rbi b/rbi/onebusaway_sdk/models/trips_for_location_list_response.rbi index 7a837243..660ccfb3 100644 --- a/rbi/onebusaway_sdk/models/trips_for_location_list_response.rbi +++ b/rbi/onebusaway_sdk/models/trips_for_location_list_response.rbi @@ -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 @@ -185,6 +186,7 @@ module OnebusawaySDK end def self.new( schedule:, + # Trip-specific status for the arriving transit vehicle. status:, trip_id:, frequency: nil, @@ -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, diff --git a/rbi/onebusaway_sdk/models/trips_for_route_list_response.rbi b/rbi/onebusaway_sdk/models/trips_for_route_list_response.rbi index 9705cfdb..92842b7e 100644 --- a/rbi/onebusaway_sdk/models/trips_for_route_list_response.rbi +++ b/rbi/onebusaway_sdk/models/trips_for_route_list_response.rbi @@ -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 @@ -166,6 +167,7 @@ module OnebusawaySDK end def self.new( schedule:, + # Trip-specific status for the arriving transit vehicle. status:, trip_id:, frequency: nil, @@ -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, diff --git a/rbi/onebusaway_sdk/models/vehicles_for_agency_list_response.rbi b/rbi/onebusaway_sdk/models/vehicles_for_agency_list_response.rbi index a31cde3e..180816bb 100644 --- a/rbi/onebusaway_sdk/models/vehicles_for_agency_list_response.rbi +++ b/rbi/onebusaway_sdk/models/vehicles_for_agency_list_response.rbi @@ -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( @@ -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 @@ -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, From b061330b7327c27fa22271a7182c01636ed6a497 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 03:30:04 +0000 Subject: [PATCH 2/2] release: 1.8.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/onebusaway_sdk/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 56607252..c523ce19 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.7.1" + ".": "1.8.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d674db94..89cf0511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Gemfile.lock b/Gemfile.lock index a2792b2d..9956f1d5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - onebusaway-sdk (1.7.1) + onebusaway-sdk (1.8.0) cgi connection_pool diff --git a/README.md b/README.md index 8c6baf68..d101dbbe 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "onebusaway-sdk", "~> 1.7.1" +gem "onebusaway-sdk", "~> 1.8.0" ``` diff --git a/lib/onebusaway_sdk/version.rb b/lib/onebusaway_sdk/version.rb index 58757beb..d6e00745 100644 --- a/lib/onebusaway_sdk/version.rb +++ b/lib/onebusaway_sdk/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module OnebusawaySDK - VERSION = "1.7.1" + VERSION = "1.8.0" end