Skip to content

Commit

Permalink
Merge pull request #4 from NullIsOne/bugfix/safe_unwrap
Browse files Browse the repository at this point in the history
Bugfix/safe unwrap
  • Loading branch information
kshvakov authored Mar 28, 2023
2 parents 0a337dc + ad0d6d0 commit 5f5f524
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
KinescopeSDK: 0e32c16a8005fc08901dac4ba2c0da820b6fe497
KinescopeSDK: cf9a88913bab22ef14c732ece567993863b4ba00
Kingfisher: e71c6fac2aebb1262888cabc2cb13d313362a48f
ReactiveDataDisplayManager: 0ff30e94f5c9785e4f366ca5e09bef00eb6a8ba8
SwiftProtobuf: 4e16842b83c6fda06b10fac50d73b3f1fce8ab7b

PODFILE CHECKSUM: 16301e56b578a66ff683d6aae023c456365e17e9

COCOAPODS: 1.10.1
COCOAPODS: 1.10.2
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ git_source(:github) do |repo_name|
"https://github.com/#{repo_name}.git"
end if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('2')

gem 'cocoapods', "1.7.3"
gem 'cocoapods', "1.10.1"
gem 'danger'
gem 'danger-the_coding_love'
gem 'danger-swiftlint'
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ fileprivate extension KinescopeVideoQuality {
}

func makeExactItem(from asset: KinescopeVideoAsset) -> AVPlayerItem? {
guard let url = URL(string: asset.url) else {
guard let urlString = asset.url,
let url = URL(string: urlString) else {
return nil
}

Expand All @@ -47,8 +48,8 @@ fileprivate extension KinescopeVideoQuality {

func makeExactItem(from asset: KinescopeVideoAsset,
subtitles: KinescopeVideoSubtitle) -> AVPlayerItem? {
guard
let url = URL(string: asset.url)
guard let urlString = asset.url,
let url = URL(string: urlString)
else {
return nil
}
Expand Down
4 changes: 2 additions & 2 deletions Sources/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ DEPENDENCIES:
- SwiftProtobuf (~> 1.0)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
https://github.com/CocoaPods/Specs.git:
- SwiftProtobuf

SPEC CHECKSUMS:
SwiftProtobuf: 4e16842b83c6fda06b10fac50d73b3f1fce8ab7b

PODFILE CHECKSUM: c2dda49b4bff3b9bc41ca4197753ace3179f31af

COCOAPODS: 1.7.3
COCOAPODS: 1.10.1

0 comments on commit 5f5f524

Please sign in to comment.