Use http_max_redirects opt to replace monkeypatch
http_max_redirects was introduced in 4.2.2, so upgrade kubeclient. The monkey-patch was global so we will have to check that all instances of Kubeclient::Client are handled. Spec all methods of KubeClient This should provide better confidence that we are indeed disallowing redirection in all cases
Showing
... | @@ -224,7 +224,7 @@ gem 'asana', '~> 0.8.1' | ... | @@ -224,7 +224,7 @@ gem 'asana', '~> 0.8.1' |
gem 'ruby-fogbugz', '~> 0.2.1' | gem 'ruby-fogbugz', '~> 0.2.1' | ||
# Kubernetes integration | # Kubernetes integration | ||
gem 'kubeclient', '~> 4.0.0' | gem 'kubeclient', '~> 4.2.2' | ||
# Sanitize user input | # Sanitize user input | ||
gem 'sanitize', '~> 4.6' | gem 'sanitize', '~> 4.6' | ||
... | ... |
Please register or sign in to comment