graphql_devise 1.1.0 → 1.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74d9d933b61c35ed0c51283a9455dea4cf57c9752ee80bd9622695ff07e2788f
|
4
|
+
data.tar.gz: 0b3bf0a42e3ace013b4709076c731a06c4e2955eec852d9d5d2d8288c634f114
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 168ab031a4a2028f06e6bc0177fa04ce2c5341aede479cb502f99cc0738246c6d90d13cb849d763110820b6a98840b2a6a0677a8b8ea7596ff58d3e545d87b1e
|
7
|
+
data.tar.gz: c1051fbfe8b466c5818232afafff64d17fab8880e4c9395f84e86280c0355928b59ef2c31331ae6bc78a92f0cda5bdb8dafba03eae1f50483b8fa07d4848c39f
|
data/.circleci/config.yml
CHANGED
@@ -20,13 +20,13 @@ jobs:
|
|
20
20
|
- checkout
|
21
21
|
- restore_cache:
|
22
22
|
keys:
|
23
|
-
-
|
23
|
+
- v2.0-<< parameters.gemfile >>-<< parameters.ruby-version >>
|
24
24
|
- run: gem install bundler -v '1.17'
|
25
25
|
- run:
|
26
26
|
name: Install dependencies
|
27
27
|
command: bundle install
|
28
28
|
- save_cache:
|
29
|
-
key:
|
29
|
+
key: v2.0-<< parameters.gemfile >>-<< parameters.ruby-version >>
|
30
30
|
paths:
|
31
31
|
- vendor/bundle
|
32
32
|
- run:
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v1.1.1](https://github.com/graphql-devise/graphql_devise/tree/v1.1.1) (2022-10-20)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v1.1.0...v1.1.1)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Cannot make it work with Mongoid [\#244](https://github.com/graphql-devise/graphql_devise/issues/244)
|
10
|
+
- Fix Mongoid Support [\#245](https://github.com/graphql-devise/graphql_devise/pull/245) ([jpmermoz](https://github.com/jpmermoz))
|
11
|
+
|
3
12
|
## [v1.1.0](https://github.com/graphql-devise/graphql_devise/tree/v1.1.0) (2022-09-15)
|
4
13
|
|
5
14
|
[Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v1.0.1...v1.1.0)
|
@@ -6,7 +6,10 @@ module GraphqlDevise
|
|
6
6
|
|
7
7
|
class_methods do
|
8
8
|
def reconfirmable
|
9
|
-
|
9
|
+
column_attributes = try(:column_names) || []
|
10
|
+
fields_attributes = try(:fields)&.keys || []
|
11
|
+
has_unconfirmed_email_attr = column_attributes.include?('unconfirmed_email') || fields_attributes.include?('unconfirmed_email')
|
12
|
+
devise_modules.include?(:confirmable) && has_unconfirmed_email_attr
|
10
13
|
end
|
11
14
|
end
|
12
15
|
|
@@ -85,7 +85,7 @@ module GraphqlDevise
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def find_resource(field, value)
|
88
|
-
if resource_class.connection.adapter_name.downcase.include?('mysql')
|
88
|
+
if resource_class.respond_to?(:connection) && resource_class.connection.adapter_name.downcase.include?('mysql')
|
89
89
|
# fix for mysql default case insensitivity
|
90
90
|
resource_class.where("BINARY #{field} = ? AND provider= ?", value, provider).first
|
91
91
|
elsif Gem::Version.new(DeviseTokenAuth::VERSION) < Gem::Version.new('1.1.0')
|
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: 1.1.
|
4
|
+
version: 1.1.1
|
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: 2022-
|
12
|
+
date: 2022-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise_token_auth
|
@@ -526,7 +526,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
526
526
|
- !ruby/object:Gem::Version
|
527
527
|
version: '0'
|
528
528
|
requirements: []
|
529
|
-
rubygems_version: 3.3.
|
529
|
+
rubygems_version: 3.3.24
|
530
530
|
signing_key:
|
531
531
|
specification_version: 4
|
532
532
|
summary: GraphQL queries and mutations on top of devise_token_auth
|