Skip to content

Commit bfc59cd

Browse files
committed
Bump version to 3.0.0
1 parent 222a018 commit bfc59cd

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ endif()
2626

2727
project(
2828
asio-grpc
29-
VERSION 2.9.3
29+
VERSION 3.0.0
3030
DESCRIPTION "Asynchronous gRPC with Asio/unified executors"
3131
HOMEPAGE_URL "https://github.com/Tradias/asio-grpc"
3232
LANGUAGES CXX)

cmake/AsioGrpcProtobufGenerator.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ In the same directory that called `find_package(asio-grpc)` the following CMake
1919
It can be used to generate Protobuf/gRPC source files from `.proto` schemas.<br>
2020
2121
If you are using [cmake-format](https://github.com/cheshirekow/cmake_format) then you can copy the `asio_grpc_protobuf_generate` section from
22-
[cmake-format.yaml](https://github.com/Tradias/asio-grpc/blob/v2.9.3/cmake-format.yaml#L2-L14) to get proper formatting.
22+
[cmake-format.yaml](https://github.com/Tradias/asio-grpc/blob/v3.0.0/cmake-format.yaml#L2-L14) to get proper formatting.
2323
2424
```cmake
2525
asio_grpc_protobuf_generate(PROTOS <proto_file1> [<proto_file2>...]

sonar-project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sonar.host.url=https://sonarcloud.io
55

66
# This is the name and version displayed in the SonarCloud UI.
77
sonar.projectName=asio-grpc
8-
sonar.projectVersion=2.9.3
8+
sonar.projectVersion=3.0.0
99

1010
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
1111
sonar.sources=src

src/agrpc/health_check_service.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class HealthCheckService final : public grpc::HealthCheckServiceInterface
9999
* @brief Add a HealthCheckService to a `grpc::Server`
100100
*
101101
* Must be called before `grpc::ServerBuilder.BuildAndStart()` and the service must be started using
102-
* `agrpc::start_health_check_service` after BuildAndStart. May only be called once for a given ServerBuilder.
102+
* `agrpc::start_health_check_service` afterwards. May only be called once for a given ServerBuilder.
103103
*
104104
* Example:
105105
*
@@ -114,8 +114,8 @@ grpc::ServerBuilder& add_health_check_service(grpc::ServerBuilder& builder);
114114
/**
115115
* @brief Start a previously added HealthCheckService
116116
*
117-
* Must be called before `grpc::ServerBuilder.BuildAndStart()` and the service must be started using
118-
* `agrpc::start_health_check_service` after BuildAndStart. May only be called once for a given ServerBuilder.
117+
* Must be called after `grpc::ServerBuilder.BuildAndStart(). The service must have been added using
118+
* `agrpc::add_health_check_service()`. May only be called once for a given HealthCheckService.
119119
*
120120
* Does not contribute to the work tracking of the GrpcContext. May not be called concurrently with
121121
* `GrpcContext::run/poll`.

test/src/test_server_rpc_20.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ TEST_CASE_TEMPLATE("Awaitable ServerRPC/ClientRPC server streaming no finish cau
337337
{
338338
auto rpc = test.create_rpc();
339339
test.start_rpc(rpc, request, response, yield);
340-
CHECK(rpc.read(response, yield));
340+
rpc.read(response, yield);
341341
CHECK_EQ(grpc::StatusCode::CANCELLED, rpc.finish(yield).error_code());
342342
});
343343
}

0 commit comments

Comments
 (0)