graphql_devise 0.18.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +18 -0
- data/.gitignore +1 -0
- data/Appraisals +5 -20
- data/lib/graphql_devise/schema_plugin.rb +5 -1
- data/lib/graphql_devise/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04d9716e77c081e74caaf93d0808f45ded94630c40b5cca5b8bd6cd8fc3ed09a
|
4
|
+
data.tar.gz: 03b1543236bda0a52055bab779c7b58f33f022c64a5a32641a0e3ddc300b88ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b02fc314f7e8581a7b5bc5b77cae1fdc5c1b9bf7b5bdb0f2d8a45a323d6cec009633dc5c43a7309eb8d653808173f004d7c8ac0fa3bdabad8814e284209066b1
|
7
|
+
data.tar.gz: 302d052a6ac63d66ce32c54b84501069205f42dd13d71d9fafe8872f615b9deb12d59813dcfa75fda7720bd51a1a947471eca9442013ca5deb9bbcbaa10b85f4
|
data/.circleci/config.yml
CHANGED
@@ -66,33 +66,51 @@ workflows:
|
|
66
66
|
- gemfiles/rails5.2_graphql1.11.gemfile
|
67
67
|
- gemfiles/rails6.0_graphql1.11.gemfile
|
68
68
|
- gemfiles/rails6.0_graphql1.12.gemfile
|
69
|
+
- gemfiles/rails6.0_graphql1.13.gemfile
|
69
70
|
- gemfiles/rails6.1_graphql1.11.gemfile
|
70
71
|
- gemfiles/rails6.1_graphql1.12.gemfile
|
72
|
+
- gemfiles/rails6.1_graphql1.13.gemfile
|
71
73
|
exclude:
|
72
74
|
- ruby-version: '2.2'
|
73
75
|
gemfile: gemfiles/rails6.0_graphql1.11.gemfile
|
74
76
|
- ruby-version: '2.2'
|
75
77
|
gemfile: gemfiles/rails6.0_graphql1.12.gemfile
|
78
|
+
- ruby-version: '2.2'
|
79
|
+
gemfile: gemfiles/rails6.0_graphql1.13.gemfile
|
76
80
|
- ruby-version: '2.2'
|
77
81
|
gemfile: gemfiles/rails6.1_graphql1.11.gemfile
|
78
82
|
- ruby-version: '2.2'
|
79
83
|
gemfile: gemfiles/rails6.1_graphql1.12.gemfile
|
84
|
+
- ruby-version: '2.2'
|
85
|
+
gemfile: gemfiles/rails6.1_graphql1.13.gemfile
|
80
86
|
- ruby-version: '2.3'
|
81
87
|
gemfile: gemfiles/rails6.0_graphql1.11.gemfile
|
82
88
|
- ruby-version: '2.3'
|
83
89
|
gemfile: gemfiles/rails6.0_graphql1.12.gemfile
|
90
|
+
- ruby-version: '2.3'
|
91
|
+
gemfile: gemfiles/rails6.0_graphql1.13.gemfile
|
84
92
|
- ruby-version: '2.3'
|
85
93
|
gemfile: gemfiles/rails6.1_graphql1.11.gemfile
|
86
94
|
- ruby-version: '2.3'
|
87
95
|
gemfile: gemfiles/rails6.1_graphql1.12.gemfile
|
96
|
+
- ruby-version: '2.3'
|
97
|
+
gemfile: gemfiles/rails6.1_graphql1.13.gemfile
|
88
98
|
- ruby-version: '2.4'
|
89
99
|
gemfile: gemfiles/rails6.0_graphql1.11.gemfile
|
90
100
|
- ruby-version: '2.4'
|
91
101
|
gemfile: gemfiles/rails6.0_graphql1.12.gemfile
|
102
|
+
- ruby-version: '2.4'
|
103
|
+
gemfile: gemfiles/rails6.0_graphql1.13.gemfile
|
92
104
|
- ruby-version: '2.4'
|
93
105
|
gemfile: gemfiles/rails6.1_graphql1.11.gemfile
|
94
106
|
- ruby-version: '2.4'
|
95
107
|
gemfile: gemfiles/rails6.1_graphql1.12.gemfile
|
108
|
+
- ruby-version: '2.4'
|
109
|
+
gemfile: gemfiles/rails6.1_graphql1.13.gemfile
|
110
|
+
- ruby-version: '2.5'
|
111
|
+
gemfile: gemfiles/rails6.0_graphql1.13.gemfile
|
112
|
+
- ruby-version: '2.5'
|
113
|
+
gemfile: gemfiles/rails6.1_graphql1.13.gemfile
|
96
114
|
- ruby-version: '2.7'
|
97
115
|
gemfile: gemfiles/rails4.2_graphql1.8.gemfile
|
98
116
|
- ruby-version: '3.0'
|
data/.gitignore
CHANGED
data/Appraisals
CHANGED
@@ -82,20 +82,6 @@ appraise 'rails5.2-graphql1.12' do
|
|
82
82
|
gem 'rspec-rails', '< 4.0'
|
83
83
|
end
|
84
84
|
|
85
|
-
appraise 'rails6.0-graphql1.8' do
|
86
|
-
gem 'sqlite3', '~> 1.4'
|
87
|
-
gem 'devise', '>= 4.7'
|
88
|
-
gem 'rails', github: 'rails/rails', branch: '6-0-stable'
|
89
|
-
gem 'graphql', '~> 1.8.0'
|
90
|
-
end
|
91
|
-
|
92
|
-
appraise 'rails6.0-graphql1.9' do
|
93
|
-
gem 'sqlite3', '~> 1.4'
|
94
|
-
gem 'devise', '>= 4.7'
|
95
|
-
gem 'rails', github: 'rails/rails', branch: '6-0-stable'
|
96
|
-
gem 'graphql', '~> 1.9.0'
|
97
|
-
end
|
98
|
-
|
99
85
|
appraise 'rails6.0-graphql1.10' do
|
100
86
|
gem 'sqlite3', '~> 1.4'
|
101
87
|
gem 'devise', '>= 4.7'
|
@@ -117,11 +103,11 @@ appraise 'rails6.0-graphql1.12' do
|
|
117
103
|
gem 'graphql', '~> 1.12.0'
|
118
104
|
end
|
119
105
|
|
120
|
-
appraise 'rails6.
|
106
|
+
appraise 'rails6.0-graphql1.13' do
|
121
107
|
gem 'sqlite3', '~> 1.4'
|
122
108
|
gem 'devise', '>= 4.7'
|
123
|
-
gem 'rails', github: 'rails/rails', branch: '6-
|
124
|
-
gem 'graphql', '~> 1.
|
109
|
+
gem 'rails', github: 'rails/rails', branch: '6-0-stable'
|
110
|
+
gem 'graphql', '~> 1.13.0'
|
125
111
|
end
|
126
112
|
|
127
113
|
appraise 'rails6.1-graphql1.10' do
|
@@ -145,10 +131,9 @@ appraise 'rails6.1-graphql1.12' do
|
|
145
131
|
gem 'graphql', '~> 1.12.0'
|
146
132
|
end
|
147
133
|
|
148
|
-
appraise 'rails6.1-
|
134
|
+
appraise 'rails6.1-graphql1.13' do
|
149
135
|
gem 'sqlite3', '~> 1.4'
|
150
|
-
gem 'devise_token_auth', github: 'lynndylanhurley/devise_token_auth', branch: 'master'
|
151
136
|
gem 'devise', '>= 4.7'
|
152
137
|
gem 'rails', github: 'rails/rails', branch: '6-1-stable'
|
153
|
-
gem 'graphql',
|
138
|
+
gem 'graphql', '~> 1.13.0'
|
154
139
|
end
|
@@ -113,7 +113,11 @@ module GraphqlDevise
|
|
113
113
|
auth_required = if trace_data[:context]
|
114
114
|
field.metadata[:authenticate]
|
115
115
|
else
|
116
|
-
|
116
|
+
if Gem::Version.new(GraphQL::VERSION) >= Gem::Version.new('1.13.1')
|
117
|
+
field.graphql_definition(silence_deprecation_warning: true).metadata[:authenticate]
|
118
|
+
else
|
119
|
+
field.graphql_definition.metadata[:authenticate]
|
120
|
+
end
|
117
121
|
end
|
118
122
|
|
119
123
|
auth_required.nil? ? @authenticate_default : auth_required
|
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.18.
|
4
|
+
version: 0.18.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: 2022-03-
|
12
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise_token_auth
|