graphql_devise 0.18.1 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +25 -2
  3. data/.gitignore +4 -0
  4. data/.rubocop.yml +9 -10
  5. data/Appraisals +72 -35
  6. data/CHANGELOG.md +63 -0
  7. data/README.md +71 -142
  8. data/app/controllers/graphql_devise/graphql_controller.rb +3 -3
  9. data/app/views/graphql_devise/mailer/confirmation_instructions.html.erb +1 -5
  10. data/config/routes.rb +0 -2
  11. data/graphql_devise.gemspec +8 -6
  12. data/lib/generators/graphql_devise/install_generator.rb +1 -1
  13. data/lib/graphql_devise/concerns/additional_controller_methods.rb +48 -0
  14. data/lib/graphql_devise/concerns/additional_model_methods.rb +17 -0
  15. data/lib/graphql_devise/concerns/authenticatable.rb +1 -1
  16. data/lib/graphql_devise/concerns/controller_methods.rb +79 -91
  17. data/lib/graphql_devise/concerns/field_authentication.rb +14 -0
  18. data/lib/graphql_devise/concerns/set_user_by_token.rb +1 -1
  19. data/lib/graphql_devise/default_operations.rb +16 -0
  20. data/lib/graphql_devise/engine.rb +0 -2
  21. data/lib/graphql_devise/model/with_email_updater.rb +5 -30
  22. data/lib/graphql_devise/mount_method/operation_preparer.rb +0 -7
  23. data/lib/graphql_devise/mount_method/operation_preparers/custom_operation_preparer.rb +1 -1
  24. data/lib/graphql_devise/mount_method/operation_preparers/default_operation_preparer.rb +1 -1
  25. data/lib/graphql_devise/mount_method/operation_sanitizer.rb +0 -12
  26. data/lib/graphql_devise/mount_method/option_sanitizer.rb +0 -2
  27. data/lib/graphql_devise/mount_method/option_sanitizers/array_checker.rb +2 -2
  28. data/lib/graphql_devise/mount_method/option_sanitizers/class_checker.rb +2 -2
  29. data/lib/graphql_devise/mount_method/option_sanitizers/hash_checker.rb +1 -1
  30. data/lib/graphql_devise/mount_method/option_sanitizers/string_checker.rb +1 -1
  31. data/lib/graphql_devise/mount_method/option_validators/provided_operations_validator.rb +0 -2
  32. data/lib/graphql_devise/mount_method/option_validators/skip_only_validator.rb +1 -1
  33. data/lib/graphql_devise/mount_method/option_validators/supported_operations_validator.rb +1 -1
  34. data/lib/graphql_devise/mount_method/options_validator.rb +0 -3
  35. data/lib/graphql_devise/mount_method/supported_options.rb +0 -5
  36. data/lib/graphql_devise/mutations/base.rb +1 -1
  37. data/lib/graphql_devise/mutations/confirm_registration_with_token.rb +2 -2
  38. data/lib/graphql_devise/mutations/login.rb +2 -2
  39. data/lib/graphql_devise/mutations/register.rb +2 -2
  40. data/lib/graphql_devise/mutations/update_password_with_token.rb +2 -2
  41. data/lib/graphql_devise/resolvers/base.rb +1 -1
  42. data/lib/graphql_devise/resource_loader.rb +71 -39
  43. data/lib/graphql_devise/route_mounter.rb +13 -0
  44. data/lib/graphql_devise/schema_plugin.rb +11 -40
  45. data/lib/graphql_devise/types/authenticatable_type.rb +1 -1
  46. data/lib/graphql_devise/types/base_field.rb +9 -0
  47. data/lib/graphql_devise/types/base_type.rb +8 -0
  48. data/lib/graphql_devise/types/credential_type.rb +1 -1
  49. data/lib/graphql_devise/types/mutation_type.rb +1 -0
  50. data/lib/graphql_devise/types/query_type.rb +1 -0
  51. data/lib/graphql_devise/version.rb +1 -1
  52. data/lib/graphql_devise.rb +21 -29
  53. data/spec/dummy/app/controllers/api/v1/graphql_controller.rb +2 -16
  54. data/spec/dummy/app/graphql/dummy_schema.rb +1 -5
  55. data/spec/dummy/app/graphql/interpreter_schema.rb +6 -2
  56. data/spec/dummy/app/graphql/mutations/base_mutation.rb +6 -0
  57. data/spec/dummy/app/graphql/mutations/update_user.rb +2 -4
  58. data/spec/dummy/app/graphql/types/admin_type.rb +1 -1
  59. data/spec/dummy/app/graphql/types/custom_admin_type.rb +1 -1
  60. data/spec/dummy/app/graphql/types/mutation_type.rb +3 -1
  61. data/spec/dummy/app/graphql/types/query_type.rb +3 -1
  62. data/spec/dummy/app/graphql/types/user_type.rb +1 -1
  63. data/spec/dummy/config/environments/test.rb +1 -1
  64. data/spec/dummy/config/routes.rb +5 -9
  65. data/spec/generators/graphql_devise/install_generator_spec.rb +2 -2
  66. data/spec/graphql_devise/model/with_email_updater_spec.rb +17 -35
  67. data/spec/rails_helper.rb +5 -5
  68. data/spec/requests/mutations/login_spec.rb +34 -0
  69. data/spec/requests/mutations/resend_confirmation_with_token_spec.rb +2 -3
  70. data/spec/requests/user_controller_spec.rb +1 -33
  71. data/spec/services/resource_loader_spec.rb +53 -3
  72. data/spec/spec_helper.rb +1 -1
  73. metadata +62 -55
  74. data/app/controllers/graphql_devise/concerns/additional_controller_methods.rb +0 -72
  75. data/app/controllers/graphql_devise/concerns/set_user_by_token.rb +0 -21
  76. data/app/helpers/graphql_devise/mailer_helper.rb +0 -37
  77. data/app/models/graphql_devise/concerns/additional_model_methods.rb +0 -21
  78. data/app/models/graphql_devise/concerns/model.rb +0 -25
  79. data/lib/graphql_devise/default_operations/mutations.rb +0 -32
  80. data/lib/graphql_devise/default_operations/resolvers.rb +0 -14
  81. data/lib/graphql_devise/mutations/resend_confirmation.rb +0 -45
  82. data/lib/graphql_devise/mutations/send_password_reset.rb +0 -38
  83. data/lib/graphql_devise/mutations/sign_up.rb +0 -61
  84. data/lib/graphql_devise/mutations/update_password.rb +0 -46
  85. data/lib/graphql_devise/rails/routes.rb +0 -15
  86. data/lib/graphql_devise/resolvers/check_password_token.rb +0 -43
  87. data/lib/graphql_devise/resolvers/confirm_account.rb +0 -42
  88. data/spec/dummy/app/graphql/mutations/sign_up.rb +0 -14
  89. data/spec/dummy/app/graphql/resolvers/confirm_admin_account.rb +0 -13
  90. data/spec/requests/mutations/resend_confirmation_spec.rb +0 -153
  91. data/spec/requests/mutations/send_password_reset_spec.rb +0 -103
  92. data/spec/requests/mutations/sign_up_spec.rb +0 -170
  93. data/spec/requests/mutations/update_password_spec.rb +0 -116
  94. data/spec/requests/queries/check_password_token_spec.rb +0 -149
  95. data/spec/requests/queries/confirm_account_spec.rb +0 -137
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7ec77ce68ce663fe0a00048891e79c5fa3a3c2c64d5c92350ee76dd1067cd39
4
- data.tar.gz: 4053424aac25cbfc0d68d3bc5c22319c7313d6d22f4e19e66a44d138303e7ada
3
+ metadata.gz: 3f82f570616cfaaae35c4660c7f33939bfe749ff615f94c3cd58e6ac7261aec2
4
+ data.tar.gz: 15f4a78b52e3d4ddb9f40343668f983db3eda83dcc4d0f0adda06b4b4394eb98
5
5
  SHA512:
