summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-03-20 21:37:42 +0000
committerStan Hu <stanhu@gmail.com>2019-03-20 21:37:42 +0000
commit9ca395134501b57331a7a49d0c6f5ceb0fc3301d (patch)
tree017de3483697aca8b689ffc7adf361842c3f6ffc
parenta99fcc0c29031bbef191383d7d1617828e14c4d9 (diff)
parent6af99db01ba00b242e6aa3f3a262f5c98249035d (diff)
downloadgitlab-ce-9ca395134501b57331a7a49d0c6f5ceb0fc3301d.tar.gz
Merge branch 'dz-bump-httparty' into 'master'
Bump httparty to version 1.16.4 Closes #44342 See merge request gitlab-org/gitlab-ce!25893
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock6
-rw-r--r--lib/sentry/client.rb2
3 files changed, 5 insertions, 5 deletions
diff --git a/Gemfile b/Gemfile
index 1ae063d8558..d44a99b2913 100644
--- a/Gemfile
+++ b/Gemfile
@@ -170,7 +170,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 face24489f1..6943428a7d8 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -379,8 +379,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)
@@ -1040,7 +1040,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 49ec196b103..5e0c9101de5 100644
--- a/lib/sentry/client.rb
+++ b/lib/sentry/client.rb
@@ -57,7 +57,7 @@ module Sentry
raise Client::Error, "Sentry response status code: #{response.code}"
end
- response.as_json
+ response
end
def projects_api_url