Skip to content

A platform for community discussion. Free, open, simple.

DEV: upgrade json gem and add explicit dependency

Sam Saffron9726a0e0b447
diff --git a/Gemfile b/Gemfile
index a1f8015d13b..2c0ed01915b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -28,6 +28,8 @@ else
gem 'sprockets-rails'
end
+gem 'json'
+
# TODO: At the moment Discourse does not work with Sprockets 4, we would need to correct internals
# This is a desired upgrade we should get to.
gem 'sprockets', '3.7.2'
diff --git a/Gemfile.lock b/Gemfile.lock
index 87f3b6d817b..0ce536ba025 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -157,6 +157,7 @@ GEM
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
+ json (2.3.0)
jwt (2.2.1)
kgio (2.11.3)
libv8 (7.3.492.27.1)
@@ -467,6 +468,7 @@ DEPENDENCIES
highline (~> 1.7.0)
htmlentities
http_accept_language
+ json
listen
lograge
logstash-event