summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-20 20:02:25 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-20 20:02:25 -0600
commita7a0544156a6299f1933c234f172b6b768b06cad (patch)
tree704770c1f11b5e42f903c26752c571fa6572f986
parent844d7c974b442b0dd6a504212f50cecc414dce0e (diff)
Añade jsonapi-serializer
-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)