Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-15 02:23:31 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-15 02:23:31 +0300
commitf4f9184a01bc7442411bbcffd9b6a86784fa5f53 (patch)
tree0d841ce4a6ccedc06035d90d32a31c017d443d2b /lib
parentdf973df8c536fb9ffe0a9ed4e92f7d9144eb687a (diff)
Rename JWT to JSONWebToken
Diffstat (limited to 'lib')
-rw-r--r--lib/json_web_token/rsa_token.rb (renamed from lib/jwt/rsa_token.rb)2
-rw-r--r--lib/json_web_token/token.rb (renamed from lib/jwt/token.rb)2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/jwt/rsa_token.rb b/lib/json_web_token/rsa_token.rb
index d7df9269e1e..d6d6af7089c 100644
--- a/lib/jwt/rsa_token.rb
+++ b/lib/json_web_token/rsa_token.rb
@@ -1,4 +1,4 @@
-module JWT
+module JSONWebToken
class RSAToken < Token
attr_reader :key_file
diff --git a/lib/jwt/token.rb b/lib/json_web_token/token.rb
index f13abf2b71f..5b67715b0b2 100644
--- a/lib/jwt/token.rb
+++ b/lib/json_web_token/token.rb
@@ -1,4 +1,4 @@
-module JWT
+module JSONWebToken
class Token
attr_accessor :issuer, :subject, :audience, :id
attr_accessor :issued_at, :not_before, :expire_time