graphql_devise 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/Appraisals +8 -0
  4. data/CHANGELOG.md +17 -0
  5. data/graphql_devise.gemspec +3 -3
  6. data/lib/graphql_devise.rb +20 -4
  7. data/lib/graphql_devise/default_operations/mutations.rb +20 -0
  8. data/lib/graphql_devise/default_operations/resolvers.rb +12 -0
  9. data/lib/graphql_devise/mount_method/operation_preparer.rb +41 -0
  10. data/lib/graphql_devise/mount_method/operation_preparers/custom_operation_preparer.rb +24 -0
  11. data/lib/graphql_devise/mount_method/operation_preparers/default_operation_preparer.rb +32 -0
  12. data/lib/graphql_devise/mount_method/operation_preparers/gql_name_setter.rb +23 -0
  13. data/lib/graphql_devise/mount_method/operation_preparers/mutation_field_setter.rb +17 -0
  14. data/lib/graphql_devise/mount_method/operation_preparers/resolver_type_setter.rb +17 -0
  15. data/lib/graphql_devise/mount_method/operation_preparers/resource_name_setter.rb +17 -0
  16. data/lib/graphql_devise/mount_method/operation_sanitizer.rb +29 -0
  17. data/lib/graphql_devise/mount_method/option_sanitizer.rb +18 -0
  18. data/lib/graphql_devise/mount_method/option_sanitizers/array_checker.rb +26 -0
  19. data/lib/graphql_devise/mount_method/option_sanitizers/class_checker.rb +26 -0
  20. data/lib/graphql_devise/mount_method/option_sanitizers/hash_checker.rb +24 -0
  21. data/lib/graphql_devise/mount_method/option_sanitizers/string_checker.rb +21 -0
  22. data/lib/graphql_devise/mount_method/option_validators/provided_operations_validator.rb +24 -0
  23. data/lib/graphql_devise/mount_method/option_validators/skip_only_validator.rb +20 -0
  24. data/lib/graphql_devise/mount_method/option_validators/supported_operations_validator.rb +24 -0
  25. data/lib/graphql_devise/mount_method/options_validator.rb +16 -0
  26. data/lib/graphql_devise/mount_method/supported_options.rb +18 -0
  27. data/{app/graphql → lib}/graphql_devise/mutations/base.rb +0 -0
  28. data/{app/graphql → lib}/graphql_devise/mutations/login.rb +0 -0
  29. data/{app/graphql → lib}/graphql_devise/mutations/logout.rb +0 -0
  30. data/{app/graphql → lib}/graphql_devise/mutations/resend_confirmation.rb +0 -0
  31. data/{app/graphql → lib}/graphql_devise/mutations/send_password_reset.rb +0 -0
  32. data/{app/graphql → lib}/graphql_devise/mutations/sign_up.rb +0 -0
  33. data/{app/graphql → lib}/graphql_devise/mutations/update_password.rb +0 -0
  34. data/lib/graphql_devise/rails/routes.rb +57 -85
  35. data/{app/graphql → lib}/graphql_devise/resolvers/base.rb +0 -0
  36. data/{app/graphql → lib}/graphql_devise/resolvers/check_password_token.rb +0 -0
  37. data/{app/graphql → lib}/graphql_devise/resolvers/confirm_account.rb +0 -0
  38. data/{app/graphql → lib}/graphql_devise/resolvers/dummy.rb +0 -0
  39. data/{app/graphql → lib}/graphql_devise/types/authenticatable_type.rb +0 -0
  40. data/{app/graphql → lib}/graphql_devise/types/credential_type.rb +0 -0
  41. data/{app/graphql → lib}/graphql_devise/types/mutation_type.rb +0 -0
  42. data/{app/graphql → lib}/graphql_devise/types/query_type.rb +0 -0
  43. data/lib/graphql_devise/version.rb +1 -1
  44. data/spec/services/mount_method/operation_preparer_spec.rb +30 -0
  45. data/spec/services/mount_method/operation_preparers/custom_operation_preparer_spec.rb +43 -0
  46. data/spec/services/mount_method/operation_preparers/default_operation_preparer_spec.rb +60 -0
  47. data/spec/services/mount_method/operation_preparers/gql_name_setter_spec.rb +16 -0
  48. data/spec/services/mount_method/operation_preparers/mutation_field_setter_spec.rb +16 -0
  49. data/spec/services/mount_method/operation_preparers/resolver_type_setter_spec.rb +16 -0
  50. data/spec/services/mount_method/operation_preparers/resource_name_setter_spec.rb +14 -0
  51. data/spec/services/mount_method/operation_sanitizer_spec.rb +33 -0
  52. data/spec/services/mount_method/option_sanitizer_spec.rb +85 -0
  53. data/spec/services/mount_method/option_sanitizers/array_checker_spec.rb +38 -0
  54. data/spec/services/mount_method/option_sanitizers/class_checker_spec.rb +44 -0
  55. data/spec/services/mount_method/option_sanitizers/hash_checker_spec.rb +85 -0
  56. data/spec/services/mount_method/option_sanitizers/string_checker_spec.rb +30 -0
  57. data/spec/services/mount_method/option_validators/provided_operations_validator_spec.rb +57 -0
  58. data/spec/services/mount_method/option_validators/skip_only_validator_spec.rb +31 -0
  59. data/spec/services/mount_method/option_validators/supported_operations_validator_spec.rb +35 -0
  60. data/spec/services/mount_method/options_validator_spec.rb +36 -0
  61. metadata +79 -39
  62. data/gemfiles/.bundle/config +0 -2
  63. data/gemfiles/rails4.2_graphql1.8.gemfile +0 -10
  64. data/gemfiles/rails5.0_graphql1.8.gemfile +0 -11
  65. data/gemfiles/rails5.0_graphql1.9.gemfile +0 -9
  66. data/gemfiles/rails5.1_graphql1.8.gemfile +0 -11
  67. data/gemfiles/rails5.1_graphql1.9.gemfile +0 -9
  68. data/gemfiles/rails5.2_graphql1.10.gemfile +0 -9
  69. data/gemfiles/rails5.2_graphql1.8.gemfile +0 -11
  70. data/gemfiles/rails5.2_graphql1.9.gemfile +0 -9
  71. data/gemfiles/rails6.0_graphql1.10.gemfile +0 -10
  72. data/gemfiles/rails6.0_graphql1.8.gemfile +0 -10
  73. data/gemfiles/rails6.0_graphql1.9.gemfile +0 -10
  74. data/gemfiles/rails6.0_graphql_edge.gemfile +0 -11
  75. data/gemfiles/rails_edge_graphql_edge.gemfile +0 -11
