summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-21 21:02:39 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-21 21:02:39 -0600
commit01eff97bd1a2d2e23e6b894f4b19a57ba6b5d10d (patch)
tree2df9c0f1b9654d7593becffb68db96eee9d54829
parent9a52e25a326c75112fd392e3ea4b5f211527f511 (diff)
Añade gema jwt
-rw-r--r--Gemfile3
-rw-r--r--Gemfile.lock2
2 files changed, 5 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index d6f8c10..6a1e8d1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -44,6 +44,9 @@ gem 'jsonapi-serializer'
# Secure password requirement.
gem 'bcrypt', '~> 3.1.7'
+# Json web tokens.
+gem 'jwt'
+
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 61b6ca6..d74595c 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -82,6 +82,7 @@ GEM
concurrent-ruby (~> 1.0)
jsonapi-serializer (2.2.0)
activesupport (>= 4.2)
+ jwt (2.7.0)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
@@ -179,6 +180,7 @@ DEPENDENCIES
bootsnap
debug
jsonapi-serializer
+ jwt
mysql2
puma (~> 5.0)
rack-cors