Skip to content

Commit 36ea2c6

Browse files
committed
Updates following review from @rebello95.
1 parent d9ab674 commit 36ea2c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Sources/SwiftGRPC/Core/CompletionQueue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct CompletionQueueEvent {
4949
init(_ event: grpc_event) {
5050
type = CompletionType.completionType(event.type)
5151
success = event.success
52-
tag = Int(bitPattern:cgrpc_event_tag(event))
52+
tag = Int(bitPattern: cgrpc_event_tag(event))
5353
}
5454
}
5555

Sources/SwiftGRPC/Core/Handler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class Handler {
8181
/// Fills the handler properties with information about the received request
8282
///
8383
func requestCall(tag: Int) throws {
84-
let error = cgrpc_handler_request_call(underlyingHandler, requestMetadata.underlyingArray, UnsafeMutableRawPointer(bitPattern:tag))
84+
let error = cgrpc_handler_request_call(underlyingHandler, requestMetadata.underlyingArray, UnsafeMutableRawPointer(bitPattern: tag))
8585
if error != GRPC_CALL_OK {
8686
throw CallError.callError(grpcCallError: error)
8787
}

SwiftGRPC.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
Pod::Spec.new do |s|
1313
s.name = 'SwiftGRPC'
14-
s.version = '0.4.1'
14+
s.version = '0.4.2'
1515
s.license = { :type => 'Apache License, Version 2.0',
1616
:text => <<-LICENSE
1717
Copyright 2018, gRPC Authors. All rights reserved.
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
2828
}
2929

3030
s.summary = 'Swift gRPC code generator plugin and runtime library'
31-
s.homepage = 'http://www.grpc.io'
31+
s.homepage = 'https://www.grpc.io'
3232
s.authors = { 'The gRPC contributors' => '[email protected]' }
3333
s.source = { :git => 'https://github.com/grpc/grpc-swift.git', :tag => s.version }
3434

0 commit comments

Comments
 (0)