@@ -0,0 +1,57 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GraphqlDevise::MountMethod::OptionValidators::ProvidedOperationsValidator do
4
+ describe '#validate!' do
5
+ subject { -> { described_class.new(options: provided_operations, supported_operations: supported_operations).validate! } }
6
+
7
+ let(:supported_operations) { { operation1: 'irrelevant', operation2: 'irrelevant', operation3: 'irrelevant' } }
8
+
9
+ context 'when skip option is provided' do
10
+ let(:provided_operations) { double(:clean_options, only: [], skip: skipped, operations: {}) }
11
+
12
+ context 'when all skipped are supported' do
13
+ let(:skipped) { [:operation2, :operation3] }
14
+
15
+ it { is_expected.not_to raise_error }
16
+ end
17
+
18
+ context 'when skipped contains unsupported operations' do
19
+ let(:skipped) { [:operation2, :operation3, :invalid] }
20
+
21
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'skip option contains unsupported operations: "invalid". Check for typos.') }
22
+ end
23
+ end
24
+
25
+ context 'when only option is provided' do
26
+ let(:provided_operations) { double(:clean_options, skip: [], only: only, operations: {}) }
27
+
28
+ context 'when all only are supported' do
29
+ let(:only) { [:operation2, :operation3] }
30
+
31
+ it { is_expected.not_to raise_error }
32
+ end
33
+
34
+ context 'when only contains unsupported operations' do
35
+ let(:only) { [:operation2, :operation3, :invalid] }
36
+
37
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'only option contains unsupported operations: "invalid". Check for typos.') }
38
+ end
39
+ end
40
+
41
+ context 'when operations option is provided' do
42
+ let(:provided_operations) { double(:clean_options, only: [], skip: [], operations: operations) }
43
+
44
+ context 'when all operations are supported' do
45
+ let(:operations) { { operation2: 'irrelevant', operation3: 'irrelevant' } }
46
+
47
+ it { is_expected.not_to raise_error }
48
+ end
49
+
50
+ context 'when operations contains unsupported operations' do
51
+ let(:operations) { { operation2: 'irrelevant', operation3: 'irrelevant', invalid: 'invalid' } }
52
+
53
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'operations option contains unsupported operations: "invalid". Check for typos.') }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,31 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GraphqlDevise::MountMethod::OptionValidators::SkipOnlyValidator do
4
+ describe '#validate!' do
5
+ subject { -> { described_class.new(options: options).validate! } }
6
+
7
+ context 'when only `only` key is set' do
8
+ let(:options) { double(:clean_options, only: [:irrelevant], skip: []) }
9
+
10
+ it { is_expected.not_to raise_error }
11
+ end
12
+
13
+ context 'when only `skip` key is set' do
14
+ let(:options) { double(:clean_options, skip: [:irrelevant], only: []) }
15
+
16
+ it { is_expected.not_to raise_error }
17
+ end
18
+
19
+ context 'when `skip` and `only` keys are set' do
20
+ let(:options) { double(:clean_options, only: [:irrelevant], skip: [:irrelevant]) }
21
+
22
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, "Can't specify both `skip` and `only` options when mounting the route.") }
23
+ end
24
+
25
+ context 'when neither `skip` nor `only are set`' do
26
+ let(:options) { double(:clean_options, skip: [], only: []) }
27
+
28
+ it { is_expected.not_to raise_error }
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GraphqlDevise::MountMethod::OptionValidators::SupportedOperationsValidator do
4
+ describe '#validate!' do
5
+ subject { -> { described_class.new(provided_operations: provided_operations, supported_operations: supported_operations, key: key).validate! } }
6
+
7
+ let(:supported_operations) { [:operation1, :operation2, :operation3] }
8
+ let(:key) { :only }
9
+
10
+ context 'when custom operations are all supported' do
11
+ let(:provided_operations) { [:operation2, :operation3] }
12
+
13
+ it { is_expected.not_to raise_error }
14
+ end
15
+
16
+ context 'when no operations are provided' do
17
+ let(:provided_operations) { [] }
18
+
19
+ it { is_expected.not_to raise_error }
20
+ end
21
+
22
+ context 'when default_operations are empty' do
23
+ let(:supported_operations) { [] }
24
+ let(:provided_operations) { [:invalid] }
25
+
26
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'only option contains unsupported operations: "invalid". Check for typos.') }
27
+ end
28
+
29
+ context 'when not all custom operations are supported' do
30
+ let(:provided_operations) { [:operation2, :operation3, :unsupported] }
31
+
32
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'only option contains unsupported operations: "unsupported". Check for typos.') }
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe GraphqlDevise::MountMethod::OptionsValidator do
4
+ describe '#validate!' do
5
+ subject { -> { described_class.new([validator1, validator2]).validate! } }
6
+
7
+ let(:validator1) { double(:validator1, 'validate!': nil) }
8
+ let(:validator2) { double(:validator2, 'validate!': nil) }
9
+
10
+ context 'when first validator fails' do
11
+ before { allow(validator1).to receive(:validate!).and_raise(GraphqlDevise::InvalidMountOptionsError, 'validator1 error') }
12
+
13
+ context 'when second validator fails' do
14
+ before { allow(validator2).to receive(:validate!).and_raise(GraphqlDevise::InvalidMountOptionsError, 'validator2 error') }
15
+
16
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'validator1 error') }
17
+ end
18
+
19
+ context 'when second validator does not fail' do
20
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'validator1 error') }
21
+ end
22
+ end
23
+
24
+ context 'when first validator does not fail' do
25
+ context 'when second validator fails' do
26
+ before { allow(validator2).to receive(:validate!).and_raise(GraphqlDevise::InvalidMountOptionsError, 'validator2 error') }
27
+
28
+ it { is_expected.to raise_error(GraphqlDevise::InvalidMountOptionsError, 'validator2 error') }
29
+ end
30
+
31
+ context 'when second validator does not fail' do
32
+ it { is_expected.not_to raise_error }
33
+ end
34
+ end
35
+ end
36
+ end
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.10.1
4
+ version: 0.11.0
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: 2020-03-21 00:00:00.000000000 Z
12
+ date: 2020-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise_token_auth
@@ -169,30 +169,30 @@ dependencies:
169
169
  name: rake
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - "~>"
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
- version: '10.0'
174
+ version: 12.3.3
175
175
  type: :development
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - "~>"
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
- version: '10.0'
181
+ version: 12.3.3
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: rspec-rails
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - ">="
186
+ - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '0'
188
+ version: '4.0'
189
189
  type: :development
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ">="
193
+ - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '0'
195
+ version: '4.0'
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: rubocop
198
198
  requirement: !ruby/object:Gem::Requirement
