Skip to content

Commit

Permalink
Bump version to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tradias committed Feb 14, 2024
1 parent 222a018 commit bfc59cd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ endif()

project(
asio-grpc
VERSION 2.9.3
VERSION 3.0.0
DESCRIPTION "Asynchronous gRPC with Asio/unified executors"
HOMEPAGE_URL "https://github.com/Tradias/asio-grpc"
LANGUAGES CXX)
Expand Down
2 changes: 1 addition & 1 deletion cmake/AsioGrpcProtobufGenerator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In the same directory that called `find_package(asio-grpc)` the following CMake
It can be used to generate Protobuf/gRPC source files from `.proto` schemas.<br>
If you are using [cmake-format](https://github.com/cheshirekow/cmake_format) then you can copy the `asio_grpc_protobuf_generate` section from
[cmake-format.yaml](https://github.com/Tradias/asio-grpc/blob/v2.9.3/cmake-format.yaml#L2-L14) to get proper formatting.
[cmake-format.yaml](https://github.com/Tradias/asio-grpc/blob/v3.0.0/cmake-format.yaml#L2-L14) to get proper formatting.
```cmake
asio_grpc_protobuf_generate(PROTOS <proto_file1> [<proto_file2>...]
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sonar.host.url=https://sonarcloud.io

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

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=src
Expand Down
6 changes: 3 additions & 3 deletions src/agrpc/health_check_service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class HealthCheckService final : public grpc::HealthCheckServiceInterface
* @brief Add a HealthCheckService to a `grpc::Server`
*
* Must be called before `grpc::ServerBuilder.BuildAndStart()` and the service must be started using
* `agrpc::start_health_check_service` after BuildAndStart. May only be called once for a given ServerBuilder.
* `agrpc::start_health_check_service` afterwards. May only be called once for a given ServerBuilder.
*
* Example:
*
Expand All @@ -114,8 +114,8 @@ grpc::ServerBuilder& add_health_check_service(grpc::ServerBuilder& builder);
/**
* @brief Start a previously added HealthCheckService
*
* Must be called before `grpc::ServerBuilder.BuildAndStart()` and the service must be started using
* `agrpc::start_health_check_service` after BuildAndStart. May only be called once for a given ServerBuilder.
* Must be called after `grpc::ServerBuilder.BuildAndStart(). The service must have been added using
* `agrpc::add_health_check_service()`. May only be called once for a given HealthCheckService.
*
* Does not contribute to the work tracking of the GrpcContext. May not be called concurrently with
* `GrpcContext::run/poll`.
Expand Down
2 changes: 1 addition & 1 deletion test/src/test_server_rpc_20.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ TEST_CASE_TEMPLATE("Awaitable ServerRPC/ClientRPC server streaming no finish cau
{
auto rpc = test.create_rpc();
test.start_rpc(rpc, request, response, yield);
CHECK(rpc.read(response, yield));
rpc.read(response, yield);
CHECK_EQ(grpc::StatusCode::CANCELLED, rpc.finish(yield).error_code());
});
}
Expand Down

0 comments on commit bfc59cd

Please sign in to comment.