From a8ae5d6e86fbdef1403e2e6d0b915a2f25d5b831 Mon Sep 17 00:00:00 2001 From: Chedli Bourguiba Date: Mon, 18 Nov 2024 00:39:52 +0100 Subject: [PATCH 1/5] Fix frozen string literal issue To prepare for ruby 3.4.0 and making strings frozen by default, we add `+` operator to make the string mutable --- lib/ruby_http_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ruby_http_client.rb b/lib/ruby_http_client.rb index 495f498..4b5517c 100644 --- a/lib/ruby_http_client.rb +++ b/lib/ruby_http_client.rb @@ -184,7 +184,7 @@ def build_args(args) # - The final url string # def build_url(query_params: nil) - url = [add_version(''), *@url_path].join('/') + url = [add_version(+''), *@url_path].join('/') url = build_query_params(url, query_params) if query_params URI.parse("#{@host}#{url}") end From 7689f4750376385a86163af1d5e6715f3599fca1 Mon Sep 17 00:00:00 2001 From: Manisha Singh Date: Mon, 10 Nov 2025 09:23:25 +0530 Subject: [PATCH 2/5] Add empty line for code readability --- lib/ruby_http_client.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ruby_http_client.rb b/lib/ruby_http_client.rb index 4b5517c..87f8d7b 100644 --- a/lib/ruby_http_client.rb +++ b/lib/ruby_http_client.rb @@ -335,3 +335,4 @@ def content_type_json? # rubocop:enable Style/MissingRespondToMissing end end + From b12f495103bf79292ffedcaaba48aa6c84e9977f Mon Sep 17 00:00:00 2001 From: Shubham Date: Fri, 14 Nov 2025 11:36:33 +0530 Subject: [PATCH 3/5] Remove extra newline at end of ruby_http_client.rb --- lib/ruby_http_client.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ruby_http_client.rb b/lib/ruby_http_client.rb index 87f8d7b..4b5517c 100644 --- a/lib/ruby_http_client.rb +++ b/lib/ruby_http_client.rb @@ -335,4 +335,3 @@ def content_type_json? # rubocop:enable Style/MissingRespondToMissing end end - From d897823942fa22a53379d7242f3832e6b8bf325f Mon Sep 17 00:00:00 2001 From: Manisha Singh Date: Fri, 14 Nov 2025 15:22:22 +0530 Subject: [PATCH 4/5] Fix YAML syntax for Ruby version matrix --- .github/workflows/test-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 22416e3..05c62cb 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', 'jruby-9.2' ] + ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1' ] steps: - name: Checkout ruby-http-client uses: actions/checkout@v2 From 2434846eb40b529ec31e17f1abeb4ed05f3c1107 Mon Sep 17 00:00:00 2001 From: Manisha Singh Date: Fri, 14 Nov 2025 16:56:42 +0530 Subject: [PATCH 5/5] Update copyright year in LICENSE file --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 3154774..126ceb1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (C) 2023, Twilio SendGrid, Inc. +Copyright (C) 2025, Twilio SendGrid, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in