-
nagachika authored
merge revision(s) 8d04260a,2fbd8dca,4165ec91,4d21134f,70da92cd,ea321a65,ae68a8df,af67ced3,e77c766b: [ruby/net-http] turn on frozen strings for net/http/header https://github.com/ruby/net-http/commit/a5203c9f92 --- lib/net/http/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ruby/net-http] turn on frozen strings for net/http/generic_request https://github.com/ruby/net-http/commit/b92ade088d --- lib/net/http/generic_request.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) [ruby/net-http] update net/http/response to be frozen string literal https://github.com/ruby/net-http/commit/dc3b4a75ca --- lib/net/http/response.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) [ruby/net-http] freeze rest of lib https://github.com/ruby/net-http/commit/455a74734a --- lib/net/http.rb | 2 +- lib/net/http/backward.rb | 2 +- lib/net/http/exceptions.rb | 2 +- lib/net/http/proxy_delta.rb | 2 +- lib/net/http/request.rb | 2 +- lib/net/http/requests.rb | 2 +- lib/net/https.rb | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) [ruby/net-http] Fix on 2.7 https://github.com/ruby/net-http/commit/5194fd541e --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ruby/net-http] use +'' everywhere https://github.com/ruby/net-http/commit/1077427152 --- lib/net/http/generic_request.rb | 4 ++-- lib/net/http/response.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) [ruby/net-http] Update lib/net/http/response.rb @natematykiewicz's suggestion to avoid a string allocation https://github.com/ruby/net-http/commit/925630f227 Co-authored-by:
Nate Matykiewicz <natematykiewicz@gmail.com> --- lib/net/http/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ruby/net-http] Update lib/net/http.rb @natematykiewicz's suggestion to avoid another string allocation https://github.com/ruby/net-http/commit/4a22c42338 Co-authored-by:
Nate Matykiewicz <natematykiewicz@gmail.com> --- lib/net/http.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) [ruby/net-http] No longer neccessary to call `String#freeze` on string literals. See #144 https://github.com/ruby/net-http/commit/5a986c13d3 --- lib/net/http.rb | 2 +- lib/net/http/generic_request.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
nagachika authoredmerge revision(s) 8d04260a,2fbd8dca,4165ec91,4d21134f,70da92cd,ea321a65,ae68a8df,af67ced3,e77c766b: [ruby/net-http] turn on frozen strings for net/http/header https://github.com/ruby/net-http/commit/a5203c9f92 --- lib/net/http/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ruby/net-http] turn on frozen strings for net/http/generic_request https://github.com/ruby/net-http/commit/b92ade088d --- lib/net/http/generic_request.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) [ruby/net-http] update net/http/response to be frozen string literal https://github.com/ruby/net-http/commit/dc3b4a75ca --- lib/net/http/response.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) [ruby/net-http] freeze rest of lib https://github.com/ruby/net-http/commit/455a74734a --- lib/net/http.rb | 2 +- lib/net/http/backward.rb | 2 +- lib/net/http/exceptions.rb | 2 +- lib/net/http/proxy_delta.rb | 2 +- lib/net/http/request.rb | 2 +- lib/net/http/requests.rb | 2 +- lib/net/https.rb | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) [ruby/net-http] Fix on 2.7 https://github.com/ruby/net-http/commit/5194fd541e --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ruby/net-http] use +'' everywhere https://github.com/ruby/net-http/commit/1077427152 --- lib/net/http/generic_request.rb | 4 ++-- lib/net/http/response.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) [ruby/net-http] Update lib/net/http/response.rb @natematykiewicz's suggestion to avoid a string allocation https://github.com/ruby/net-http/commit/925630f227 Co-authored-by:
Nate Matykiewicz <natematykiewicz@gmail.com> --- lib/net/http/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ruby/net-http] Update lib/net/http.rb @natematykiewicz's suggestion to avoid another string allocation https://github.com/ruby/net-http/commit/4a22c42338 Co-authored-by:
Nate Matykiewicz <natematykiewicz@gmail.com> --- lib/net/http.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) [ruby/net-http] No longer neccessary to call `String#freeze` on string literals. See #144 https://github.com/ruby/net-http/commit/5a986c13d3 --- lib/net/http.rb | 2 +- lib/net/http/generic_request.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
Loading