summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile3
-rw-r--r--Gemfile.lock3
2 files changed, 6 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index f3bea13..ecaa713 100644
--- a/Gemfile
+++ b/Gemfile
@@ -38,6 +38,9 @@ gem 'bootsnap', require: false
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
# gem "rack-cors"
+# JSON serializer.
+gem 'jsonapi-serializer'
+
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem 'debug', platforms: %i[mri mingw x64_mingw]
diff --git a/Gemfile.lock b/Gemfile.lock
index 6a2b2b4..ad99571 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -79,6 +79,8 @@ GEM
activesupport (>= 5.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
+ jsonapi-serializer (2.2.0)
+ activesupport (>= 4.2)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
@@ -170,6 +172,7 @@ PLATFORMS
DEPENDENCIES
bootsnap
debug
+ jsonapi-serializer
mysql2
puma (~> 5.0)
rails (~> 7.0.4, >= 7.0.4.2)