From fbeb247d936b35142934a956f49eca9406f96ef3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 6 Mar 2023 15:46:28 +0900 Subject: [PATCH] Test building packages Also revert commit d22ca54904deb1df295785d91a97390baa8a1875 "Replaced non-ascii charactor. It fails version detection at `net-http.gemspec`." --- .github/workflows/test.yml | 4 ++++ lib/net/http.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa837317..4c49d1f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,3 +20,7 @@ jobs: run: bundle install - name: Run test run: rake test + - name: Build + run: rake build + env: + LANG: C diff --git a/lib/net/http.rb b/lib/net/http.rb index 9e4f9e84..639cb737 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -656,7 +656,7 @@ class HTTPHeaderSyntaxError < StandardError; end # - {:min_version=}[rdoc-ref:Net::HTTP#min_version=]: # Sets the minimum SSL version. # - {#peer_cert}[rdoc-ref:Net::HTTP#peer_cert]: - # Returns the X509 certificate chain for the session's socket peer. + # Returns the X509 certificate chain for the session’s socket peer. # - {:ssl_version}[rdoc-ref:Net::HTTP#ssl_version]: # Returns the SSL version. # - {:ssl_version=}[rdoc-ref:Net::HTTP#ssl_version=]: