graphql_devise 0.13.1 → 0.13.2

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
  SHA256:
3
- metadata.gz: 543ed51aaeb46699f17efb47cb13909ebfcd98ee0b97d27207fa0423199d72d2
4
- data.tar.gz: 393496018363cadce3251a7ac4b3b9b0c74f8830fd72414fd97d47453406df2a
3
+ metadata.gz: f3d25f0672c378bfd003351aa997e61fdfce123ed3b391ed5bddce60c86c4f28
4
+ data.tar.gz: 0052cc77751cf44d704cfc8c7f462c5ee1aed58c91ad7ba1e80068b085149f88
5
5
  SHA512:
6
- metadata.gz: c085a18386d7d2ae725140a1c4a089cebcae117485395145dbc24106fc28a97a6d35b895bb3ae990243c936ed3253467d0a471b85bda3180844421ea85f3a3a0
7
- data.tar.gz: c8a271975c6306edbac33bacace9c00db6286eb988f015cec36007be0d860f6f92b3b9b8c65d5d7b4f5d2f524c8a306815b7a9b56141b759ef53ccfbc8c9d526
6
+ metadata.gz: 3ee604289ff30fe95a1947ee63a58c05b2a05a659657253e29ed526213bea1558d6162597daf08be56a131a0c3c3100dc2affe1b821674f493d03939ad1540ee
7
+ data.tar.gz: cd6b4af9fda08c2310e6a47d3d9db8b451031bbbf05b0f214ca71a230d248d64c65cc18a92711b46676d20f047f669d5cdcb1fe6df3a42748109ff3bfae7d709
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.13.2](https://github.com/graphql-devise/graphql_devise/tree/v0.13.2) (2020-08-12)
4
+
5
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.13.1...v0.13.2)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Save resource after generating credentials in resource confirmation [\#125](https://github.com/graphql-devise/graphql_devise/pull/125) ([mcelicalderon](https://github.com/mcelicalderon))
10
+
3
11
  ## [v0.13.1](https://github.com/graphql-devise/graphql_devise/tree/v0.13.1) (2020-07-29)
4
12
 
5
13
  [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.13.0...v0.13.1)
@@ -15,13 +15,16 @@ module GraphqlDevise
15
15
  redirect_header_options = { account_confirmation_success: true }
16
16
 
17
17
  redirect_to_link = if controller.signed_in?(resource_name)
18
- resource.build_auth_url(
18
+ url = resource.build_auth_url(
19
19
  redirect_url,
20
20
  redirect_headers(
21
21
  client_and_token(resource.create_token),
22
22
  redirect_header_options
23
23
  )
24
24
  )
25
+ resource.save!
26
+
27
+ url
25
28
  else
26
29
  DeviseTokenAuth::Url.generate(redirect_url, redirect_header_options)
27
30
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlDevise
4
- VERSION = '0.13.1'.freeze
4
+ VERSION = '0.13.2'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Celi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-07-30 00:00:00.000000000 Z
12
+ date: 2020-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise_token_auth