@@ -273,22 +273,7 @@ files:
273
273
  - app/controllers/graphql_devise/application_controller.rb
274
274
  - app/controllers/graphql_devise/concerns/set_user_by_token.rb
275
275
  - app/controllers/graphql_devise/graphql_controller.rb
276
- - app/graphql/graphql_devise/mutations/base.rb
277
- - app/graphql/graphql_devise/mutations/login.rb
278
- - app/graphql/graphql_devise/mutations/logout.rb
279
- - app/graphql/graphql_devise/mutations/resend_confirmation.rb
280
- - app/graphql/graphql_devise/mutations/send_password_reset.rb
281
- - app/graphql/graphql_devise/mutations/sign_up.rb
282
- - app/graphql/graphql_devise/mutations/update_password.rb
283
- - app/graphql/graphql_devise/resolvers/base.rb
284
- - app/graphql/graphql_devise/resolvers/check_password_token.rb
285
- - app/graphql/graphql_devise/resolvers/confirm_account.rb
286
- - app/graphql/graphql_devise/resolvers/dummy.rb
287
276
  - app/graphql/graphql_devise/schema.rb
288
- - app/graphql/graphql_devise/types/authenticatable_type.rb
289
- - app/graphql/graphql_devise/types/credential_type.rb
290
- - app/graphql/graphql_devise/types/mutation_type.rb
291
- - app/graphql/graphql_devise/types/query_type.rb
292
277
  - app/helpers/graphql_devise/application_helper.rb
