mux_ruby 1.9.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +26 -37
  4. data/README.md +37 -13
  5. data/docs/AbridgedVideoView.md +33 -13
  6. data/docs/Asset.md +59 -26
  7. data/docs/AssetErrors.md +15 -4
  8. data/docs/AssetMaster.md +15 -4
  9. data/docs/AssetNonStandardInputReasons.md +29 -11
  10. data/docs/AssetRecordingTimes.md +15 -4
  11. data/docs/AssetResponse.md +13 -3
  12. data/docs/AssetStaticRenditions.md +15 -4
  13. data/docs/AssetStaticRenditionsFiles.md +23 -8
  14. data/docs/AssetsApi.md +396 -163
  15. data/docs/BreakdownValue.md +21 -7
  16. data/docs/CreateAssetRequest.md +27 -10
  17. data/docs/CreateLiveStreamRequest.md +29 -9
  18. data/docs/CreatePlaybackIDRequest.md +13 -3
  19. data/docs/CreatePlaybackIDResponse.md +13 -3
  20. data/docs/CreateSimulcastTargetRequest.md +17 -5
  21. data/docs/CreateTrackRequest.md +25 -9
  22. data/docs/CreateTrackResponse.md +13 -3
  23. data/docs/CreateUploadRequest.md +19 -6
  24. data/docs/DeliveryReport.md +27 -9
  25. data/docs/DeliveryUsageApi.md +41 -23
  26. data/docs/DimensionValue.md +15 -4
  27. data/docs/DimensionsApi.md +72 -34
  28. data/docs/DirectUploadsApi.md +131 -56
  29. data/docs/DisableLiveStreamResponse.md +13 -3
  30. data/docs/EnableLiveStreamResponse.md +13 -3
  31. data/docs/Error.md +27 -10
  32. data/docs/ErrorsApi.md +38 -20
  33. data/docs/ExportDate.md +20 -0
  34. data/docs/ExportFile.md +22 -0
  35. data/docs/ExportsApi.md +99 -12
  36. data/docs/FilterValue.md +15 -4
  37. data/docs/FiltersApi.md +71 -33
  38. data/docs/GetAssetInputInfoResponse.md +13 -3
  39. data/docs/GetAssetOrLiveStreamIdResponse.md +13 -3
  40. data/docs/GetAssetOrLiveStreamIdResponseData.md +17 -5
  41. data/docs/GetAssetOrLiveStreamIdResponseDataObject.md +15 -4
  42. data/docs/GetAssetPlaybackIDResponse.md +13 -3
  43. data/docs/GetMetricTimeseriesDataResponse.md +17 -5
  44. data/docs/GetOverallValuesResponse.md +17 -5
  45. data/docs/GetRealTimeBreakdownResponse.md +17 -5
  46. data/docs/GetRealTimeHistogramTimeseriesResponse.md +19 -6
  47. data/docs/GetRealTimeHistogramTimeseriesResponseMeta.md +13 -3
  48. data/docs/GetRealTimeTimeseriesResponse.md +17 -5
  49. data/docs/Incident.md +53 -23
  50. data/docs/IncidentBreakdown.md +17 -5
  51. data/docs/IncidentNotification.md +17 -5
  52. data/docs/IncidentNotificationRule.md +21 -7
  53. data/docs/IncidentResponse.md +15 -4
  54. data/docs/IncidentsApi.md +118 -62
  55. data/docs/InputFile.md +15 -4
  56. data/docs/InputInfo.md +15 -4
  57. data/docs/InputSettings.md +31 -12
  58. data/docs/InputSettingsOverlaySettings.md +25 -9
  59. data/docs/InputTrack.md +29 -11
  60. data/docs/Insight.md +23 -8
  61. data/docs/ListAllMetricValuesResponse.md +17 -5
  62. data/docs/ListAssetsResponse.md +13 -3
  63. data/docs/ListBreakdownValuesResponse.md +17 -5
  64. data/docs/ListDeliveryUsageResponse.md +19 -6
  65. data/docs/ListDimensionValuesResponse.md +17 -5
  66. data/docs/ListDimensionsResponse.md +17 -5
  67. data/docs/ListErrorsResponse.md +17 -5
  68. data/docs/ListExportsResponse.md +17 -5
  69. data/docs/ListFilterValuesResponse.md +17 -5
  70. data/docs/ListFiltersResponse.md +17 -5
  71. data/docs/ListFiltersResponseData.md +15 -4
  72. data/docs/ListIncidentsResponse.md +17 -5
  73. data/docs/ListInsightsResponse.md +17 -5
  74. data/docs/ListLiveStreamsResponse.md +13 -3
  75. data/docs/ListRealTimeDimensionsResponse.md +17 -5
  76. data/docs/ListRealTimeDimensionsResponseData.md +15 -4
  77. data/docs/ListRealTimeMetricsResponse.md +17 -5
  78. data/docs/ListRelatedIncidentsResponse.md +17 -5
  79. data/docs/ListSigningKeysResponse.md +13 -3
  80. data/docs/ListUploadsResponse.md +13 -3
  81. data/docs/ListVideoViewExportsResponse.md +22 -0
  82. data/docs/ListVideoViewsResponse.md +17 -5
  83. data/docs/LiveStream.md +41 -15
  84. data/docs/LiveStreamResponse.md +13 -3
  85. data/docs/LiveStreamsApi.md +418 -170
  86. data/docs/Metric.md +21 -7
  87. data/docs/MetricsApi.md +211 -117
  88. data/docs/NotificationRule.md +17 -5
  89. data/docs/OverallValues.md +19 -6
  90. data/docs/PlaybackID.md +15 -4
  91. data/docs/PlaybackIDApi.md +35 -17
  92. data/docs/PlaybackPolicy.md +10 -2
  93. data/docs/RealTimeApi.md +177 -81
  94. data/docs/RealTimeBreakdownValue.md +21 -7
  95. data/docs/RealTimeHistogramTimeseriesBucket.md +15 -4
  96. data/docs/RealTimeHistogramTimeseriesBucketValues.md +15 -4
  97. data/docs/RealTimeHistogramTimeseriesDatapoint.md +25 -9
  98. data/docs/RealTimeTimeseriesDatapoint.md +17 -5
  99. data/docs/Score.md +23 -8
  100. data/docs/SignalLiveStreamCompleteResponse.md +13 -3
  101. data/docs/SigningKey.md +17 -5
  102. data/docs/SigningKeyResponse.md +13 -3
  103. data/docs/SimulcastTarget.md +21 -7
  104. data/docs/SimulcastTargetResponse.md +13 -3
  105. data/docs/Track.md +37 -15
  106. data/docs/URLSigningKeysApi.md +130 -54
  107. data/docs/UpdateAssetMP4SupportRequest.md +13 -3
  108. data/docs/UpdateAssetMasterAccessRequest.md +13 -3
  109. data/docs/Upload.md +29 -11
  110. data/docs/UploadError.md +15 -4
  111. data/docs/UploadResponse.md +13 -3
  112. data/docs/VideoView.md +251 -114
  113. data/docs/VideoViewEvent.md +19 -6
  114. data/docs/VideoViewResponse.md +15 -4
  115. data/docs/VideoViewsApi.md +78 -41
  116. data/gen/.gitignore +7 -0
  117. data/gen/Makefile +31 -0
  118. data/gen/generator-config.json +11 -0
  119. data/gen/openapitools.json +7 -0
  120. data/gen/package.json +17 -0
  121. data/gen/templates/Gemfile.mustache +11 -0
  122. data/gen/templates/README.mustache +158 -0
  123. data/gen/templates/Rakefile.mustache +10 -0
  124. data/gen/templates/api.mustache +206 -0
  125. data/gen/templates/api_client.mustache +264 -0
  126. data/gen/templates/api_client_faraday_partial.mustache +138 -0
  127. data/gen/templates/api_client_spec.mustache +220 -0
  128. data/gen/templates/api_client_typhoeus_partial.mustache +183 -0
  129. data/gen/templates/api_doc.mustache +118 -0
  130. data/gen/templates/api_error.mustache +67 -0
  131. data/gen/templates/api_info.mustache +12 -0
  132. data/gen/templates/api_test.mustache +47 -0
  133. data/gen/templates/base_object.mustache +120 -0
  134. data/gen/templates/configuration.mustache +349 -0
  135. data/gen/templates/configuration_spec.mustache +34 -0
  136. data/gen/templates/configuration_tls_faraday_partial.mustache +29 -0
  137. data/gen/templates/configuration_tls_typhoeus_partial.mustache +34 -0
  138. data/gen/templates/gem.mustache +40 -0
  139. data/gen/templates/gemspec.mustache +35 -0
  140. data/gen/templates/gitignore.mustache +39 -0
  141. data/gen/templates/model.mustache +26 -0
  142. data/gen/templates/model_doc.mustache +12 -0
  143. data/gen/templates/model_test.mustache +77 -0
  144. data/gen/templates/partial_model_enum_class.mustache +20 -0
  145. data/gen/templates/partial_model_generic.mustache +371 -0
  146. data/gen/templates/partial_model_generic_doc.mustache +28 -0
  147. data/gen/templates/partial_oneof_module.mustache +137 -0
  148. data/gen/templates/partial_oneof_module_doc.mustache +92 -0
  149. data/gen/templates/rspec.mustache +2 -0
  150. data/gen/templates/rubocop.mustache +148 -0
  151. data/gen/templates/spec_helper.mustache +103 -0
  152. data/gen/templates/version.mustache +7 -0
  153. data/gen/yarn.lock +1878 -0
  154. data/lib/mux_ruby/api/assets_api.rb +293 -156
  155. data/lib/mux_ruby/api/delivery_usage_api.rb +32 -16
  156. data/lib/mux_ruby/api/dimensions_api.rb +55 -29
  157. data/lib/mux_ruby/api/direct_uploads_api.rb +90 -44
  158. data/lib/mux_ruby/api/errors_api.rb +34 -18
  159. data/lib/mux_ruby/api/exports_api.rb +86 -13
  160. data/lib/mux_ruby/api/filters_api.rb +53 -27
  161. data/lib/mux_ruby/api/incidents_api.rb +94 -52
  162. data/lib/mux_ruby/api/live_streams_api.rb +299 -157
  163. data/lib/mux_ruby/api/metrics_api.rb +193 -122
  164. data/lib/mux_ruby/api/playback_id_api.rb +33 -17
  165. data/lib/mux_ruby/api/real_time_api.rb +149 -87
  166. data/lib/mux_ruby/api/url_signing_keys_api.rb +95 -48
  167. data/lib/mux_ruby/api/video_views_api.rb +60 -33
  168. data/lib/mux_ruby/api_client.rb +94 -79
  169. data/lib/mux_ruby/api_error.rb +35 -7
  170. data/lib/mux_ruby/configuration.rb +50 -14
  171. data/lib/mux_ruby/models/abridged_video_view.rb +58 -24
  172. data/lib/mux_ruby/models/asset.rb +100 -63
  173. data/lib/mux_ruby/models/asset_errors.rb +50 -15
  174. data/lib/mux_ruby/models/asset_master.rb +52 -17
  175. data/lib/mux_ruby/models/asset_non_standard_input_reasons.rb +70 -35
  176. data/lib/mux_ruby/models/asset_recording_times.rb +50 -16
  177. data/lib/mux_ruby/models/asset_response.rb +48 -14
  178. data/lib/mux_ruby/models/asset_static_renditions.rb +53 -17
  179. data/lib/mux_ruby/models/asset_static_renditions_files.rb +58 -23
  180. data/lib/mux_ruby/models/breakdown_value.rb +52 -18
  181. data/lib/mux_ruby/models/create_asset_request.rb +64 -30
  182. data/lib/mux_ruby/models/create_live_stream_request.rb +78 -23
  183. data/lib/mux_ruby/models/create_playback_id_request.rb +48 -14
  184. data/lib/mux_ruby/models/create_playback_id_response.rb +48 -14
  185. data/lib/mux_ruby/models/create_simulcast_target_request.rb +50 -16
  186. data/lib/mux_ruby/models/create_track_request.rb +60 -26
  187. data/lib/mux_ruby/models/create_track_response.rb +48 -14
  188. data/lib/mux_ruby/models/create_upload_request.rb +52 -18
  189. data/lib/mux_ruby/models/delivery_report.rb +106 -21
  190. data/lib/mux_ruby/models/dimension_value.rb +49 -15
  191. data/lib/mux_ruby/models/disable_live_stream_response.rb +48 -14
  192. data/lib/mux_ruby/models/enable_live_stream_response.rb +48 -14
  193. data/lib/mux_ruby/models/error.rb +63 -21
  194. data/lib/mux_ruby/models/export_date.rb +229 -0
  195. data/lib/mux_ruby/models/export_file.rb +236 -0
  196. data/lib/mux_ruby/models/filter_value.rb +49 -15
  197. data/lib/mux_ruby/models/get_asset_input_info_response.rb +48 -14
  198. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response.rb +48 -14
  199. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data.rb +50 -16
  200. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data_object.rb +51 -17
  201. data/lib/mux_ruby/models/get_asset_playback_id_response.rb +48 -14
  202. data/lib/mux_ruby/models/get_metric_timeseries_data_response.rb +50 -16
  203. data/lib/mux_ruby/models/get_overall_values_response.rb +50 -16
  204. data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +50 -16
  205. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +51 -17
  206. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +48 -14
  207. data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +50 -16
  208. data/lib/mux_ruby/models/incident.rb +68 -34
  209. data/lib/mux_ruby/models/incident_breakdown.rb +50 -16
  210. data/lib/mux_ruby/models/incident_notification.rb +50 -16
  211. data/lib/mux_ruby/models/incident_notification_rule.rb +52 -18
  212. data/lib/mux_ruby/models/incident_response.rb +49 -15
  213. data/lib/mux_ruby/models/input_file.rb +49 -15
  214. data/lib/mux_ruby/models/input_info.rb +49 -15
  215. data/lib/mux_ruby/models/input_settings.rb +64 -30
  216. data/lib/mux_ruby/models/input_settings_overlay_settings.rb +58 -24
  217. data/lib/mux_ruby/models/input_track.rb +56 -22
  218. data/lib/mux_ruby/models/insight.rb +53 -19
  219. data/lib/mux_ruby/models/list_all_metric_values_response.rb +50 -16
  220. data/lib/mux_ruby/models/list_assets_response.rb +48 -14
  221. data/lib/mux_ruby/models/list_breakdown_values_response.rb +50 -16
  222. data/lib/mux_ruby/models/list_delivery_usage_response.rb +51 -17
  223. data/lib/mux_ruby/models/list_dimension_values_response.rb +50 -16
  224. data/lib/mux_ruby/models/list_dimensions_response.rb +50 -16
  225. data/lib/mux_ruby/models/list_errors_response.rb +50 -16
  226. data/lib/mux_ruby/models/list_exports_response.rb +50 -16
  227. data/lib/mux_ruby/models/list_filter_values_response.rb +50 -16
  228. data/lib/mux_ruby/models/list_filters_response.rb +50 -16
  229. data/lib/mux_ruby/models/list_filters_response_data.rb +49 -15
  230. data/lib/mux_ruby/models/list_incidents_response.rb +50 -16
  231. data/lib/mux_ruby/models/list_insights_response.rb +50 -16
  232. data/lib/mux_ruby/models/list_live_streams_response.rb +48 -14
  233. data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +50 -16
  234. data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +49 -15
  235. data/lib/mux_ruby/models/list_real_time_metrics_response.rb +50 -16
  236. data/lib/mux_ruby/models/list_related_incidents_response.rb +50 -16
  237. data/lib/mux_ruby/models/list_signing_keys_response.rb +48 -14
  238. data/lib/mux_ruby/models/list_uploads_response.rb +48 -14
  239. data/lib/mux_ruby/models/list_video_view_exports_response.rb +240 -0
  240. data/lib/mux_ruby/models/list_video_views_response.rb +50 -16
  241. data/lib/mux_ruby/models/live_stream.rb +131 -29
  242. data/lib/mux_ruby/models/live_stream_response.rb +48 -14
  243. data/lib/mux_ruby/models/metric.rb +52 -18
  244. data/lib/mux_ruby/models/notification_rule.rb +50 -16
  245. data/lib/mux_ruby/models/overall_values.rb +51 -17
  246. data/lib/mux_ruby/models/playback_id.rb +49 -15
  247. data/lib/mux_ruby/models/playback_policy.rb +12 -6
  248. data/lib/mux_ruby/models/real_time_breakdown_value.rb +52 -18
  249. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +50 -16
  250. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +49 -15
  251. data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +54 -20
  252. data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +50 -16
  253. data/lib/mux_ruby/models/score.rb +53 -19
  254. data/lib/mux_ruby/models/signal_live_stream_complete_response.rb +48 -14
  255. data/lib/mux_ruby/models/signing_key.rb +53 -16
  256. data/lib/mux_ruby/models/signing_key_response.rb +48 -14
  257. data/lib/mux_ruby/models/simulcast_target.rb +54 -20
  258. data/lib/mux_ruby/models/simulcast_target_response.rb +48 -14
  259. data/lib/mux_ruby/models/track.rb +67 -33
  260. data/lib/mux_ruby/models/update_asset_master_access_request.rb +50 -16
  261. data/lib/mux_ruby/models/update_asset_mp4_support_request.rb +50 -16
  262. data/lib/mux_ruby/models/upload.rb +61 -25
  263. data/lib/mux_ruby/models/upload_error.rb +51 -15
  264. data/lib/mux_ruby/models/upload_response.rb +48 -14
  265. data/lib/mux_ruby/models/video_view.rb +242 -136
  266. data/lib/mux_ruby/models/video_view_event.rb +51 -17
  267. data/lib/mux_ruby/models/video_view_response.rb +49 -15
  268. data/lib/mux_ruby/version.rb +10 -3
  269. data/lib/mux_ruby.rb +12 -2
  270. data/mux_ruby.gemspec +15 -17
  271. data/spec/api_client_spec.rb +10 -3
  272. data/spec/configuration_spec.rb +9 -2
  273. data/spec/models/export_date_spec.rb +40 -0
  274. data/spec/models/export_file_spec.rb +46 -0
  275. data/spec/models/list_video_view_exports_response_spec.rb +46 -0
  276. data/spec/spec_helper.rb +9 -2
  277. metadata +149 -240
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::ExportFile
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::ExportFile do
21
+ let(:instance) { MuxRuby::ExportFile.new }
22
+
23
+ describe 'test an instance of ExportFile' do
24
+ it 'should create an instance of ExportFile' do
25
+ expect(instance).to be_instance_of(MuxRuby::ExportFile)
26
+ end
27
+ end
28
+ describe 'test attribute "version"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "type"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "path"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::ListVideoViewExportsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::ListVideoViewExportsResponse do
21
+ let(:instance) { MuxRuby::ListVideoViewExportsResponse.new }
22
+
23
+ describe 'test an instance of ListVideoViewExportsResponse' do
24
+ it 'should create an instance of ListVideoViewExportsResponse' do
25
+ expect(instance).to be_instance_of(MuxRuby::ListVideoViewExportsResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "total_row_count"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "timeframe"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,13 @@
1
1
  =begin
2
- # Mux Ruby - Copyright 2019 Mux Inc.
3
- # NOTE: This file is auto generated. Do not edit this file manually.
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
4
11
  =end
5
12
 
6
13
  # load the gem
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mux_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Mux SDK Developers
8
- autorequire:
7
+ - Mux
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-17 00:00:00.000000000 Z
11
+ date: 2021-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -30,26 +30,6 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.1
33
- - !ruby/object:Gem::Dependency
34
- name: json
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 2.1.0
43
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 2.1.0
53
33
  - !ruby/object:Gem::Dependency
54
34
  name: rspec
55
35
  requirement: !ruby/object:Gem::Requirement
@@ -70,129 +50,9 @@ dependencies:
70
50
  - - ">="
71
51
  - !ruby/object:Gem::Version
72
52
  version: 3.6.0
73
- - !ruby/object:Gem::Dependency
74
- name: vcr
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: '3.0'
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 3.0.1
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3.0'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 3.0.1
93
- - !ruby/object:Gem::Dependency
94
- name: webmock
95
- requirement: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: '1.24'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 1.24.3
103
- type: :development
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '1.24'
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.24.3
113
- - !ruby/object:Gem::Dependency
114
- name: autotest
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: '4.4'
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: 4.4.6
123
- type: :development
124
- prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '4.4'
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: 4.4.6
133
- - !ruby/object:Gem::Dependency
134
- name: autotest-rails-pure
135
- requirement: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '4.1'
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- version: 4.1.2
143
- type: :development
144
- prerelease: false
145
- version_requirements: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - "~>"
148
- - !ruby/object:Gem::Version
149
- version: '4.1'
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: 4.1.2
153
- - !ruby/object:Gem::Dependency
154
- name: autotest-growl
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.2'
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: 0.2.16
163
- type: :development
164
- prerelease: false
165
- version_requirements: !ruby/object:Gem::Requirement
166
- requirements:
167
- - - "~>"
168
- - !ruby/object:Gem::Version
169
- version: '0.2'
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- version: 0.2.16
173
- - !ruby/object:Gem::Dependency
174
- name: autotest-fsevent
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: '0.2'
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- version: 0.2.12
183
- type: :development
184
- prerelease: false
185
- version_requirements: !ruby/object:Gem::Requirement
186
- requirements:
187
- - - "~>"
188
- - !ruby/object:Gem::Version
189
- version: '0.2'
190
- - - ">="
191
- - !ruby/object:Gem::Version
192
- version: 0.2.12
193
- description: Ruby API wrapper for Mux
53
+ description: The Ruby client for Mux Data and Mux Video.
194
54
  email:
195
- - sdks@mux.com
55
+ - devex@mux.com
196
56
  executables: []
197
57
  extensions: []
198
58
  extra_rdoc_files: []
@@ -230,6 +90,8 @@ files:
230
90
  - docs/EnableLiveStreamResponse.md
231
91
  - docs/Error.md
232
92
  - docs/ErrorsApi.md
93
+ - docs/ExportDate.md
94
+ - docs/ExportFile.md
233
95
  - docs/ExportsApi.md
234
96
  - docs/FilterValue.md
235
97
  - docs/FiltersApi.md
@@ -276,6 +138,7 @@ files:
276
138
  - docs/ListRelatedIncidentsResponse.md
277
139
  - docs/ListSigningKeysResponse.md
278
140
  - docs/ListUploadsResponse.md
141
+ - docs/ListVideoViewExportsResponse.md
279
142
  - docs/ListVideoViewsResponse.md
280
143
  - docs/LiveStream.md
281
144
  - docs/LiveStreamResponse.md
@@ -326,6 +189,44 @@ files:
326
189
  - examples/video/exercise-uploads.rb
327
190
  - examples/video/ingest.rb
328
191
  - examples/video/list-everything.rb
192
+ - gen/.gitignore
193
+ - gen/Makefile
194
+ - gen/generator-config.json
195
+ - gen/openapitools.json
196
+ - gen/package.json
197
+ - gen/templates/Gemfile.mustache
198
+ - gen/templates/README.mustache
199
+ - gen/templates/Rakefile.mustache
200
+ - gen/templates/api.mustache
201
+ - gen/templates/api_client.mustache
202
+ - gen/templates/api_client_faraday_partial.mustache
203
+ - gen/templates/api_client_spec.mustache
204
+ - gen/templates/api_client_typhoeus_partial.mustache
205
+ - gen/templates/api_doc.mustache
206
+ - gen/templates/api_error.mustache
207
+ - gen/templates/api_info.mustache
208
+ - gen/templates/api_test.mustache
209
+ - gen/templates/base_object.mustache
210
+ - gen/templates/configuration.mustache
211
+ - gen/templates/configuration_spec.mustache
212
+ - gen/templates/configuration_tls_faraday_partial.mustache
213
+ - gen/templates/configuration_tls_typhoeus_partial.mustache
214
+ - gen/templates/gem.mustache
215
+ - gen/templates/gemspec.mustache
216
+ - gen/templates/gitignore.mustache
217
+ - gen/templates/model.mustache
218
+ - gen/templates/model_doc.mustache
219
+ - gen/templates/model_test.mustache
220
+ - gen/templates/partial_model_enum_class.mustache
221
+ - gen/templates/partial_model_generic.mustache
222
+ - gen/templates/partial_model_generic_doc.mustache
223
+ - gen/templates/partial_oneof_module.mustache
224
+ - gen/templates/partial_oneof_module_doc.mustache
225
+ - gen/templates/rspec.mustache
226
+ - gen/templates/rubocop.mustache
227
+ - gen/templates/spec_helper.mustache
228
+ - gen/templates/version.mustache
229
+ - gen/yarn.lock
329
230
  - github-ruby-sdk.png
330
231
  - lib/mux_ruby.rb
331
232
  - lib/mux_ruby/api/assets_api.rb
@@ -368,6 +269,8 @@ files:
368
269
  - lib/mux_ruby/models/disable_live_stream_response.rb
369
270
  - lib/mux_ruby/models/enable_live_stream_response.rb
370
271
  - lib/mux_ruby/models/error.rb
272
+ - lib/mux_ruby/models/export_date.rb
273
+ - lib/mux_ruby/models/export_file.rb
371
274
  - lib/mux_ruby/models/filter_value.rb
372
275
  - lib/mux_ruby/models/get_asset_input_info_response.rb
373
276
  - lib/mux_ruby/models/get_asset_or_live_stream_id_response.rb
@@ -411,6 +314,7 @@ files:
411
314
  - lib/mux_ruby/models/list_related_incidents_response.rb
412
315
  - lib/mux_ruby/models/list_signing_keys_response.rb
413
316
  - lib/mux_ruby/models/list_uploads_response.rb
317
+ - lib/mux_ruby/models/list_video_view_exports_response.rb
414
318
  - lib/mux_ruby/models/list_video_views_response.rb
415
319
  - lib/mux_ruby/models/live_stream.rb
416
320
  - lib/mux_ruby/models/live_stream_response.rb
@@ -480,6 +384,8 @@ files:
480
384
  - spec/models/disable_live_stream_response_spec.rb
481
385
  - spec/models/enable_live_stream_response_spec.rb
482
386
  - spec/models/error_spec.rb
387
+ - spec/models/export_date_spec.rb
388
+ - spec/models/export_file_spec.rb
483
389
  - spec/models/filter_value_spec.rb
484
390
  - spec/models/get_asset_input_info_response_spec.rb
485
391
  - spec/models/get_asset_or_live_stream_id_response_data_object_spec.rb
@@ -523,6 +429,7 @@ files:
523
429
  - spec/models/list_related_incidents_response_spec.rb
524
430
  - spec/models/list_signing_keys_response_spec.rb
525
431
  - spec/models/list_uploads_response_spec.rb
432
+ - spec/models/list_video_view_exports_response_spec.rb
526
433
  - spec/models/list_video_views_response_spec.rb
527
434
  - spec/models/live_stream_response_spec.rb
528
435
  - spec/models/live_stream_spec.rb
@@ -553,12 +460,11 @@ files:
553
460
  - spec/models/video_view_spec.rb
554
461
  - spec/spec_helper.rb
555
462
  - test.sh
556
- homepage: https://mux.com
463
+ homepage: https://docs.mux.com
557
464
  licenses:
558
465
  - MIT
559
- metadata:
560
- source_code_uri: https://github.com/muxinc/mux-ruby
561
- post_install_message:
466
+ metadata: {}
467
+ post_install_message:
562
468
  rdoc_options: []
563
469
  require_paths:
564
470
  - lib
@@ -566,126 +472,129 @@ required_ruby_version: !ruby/object:Gem::Requirement
566
472
  requirements:
567
473
  - - ">="
568
474
  - !ruby/object:Gem::Version
569
- version: '1.9'
475
+ version: '2.4'
570
476
  required_rubygems_version: !ruby/object:Gem::Requirement
571
477
  requirements:
572
478
  - - ">="
573
479
  - !ruby/object:Gem::Version
574
480
  version: '0'
575
481
  requirements: []
576
- rubygems_version: 3.2.14
577
- signing_key:
482
+ rubygems_version: 3.2.27
483
+ signing_key:
578
484
  specification_version: 4
579
- summary: Ruby API wrapper for Mux
485
+ summary: Mux API Ruby Gem
580
486
  test_files:
581
- - spec/api/metrics_api_spec.rb
582
- - spec/api/real_time_api_spec.rb
583
- - spec/api/dimensions_api_spec.rb
584
- - spec/api/direct_uploads_api_spec.rb
585
- - spec/api/delivery_usage_api_spec.rb
487
+ - spec/api/exports_api_spec.rb
586
488
  - spec/api/errors_api_spec.rb
489
+ - spec/api/metrics_api_spec.rb
587
490
  - spec/api/video_views_api_spec.rb
588
491
  - spec/api/playback_id_api_spec.rb
589
- - spec/api/assets_api_spec.rb
590
- - spec/api/exports_api_spec.rb
591
- - spec/api/url_signing_keys_api_spec.rb
592
- - spec/api/incidents_api_spec.rb
492
+ - spec/api/real_time_api_spec.rb
593
493
  - spec/api/filters_api_spec.rb
494
+ - spec/api/direct_uploads_api_spec.rb
594
495
  - spec/api/live_streams_api_spec.rb
496
+ - spec/api/url_signing_keys_api_spec.rb
497
+ - spec/api/incidents_api_spec.rb
498
+ - spec/api/delivery_usage_api_spec.rb
499
+ - spec/api/assets_api_spec.rb
500
+ - spec/api/dimensions_api_spec.rb
595
501
  - spec/api_client_spec.rb
596
502
  - spec/configuration_spec.rb
597
- - spec/models/get_real_time_histogram_timeseries_response_spec.rb
598
- - spec/models/enable_live_stream_response_spec.rb
599
- - spec/models/create_track_request_spec.rb
600
- - spec/models/input_info_spec.rb
601
- - spec/models/input_file_spec.rb
602
- - spec/models/list_signing_keys_response_spec.rb
603
- - spec/models/create_live_stream_request_spec.rb
604
- - spec/models/list_errors_response_spec.rb
503
+ - spec/models/export_file_spec.rb
504
+ - spec/models/list_uploads_response_spec.rb
505
+ - spec/models/list_all_metric_values_response_spec.rb
506
+ - spec/models/asset_spec.rb
507
+ - spec/models/asset_recording_times_spec.rb
508
+ - spec/models/real_time_timeseries_datapoint_spec.rb
509
+ - spec/models/get_asset_or_live_stream_id_response_spec.rb
510
+ - spec/models/live_stream_spec.rb
511
+ - spec/models/list_filters_response_data_spec.rb
512
+ - spec/models/create_simulcast_target_request_spec.rb
513
+ - spec/models/incident_response_spec.rb
514
+ - spec/models/get_overall_values_response_spec.rb
515
+ - spec/models/create_asset_request_spec.rb
516
+ - spec/models/list_live_streams_response_spec.rb
605
517
  - spec/models/list_real_time_metrics_response_spec.rb
606
- - spec/models/video_view_event_spec.rb
607
- - spec/models/asset_master_spec.rb
608
- - spec/models/create_playback_id_request_spec.rb
609
- - spec/models/asset_non_standard_input_reasons_spec.rb
610
- - spec/models/get_metric_timeseries_data_response_spec.rb
518
+ - spec/models/list_dimensions_response_spec.rb
519
+ - spec/models/list_breakdown_values_response_spec.rb
520
+ - spec/models/incident_notification_rule_spec.rb
521
+ - spec/models/create_track_response_spec.rb
522
+ - spec/models/track_spec.rb
523
+ - spec/models/real_time_histogram_timeseries_bucket_values_spec.rb
524
+ - spec/models/list_delivery_usage_response_spec.rb
611
525
  - spec/models/create_upload_request_spec.rb
612
- - spec/models/video_view_spec.rb
613
- - spec/models/list_filters_response_data_spec.rb
526
+ - spec/models/delivery_report_spec.rb
527
+ - spec/models/upload_spec.rb
528
+ - spec/models/list_signing_keys_response_spec.rb
614
529
  - spec/models/list_assets_response_spec.rb
615
- - spec/models/list_live_streams_response_spec.rb
616
- - spec/models/playback_id_spec.rb
617
- - spec/models/video_view_response_spec.rb
618
- - spec/models/incident_response_spec.rb
619
- - spec/models/list_exports_response_spec.rb
620
530
  - spec/models/list_real_time_dimensions_response_data_spec.rb
621
- - spec/models/real_time_histogram_timeseries_datapoint_spec.rb
622
- - spec/models/incident_notification_spec.rb
623
- - spec/models/notification_rule_spec.rb
624
- - spec/models/live_stream_spec.rb
625
- - spec/models/create_track_response_spec.rb
626
- - spec/models/list_uploads_response_spec.rb
627
- - spec/models/list_real_time_dimensions_response_spec.rb
628
- - spec/models/input_settings_spec.rb
629
- - spec/models/list_dimension_values_response_spec.rb
630
- - spec/models/get_real_time_histogram_timeseries_response_meta_spec.rb
631
- - spec/models/real_time_timeseries_datapoint_spec.rb
632
- - spec/models/asset_spec.rb
531
+ - spec/models/asset_master_spec.rb
532
+ - spec/models/get_real_time_breakdown_response_spec.rb
533
+ - spec/models/real_time_breakdown_value_spec.rb
633
534
  - spec/models/dimension_value_spec.rb
634
- - spec/models/list_related_incidents_response_spec.rb
635
- - spec/models/signing_key_spec.rb
636
- - spec/models/disable_live_stream_response_spec.rb
637
- - spec/models/list_delivery_usage_response_spec.rb
638
- - spec/models/abridged_video_view_spec.rb
639
- - spec/models/playback_policy_spec.rb
640
- - spec/models/update_asset_master_access_request_spec.rb
535
+ - spec/models/signing_key_response_spec.rb
536
+ - spec/models/list_errors_response_spec.rb
537
+ - spec/models/signal_live_stream_complete_response_spec.rb
538
+ - spec/models/get_real_time_histogram_timeseries_response_meta_spec.rb
539
+ - spec/models/create_track_request_spec.rb
540
+ - spec/models/asset_static_renditions_spec.rb
641
541
  - spec/models/metric_spec.rb
642
542
  - spec/models/list_filter_values_response_spec.rb
643
- - spec/models/list_dimensions_response_spec.rb
644
- - spec/models/create_simulcast_target_request_spec.rb
645
- - spec/models/get_asset_playback_id_response_spec.rb
646
- - spec/models/asset_recording_times_spec.rb
647
- - spec/models/delivery_report_spec.rb
648
- - spec/models/get_real_time_timeseries_response_spec.rb
649
- - spec/models/live_stream_response_spec.rb
543
+ - spec/models/insight_spec.rb
650
544
  - spec/models/get_asset_or_live_stream_id_response_data_object_spec.rb
651
- - spec/models/simulcast_target_response_spec.rb
652
- - spec/models/breakdown_value_spec.rb
653
- - spec/models/list_insights_response_spec.rb
654
- - spec/models/incident_notification_rule_spec.rb
655
- - spec/models/real_time_breakdown_value_spec.rb
656
- - spec/models/get_asset_input_info_response_spec.rb
657
- - spec/models/real_time_histogram_timeseries_bucket_values_spec.rb
658
- - spec/models/create_asset_request_spec.rb
659
- - spec/models/update_asset_mp4_support_request_spec.rb
660
- - spec/models/real_time_histogram_timeseries_bucket_spec.rb
661
- - spec/models/filter_value_spec.rb
662
- - spec/models/get_overall_values_response_spec.rb
663
- - spec/models/get_asset_or_live_stream_id_response_data_spec.rb
664
- - spec/models/incident_spec.rb
545
+ - spec/models/video_view_response_spec.rb
546
+ - spec/models/error_spec.rb
665
547
  - spec/models/asset_response_spec.rb
666
- - spec/models/list_breakdown_values_response_spec.rb
548
+ - spec/models/real_time_histogram_timeseries_bucket_spec.rb
549
+ - spec/models/get_asset_playback_id_response_spec.rb
550
+ - spec/models/enable_live_stream_response_spec.rb
551
+ - spec/models/playback_id_spec.rb
667
552
  - spec/models/create_playback_id_response_spec.rb
668
- - spec/models/upload_spec.rb
669
- - spec/models/incident_breakdown_spec.rb
553
+ - spec/models/get_real_time_histogram_timeseries_response_spec.rb
554
+ - spec/models/list_exports_response_spec.rb
670
555
  - spec/models/simulcast_target_spec.rb
671
- - spec/models/list_incidents_response_spec.rb
672
- - spec/models/asset_static_renditions_spec.rb
673
- - spec/models/insight_spec.rb
556
+ - spec/models/list_insights_response_spec.rb
557
+ - spec/models/playback_policy_spec.rb
558
+ - spec/models/list_related_incidents_response_spec.rb
559
+ - spec/models/list_dimension_values_response_spec.rb
560
+ - spec/models/filter_value_spec.rb
561
+ - spec/models/incident_spec.rb
562
+ - spec/models/incident_notification_spec.rb
563
+ - spec/models/breakdown_value_spec.rb
564
+ - spec/models/input_info_spec.rb
565
+ - spec/models/create_live_stream_request_spec.rb
566
+ - spec/models/list_video_view_exports_response_spec.rb
567
+ - spec/models/upload_error_spec.rb
568
+ - spec/models/live_stream_response_spec.rb
569
+ - spec/models/signing_key_spec.rb
674
570
  - spec/models/list_video_views_response_spec.rb
675
- - spec/models/list_all_metric_values_response_spec.rb
676
- - spec/models/asset_errors_spec.rb
571
+ - spec/models/input_settings_spec.rb
677
572
  - spec/models/list_filters_response_spec.rb
678
- - spec/models/error_spec.rb
679
- - spec/models/get_asset_or_live_stream_id_response_spec.rb
680
- - spec/models/track_spec.rb
681
- - spec/models/input_track_spec.rb
682
- - spec/models/get_real_time_breakdown_response_spec.rb
573
+ - spec/models/update_asset_mp4_support_request_spec.rb
574
+ - spec/models/simulcast_target_response_spec.rb
575
+ - spec/models/video_view_event_spec.rb
683
576
  - spec/models/upload_response_spec.rb
684
- - spec/models/upload_error_spec.rb
685
- - spec/models/input_settings_overlay_settings_spec.rb
577
+ - spec/models/list_incidents_response_spec.rb
686
578
  - spec/models/score_spec.rb
687
- - spec/models/signal_live_stream_complete_response_spec.rb
688
- - spec/models/signing_key_response_spec.rb
689
579
  - spec/models/asset_static_renditions_files_spec.rb
580
+ - spec/models/get_real_time_timeseries_response_spec.rb
581
+ - spec/models/get_asset_input_info_response_spec.rb
582
+ - spec/models/update_asset_master_access_request_spec.rb
583
+ - spec/models/list_real_time_dimensions_response_spec.rb
584
+ - spec/models/input_settings_overlay_settings_spec.rb
585
+ - spec/models/disable_live_stream_response_spec.rb
586
+ - spec/models/real_time_histogram_timeseries_datapoint_spec.rb
587
+ - spec/models/video_view_spec.rb
588
+ - spec/models/abridged_video_view_spec.rb
589
+ - spec/models/asset_non_standard_input_reasons_spec.rb
590
+ - spec/models/input_file_spec.rb
591
+ - spec/models/get_asset_or_live_stream_id_response_data_spec.rb
592
+ - spec/models/input_track_spec.rb
593
+ - spec/models/create_playback_id_request_spec.rb
690
594
  - spec/models/overall_values_spec.rb
595
+ - spec/models/notification_rule_spec.rb
596
+ - spec/models/get_metric_timeseries_data_response_spec.rb
597
+ - spec/models/export_date_spec.rb
598
+ - spec/models/asset_errors_spec.rb
599
+ - spec/models/incident_breakdown_spec.rb
691
600
  - spec/spec_helper.rb