Skip to content

Commit 3b94f63

Browse files
authored
Merge pull request #33 from MosesMendoza/fix/main/http_gem_update
fix: update http gem dependency to 4.4.1
2 parents 2184cb1 + b0d898f commit 3b94f63

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

ibm_cloud_sdk_core.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
3333
spec.require_paths = ["lib"]
3434

3535
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
36-
spec.add_runtime_dependency "http", "~> 4.1.0"
36+
spec.add_runtime_dependency "http", "~> 4.4.0"
3737
spec.add_runtime_dependency "jwt", "~> 2.2.1"
3838

3939
spec.add_development_dependency "bundler", "~> 1.6"

test/unit/test_base_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_set_credentials_from_path_invalid_auth_type_value
113113
headers: {
114114
"Connection" => "close",
115115
"Host" => "iam.cloud.ibm.com",
116-
"User-Agent" => "http.rb/4.1.1"
116+
"User-Agent" => "http.rb/4.4.1"
117117
}
118118
)
119119
.to_return(status: 200, body: response.to_json, headers: {})

test/unit/test_cp4d_authenticator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_cp4d_authenticator
3737
"Authorization" => "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
3838
"Connection" => "close",
3939
"Host" => "icp.com",
40-
"User-Agent" => "http.rb/4.1.1"
40+
"User-Agent" => "http.rb/4.4.1"
4141
}
4242
)
4343
.to_return(status: 200, body: response.to_json, headers: {})
@@ -77,7 +77,7 @@ def test_cp4d_authenticator_authenticate
7777
"Authorization" => "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
7878
"Connection" => "close",
7979
"Host" => "icp.com",
80-
"User-Agent" => "http.rb/4.1.1"
80+
"User-Agent" => "http.rb/4.4.1"
8181
}
8282
)
8383
.to_return(status: 200, body: response.to_json, headers: {})

test/unit/test_iam_authenticator.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_iam_authenticator
4141
headers: {
4242
"Connection" => "close",
4343
"Host" => "iam.cloud.ibm.com",
44-
"User-Agent" => "http.rb/4.1.1"
44+
"User-Agent" => "http.rb/4.4.1"
4545
}
4646
)
4747
.to_return(status: 200, body: response.to_json, headers: {})
@@ -83,7 +83,7 @@ def test_iam_authenticator_client_id_client_secret
8383
"Connection" => "close",
8484
"Authorization" => "Basic Yng6Yng=",
8585
"Host" => "iam.cloud.ibm.com",
86-
"User-Agent" => "http.rb/4.1.1"
86+
"User-Agent" => "http.rb/4.4.1"
8787
}
8888
)
8989
.to_return(status: 200, body: response.to_json, headers: {})
@@ -126,7 +126,7 @@ def test_cp4d_authenticator_authenticate
126126
headers: {
127127
"Connection" => "close",
128128
"Host" => "iam.cloud.ibm.com",
129-
"User-Agent" => "http.rb/4.1.1"
129+
"User-Agent" => "http.rb/4.4.1"
130130
}
131131
)
132132
.to_return(status: 200, body: response.to_json, headers: {})
@@ -173,7 +173,7 @@ def test_iam_authenticator_auth_url
173173
headers: {
174174
"Connection" => "close",
175175
"Host" => "my.link",
176-
"User-Agent" => "http.rb/4.1.1"
176+
"User-Agent" => "http.rb/4.4.1"
177177
}
178178
)
179179
.to_return(status: 200, body: response.to_json, headers: {})

test/unit/test_jwt_token_manager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def test_cp4d_disable_ssl
114114
"Authorization" => "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
115115
"Connection" => "close",
116116
"Host" => "icp.com",
117-
"User-Agent" => "http.rb/4.1.1"
117+
"User-Agent" => "http.rb/4.4.1"
118118
}
119119
)
120120
.to_return(status: 200, body: response.to_json, headers: {})

0 commit comments

Comments
 (0)