From dd17cb0e9f727c7c1eeaafb38f758385a36fd367 Mon Sep 17 00:00:00 2001 From: Salim Semaoune Date: Thu, 27 Oct 2022 15:12:51 +0200 Subject: [PATCH 1/4] Add source_code_url in gemspec This is the field used by rubygems.org to point at the repository. Right now as it's missing, the link goes to the homepage instead of the repo. --- opentok.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/opentok.gemspec b/opentok.gemspec index 6937263..5e56a97 100644 --- a/opentok.gemspec +++ b/opentok.gemspec @@ -10,6 +10,7 @@ Gem::Specification.new do |spec| spec.description = %q{OpenTok is an API from TokBox that enables websites to weave live group video communication into their online experience. With OpenTok you have the freedom and flexibility to create the most engaging web experience for your users. This gem lets you generate sessions and tokens for OpenTok applications. It also includes support for working with OpenTok 2.0 archives. See for more details.} # TODO: this homepage isn't set up just yet spec.homepage = "https://opentok.github.io/opentok-ruby-sdk" + spec.metadata = { "source_code_uri" => "https://github.com/opentok/OpenTok-Ruby-SDK" } spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0") From 2db0899d53df182ec6ae4d986772a04e956d4ea9 Mon Sep 17 00:00:00 2001 From: Salim Semaoune Date: Thu, 27 Oct 2022 15:16:25 +0200 Subject: [PATCH 2/4] Fix uninitialized constant OpenTok::OpenTok::Renders This PR fixes this problem: `lib/opentok/opentok.rb:197:in `renders': uninitialized constant OpenTok::OpenTok::Renders (NameError)` The Renders class is never loaded, so we can't use this API as it's described in the README. I just added the missing require statement to make it work --- lib/opentok/opentok.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/opentok/opentok.rb b/lib/opentok/opentok.rb index 4e9015c..5fe26ed 100644 --- a/lib/opentok/opentok.rb +++ b/lib/opentok/opentok.rb @@ -11,6 +11,7 @@ require "opentok/streams" require "opentok/signals" require "opentok/broadcasts" +require "opentok/renders" module OpenTok # Contains methods for creating OpenTok sessions and generating tokens. It also includes From 14aeb54e80a8a2aca2a0ae96576a5d47dc5802b1 Mon Sep 17 00:00:00 2001 From: superchilled Date: Fri, 28 Oct 2022 12:01:57 +0100 Subject: [PATCH 3/4] Update changelog --- CHANGES.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index cbdb19a..c13acc4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,10 @@ +# 4.5.1 + +* Fixes issue with uninitialized constant by adding missing `require` statement [#256](https://github.com/opentok/OpenTok-Ruby-SDK/pull/256) +* Fixes RubyGems info by adding repo link to gemspec [#255](https://github.com/opentok/OpenTok-Ruby-SDK/pull/255) + +Thanks to [`@sailor`](https://github.com/sailor) for the contributions! :raised_hands: + # 4.5.0 * Adds support for multiple archives and records feature [#248](https://github.com/opentok/OpenTok-Ruby-SDK/pull/248) From 9acab60e5ed8eb62c286a4c4e890efac242c478a Mon Sep 17 00:00:00 2001 From: superchilled Date: Fri, 28 Oct 2022 12:02:10 +0100 Subject: [PATCH 4/4] Bump patch version --- lib/opentok/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/opentok/version.rb b/lib/opentok/version.rb index 52e33eb..641e8e2 100644 --- a/lib/opentok/version.rb +++ b/lib/opentok/version.rb @@ -1,4 +1,4 @@ module OpenTok # @private - VERSION = '4.5.0' + VERSION = '4.5.1' end