From 9d6d5fe3d27e9a54533c4c36173403cfaccbea9e Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 7 Mar 2019 23:07:09 +0200 Subject: [PATCH] Bump httparty to version 1.16.4 Signed-off-by: Dmitriy Zaporozhets --- Gemfile | 2 +- Gemfile.lock | 6 +++--- lib/sentry/client.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 3d618743487490..900311a22ea3e6 100644 --- a/Gemfile +++ b/Gemfile @@ -180,7 +180,7 @@ gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch' gem 'fugit', '~> 1.1' # HTTP requests -gem 'httparty', '~> 0.13.3' +gem 'httparty', '~> 0.16.4' # Colored output to console gem 'rainbow', '~> 3.0' diff --git a/Gemfile.lock b/Gemfile.lock index f2951453b65ae9..b9846e1c010993 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -406,8 +406,8 @@ GEM domain_name (~> 0.5) http-form_data (2.1.1) http_parser.rb (0.6.0) - httparty (0.13.7) - json (~> 1.8) + httparty (0.16.4) + mime-types (~> 3.0) multi_xml (>= 0.5.2) httpclient (2.8.3) i18n (1.2.0) @@ -1077,7 +1077,7 @@ DEPENDENCIES health_check (~> 2.6.0) html-pipeline (~> 2.8) html2text - httparty (~> 0.13.3) + httparty (~> 0.16.4) icalendar influxdb (~> 0.2) jaeger-client (~> 0.10.0) diff --git a/lib/sentry/client.rb b/lib/sentry/client.rb index 49ec196b103e4a..5e0c9101de54f0 100644 --- a/lib/sentry/client.rb +++ b/lib/sentry/client.rb @@ -57,7 +57,7 @@ def handle_response(response) raise Client::Error, "Sentry response status code: #{response.code}" end - response.as_json + response end def projects_api_url -- GitLab