graphql-auth 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/graphql/mutations/auth/reset_password.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24b297147c7a9202042b30f341360b9d4ce44adbbe4599aac1d74e6f06e389d9
|
|
4
|
+
data.tar.gz: f5adbf79ef720f3a158a83ff683166bb4f189c97aa09c6b2c5d7a81cd7000758
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70adf1122986d5a0f1fc7d44fa23e131bc893377168e9640b6ddf8a78b7c76c47285188480131bb936d1ef2352ab348bbf750d7803d41ba0992b5f30f3d42668
|
|
7
|
+
data.tar.gz: 200f41cc0b592477fcae5be164eeaa5b11541fb7044fecea4659566db656b7b35f088fb0fc79aeed43dfe0e90b879d3426948e38d5c37d67ce6fe872e49feafc
|
data/README.md
CHANGED
|
@@ -117,4 +117,4 @@ The gem is available as open source under the terms of the [MIT License](http://
|
|
|
117
117
|
|
|
118
118
|
## Code of Conduct
|
|
119
119
|
|
|
120
|
-
Everyone interacting in the GraphQL Auth project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
|
120
|
+
Everyone interacting in the GraphQL Auth project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/o2web/graphql-auth/blob/master/CODE_OF_CONDUCT.md).
|
|
@@ -31,7 +31,7 @@ class Mutations::Auth::ResetPassword < GraphQL::Schema::Mutation
|
|
|
31
31
|
|
|
32
32
|
if user.errors.any?
|
|
33
33
|
{
|
|
34
|
-
success:
|
|
34
|
+
success: false,
|
|
35
35
|
errors: user.errors.messages.map do |field, messages|
|
|
36
36
|
field = field == :reset_password_token ? :_error : field.to_s.camelize(:lower)
|
|
37
37
|
{
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql-auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Guillaume Ferland
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-01-
|
|
11
|
+
date: 2019-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -129,7 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
130
|
version: '0'
|
|
131
131
|
requirements: []
|
|
132
|
-
|
|
132
|
+
rubyforge_project:
|
|
133
|
+
rubygems_version: 2.7.6
|
|
133
134
|
signing_key:
|
|
134
135
|
specification_version: 4
|
|
135
136
|
summary: GraphQL + JWT + Devise
|