|
| 1 | +# frozen_string_literal: true |
| 2 | + |
| 3 | +# Standard libraries. |
| 4 | +# rubocop:disable Lint/RedundantRequireStatement |
| 5 | +require "English" |
| 6 | +require "cgi" |
| 7 | +require "date" |
| 8 | +require "erb" |
| 9 | +require "etc" |
| 10 | +require "json" |
| 11 | +require "net/http" |
| 12 | +require "pathname" |
| 13 | +require "rbconfig" |
| 14 | +require "securerandom" |
| 15 | +require "set" |
| 16 | +require "stringio" |
| 17 | +require "time" |
| 18 | +require "uri" |
| 19 | +# rubocop:enable Lint/RedundantRequireStatement |
| 20 | + |
| 21 | +# We already ship the preferred sorbet manifests in the package itself. |
| 22 | +# `tapioca` currently does not offer us a way to opt out of unnecessary compilation. |
| 23 | +if Object.const_defined?(:Tapioca) && caller.chain([$PROGRAM_NAME]).chain(ARGV).grep(/tapioca/) |
| 24 | + return |
| 25 | +end |
| 26 | + |
| 27 | +# Gems. |
| 28 | +require "connection_pool" |
| 29 | + |
| 30 | +# Package files. |
| 31 | +require_relative "onebusaway_sdk/version" |
| 32 | +require_relative "onebusaway_sdk/internal/util" |
| 33 | +require_relative "onebusaway_sdk/internal/type/converter" |
| 34 | +require_relative "onebusaway_sdk/internal/type/unknown" |
| 35 | +require_relative "onebusaway_sdk/internal/type/boolean" |
| 36 | +require_relative "onebusaway_sdk/internal/type/file_input" |
| 37 | +require_relative "onebusaway_sdk/internal/type/enum" |
| 38 | +require_relative "onebusaway_sdk/internal/type/union" |
| 39 | +require_relative "onebusaway_sdk/internal/type/array_of" |
| 40 | +require_relative "onebusaway_sdk/internal/type/hash_of" |
| 41 | +require_relative "onebusaway_sdk/internal/type/base_model" |
| 42 | +require_relative "onebusaway_sdk/internal/type/base_page" |
| 43 | +require_relative "onebusaway_sdk/internal/type/request_parameters" |
| 44 | +require_relative "onebusaway_sdk/internal" |
| 45 | +require_relative "onebusaway_sdk/request_options" |
| 46 | +require_relative "onebusaway_sdk/file_part" |
| 47 | +require_relative "onebusaway_sdk/errors" |
| 48 | +require_relative "onebusaway_sdk/internal/transport/base_client" |
| 49 | +require_relative "onebusaway_sdk/internal/transport/pooled_net_requester" |
| 50 | +require_relative "onebusaway_sdk/client" |
| 51 | +require_relative "onebusaway_sdk/models/response_wrapper" |
| 52 | +require_relative "onebusaway_sdk/models/agencies_with_coverage_list_params" |
| 53 | +require_relative "onebusaway_sdk/models/agencies_with_coverage_list_response" |
| 54 | +require_relative "onebusaway_sdk/models/agency_retrieve_params" |
| 55 | +require_relative "onebusaway_sdk/models/agency_retrieve_response" |
| 56 | +require_relative "onebusaway_sdk/models/arrival_and_departure_list_params" |
| 57 | +require_relative "onebusaway_sdk/models/arrival_and_departure_list_response" |
| 58 | +require_relative "onebusaway_sdk/models/arrival_and_departure_retrieve_params" |
| 59 | +require_relative "onebusaway_sdk/models/arrival_and_departure_retrieve_response" |
| 60 | +require_relative "onebusaway_sdk/models/block_retrieve_params" |
| 61 | +require_relative "onebusaway_sdk/models/block_retrieve_response" |
| 62 | +require_relative "onebusaway_sdk/models/config_retrieve_params" |
| 63 | +require_relative "onebusaway_sdk/models/config_retrieve_response" |
| 64 | +require_relative "onebusaway_sdk/models/current_time_retrieve_params" |
| 65 | +require_relative "onebusaway_sdk/models/current_time_retrieve_response" |
| 66 | +require_relative "onebusaway_sdk/models/references" |
| 67 | +require_relative "onebusaway_sdk/models/report_problem_with_stop_retrieve_params" |
| 68 | +require_relative "onebusaway_sdk/models/report_problem_with_trip_retrieve_params" |
| 69 | +require_relative "onebusaway_sdk/models/route_ids_for_agency_list_params" |
| 70 | +require_relative "onebusaway_sdk/models/route_ids_for_agency_list_response" |
| 71 | +require_relative "onebusaway_sdk/models/route_retrieve_params" |
| 72 | +require_relative "onebusaway_sdk/models/route_retrieve_response" |
| 73 | +require_relative "onebusaway_sdk/models/routes_for_agency_list_params" |
| 74 | +require_relative "onebusaway_sdk/models/routes_for_agency_list_response" |
| 75 | +require_relative "onebusaway_sdk/models/routes_for_location_list_params" |
| 76 | +require_relative "onebusaway_sdk/models/routes_for_location_list_response" |
| 77 | +require_relative "onebusaway_sdk/models/schedule_for_route_retrieve_params" |
| 78 | +require_relative "onebusaway_sdk/models/schedule_for_route_retrieve_response" |
| 79 | +require_relative "onebusaway_sdk/models/schedule_for_stop_retrieve_params" |
| 80 | +require_relative "onebusaway_sdk/models/schedule_for_stop_retrieve_response" |
| 81 | +require_relative "onebusaway_sdk/models/search_for_route_list_params" |
| 82 | +require_relative "onebusaway_sdk/models/search_for_route_list_response" |
| 83 | +require_relative "onebusaway_sdk/models/search_for_stop_list_params" |
| 84 | +require_relative "onebusaway_sdk/models/search_for_stop_list_response" |
| 85 | +require_relative "onebusaway_sdk/models/shape_retrieve_params" |
| 86 | +require_relative "onebusaway_sdk/models/shape_retrieve_response" |
| 87 | +require_relative "onebusaway_sdk/models/stop_ids_for_agency_list_params" |
| 88 | +require_relative "onebusaway_sdk/models/stop_ids_for_agency_list_response" |
| 89 | +require_relative "onebusaway_sdk/models/stop_retrieve_params" |
| 90 | +require_relative "onebusaway_sdk/models/stop_retrieve_response" |
| 91 | +require_relative "onebusaway_sdk/models/stops_for_agency_list_params" |
| 92 | +require_relative "onebusaway_sdk/models/stops_for_agency_list_response" |
| 93 | +require_relative "onebusaway_sdk/models/stops_for_location_list_params" |
| 94 | +require_relative "onebusaway_sdk/models/stops_for_location_list_response" |
| 95 | +require_relative "onebusaway_sdk/models/stops_for_route_list_params" |
| 96 | +require_relative "onebusaway_sdk/models/stops_for_route_list_response" |
| 97 | +require_relative "onebusaway_sdk/models/trip_detail_retrieve_params" |
| 98 | +require_relative "onebusaway_sdk/models/trip_detail_retrieve_response" |
| 99 | +require_relative "onebusaway_sdk/models/trip_for_vehicle_retrieve_params" |
| 100 | +require_relative "onebusaway_sdk/models/trip_for_vehicle_retrieve_response" |
| 101 | +require_relative "onebusaway_sdk/models/trip_retrieve_params" |
| 102 | +require_relative "onebusaway_sdk/models/trip_retrieve_response" |
| 103 | +require_relative "onebusaway_sdk/models/trips_for_location_list_params" |
| 104 | +require_relative "onebusaway_sdk/models/trips_for_location_list_response" |
| 105 | +require_relative "onebusaway_sdk/models/trips_for_route_list_params" |
| 106 | +require_relative "onebusaway_sdk/models/trips_for_route_list_response" |
| 107 | +require_relative "onebusaway_sdk/models/vehicles_for_agency_list_params" |
| 108 | +require_relative "onebusaway_sdk/models/vehicles_for_agency_list_response" |
| 109 | +require_relative "onebusaway_sdk/models" |
| 110 | +require_relative "onebusaway_sdk/resources/agencies_with_coverage" |
| 111 | +require_relative "onebusaway_sdk/resources/agency" |
| 112 | +require_relative "onebusaway_sdk/resources/arrival_and_departure" |
| 113 | +require_relative "onebusaway_sdk/resources/block" |
| 114 | +require_relative "onebusaway_sdk/resources/config" |
| 115 | +require_relative "onebusaway_sdk/resources/current_time" |
| 116 | +require_relative "onebusaway_sdk/resources/report_problem_with_stop" |
| 117 | +require_relative "onebusaway_sdk/resources/report_problem_with_trip" |
| 118 | +require_relative "onebusaway_sdk/resources/route" |
| 119 | +require_relative "onebusaway_sdk/resources/route_ids_for_agency" |
| 120 | +require_relative "onebusaway_sdk/resources/routes_for_agency" |
| 121 | +require_relative "onebusaway_sdk/resources/routes_for_location" |
| 122 | +require_relative "onebusaway_sdk/resources/schedule_for_route" |
| 123 | +require_relative "onebusaway_sdk/resources/schedule_for_stop" |
| 124 | +require_relative "onebusaway_sdk/resources/search_for_route" |
| 125 | +require_relative "onebusaway_sdk/resources/search_for_stop" |
| 126 | +require_relative "onebusaway_sdk/resources/shape" |
| 127 | +require_relative "onebusaway_sdk/resources/stop" |
| 128 | +require_relative "onebusaway_sdk/resources/stop_ids_for_agency" |
| 129 | +require_relative "onebusaway_sdk/resources/stops_for_agency" |
| 130 | +require_relative "onebusaway_sdk/resources/stops_for_location" |
| 131 | +require_relative "onebusaway_sdk/resources/stops_for_route" |
| 132 | +require_relative "onebusaway_sdk/resources/trip" |
| 133 | +require_relative "onebusaway_sdk/resources/trip_details" |
| 134 | +require_relative "onebusaway_sdk/resources/trip_for_vehicle" |
| 135 | +require_relative "onebusaway_sdk/resources/trips_for_location" |
| 136 | +require_relative "onebusaway_sdk/resources/trips_for_route" |
| 137 | +require_relative "onebusaway_sdk/resources/vehicles_for_agency" |
0 commit comments