Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update http gem dependency to 4.4.1 #33

Merged
merged 1 commit into from
Mar 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ibm_cloud_sdk_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
spec.add_runtime_dependency "http", "~> 4.1.0"
spec.add_runtime_dependency "http", "~> 4.4.0"
spec.add_runtime_dependency "jwt", "~> 2.2.1"

spec.add_development_dependency "bundler", "~> 1.6"
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_base_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_set_credentials_from_path_invalid_auth_type_value
headers: {
"Connection" => "close",
"Host" => "iam.cloud.ibm.com",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down
4 changes: 2 additions & 2 deletions test/unit/test_cp4d_authenticator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_cp4d_authenticator
"Authorization" => "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
"Connection" => "close",
"Host" => "icp.com",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down Expand Up @@ -77,7 +77,7 @@ def test_cp4d_authenticator_authenticate
"Authorization" => "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
"Connection" => "close",
"Host" => "icp.com",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down
8 changes: 4 additions & 4 deletions test/unit/test_iam_authenticator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_iam_authenticator
headers: {
"Connection" => "close",
"Host" => "iam.cloud.ibm.com",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down Expand Up @@ -83,7 +83,7 @@ def test_iam_authenticator_client_id_client_secret
"Connection" => "close",
"Authorization" => "Basic Yng6Yng=",
"Host" => "iam.cloud.ibm.com",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down Expand Up @@ -126,7 +126,7 @@ def test_cp4d_authenticator_authenticate
headers: {
"Connection" => "close",
"Host" => "iam.cloud.ibm.com",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down Expand Up @@ -173,7 +173,7 @@ def test_iam_authenticator_auth_url
headers: {
"Connection" => "close",
"Host" => "my.link",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_jwt_token_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test_cp4d_disable_ssl
"Authorization" => "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
"Connection" => "close",
"Host" => "icp.com",
"User-Agent" => "http.rb/4.1.1"
"User-Agent" => "http.rb/4.4.1"
}
)
.to_return(status: 200, body: response.to_json, headers: {})
Expand Down