6
- metadata.gz: c6164f799f2ae729a4b5c138d96e39c02ad21efd5aeb7a241179fdafbd71e414d34a9aaa36c2e261945d2c32208d9087b0585978adcac01aebba4a7adbd6b89a
7
- data.tar.gz: e1e130fecbe7adc8dc2c7a55b27f83c32cab04b273fc949a00a6dca3d4e9a1b6a456549ef73eb2235115de01a8c0cb6e09aa4fc9c7ddf61feaba32f04409c5c4
6
+ metadata.gz: 7f22e378ecd7d40da887996eafcb77ad83c4fade6cfdfac21ad4200d10c75cfb78f3f98f675052eda164fed451dd703ad23ef3158502b24c974cbabf94e283b9
7
+ data.tar.gz: 2f349211452d275da7fc07337188ff13c8fad04f2577e763a516fd6c43030f2b919bd6d713fb3ef89b2941dc603e600bc0e578df729967db370860bfa43090bf
data/.circleci/config.yml CHANGED
@@ -47,8 +47,6 @@ workflows:
47
47
  matrix:
48
48
  parameters:
49
49
  ruby-version:
50
- - '2.2'
51
- - '2.3'
52
50
  - '2.4'
53
51
  - '2.5'
54
52
  - '2.6'