293
278
  - app/helpers/graphql_devise/mailer_helper.rb
294
279
  - app/models/graphql_devise/concerns/model.rb
@@ -299,28 +284,49 @@ files:
299
284
  - bin/rails
300
285
  - bin/setup
301
286
  - config/locales/en.yml
302
- - gemfiles/.bundle/config
303
- - gemfiles/rails4.2_graphql1.8.gemfile
304
- - gemfiles/rails5.0_graphql1.8.gemfile
305
- - gemfiles/rails5.0_graphql1.9.gemfile
306
- - gemfiles/rails5.1_graphql1.8.gemfile
307
- - gemfiles/rails5.1_graphql1.9.gemfile
308
- - gemfiles/rails5.2_graphql1.10.gemfile
309
- - gemfiles/rails5.2_graphql1.8.gemfile
310
- - gemfiles/rails5.2_graphql1.9.gemfile
311
- - gemfiles/rails6.0_graphql1.10.gemfile
312
- - gemfiles/rails6.0_graphql1.8.gemfile
313
- - gemfiles/rails6.0_graphql1.9.gemfile
314
- - gemfiles/rails6.0_graphql_edge.gemfile
315
- - gemfiles/rails_edge_graphql_edge.gemfile
316
287
  - graphql_devise.gemspec
317
288
  - lib/generators/graphql_devise/install_generator.rb
318
289
  - lib/graphql_devise.rb
319
290
  - lib/graphql_devise/concerns/controller_methods.rb
291
+ - lib/graphql_devise/default_operations/mutations.rb
292
+ - lib/graphql_devise/default_operations/resolvers.rb
320
293
  - lib/graphql_devise/detailed_user_error.rb
321
294
  - lib/graphql_devise/engine.rb
322
295
  - lib/graphql_devise/error_codes.rb
296
+ - lib/graphql_devise/mount_method/operation_preparer.rb
297
+ - lib/graphql_devise/mount_method/operation_preparers/custom_operation_preparer.rb
298
+ - lib/graphql_devise/mount_method/operation_preparers/default_operation_preparer.rb
299
+ - lib/graphql_devise/mount_method/operation_preparers/gql_name_setter.rb
300
+ - lib/graphql_devise/mount_method/operation_preparers/mutation_field_setter.rb
301
+ - lib/graphql_devise/mount_method/operation_preparers/resolver_type_setter.rb
302
+ - lib/graphql_devise/mount_method/operation_preparers/resource_name_setter.rb
303
+ - lib/graphql_devise/mount_method/operation_sanitizer.rb
304
+ - lib/graphql_devise/mount_method/option_sanitizer.rb
305
+ - lib/graphql_devise/mount_method/option_sanitizers/array_checker.rb
306
+ - lib/graphql_devise/mount_method/option_sanitizers/class_checker.rb
307
+ - lib/graphql_devise/mount_method/option_sanitizers/hash_checker.rb
308
+ - lib/graphql_devise/mount_method/option_sanitizers/string_checker.rb
309
+ - lib/graphql_devise/mount_method/option_validators/provided_operations_validator.rb
310
+ - lib/graphql_devise/mount_method/option_validators/skip_only_validator.rb
311
+ - lib/graphql_devise/mount_method/option_validators/supported_operations_validator.rb
312
+ - lib/graphql_devise/mount_method/options_validator.rb
313
+ - lib/graphql_devise/mount_method/supported_options.rb
314
+ - lib/graphql_devise/mutations/base.rb
315
+ - lib/graphql_devise/mutations/login.rb
316
+ - lib/graphql_devise/mutations/logout.rb
317
+ - lib/graphql_devise/mutations/resend_confirmation.rb
318
+ - lib/graphql_devise/mutations/send_password_reset.rb
319
+ - lib/graphql_devise/mutations/sign_up.rb
320
+ - lib/graphql_devise/mutations/update_password.rb
323
321
  - lib/graphql_devise/rails/routes.rb
322
+ - lib/graphql_devise/resolvers/base.rb
323
+ - lib/graphql_devise/resolvers/check_password_token.rb
324
+ - lib/graphql_devise/resolvers/confirm_account.rb
325
+ - lib/graphql_devise/resolvers/dummy.rb
326
+ - lib/graphql_devise/types/authenticatable_type.rb
327
+ - lib/graphql_devise/types/credential_type.rb
328
+ - lib/graphql_devise/types/mutation_type.rb
329
+ - lib/graphql_devise/types/query_type.rb
324
330
  - lib/graphql_devise/user_error.rb
325
331
  - lib/graphql_devise/version.rb
326
332
  - spec/dummy/README.md
@@ -409,6 +415,23 @@ files:
409
415
  - spec/requests/queries/check_password_token_spec.rb
410
416
  - spec/requests/queries/confirm_account_spec.rb
411
417
  - spec/requests/user_controller_spec.rb
