graphql_devise 2.0.0 → 2.1.0
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/.circleci/config.yml +26 -25
- data/Appraisals +25 -29
- data/CHANGELOG.md +9 -0
- data/README.md +8 -0
- data/graphql_devise.gemspec +2 -2
- data/lib/graphql_devise/version.rb +1 -1
- data/spec/generators/graphql_devise/install_generator_spec.rb +3 -0
- data/spec/rails_helper.rb +0 -2
- metadata +7 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ab4ca463ad9fa1ac86b68eabd1e7feac2f5327e5600163004b4f971e6b2c537
|
4
|
+
data.tar.gz: a4dba314911133664abeb4cee515e59dcf655a6188fa73a785c23a5bbfd8936b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf7c1c21fdf5a8e1604cc7b2bbbfc6b47a29c8b74514ab9e0f09155342cb6e2a4c1acb3fcfc3b4dce2446c6a452744bdbb9ad524192cb478aad743573367cf8f
|
7
|
+
data.tar.gz: c88d025814544ed547d97ecc9d05c748a3c271b67f9587f7fecaba501f69b6a2a1a11cd18bb736543d4b9b6694183d1551e5c6408699ec841cc6835af424762a
|
data/.circleci/config.yml
CHANGED
@@ -40,22 +40,16 @@ workflows:
|
|
40
40
|
matrix:
|
41
41
|
parameters:
|
42
42
|
ruby-version:
|
43
|
-
- '2.7'
|
44
43
|
- '3.0'
|
45
44
|
- '3.1'
|
46
45
|
- '3.2'
|
47
46
|
- '3.3'
|
47
|
+
- '3.4'
|
48
48
|
gemfile:
|
49
|
-
- gemfiles/rails6.0_graphql1.11.gemfile
|
50
|
-
- gemfiles/rails6.0_graphql1.12.gemfile
|
51
|
-
- gemfiles/rails6.0_graphql1.13.gemfile
|
52
49
|
- gemfiles/rails6.1_graphql1.11.gemfile
|
53
50
|
- gemfiles/rails6.1_graphql1.12.gemfile
|
54
51
|
- gemfiles/rails6.1_graphql1.13.gemfile
|
55
52
|
- gemfiles/rails6.1_graphql2.0.gemfile
|
56
|
-
- gemfiles/rails7.0_graphql1.11.gemfile
|
57
|
-
- gemfiles/rails7.0_graphql1.12.gemfile
|
58
|
-
- gemfiles/rails7.0_graphql1.13.gemfile
|
59
53
|
- gemfiles/rails7.0_graphql2.0.gemfile
|
60
54
|
- gemfiles/rails7.0_graphql2.1.gemfile
|
61
55
|
- gemfiles/rails7.0_graphql2.2.gemfile
|
@@ -71,17 +65,12 @@ workflows:
|
|
71
65
|
- gemfiles/rails7.2_graphql2.2.gemfile
|
72
66
|
- gemfiles/rails7.2_graphql2.3.gemfile
|
73
67
|
- gemfiles/rails7.2_graphql2.4.gemfile
|
68
|
+
- gemfiles/rails7.2_graphql2.5.gemfile
|
69
|
+
- gemfiles/rails8.0_graphql2.2.gemfile
|
70
|
+
- gemfiles/rails8.0_graphql2.3.gemfile
|
71
|
+
- gemfiles/rails8.0_graphql2.4.gemfile
|
72
|
+
- gemfiles/rails8.0_graphql2.5.gemfile
|
74
73
|
exclude:
|
75
|
-
- ruby-version: '2.7'
|
76
|
-
gemfile: gemfiles/rails7.2_graphql2.0.gemfile
|
77
|
-
- ruby-version: '2.7'
|
78
|
-
gemfile: gemfiles/rails7.2_graphql2.1.gemfile
|
79
|
-
- ruby-version: '2.7'
|
80
|
-
gemfile: gemfiles/rails7.2_graphql2.2.gemfile
|
81
|
-
- ruby-version: '2.7'
|
82
|
-
gemfile: gemfiles/rails7.2_graphql2.3.gemfile
|
83
|
-
- ruby-version: '2.7'
|
84
|
-
gemfile: gemfiles/rails7.2_graphql2.4.gemfile
|
85
74
|
- ruby-version: '3.0'
|
86
75
|
gemfile: gemfiles/rails7.2_graphql2.0.gemfile
|
87
76
|
- ruby-version: '3.0'
|
@@ -92,18 +81,30 @@ workflows:
|
|
92
81
|
gemfile: gemfiles/rails7.2_graphql2.3.gemfile
|
93
82
|
- ruby-version: '3.0'
|
94
83
|
gemfile: gemfiles/rails7.2_graphql2.4.gemfile
|
95
|
-
- ruby-version: '3.
|
96
|
-
gemfile: gemfiles/
|
84
|
+
- ruby-version: '3.0'
|
85
|
+
gemfile: gemfiles/rails7.2_graphql2.5.gemfile
|
86
|
+
- ruby-version: '3.0'
|
87
|
+
gemfile: gemfiles/rails8.0_graphql2.2.gemfile
|
88
|
+
- ruby-version: '3.0'
|
89
|
+
gemfile: gemfiles/rails8.0_graphql2.3.gemfile
|
90
|
+
- ruby-version: '3.0'
|
91
|
+
gemfile: gemfiles/rails8.0_graphql2.4.gemfile
|
92
|
+
- ruby-version: '3.0'
|
93
|
+
gemfile: gemfiles/rails8.0_graphql2.5.gemfile
|
94
|
+
- ruby-version: '3.1'
|
95
|
+
gemfile: gemfiles/rails8.0_graphql2.2.gemfile
|
96
|
+
- ruby-version: '3.1'
|
97
|
+
gemfile: gemfiles/rails8.0_graphql2.3.gemfile
|
98
|
+
- ruby-version: '3.1'
|
99
|
+
gemfile: gemfiles/rails8.0_graphql2.4.gemfile
|
100
|
+
- ruby-version: '3.1'
|
101
|
+
gemfile: gemfiles/rails8.0_graphql2.5.gemfile
|
97
102
|
- ruby-version: '3.2'
|
98
103
|
gemfile: gemfiles/rails6.1_graphql1.11.gemfile
|
99
|
-
- ruby-version: '3.2'
|
100
|
-
gemfile: gemfiles/rails7.0_graphql1.11.gemfile
|
101
|
-
- ruby-version: '3.3'
|
102
|
-
gemfile: gemfiles/rails6.0_graphql1.11.gemfile
|
103
104
|
- ruby-version: '3.3'
|
104
105
|
gemfile: gemfiles/rails6.1_graphql1.11.gemfile
|
105
|
-
- ruby-version: '3.
|
106
|
-
gemfile: gemfiles/
|
106
|
+
- ruby-version: '3.4'
|
107
|
+
gemfile: gemfiles/rails6.1_graphql1.11.gemfile
|
107
108
|
- report-coverage:
|
108
109
|
requires:
|
109
110
|
- test
|
data/Appraisals
CHANGED
@@ -1,32 +1,3 @@
|
|
1
|
-
appraise 'rails6.0-graphql1.11' do
|
2
|
-
gem 'psych', '< 4'
|
3
|
-
gem 'sqlite3', '~> 1.5.4'
|
4
|
-
gem 'public_suffix', '< 5'
|
5
|
-
gem 'devise', '>= 4.7'
|
6
|
-
gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
|
7
|
-
gem 'graphql', '~> 1.11.0'
|
8
|
-
gem 'factory_bot', '<= 6.4.4'
|
9
|
-
end
|
10
|
-
|
11
|
-
appraise 'rails6.0-graphql1.12' do
|
12
|
-
gem 'psych', '< 4'
|
13
|
-
gem 'sqlite3', '~> 1.5.4'
|
14
|
-
gem 'public_suffix', '< 5'
|
15
|
-
gem 'devise', '>= 4.7'
|
16
|
-
gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
|
17
|
-
gem 'graphql', '~> 1.12.0'
|
18
|
-
gem 'factory_bot', '<= 6.4.4'
|
19
|
-
end
|
20
|
-
|
21
|
-
appraise 'rails6.0-graphql1.13' do
|
22
|
-
gem 'psych', '< 4'
|
23
|
-
gem 'sqlite3', '~> 1.5.4'
|
24
|
-
gem 'devise', '>= 4.7'
|
25
|
-
gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
|
26
|
-
gem 'graphql', '~> 1.13.0'
|
27
|
-
gem 'factory_bot', '<= 6.4.4'
|
28
|
-
end
|
29
|
-
|
30
1
|
appraise 'rails6.1-graphql1.10' do
|
31
2
|
gem 'sqlite3', '~> 1.5.4'
|
32
3
|
gem 'devise', '>= 4.7'
|
@@ -226,3 +197,28 @@ appraise 'rails7.2-graphql2.4' do
|
|
226
197
|
gem 'rails', git: 'https://github.com/rails/rails', branch: '7-2-stable'
|
227
198
|
gem 'graphql', '>= 2.4', '< 2.5'
|
228
199
|
end
|
200
|
+
|
201
|
+
appraise 'rails7.2-graphql2.5' do
|
202
|
+
gem 'rails', git: 'https://github.com/rails/rails', branch: '7-2-stable'
|
203
|
+
gem 'graphql', '>= 2.5', '< 2.6'
|
204
|
+
end
|
205
|
+
|
206
|
+
appraise 'rails8.0-graphql2.2' do
|
207
|
+
gem 'rails', git: 'https://github.com/rails/rails', branch: '8-0-stable'
|
208
|
+
gem 'graphql', '>= 2.2', '< 2.3'
|
209
|
+
end
|
210
|
+
|
211
|
+
appraise 'rails8.0-graphql2.3' do
|
212
|
+
gem 'rails', git: 'https://github.com/rails/rails', branch: '8-0-stable'
|
213
|
+
gem 'graphql', '>= 2.3', '< 2.4'
|
214
|
+
end
|
215
|
+
|
216
|
+
appraise 'rails8.0-graphql2.4' do
|
217
|
+
gem 'rails', git: 'https://github.com/rails/rails', branch: '8-0-stable'
|
218
|
+
gem 'graphql', '>= 2.4', '< 2.5'
|
219
|
+
end
|
220
|
+
|
221
|
+
appraise 'rails8.0-graphql2.5' do
|
222
|
+
gem 'rails', git: 'https://github.com/rails/rails', branch: '8-0-stable'
|
223
|
+
gem 'graphql', '>= 2.5', '< 2.6'
|
224
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v2.1.0](https://github.com/graphql-devise/graphql_devise/tree/v2.1.0) (2025-07-28)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v2.0.0...v2.1.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Add graphql 2.5 support [\#288](https://github.com/graphql-devise/graphql_devise/pull/288) ([mcelicalderon](https://github.com/mcelicalderon))
|
10
|
+
- Add Rails 8.0 support [\#287](https://github.com/graphql-devise/graphql_devise/pull/287) ([mcelicalderon](https://github.com/mcelicalderon))
|
11
|
+
|
3
12
|
## [v2.0.0](https://github.com/graphql-devise/graphql_devise/tree/v2.0.0) (2024-12-10)
|
4
13
|
|
5
14
|
[Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v1.5.0...v2.0.0)
|
data/README.md
CHANGED
@@ -460,6 +460,8 @@ Here is a list of the available mutations and queries assuming your mounted mode
|
|
460
460
|
#### Introspection query
|
461
461
|
If you are using the schema plugin, you can require authentication before doing an introspection query by modifying the `public_introspection` option of the plugin. Check the [plugin config section](#mounting-operations-into-your-own-schema) for more information.
|
462
462
|
|
463
|
+
If you want to completely disable introspection queries, refer to [Disable Introspection](#disable-introspection)
|
464
|
+
|
463
465
|
#### Mutations
|
464
466
|
|
465
467
|
Operation | Description | Example
|
@@ -569,6 +571,12 @@ information you can check [this answer here](https://github.com/lynndylanhurley/
|
|
569
571
|
This gem supports the same and should be easier to handle email templates due to the fact we don't override
|
570
572
|
standard Devise templates.
|
571
573
|
|
574
|
+
### Disable Introspection
|
575
|
+
`GraphqlDevise::Schema` extends from `GraphQL::Schema`, which allows it to utilize the `disable_introspection_entry_points` method. By calling this method, you can disable introspection entry points in your schema. You can read more about it
|
576
|
+
[here](https://github.com/rmosolgo/graphql-ruby/blob/master/guides/schema/introspection.md#disabling-introspection).
|
577
|
+
|
578
|
+
If you are using the schema plugin and prefer to make introspection queries available only to authenticated users, you can do so by modifying the `public_introspection` option of the plugin. Check the [plugin config section](#mounting-operations-into-your-own-schema) for more information.
|
579
|
+
|
572
580
|
## Changelog
|
573
581
|
Full list of changes in [CHANGELOG.md](CHANGELOG.md)
|
574
582
|
|
data/graphql_devise.gemspec
CHANGED
@@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.required_ruby_version = '>= 2.7.0'
|
29
29
|
|
30
30
|
spec.add_dependency 'devise_token_auth', '>= 0.1.43', '< 2.0'
|
31
|
-
spec.add_dependency 'graphql', '>= 1.8', '< 2.
|
32
|
-
spec.add_dependency 'rails', '>= 6.0', '<
|
31
|
+
spec.add_dependency 'graphql', '>= 1.8', '< 2.6'
|
32
|
+
spec.add_dependency 'rails', '>= 6.0', '< 8.1'
|
33
33
|
spec.add_dependency 'zeitwerk'
|
34
34
|
|
35
35
|
spec.add_development_dependency 'appraisal'
|
@@ -86,6 +86,9 @@ RSpec.describe GraphqlDevise::InstallGenerator, type: :generator, skip: skip_gen
|
|
86
86
|
FileUtils.cd(File.join(destination_root, '..')) do
|
87
87
|
`rails new gqld_dummy -S -C --skip-action-mailbox --skip-action-text -T --skip-spring --skip-bundle --skip-keeps -G --skip-active-storage -J --skip-listen --skip-bootsnap`
|
88
88
|
end
|
89
|
+
FileUtils.cd(File.join(destination_root, '../gqld_dummy')) do
|
90
|
+
`rm -f config/initializers/assets.rb`
|
91
|
+
end
|
89
92
|
FileUtils.cd(File.join(destination_root, '../gqld_dummy')) do
|
90
93
|
`rails generate graphql:install`
|
91
94
|
end
|
data/spec/rails_helper.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql_devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Celi
|
8
8
|
- David Revelo
|
9
|
-
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: devise_token_auth
|
@@ -40,7 +39,7 @@ dependencies:
|
|
40
39
|
version: '1.8'
|
41
40
|
- - "<"
|
42
41
|
- !ruby/object:Gem::Version
|
43
|
-
version: '2.
|
42
|
+
version: '2.6'
|
44
43
|
type: :runtime
|
45
44
|
prerelease: false
|
46
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +49,7 @@ dependencies:
|
|
50
49
|
version: '1.8'
|
51
50
|
- - "<"
|
52
51
|
- !ruby/object:Gem::Version
|
53
|
-
version: '2.
|
52
|
+
version: '2.6'
|
54
53
|
- !ruby/object:Gem::Dependency
|
55
54
|
name: rails
|
56
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +59,7 @@ dependencies:
|
|
60
59
|
version: '6.0'
|
61
60
|
- - "<"
|
62
61
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
62
|
+
version: '8.1'
|
64
63
|
type: :runtime
|
65
64
|
prerelease: false
|
66
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -70,7 +69,7 @@ dependencies:
|
|
70
69
|
version: '6.0'
|
71
70
|
- - "<"
|
72
71
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
72
|
+
version: '8.1'
|
74
73
|
- !ruby/object:Gem::Dependency
|
75
74
|
name: zeitwerk
|
76
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -516,7 +515,6 @@ licenses:
|
|
516
515
|
metadata:
|
517
516
|
homepage_uri: https://github.com/graphql-devise/graphql_devise
|
518
517
|
source_code_uri: https://github.com/graphql-devise/graphql_devise
|
519
|
-
post_install_message:
|
520
518
|
rdoc_options: []
|
521
519
|
require_paths:
|
522
520
|
- lib
|
@@ -531,8 +529,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
531
529
|
- !ruby/object:Gem::Version
|
532
530
|
version: '0'
|
533
531
|
requirements: []
|
534
|
-
rubygems_version: 3.
|
535
|
-
signing_key:
|
532
|
+
rubygems_version: 3.6.7
|
536
533
|
specification_version: 4
|
537
534
|
summary: GraphQL queries and mutations on top of devise_token_auth
|
538
535
|
test_files:
|