@@ -66,33 +64,58 @@ workflows:
66
64
  - gemfiles/rails5.2_graphql1.11.gemfile
67
65
  - gemfiles/rails6.0_graphql1.11.gemfile
68
66
  - gemfiles/rails6.0_graphql1.12.gemfile
67
+ - gemfiles/rails6.0_graphql1.13.gemfile
69
68
  - gemfiles/rails6.1_graphql1.11.gemfile
70
69
  - gemfiles/rails6.1_graphql1.12.gemfile
70
+ - gemfiles/rails6.1_graphql1.13.gemfile
71
+ - gemfiles/rails6.1_graphql2.0.gemfile
71
72
  exclude:
72
73
  - ruby-version: '2.2'
73
74
  gemfile: gemfiles/rails6.0_graphql1.11.gemfile
74
75
  - ruby-version: '2.2'
75
76
  gemfile: gemfiles/rails6.0_graphql1.12.gemfile
77
+ - ruby-version: '2.2'
78
+ gemfile: gemfiles/rails6.0_graphql1.13.gemfile
76
79
  - ruby-version: '2.2'
77
80
  gemfile: gemfiles/rails6.1_graphql1.11.gemfile
78
81
  - ruby-version: '2.2'
79
82
  gemfile: gemfiles/rails6.1_graphql1.12.gemfile
83
+ - ruby-version: '2.2'
84
+ gemfile: gemfiles/rails6.1_graphql1.13.gemfile
85
+ - ruby-version: '2.2'
86
+ gemfile: gemfiles/rails6.1_graphql2.0.gemfile
80
87
  - ruby-version: '2.3'
81
88
  gemfile: gemfiles/rails6.0_graphql1.11.gemfile
82
89
  - ruby-version: '2.3'
83
90
  gemfile: gemfiles/rails6.0_graphql1.12.gemfile
91
+ - ruby-version: '2.3'
92
+ gemfile: gemfiles/rails6.0_graphql1.13.gemfile
84
93
  - ruby-version: '2.3'
85
94
  gemfile: gemfiles/rails6.1_graphql1.11.gemfile
86
95
  - ruby-version: '2.3'
87
96
  gemfile: gemfiles/rails6.1_graphql1.12.gemfile
97
+ - ruby-version: '2.3'
98
+ gemfile: gemfiles/rails6.1_graphql1.13.gemfile
99
+ - ruby-version: '2.3'
100
+ gemfile: gemfiles/rails6.1_graphql2.0.gemfile
88
101
  - ruby-version: '2.4'
89
102
  gemfile: gemfiles/rails6.0_graphql1.11.gemfile
90
103
  - ruby-version: '2.4'
91
104
  gemfile: gemfiles/rails6.0_graphql1.12.gemfile
105
+ - ruby-version: '2.4'
106
+ gemfile: gemfiles/rails6.0_graphql1.13.gemfile
92
107
  - ruby-version: '2.4'
93
108
  gemfile: gemfiles/rails6.1_graphql1.11.gemfile
94
109
  - ruby-version: '2.4'
95
110
  gemfile: gemfiles/rails6.1_graphql1.12.gemfile
111
+ - ruby-version: '2.4'
112
+ gemfile: gemfiles/rails6.1_graphql1.13.gemfile
113
+ - ruby-version: '2.4'
114
+ gemfile: gemfiles/rails6.1_graphql2.0.gemfile
115
+ - ruby-version: '2.5'
116
+ gemfile: gemfiles/rails6.0_graphql1.13.gemfile
117
+ - ruby-version: '2.5'
118
+ gemfile: gemfiles/rails6.1_graphql1.13.gemfile
96
119
  - ruby-version: '2.7'
97
120
  gemfile: gemfiles/rails4.2_graphql1.8.gemfile
98
121
  - ruby-version: '3.0'
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
+ .DS_Store
2
+
1
3
  /.bundle/
2
4
  /.yardoc
3
5
  /_yardoc/
@@ -24,6 +26,8 @@ README.md.*
24
26
  # rvm config files
25
27
  .ruby-version
26
28
  .ruby-gemset
29
+ .tool-versions
27
30
 
28
31
  .env
29
32
  /spec/tmp/config/routes.rb
33
+ /.byebug_history
data/.rubocop.yml CHANGED
@@ -1,11 +1,10 @@
1
- require: rubocop-rspec
2
- require: rubocop-performance
3
-
4
- Rails:
5
- Enabled: true
1
+ require:
2
+ - rubocop-rspec
3
+ - rubocop-performance
4
+ - rubocop-rails
6
5
 
7
6
  AllCops:
8
- TargetRubyVersion: 2.2
7
+ TargetRubyVersion: 2.3
9
8
  DisplayCopNames: true
10
9
  Exclude:
11
10
  - bin/**/*
@@ -82,7 +81,7 @@ Style/FrozenStringLiteralComment:
82
81
  Style/StringMethods:
83
82
  Enabled: true
84
83
 
85
- Metrics/LineLength:
84
+ Layout/LineLength:
86
85
  Max: 120
87
86
 
88
87
  Metrics/MethodLength:
@@ -91,16 +90,16 @@ Metrics/MethodLength:
91
90
  Metrics/BlockLength:
92
91
  Enabled: false
93
92
 
94
- Layout/AlignHash:
93
+ Layout/HashAlignment:
95
94
  EnforcedColonStyle: table
96
95
 
97
- Layout/AlignParameters:
96
+ Layout/ParameterAlignment:
98
97
  EnforcedStyle: with_fixed_indentation
99
98
  SupportedStyles:
100
99
  - with_first_parameter
101
100
  - with_fixed_indentation
102
101
 
103
- Lint/EndAlignment:
102
+ Layout/EndAlignment:
104
103
  EnforcedStyleAlignWith: variable
105
104
  SupportedStylesAlignWith:
106
105
  - keyword
data/Appraisals CHANGED
@@ -1,7 +1,7 @@
1
1
  appraise 'rails4.2-graphql1.8' do
2
2
  gem 'sqlite3', '~> 1.3.6'
3
3
  gem 'bundler', '~> 1.17'
4
- gem 'rails', github: 'rails/rails', branch: '4-2-stable'
4
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '4-2-stable'
5
5
  gem 'graphql', '~> 1.8.0'
6
6
  gem 'devise_token_auth', '< 1.2'
7
7
  gem 'rspec-rails', '< 4.0'
@@ -9,7 +9,7 @@ end
9
9
 
10
10
  appraise 'rails5.0-graphql1.8' do
11
11
  gem 'sqlite3', '~> 1.3.6'
12
- gem 'rails', github: 'rails/rails', branch: '5-0-stable'
12
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-0-stable'
13
13
  gem 'graphql', '~> 1.8.0'
14
14
  gem 'devise_token_auth', '0.1.43'
15
15
  gem 'devise', '>= 4.0'
@@ -18,7 +18,7 @@ end
18
18
 
19
19
  appraise 'rails5.0-graphql1.9' do
20
20
  gem 'sqlite3', '~> 1.3.6'
21
- gem 'rails', github: 'rails/rails', branch: '5-0-stable'
21
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-0-stable'
22
22
  gem 'graphql', '~> 1.9.0'
23
23
  gem 'devise_token_auth', '< 1.2'
24
24
  gem 'rspec-rails', '< 4.0'
@@ -26,7 +26,7 @@ end
26
26
 
27
27
  appraise 'rails5.1-graphql1.8' do
28
28
  gem 'sqlite3', '~> 1.3.6'
29
- gem 'rails', github: 'rails/rails', branch: '5-1-stable'
29
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-1-stable'
30
30
  gem 'graphql', '~> 1.8.0'
31
31
  gem 'devise_token_auth', '0.1.43'
32
32
  gem 'devise', '>= 4.3'
@@ -35,7 +35,7 @@ end
35
35
 
36
36
  appraise 'rails5.1-graphql1.9' do
37
37
  gem 'sqlite3', '~> 1.3.6'
38
- gem 'rails', github: 'rails/rails', branch: '5-1-stable'
38
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-1-stable'
39
39
  gem 'graphql', '~> 1.9.0'
40
40
  gem 'devise_token_auth', '< 1.2'
41
41
  gem 'rspec-rails', '< 4.0'
@@ -43,7 +43,7 @@ end
43
43
 
44
44
  appraise 'rails5.2-graphql1.8' do
45
45
  gem 'sqlite3', '~> 1.3.6'
46
- gem 'rails', github: 'rails/rails', branch: '5-2-stable'
46
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-2-stable'
47
47
  gem 'graphql', '~> 1.8.0'
48
48
  gem 'devise_token_auth', '0.1.43'
49
49
  gem 'devise', '>= 4.4.2'
@@ -52,7 +52,7 @@ end
52
52
 
53
53
  appraise 'rails5.2-graphql1.9' do
54
54
  gem 'sqlite3', '~> 1.3.6'
55
- gem 'rails', github: 'rails/rails', branch: '5-2-stable'
55
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-2-stable'
56
56
  gem 'graphql', '~> 1.9.0'
57
57
  gem 'devise_token_auth', '< 1.2'
58
58
  gem 'rspec-rails', '< 4.0'
@@ -60,7 +60,7 @@ end
60
60
 
61
61
  appraise 'rails5.2-graphql1.10' do
62
62
  gem 'sqlite3', '~> 1.3.6'
63
- gem 'rails', github: 'rails/rails', branch: '5-2-stable'
63
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-2-stable'
64
64
  gem 'graphql', '~> 1.10.0'
65
65
  gem 'devise_token_auth', '< 1.2'
66
66
  gem 'rspec-rails', '< 4.0'
@@ -68,7 +68,7 @@ end
68
68
 
69
69
  appraise 'rails5.2-graphql1.11' do
70
70
  gem 'sqlite3', '~> 1.3.6'
71
- gem 'rails', github: 'rails/rails', branch: '5-2-stable'
71
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-2-stable'
72
72
  gem 'graphql', '~> 1.11.0'
73
73
  gem 'devise_token_auth', '< 1.2'
74
74
  gem 'rspec-rails', '< 4.0'
@@ -76,79 +76,116 @@ end
76
76
 
77
77
  appraise 'rails5.2-graphql1.12' do
78
78
  gem 'sqlite3', '~> 1.3.6'
79
- gem 'rails', github: 'rails/rails', branch: '5-2-stable'
79
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '5-2-stable'
80
80
  gem 'graphql', '~> 1.12.0'
81
81
  gem 'devise_token_auth', '< 1.2'
82
82
  gem 'rspec-rails', '< 4.0'
83
83
  end
84
84
 
85
- appraise 'rails6.0-graphql1.8' do
85
+ appraise 'rails6.0-graphql1.10' do
86
86
  gem 'sqlite3', '~> 1.4'
87
87
  gem 'devise', '>= 4.7'
88
- gem 'rails', github: 'rails/rails', branch: '6-0-stable'
89
- gem 'graphql', '~> 1.8.0'
88
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
89
+ gem 'graphql', '~> 1.10.0'
90
90
  end
91
91
 
92
- appraise 'rails6.0-graphql1.9' do
92
+ appraise 'rails6.0-graphql1.11' do
93
93
  gem 'sqlite3', '~> 1.4'
94
94
  gem 'devise', '>= 4.7'
95
- gem 'rails', github: 'rails/rails', branch: '6-0-stable'
96
- gem 'graphql', '~> 1.9.0'
95
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
96
+ gem 'graphql', '~> 1.11.0'
97
97
  end
98
98
 
99
- appraise 'rails6.0-graphql1.10' do
99
+ appraise 'rails6.0-graphql1.12' do
100
+ gem 'sqlite3', '~> 1.4'
101
+ gem 'devise', '>= 4.7'
102
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
103
+ gem 'graphql', '~> 1.12.0'
104
+ end
105
+
106
+ appraise 'rails6.0-graphql1.13' do
107
+ gem 'sqlite3', '~> 1.4'
108
+ gem 'devise', '>= 4.7'
109
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
110
+ gem 'graphql', '~> 1.13.0'
111
+ end
112
+
113
+ appraise 'rails6.1-graphql1.10' do
100
114
  gem 'sqlite3', '~> 1.4'
101
115
  gem 'devise', '>= 4.7'
102
- gem 'rails', github: 'rails/rails', branch: '6-0-stable'
116
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-1-stable'
103
117
  gem 'graphql', '~> 1.10.0'
104
118
  end
105
119
 
106
- appraise 'rails6.0-graphql1.11' do
120
+ appraise 'rails6.1-graphql1.11' do
107
121
  gem 'sqlite3', '~> 1.4'
108
122
  gem 'devise', '>= 4.7'
109
- gem 'rails', github: 'rails/rails', branch: '6-0-stable'
123
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-1-stable'
110
124
  gem 'graphql', '~> 1.11.0'
111
125
  end
112
126
 
113
- appraise 'rails6.0-graphql1.12' do
127
+ appraise 'rails6.1-graphql1.12' do
114
128
  gem 'sqlite3', '~> 1.4'
115
129
  gem 'devise', '>= 4.7'
116
- gem 'rails', github: 'rails/rails', branch: '6-0-stable'
130
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-1-stable'
117
131
  gem 'graphql', '~> 1.12.0'
118
132
  end
119
133
 
120
- appraise 'rails6.1-graphql1.9' do
134
+ appraise 'rails6.1-graphql1.13' do
121
135
  gem 'sqlite3', '~> 1.4'
122
136
  gem 'devise', '>= 4.7'
123
- gem 'rails', github: 'rails/rails', branch: '6-1-stable'
124
- gem 'graphql', '~> 1.9.0'
137
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-1-stable'
138
+ gem 'graphql', '~> 1.13.0'
125
139
  end
126
140
 
127
- appraise 'rails6.1-graphql1.10' do
141
+ appraise 'rails6.1-graphql2.0' do
128
142
  gem 'sqlite3', '~> 1.4'
129
143
  gem 'devise', '>= 4.7'
130
- gem 'rails', github: 'rails/rails', branch: '6-1-stable'
144
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '6-1-stable'
145
+ gem 'graphql', '~> 2.0.1'
146
+ end
147
+
148
+ appraise 'rails7.0-graphql1.10' do
149
+ gem 'sassc-rails'
150
+ gem 'sqlite3', '~> 1.4'
151
+ gem 'devise', '>= 4.7'
152
+ gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth', branch: 'master'
153
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '7-0-stable'
131
154
  gem 'graphql', '~> 1.10.0'
132
155
  end
133
156
 
134
- appraise 'rails6.1-graphql1.11' do
157
+ appraise 'rails7.0-graphql1.11' do
158
+ gem 'sassc-rails'
135
159
  gem 'sqlite3', '~> 1.4'
136
160
  gem 'devise', '>= 4.7'
137
- gem 'rails', github: 'rails/rails', branch: '6-1-stable'
161
+ gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth', branch: 'master'
162
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '7-0-stable'
138
163
  gem 'graphql', '~> 1.11.0'
139
164
  end
140
165
 
141
- appraise 'rails6.1-graphql1.12' do
166
+ appraise 'rails7.0-graphql1.12' do
167
+ gem 'sassc-rails'
142
168
  gem 'sqlite3', '~> 1.4'
143
169
  gem 'devise', '>= 4.7'
144
- gem 'rails', github: 'rails/rails', branch: '6-1-stable'
170
+ gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth', branch: 'master'
171
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '7-0-stable'
145
172
  gem 'graphql', '~> 1.12.0'
146
173
  end
147
174
 
148
- appraise 'rails6.1-graphql_edge' do
175
+ appraise 'rails7.0-graphql1.13' do
176
+ gem 'sassc-rails'
177
+ gem 'sqlite3', '~> 1.4'
178
+ gem 'devise', '>= 4.7'
179
+ gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth', branch: 'master'
180
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '7-0-stable'
181
+ gem 'graphql', '~> 1.13.0'
182
+ end
183
+
184
+ appraise 'rails7.0-graphql_edge' do
185
+ gem 'sassc-rails'
149
186
  gem 'sqlite3', '~> 1.4'
150
- gem 'devise_token_auth', github: 'lynndylanhurley/devise_token_auth', branch: 'master'
187
+ gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth', branch: 'master'
151
188
  gem 'devise', '>= 4.7'
152
- gem 'rails', github: 'rails/rails', branch: '6-1-stable'
153
- gem 'graphql', github: 'rmosolgo/graphql-ruby', branch: 'master'
189
+ gem 'rails', git: 'https://github.com/rails/rails', branch: '7-0-stable'
190
+ gem 'graphql', git: 'https://github.com/rmosolgo/graphql-ruby', branch: 'master'
154
191
  end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,68 @@
1
1
  # Changelog
2
2
 
3
+ ## [v1.0.1](https://github.com/graphql-devise/graphql_devise/tree/v1.0.1) (2022-08-15)
4
+
5
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v1.0.0...v1.0.1)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - A class must be provided when mounting a model. String values are no longer supported [\#235](https://github.com/graphql-devise/graphql_devise/issues/235)
10
+ - Use the class itself in the route generator instead of a string representation [\#236](https://github.com/graphql-devise/graphql_devise/pull/236) ([whotwagner](https://github.com/whotwagner))
11
+ - Honor dta auth cookie when using the schema plugin in a main rails project route [\#233](https://github.com/graphql-devise/graphql_devise/pull/233) ([00dav00](https://github.com/00dav00))
12
+
13
+ ## [v1.0.0](https://github.com/graphql-devise/graphql_devise/tree/v1.0.0) (2022-08-04)
14
+
15
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.18.2...v1.0.0)
16
+
17
+ **Breaking changes:**
18
+
19
+ - Remove deprecated model and controller concerns [\#214](https://github.com/graphql-devise/graphql_devise/pull/214) ([mcelicalderon](https://github.com/mcelicalderon))
20
+ - Load reqs with zeitwerk \(drop ruby 2.3 support\) [\#209](https://github.com/graphql-devise/graphql_devise/pull/209) ([00dav00](https://github.com/00dav00))
21
+ - Remove deprecated authentication methods [\#199](https://github.com/graphql-devise/graphql_devise/pull/199) ([mcelicalderon](https://github.com/mcelicalderon))
22
+ - Remove all deprecated queries before v1.0 release [\#198](https://github.com/graphql-devise/graphql_devise/pull/198) ([mcelicalderon](https://github.com/mcelicalderon))
23
+ - Drop support for ruby 2.2 [\#197](https://github.com/graphql-devise/graphql_devise/pull/197) ([mcelicalderon](https://github.com/mcelicalderon))
24
+
25
+ **Implemented enhancements:**
26
+
27
+ - Add GraphQL 2 support [\#222](https://github.com/graphql-devise/graphql_devise/pull/222) ([mcelicalderon](https://github.com/mcelicalderon))
28
+ - Add support for graphql 1.13 [\#205](https://github.com/graphql-devise/graphql_devise/pull/205) ([mcelicalderon](https://github.com/mcelicalderon))
29
+
30
+ **Closed issues:**
31
+
32
+ - Uninitialized constant GraphqlDevise [\#216](https://github.com/graphql-devise/graphql_devise/issues/216)
33
+
34
+ **Merged pull requests:**
35
+
36
+ - Remove deprecations from docs before v1 release [\#201](https://github.com/graphql-devise/graphql_devise/pull/201) ([mcelicalderon](https://github.com/mcelicalderon))
37
+
38
+ ## [v0.18.2](https://github.com/graphql-devise/graphql_devise/tree/v0.18.2) (2022-03-09)
39
+
40
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.18.1...v0.18.2)
41
+
42
+ **Implemented enhancements:**
43
+
44
+ - Silence graphql\_definition deprecation warning before suporting GQL 2.0 [\#217](https://github.com/graphql-devise/graphql_devise/pull/217) ([janraasch](https://github.com/janraasch))
45
+
46
+ ## [v0.18.1](https://github.com/graphql-devise/graphql_devise/tree/v0.18.1) (2022-03-06)
47
+
48
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.18.0...v0.18.1)
49
+
50
+ **Deprecated:**
51
+
52
+ - Deprecate model and controller concerns. Provide new versions [\#213](https://github.com/graphql-devise/graphql_devise/pull/213) ([mcelicalderon](https://github.com/mcelicalderon))
53
+
54
+ ## [v0.18.0](https://github.com/graphql-devise/graphql_devise/tree/v0.18.0) (2022-02-08)
55
+
56
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.17.1...v0.18.0)
57
+
58
+ **Implemented enhancements:**
59
+
60
+ - Support GQL 1.13 [\#211](https://github.com/graphql-devise/graphql_devise/pull/211) ([mcelicalderon](https://github.com/mcelicalderon))
61
+
62
+ **Closed issues:**
63
+
64
+ - Potential Bug For MailHelper [\#144](https://github.com/graphql-devise/graphql_devise/issues/144)
65
+
3
66
  ## [v0.17.1](https://github.com/graphql-devise/graphql_devise/tree/v0.17.1) (2021-08-02)
4
67
 
5
68
  [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.17.0...v0.17.1)