418
+ - spec/services/mount_method/operation_preparer_spec.rb
419
+ - spec/services/mount_method/operation_preparers/custom_operation_preparer_spec.rb
420
+ - spec/services/mount_method/operation_preparers/default_operation_preparer_spec.rb
421
+ - spec/services/mount_method/operation_preparers/gql_name_setter_spec.rb
422
+ - spec/services/mount_method/operation_preparers/mutation_field_setter_spec.rb
423
+ - spec/services/mount_method/operation_preparers/resolver_type_setter_spec.rb
424
+ - spec/services/mount_method/operation_preparers/resource_name_setter_spec.rb
425
+ - spec/services/mount_method/operation_sanitizer_spec.rb
426
+ - spec/services/mount_method/option_sanitizer_spec.rb
427
+ - spec/services/mount_method/option_sanitizers/array_checker_spec.rb
428
+ - spec/services/mount_method/option_sanitizers/class_checker_spec.rb
429
+ - spec/services/mount_method/option_sanitizers/hash_checker_spec.rb
430
+ - spec/services/mount_method/option_sanitizers/string_checker_spec.rb
431
+ - spec/services/mount_method/option_validators/provided_operations_validator_spec.rb
432
+ - spec/services/mount_method/option_validators/skip_only_validator_spec.rb
433
+ - spec/services/mount_method/option_validators/supported_operations_validator_spec.rb
434
+ - spec/services/mount_method/options_validator_spec.rb
412
435
  - spec/spec_helper.rb
413
436
  - spec/support/contexts/graphql_request.rb
414
437
  - spec/support/factory_bot.rb
@@ -537,3 +560,20 @@ test_files:
537
560
  - spec/factories/users_customers.rb
538
561
  - spec/generators/graphql_devise/install_generator_spec.rb
539
562
  - spec/rails_helper.rb
563
+ - spec/services/mount_method/option_sanitizers/class_checker_spec.rb
564
+ - spec/services/mount_method/option_sanitizers/array_checker_spec.rb
565
+ - spec/services/mount_method/option_sanitizers/hash_checker_spec.rb
566
+ - spec/services/mount_method/option_sanitizers/string_checker_spec.rb
567
+ - spec/services/mount_method/option_sanitizer_spec.rb
568
+ - spec/services/mount_method/options_validator_spec.rb
569
+ - spec/services/mount_method/operation_preparer_spec.rb
570
+ - spec/services/mount_method/operation_preparers/gql_name_setter_spec.rb
571
+ - spec/services/mount_method/operation_preparers/default_operation_preparer_spec.rb
572
+ - spec/services/mount_method/operation_preparers/resolver_type_setter_spec.rb
573
+ - spec/services/mount_method/operation_preparers/resource_name_setter_spec.rb
574
+ - spec/services/mount_method/operation_preparers/mutation_field_setter_spec.rb
575
+ - spec/services/mount_method/operation_preparers/custom_operation_preparer_spec.rb
576
+ - spec/services/mount_method/option_validators/supported_operations_validator_spec.rb
577
+ - spec/services/mount_method/option_validators/provided_operations_validator_spec.rb
578
+ - spec/services/mount_method/option_validators/skip_only_validator_spec.rb
579
+ - spec/services/mount_method/operation_sanitizer_spec.rb
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_RETRY: "1"
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "bundler", "~> 1.17"
7
- gem "rails", github: "rails/rails", branch: "4-2-stable"
8
- gem "graphql", "~> 1.8.0"
9
-
10
- gemspec path: "../"
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "rails", github: "rails/rails", branch: "5-0-stable"
7
- gem "graphql", "~> 1.8.0"
8
- gem "devise_token_auth", "0.1.43"
9
- gem "devise", ">= 4.0"
10
-
11
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "rails", github: "rails/rails", branch: "5-0-stable"
7
- gem "graphql", "~> 1.9.0"
8
-
9
- gemspec path: "../"
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "rails", github: "rails/rails", branch: "5-1-stable"
7
- gem "graphql", "~> 1.8.0"
8
- gem "devise_token_auth", "0.1.43"
9
- gem "devise", ">= 4.3"
10
-
11
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "rails", github: "rails/rails", branch: "5-1-stable"
7
- gem "graphql", "~> 1.9.0"
8
-
9
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "rails", github: "rails/rails", branch: "5-2-stable"
7
- gem "graphql", "~> 1.10.0"
8
-
9
- gemspec path: "../"
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "rails", github: "rails/rails", branch: "5-2-stable"
7
- gem "graphql", "~> 1.8.0"
8
- gem "devise_token_auth", "0.1.43"
9
- gem "devise", ">= 4.4.2"
10
-
11
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "rails", github: "rails/rails", branch: "5-2-stable"
7
- gem "graphql", "~> 1.9.0"
8
-
9
- gemspec path: "../"