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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d39b72da2fa5e34d69a4f7b97042a68ab2a0e7c99653ef7c3a5c3685c3f7f29
4
- data.tar.gz: 901968da1fdbd829e5caf29a5879bc4cb3166c99742f9f963b70e1917e97edf2
3
+ metadata.gz: 24b297147c7a9202042b30f341360b9d4ce44adbbe4599aac1d74e6f06e389d9
4
+ data.tar.gz: f5adbf79ef720f3a158a83ff683166bb4f189c97aa09c6b2c5d7a81cd7000758
5
5
  SHA512:
6
- metadata.gz: 730ddf32dcb3a61fa8f6aa3bed11b34f5c749f10a07d7e040132588240697a3263d81b5d4c3c39328355f47833e8a77685c6e4eca9a536e2dc27df3eab3f2cd0
7
- data.tar.gz: d83b22ca7edf609f0b19fd326687debbd741435564a9f905e2c7b028039d92a771bc08a048fa59ad57bbcaaffd7ba79faf2e66282a2e57380eb5e19f4be36496
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/[USERNAME]/graphql-devise-auth/blob/master/CODE_OF_CONDUCT.md).
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: true,
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.1
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-10 00:00:00.000000000 Z
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
- rubygems_version: 3.0.1
132
+ rubyforge_project:
133
+ rubygems_version: 2.7.6
133
134
  signing_key:
134
135
  specification_version: 4
135
136
  summary: GraphQL + JWT + Devise