devise_token_auth 0.1.26.beta2 → 0.1.26.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01b5a76a6ccf3c408f38d04bd36bd7ee77a9fb6d
4
- data.tar.gz: b59447b9d66b136fa3a57bd619cc8a4b892a4aa5
3
+ metadata.gz: 2f921b4b4c1364bc4cd7736bc1b4f2ccc76abf5f
4
+ data.tar.gz: 1591515783157cd712c11c8e961b13ba25e22794
5
5
  SHA512:
6
- metadata.gz: ccaa34d27cfc62dffbc94e4fc36c84ee8870a4ae4ed90c9b60f4295bc103e9b6b5f127d099d2cfe2a26654fd4eb910050b785686c6580f4c5045cd56e27afc5a
7
- data.tar.gz: 8eaec15a5224f6022d82f82d959a8a0332e821c8b4855a5e08755e2e0c7bb7121f19e2bd0e6ab29f9bb41b2e0b72ac9eb56efc8393af071217a9b1d13ed568b8
6
+ metadata.gz: d28b154c5213fb94ce72150a7012598912d9dcbc814561b65dfdd4813cc2ee2f5bf5ded3ed146d693e3265a60a2001aa9cd344f592296a8655a812e2fbf5616a
7
+ data.tar.gz: 5a109445f18bea13ef548e9854d194081e4e964b204a94b97f558eaa11d0ba48de7683a43978f0a449baa042ac423b96ca8c649e868ca9ef6f1dfc34172a8b32
@@ -8,7 +8,9 @@ module DeviseTokenAuth
8
8
  if @user
9
9
  render json: {
10
10
  success: true,
11
- data: @user.as_json
11
+ data: @user.as_json(except: [
12
+ :tokens, :confirm_success_url, :reset_password_redirect_url, :created_at, :updated_at
13
+ ])
12
14
  }
13
15
  else
14
16
  render json: {
@@ -20,7 +20,9 @@ module DeviseTokenAuth
20
20
  @user.save
21
21
 
22
22
  render json: {
23
- data: @user.as_json(except: :tokens)
23
+ data: @user.as_json(except: [
24
+ :tokens, :confirm_success_url, :reset_password_redirect_url, :created_at, :updated_at
25
+ ])
24
26
  }
25
27
 
26
28
  elsif @user and not @user.confirmed?
@@ -1,3 +1,3 @@
1
1
  module DeviseTokenAuth
2
- VERSION = "0.1.26.beta2"
2
+ VERSION = "0.1.26.beta3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_token_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26.beta2
4
+ version: 0.1.26.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley