Browse Source

Updates following review from @rebello95.

Tim Burks 7 years ago
parent
commit
36ea2c6a2d

+ 1 - 1
Sources/SwiftGRPC/Core/CompletionQueue.swift

@@ -49,7 +49,7 @@ struct CompletionQueueEvent {
   init(_ event: grpc_event) {
     type = CompletionType.completionType(event.type)
     success = event.success
-    tag = Int(bitPattern:cgrpc_event_tag(event))
+    tag = Int(bitPattern: cgrpc_event_tag(event))
   }
 }
 

+ 1 - 1
Sources/SwiftGRPC/Core/Handler.swift

@@ -81,7 +81,7 @@ public class Handler {
   /// Fills the handler properties with information about the received request
   ///
   func requestCall(tag: Int) throws {
-    let error = cgrpc_handler_request_call(underlyingHandler, requestMetadata.underlyingArray, UnsafeMutableRawPointer(bitPattern:tag))
+    let error = cgrpc_handler_request_call(underlyingHandler, requestMetadata.underlyingArray, UnsafeMutableRawPointer(bitPattern: tag))
     if error != GRPC_CALL_OK {
       throw CallError.callError(grpcCallError: error)
     }

+ 2 - 2
SwiftGRPC.podspec

@@ -11,7 +11,7 @@
 
 Pod::Spec.new do |s|
   s.name = 'SwiftGRPC'
-  s.version = '0.4.1'
+  s.version = '0.4.2'
   s.license     = { :type => 'Apache License, Version 2.0',
                     :text => <<-LICENSE
                       Copyright 2018, gRPC Authors. All rights reserved.
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
                   }
 
   s.summary = 'Swift gRPC code generator plugin and runtime library'
-  s.homepage = 'http://www.grpc.io'
+  s.homepage = 'https://www.grpc.io'
   s.authors  = { 'The gRPC contributors' => 'grpc-packages@google.com' }
   s.source = { :git => 'https://github.com/grpc/grpc-swift.git', :tag => s.version }