From 0f163bbc67a840b918e33834c3ab1726dc192ad7 Mon Sep 17 00:00:00 2001 From: Justin Sanford Date: Wed, 28 Aug 2024 11:41:24 -0700 Subject: [PATCH 1/6] 3.18.0 --- .openapi-generator/FILES | 4 --- Gemfile.lock | 2 +- README.md | 10 +++---- docs/Asset.md | 4 ++- docs/CreateAssetRequest.md | 6 ++-- docs/DeliveryReport.md | 4 ++- gen/generator-config.json | 2 +- lib/mux_ruby/models/asset.rb | 26 +++++++++++++++-- lib/mux_ruby/models/create_asset_request.rb | 32 +++++++++++++++++---- lib/mux_ruby/models/delivery_report.rb | 26 +++++++++++++++-- lib/mux_ruby/version.rb | 2 +- 11 files changed, 93 insertions(+), 25 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a2eecb4..5653b1a 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -381,10 +381,6 @@ lib/mux_ruby/models/web_input.rb lib/mux_ruby/models/web_input_response.rb lib/mux_ruby/version.rb mux_ruby.gemspec -spec/api/drm_configurations_api_spec.rb spec/api_client_spec.rb spec/configuration_spec.rb -spec/models/drm_configuration_response_spec.rb -spec/models/drm_configuration_spec.rb -spec/models/list_drm_configurations_response_spec.rb spec/spec_helper.rb diff --git a/Gemfile.lock b/Gemfile.lock index 732d4d5..cb0e16e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - mux_ruby (3.17.0) + mux_ruby (3.18.0) typhoeus (~> 1.0, >= 1.0.1) GEM diff --git a/README.md b/README.md index 638d60e..09b4893 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Not familiar with Mux? Check out https://mux.com/ for more information. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: v1 -- Package version: 3.17.0 +- Package version: 3.18.0 - Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit [https://docs.mux.com](https://docs.mux.com) @@ -40,16 +40,16 @@ gem build mux_ruby.gemspec Then either install the gem locally: ```shell -gem install ./mux_ruby-3.17.0.gem +gem install ./mux_ruby-3.18.0.gem ``` -(for development, run `gem install --dev ./mux_ruby-3.17.0.gem` to install the development dependencies) +(for development, run `gem install --dev ./mux_ruby-3.18.0.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: - gem 'mux_ruby', '~> 3.17.0' + gem 'mux_ruby', '~> 3.18.0' ### Install from Git @@ -83,7 +83,7 @@ Its up to you to manage your token and secret. In our examples, we read them fro ### Example Usage Below is a quick example of using Mux Ruby to list the Video assets stored in your Mux account. -Be sure to also checkout the [examples directory](examples/): +Be sure to also checkout the [exmples directory](examples/): * [List Assets, Live Streams, Signing Keys, and Uploads.](examples/video/list-everything.rb) * [Create an Asset, wait for it to become availiable, and print its playback URL](examples/video/ingest.rb) * [Create a new Live Stream and retrieve its Stream key.](examples/video/create-live-stream.rb) diff --git a/docs/Asset.md b/docs/Asset.md index 9de42f0..92bbc32 100644 --- a/docs/Asset.md +++ b/docs/Asset.md @@ -11,7 +11,8 @@ | **max_stored_resolution** | **String** | This field is deprecated. Please use `resolution_tier` instead. The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. | [optional] | | **resolution_tier** | **String** | The resolution tier that the asset was ingested at, affecting billing for ingest & storage. This field also represents the highest resolution tier that the content can be delivered at, however the actual resolution may be lower depending on the device, bandwidth, and exact resolution of the uploaded asset. | [optional] | | **max_resolution_tier** | **String** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional] | -| **encoding_tier** | **String** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | +| **encoding_tier** | **String** | This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | +| **video_quality** | **String** | The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | | **max_stored_frame_rate** | **Float** | The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined. | [optional] | | **aspect_ratio** | **String** | The aspect ratio of the asset in the form of `width:height`, for example `16:9`. | [optional] | | **playback_ids** | [**Array<PlaybackID>**](PlaybackID.md) | An array of Playback ID objects. Use these to create HLS playback URLs. See [Play your videos](https://docs.mux.com/guides/play-your-videos) for more details. | [optional] | @@ -47,6 +48,7 @@ instance = MuxRuby::Asset.new( resolution_tier: null, max_resolution_tier: null, encoding_tier: null, + video_quality: null, max_stored_frame_rate: null, aspect_ratio: null, playback_ids: null, diff --git a/docs/CreateAssetRequest.md b/docs/CreateAssetRequest.md index e8c9033..24344d5 100644 --- a/docs/CreateAssetRequest.md +++ b/docs/CreateAssetRequest.md @@ -14,7 +14,8 @@ | **master_access** | **String** | Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the [Download your videos guide](https://docs.mux.com/guides/enable-static-mp4-renditions) for more information. | [optional] | | **test** | **Boolean** | Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs. | [optional] | | **max_resolution_tier** | **String** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional] | -| **encoding_tier** | **String** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | +| **encoding_tier** | **String** | This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | +| **video_quality** | **String** | The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | ## Example @@ -32,7 +33,8 @@ instance = MuxRuby::CreateAssetRequest.new( master_access: null, test: null, max_resolution_tier: null, - encoding_tier: null + encoding_tier: null, + video_quality: null ) ``` diff --git a/docs/DeliveryReport.md b/docs/DeliveryReport.md index f750e7d..9b88bc3 100644 --- a/docs/DeliveryReport.md +++ b/docs/DeliveryReport.md @@ -12,7 +12,8 @@ | **asset_state** | **String** | The state of the asset. | [optional] | | **asset_duration** | **Float** | The duration of the asset in seconds. | [optional] | | **asset_resolution_tier** | **String** | The resolution tier that the asset was ingested at, affecting billing for ingest & storage | [optional] | -| **asset_encoding_tier** | **String** | The encoding tier that the asset was ingested at. [See the encoding tiers guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | +| **asset_encoding_tier** | **String** | This field is deprecated. Please use `asset_video_quality` instead. The encoding tier that the asset was ingested at. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | +| **asset_video_quality** | **String** | The video quality that the asset was ingested at. This field replaces `asset_encoding_tier`. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] | | **delivered_seconds** | **Float** | Total number of delivered seconds during this time window. | [optional] | | **delivered_seconds_by_resolution** | [**DeliveryReportDeliveredSecondsByResolution**](DeliveryReportDeliveredSecondsByResolution.md) | | [optional] | @@ -31,6 +32,7 @@ instance = MuxRuby::DeliveryReport.new( asset_duration: null, asset_resolution_tier: null, asset_encoding_tier: null, + asset_video_quality: null, delivered_seconds: null, delivered_seconds_by_resolution: null ) diff --git a/gen/generator-config.json b/gen/generator-config.json index 594a44d..38c10e1 100644 --- a/gen/generator-config.json +++ b/gen/generator-config.json @@ -8,5 +8,5 @@ "gemSourceLocation": "https://github.com/muxinc/mux-ruby", "gemLicense": "MIT", "moduleName": "MuxRuby", - "gemVersion": "3.17.0" + "gemVersion": "3.18.0" } diff --git a/lib/mux_ruby/models/asset.rb b/lib/mux_ruby/models/asset.rb index 90d2b56..84546aa 100644 --- a/lib/mux_ruby/models/asset.rb +++ b/lib/mux_ruby/models/asset.rb @@ -36,9 +36,12 @@ class Asset # Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. attr_accessor :max_resolution_tier - # The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) + # This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) attr_accessor :encoding_tier + # The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) + attr_accessor :video_quality + # The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined. attr_accessor :max_stored_frame_rate @@ -125,6 +128,7 @@ def self.attribute_map :'resolution_tier' => :'resolution_tier', :'max_resolution_tier' => :'max_resolution_tier', :'encoding_tier' => :'encoding_tier', + :'video_quality' => :'video_quality', :'max_stored_frame_rate' => :'max_stored_frame_rate', :'aspect_ratio' => :'aspect_ratio', :'playback_ids' => :'playback_ids', @@ -164,6 +168,7 @@ def self.openapi_types :'resolution_tier' => :'String', :'max_resolution_tier' => :'String', :'encoding_tier' => :'String', + :'video_quality' => :'String', :'max_stored_frame_rate' => :'Float', :'aspect_ratio' => :'String', :'playback_ids' => :'Array', @@ -240,6 +245,10 @@ def initialize(attributes = {}) self.encoding_tier = attributes[:'encoding_tier'] end + if attributes.key?(:'video_quality') + self.video_quality = attributes[:'video_quality'] + end + if attributes.key?(:'max_stored_frame_rate') self.max_stored_frame_rate = attributes[:'max_stored_frame_rate'] end @@ -353,6 +362,8 @@ def valid? return false unless max_resolution_tier_validator.valid?(@max_resolution_tier) encoding_tier_validator = EnumAttributeValidator.new('String', ["smart", "baseline"]) return false unless encoding_tier_validator.valid?(@encoding_tier) + video_quality_validator = EnumAttributeValidator.new('String', ["basic", "plus"]) + return false unless video_quality_validator.valid?(@video_quality) master_access_validator = EnumAttributeValidator.new('String', ["temporary", "none"]) return false unless master_access_validator.valid?(@master_access) mp4_support_validator = EnumAttributeValidator.new('String', ["standard", "none", "capped-1080p", "audio-only", "audio-only,capped-1080p"]) @@ -412,6 +423,16 @@ def encoding_tier=(encoding_tier) @encoding_tier = encoding_tier end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] video_quality Object to be assigned + def video_quality=(video_quality) + validator = EnumAttributeValidator.new('String', ["basic", "plus"]) + unless validator.valid?(video_quality) + fail ArgumentError, "invalid value for \"video_quality\", must be one of #{validator.allowable_values}." + end + @video_quality = video_quality + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] master_access Object to be assigned def master_access=(master_access) @@ -455,6 +476,7 @@ def ==(o) resolution_tier == o.resolution_tier && max_resolution_tier == o.max_resolution_tier && encoding_tier == o.encoding_tier && + video_quality == o.video_quality && max_stored_frame_rate == o.max_stored_frame_rate && aspect_ratio == o.aspect_ratio && playback_ids == o.playback_ids && @@ -486,7 +508,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, created_at, status, duration, max_stored_resolution, resolution_tier, max_resolution_tier, encoding_tier, max_stored_frame_rate, aspect_ratio, playback_ids, tracks, errors, per_title_encode, upload_id, is_live, passthrough, live_stream_id, master, master_access, mp4_support, source_asset_id, normalize_audio, static_renditions, recording_times, non_standard_input_reasons, test, ingest_type].hash + [id, created_at, status, duration, max_stored_resolution, resolution_tier, max_resolution_tier, encoding_tier, video_quality, max_stored_frame_rate, aspect_ratio, playback_ids, tracks, errors, per_title_encode, upload_id, is_live, passthrough, live_stream_id, master, master_access, mp4_support, source_asset_id, normalize_audio, static_renditions, recording_times, non_standard_input_reasons, test, ingest_type].hash end # Builds the object from hash diff --git a/lib/mux_ruby/models/create_asset_request.rb b/lib/mux_ruby/models/create_asset_request.rb index d399432..00be14d 100644 --- a/lib/mux_ruby/models/create_asset_request.rb +++ b/lib/mux_ruby/models/create_asset_request.rb @@ -44,9 +44,12 @@ class CreateAssetRequest # Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. attr_accessor :max_resolution_tier - # The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) + # This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) attr_accessor :encoding_tier + # The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) + attr_accessor :video_quality + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -82,7 +85,8 @@ def self.attribute_map :'master_access' => :'master_access', :'test' => :'test', :'max_resolution_tier' => :'max_resolution_tier', - :'encoding_tier' => :'encoding_tier' + :'encoding_tier' => :'encoding_tier', + :'video_quality' => :'video_quality' } end @@ -104,7 +108,8 @@ def self.openapi_types :'master_access' => :'String', :'test' => :'Boolean', :'max_resolution_tier' => :'String', - :'encoding_tier' => :'String' + :'encoding_tier' => :'String', + :'video_quality' => :'String' } end @@ -180,6 +185,10 @@ def initialize(attributes = {}) if attributes.key?(:'encoding_tier') self.encoding_tier = attributes[:'encoding_tier'] end + + if attributes.key?(:'video_quality') + self.video_quality = attributes[:'video_quality'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -200,6 +209,8 @@ def valid? return false unless max_resolution_tier_validator.valid?(@max_resolution_tier) encoding_tier_validator = EnumAttributeValidator.new('String', ["smart", "baseline"]) return false unless encoding_tier_validator.valid?(@encoding_tier) + video_quality_validator = EnumAttributeValidator.new('String', ["basic", "plus"]) + return false unless video_quality_validator.valid?(@video_quality) true end @@ -243,6 +254,16 @@ def encoding_tier=(encoding_tier) @encoding_tier = encoding_tier end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] video_quality Object to be assigned + def video_quality=(video_quality) + validator = EnumAttributeValidator.new('String', ["basic", "plus"]) + unless validator.valid?(video_quality) + fail ArgumentError, "invalid value for \"video_quality\", must be one of #{validator.allowable_values}." + end + @video_quality = video_quality + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) @@ -258,7 +279,8 @@ def ==(o) master_access == o.master_access && test == o.test && max_resolution_tier == o.max_resolution_tier && - encoding_tier == o.encoding_tier + encoding_tier == o.encoding_tier && + video_quality == o.video_quality end # @see the `==` method @@ -270,7 +292,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [input, playback_policy, advanced_playback_policies, per_title_encode, passthrough, mp4_support, normalize_audio, master_access, test, max_resolution_tier, encoding_tier].hash + [input, playback_policy, advanced_playback_policies, per_title_encode, passthrough, mp4_support, normalize_audio, master_access, test, max_resolution_tier, encoding_tier, video_quality].hash end # Builds the object from hash diff --git a/lib/mux_ruby/models/delivery_report.rb b/lib/mux_ruby/models/delivery_report.rb index 84e5f32..6e6c5fd 100644 --- a/lib/mux_ruby/models/delivery_report.rb +++ b/lib/mux_ruby/models/delivery_report.rb @@ -39,9 +39,12 @@ class DeliveryReport # The resolution tier that the asset was ingested at, affecting billing for ingest & storage attr_accessor :asset_resolution_tier - # The encoding tier that the asset was ingested at. [See the encoding tiers guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) + # This field is deprecated. Please use `asset_video_quality` instead. The encoding tier that the asset was ingested at. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) attr_accessor :asset_encoding_tier + # The video quality that the asset was ingested at. This field replaces `asset_encoding_tier`. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) + attr_accessor :asset_video_quality + # Total number of delivered seconds during this time window. attr_accessor :delivered_seconds @@ -81,6 +84,7 @@ def self.attribute_map :'asset_duration' => :'asset_duration', :'asset_resolution_tier' => :'asset_resolution_tier', :'asset_encoding_tier' => :'asset_encoding_tier', + :'asset_video_quality' => :'asset_video_quality', :'delivered_seconds' => :'delivered_seconds', :'delivered_seconds_by_resolution' => :'delivered_seconds_by_resolution' } @@ -103,6 +107,7 @@ def self.openapi_types :'asset_duration' => :'Float', :'asset_resolution_tier' => :'String', :'asset_encoding_tier' => :'String', + :'asset_video_quality' => :'String', :'delivered_seconds' => :'Float', :'delivered_seconds_by_resolution' => :'DeliveryReportDeliveredSecondsByResolution' } @@ -165,6 +170,10 @@ def initialize(attributes = {}) self.asset_encoding_tier = attributes[:'asset_encoding_tier'] end + if attributes.key?(:'asset_video_quality') + self.asset_video_quality = attributes[:'asset_video_quality'] + end + if attributes.key?(:'delivered_seconds') self.delivered_seconds = attributes[:'delivered_seconds'] end @@ -190,6 +199,8 @@ def valid? return false unless asset_resolution_tier_validator.valid?(@asset_resolution_tier) asset_encoding_tier_validator = EnumAttributeValidator.new('String', ["smart", "baseline"]) return false unless asset_encoding_tier_validator.valid?(@asset_encoding_tier) + asset_video_quality_validator = EnumAttributeValidator.new('String', ["basic", "plus"]) + return false unless asset_video_quality_validator.valid?(@asset_video_quality) true end @@ -223,6 +234,16 @@ def asset_encoding_tier=(asset_encoding_tier) @asset_encoding_tier = asset_encoding_tier end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] asset_video_quality Object to be assigned + def asset_video_quality=(asset_video_quality) + validator = EnumAttributeValidator.new('String', ["basic", "plus"]) + unless validator.valid?(asset_video_quality) + fail ArgumentError, "invalid value for \"asset_video_quality\", must be one of #{validator.allowable_values}." + end + @asset_video_quality = asset_video_quality + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) @@ -237,6 +258,7 @@ def ==(o) asset_duration == o.asset_duration && asset_resolution_tier == o.asset_resolution_tier && asset_encoding_tier == o.asset_encoding_tier && + asset_video_quality == o.asset_video_quality && delivered_seconds == o.delivered_seconds && delivered_seconds_by_resolution == o.delivered_seconds_by_resolution end @@ -250,7 +272,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [live_stream_id, asset_id, passthrough, created_at, deleted_at, asset_state, asset_duration, asset_resolution_tier, asset_encoding_tier, delivered_seconds, delivered_seconds_by_resolution].hash + [live_stream_id, asset_id, passthrough, created_at, deleted_at, asset_state, asset_duration, asset_resolution_tier, asset_encoding_tier, asset_video_quality, delivered_seconds, delivered_seconds_by_resolution].hash end # Builds the object from hash diff --git a/lib/mux_ruby/version.rb b/lib/mux_ruby/version.rb index 65a6a74..c01a76c 100644 --- a/lib/mux_ruby/version.rb +++ b/lib/mux_ruby/version.rb @@ -11,5 +11,5 @@ =end module MuxRuby - VERSION = '3.17.0' + VERSION = '3.18.0' end From 7aa8bbeb661f2faebc9dc232d8b90dbf399dbf58 Mon Sep 17 00:00:00 2001 From: Justin Sanford Date: Wed, 28 Aug 2024 14:22:57 -0700 Subject: [PATCH 2/6] fix typo, but in both places --- README.md | 2 +- gen/templates/README.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 09b4893..bd94eac 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Its up to you to manage your token and secret. In our examples, we read them fro ### Example Usage Below is a quick example of using Mux Ruby to list the Video assets stored in your Mux account. -Be sure to also checkout the [exmples directory](examples/): +Be sure to also checkout the [examples directory](examples/): * [List Assets, Live Streams, Signing Keys, and Uploads.](examples/video/list-everything.rb) * [Create an Asset, wait for it to become availiable, and print its playback URL](examples/video/ingest.rb) * [Create a new Live Stream and retrieve its Stream key.](examples/video/create-live-stream.rb) diff --git a/gen/templates/README.mustache b/gen/templates/README.mustache index f4d0abb..ca1ee37 100644 --- a/gen/templates/README.mustache +++ b/gen/templates/README.mustache @@ -88,7 +88,7 @@ Its up to you to manage your token and secret. In our examples, we read them fro ### Example Usage Below is a quick example of using Mux Ruby to list the Video assets stored in your Mux account. -Be sure to also checkout the [exmples directory](examples/): +Be sure to also checkout the [examples directory](examples/): * [List Assets, Live Streams, Signing Keys, and Uploads.](examples/video/list-everything.rb) * [Create an Asset, wait for it to become availiable, and print its playback URL](examples/video/ingest.rb) * [Create a new Live Stream and retrieve its Stream key.](examples/video/create-live-stream.rb) From 0f77b9aaa9f6dcbfd8b6fbbb4509425201980495 Mon Sep 17 00:00:00 2001 From: Justin Sanford Date: Wed, 28 Aug 2024 15:38:45 -0700 Subject: [PATCH 3/6] try to update jaro_winkler --- Gemfile | 1 + Gemfile.lock | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index a03d24c..0c2fcf0 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ group :development, :test do gem 'rake', '~> 13.0.1' gem 'pry-byebug' gem 'rubocop', '~> 0.66.0' + gem 'jaro_winkler', '~1.6.0' gem 'solid_assert' end diff --git a/Gemfile.lock b/Gemfile.lock index cb0e16e..c129705 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,7 +14,7 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) ffi (1.16.3) - jaro_winkler (1.5.4) + jaro_winkler (1.6.0) method_source (1.0.0) parallel (1.22.1) parser (3.1.2.0) From ed3953fde1e87ab7d6631ce5153d0470e5db1ef8 Mon Sep 17 00:00:00 2001 From: Justin Sanford Date: Wed, 28 Aug 2024 15:39:44 -0700 Subject: [PATCH 4/6] typo in gemfile --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 0c2fcf0..e586bcc 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ group :development, :test do gem 'rake', '~> 13.0.1' gem 'pry-byebug' gem 'rubocop', '~> 0.66.0' - gem 'jaro_winkler', '~1.6.0' + gem 'jaro_winkler', '~>1.6.0' gem 'solid_assert' end From d48cbbc1544d52d2d3c5e3eb770141a030419727 Mon Sep 17 00:00:00 2001 From: Justin Sanford Date: Wed, 28 Aug 2024 15:55:10 -0700 Subject: [PATCH 5/6] try jaro-winkler 1.5.6 --- .tool-versions | 2 +- Gemfile | 2 +- Gemfile.lock | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.tool-versions b/.tool-versions index ed87620..430e29d 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -ruby 2.7.6 +ruby 3.2.0 java zulu-16.32.15 nodejs 16.5.0 yarn 1.22.10 diff --git a/Gemfile b/Gemfile index e586bcc..2470ec7 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ group :development, :test do gem 'rake', '~> 13.0.1' gem 'pry-byebug' gem 'rubocop', '~> 0.66.0' - gem 'jaro_winkler', '~>1.6.0' + gem 'jaro_winkler', '~>1.5.6' gem 'solid_assert' end diff --git a/Gemfile.lock b/Gemfile.lock index c129705..1de3253 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,7 +14,7 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) ffi (1.16.3) - jaro_winkler (1.6.0) + jaro_winkler (1.5.6) method_source (1.0.0) parallel (1.22.1) parser (3.1.2.0) @@ -61,6 +61,7 @@ PLATFORMS ruby DEPENDENCIES + jaro_winkler (~> 1.5.6) mux_ruby! pry-byebug rake (~> 13.0.1) From defd297c06cbff1385b73bb4b22bf6d1e4cdb05a Mon Sep 17 00:00:00 2001 From: Justin Sanford Date: Wed, 28 Aug 2024 16:12:17 -0700 Subject: [PATCH 6/6] undo tool-versions change --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index 430e29d..ed87620 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -ruby 3.2.0 +ruby 2.7.6 java zulu-16.32.15 nodejs 16.5.0 yarn 1.22.10