grape 1.5.2 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +47 -0
- data/CONTRIBUTING.md +2 -1
- data/README.md +33 -3
- data/UPGRADING.md +71 -2
- data/grape.gemspec +5 -5
- data/lib/grape/api/instance.rb +13 -17
- data/lib/grape/api.rb +18 -13
- data/lib/grape/cookies.rb +2 -0
- data/lib/grape/dsl/desc.rb +3 -5
- data/lib/grape/dsl/headers.rb +5 -2
- data/lib/grape/dsl/helpers.rb +7 -5
- data/lib/grape/dsl/inside_route.rb +17 -8
- data/lib/grape/dsl/middleware.rb +4 -4
- data/lib/grape/dsl/parameters.rb +3 -3
- data/lib/grape/dsl/request_response.rb +9 -6
- data/lib/grape/dsl/routing.rb +2 -2
- data/lib/grape/dsl/settings.rb +5 -5
- data/lib/grape/endpoint.rb +21 -36
- data/lib/grape/error_formatter/json.rb +2 -6
- data/lib/grape/error_formatter/xml.rb +2 -6
- data/lib/grape/exceptions/empty_message_body.rb +11 -0
- data/lib/grape/exceptions/validation.rb +1 -2
- data/lib/grape/formatter/json.rb +1 -0
- data/lib/grape/formatter/serializable_hash.rb +2 -1
- data/lib/grape/formatter/xml.rb +1 -0
- data/lib/grape/locale/en.yml +1 -1
- data/lib/grape/middleware/auth/dsl.rb +7 -1
- data/lib/grape/middleware/base.rb +3 -1
- data/lib/grape/middleware/formatter.rb +4 -4
- data/lib/grape/middleware/stack.rb +2 -2
- data/lib/grape/middleware/versioner/accept_version_header.rb +3 -5
- data/lib/grape/middleware/versioner/header.rb +6 -4
- data/lib/grape/middleware/versioner/param.rb +1 -0
- data/lib/grape/middleware/versioner/parse_media_type_patch.rb +2 -1
- data/lib/grape/middleware/versioner/path.rb +2 -0
- data/lib/grape/parser/json.rb +1 -1
- data/lib/grape/parser/xml.rb +1 -1
- data/lib/grape/path.rb +1 -0
- data/lib/grape/request.rb +3 -0
- data/lib/grape/router/pattern.rb +1 -1
- data/lib/grape/router/route.rb +2 -2
- data/lib/grape/router.rb +6 -0
- data/lib/grape/util/inheritable_setting.rb +1 -3
- data/lib/grape/util/lazy_value.rb +3 -2
- data/lib/grape/util/strict_hash_configuration.rb +1 -1
- data/lib/grape/validations/params_scope.rb +88 -55
- data/lib/grape/validations/types/custom_type_coercer.rb +1 -2
- data/lib/grape/validations/types/dry_type_coercer.rb +1 -1
- data/lib/grape/validations/types/json.rb +2 -1
- data/lib/grape/validations/types/primitive_coercer.rb +3 -3
- data/lib/grape/validations/validators/all_or_none.rb +8 -5
- data/lib/grape/validations/validators/allow_blank.rb +9 -7
- data/lib/grape/validations/validators/as.rb +6 -8
- data/lib/grape/validations/validators/at_least_one_of.rb +7 -4
- data/lib/grape/validations/validators/base.rb +75 -70
- data/lib/grape/validations/validators/coerce.rb +63 -79
- data/lib/grape/validations/validators/default.rb +37 -34
- data/lib/grape/validations/validators/exactly_one_of.rb +9 -6
- data/lib/grape/validations/validators/except_values.rb +13 -11
- data/lib/grape/validations/validators/multiple_params_base.rb +24 -20
- data/lib/grape/validations/validators/mutual_exclusion.rb +8 -5
- data/lib/grape/validations/validators/presence.rb +7 -4
- data/lib/grape/validations/validators/regexp.rb +8 -5
- data/lib/grape/validations/validators/same_as.rb +18 -15
- data/lib/grape/validations/validators/values.rb +61 -56
- data/lib/grape/validations.rb +6 -0
- data/lib/grape/version.rb +1 -1
- data/lib/grape.rb +4 -1
- data/spec/grape/api/custom_validations_spec.rb +77 -45
- data/spec/grape/api/deeply_included_options_spec.rb +3 -3
- data/spec/grape/api/defines_boolean_in_params_spec.rb +2 -1
- data/spec/grape/api/invalid_format_spec.rb +2 -0
- data/spec/grape/api/recognize_path_spec.rb +1 -1
- data/spec/grape/api/routes_with_requirements_spec.rb +8 -8
- data/spec/grape/api/shared_helpers_exactly_one_of_spec.rb +9 -15
- data/spec/grape/api_remount_spec.rb +16 -15
- data/spec/grape/api_spec.rb +510 -220
- data/spec/grape/dsl/callbacks_spec.rb +2 -1
- data/spec/grape/dsl/headers_spec.rb +39 -9
- data/spec/grape/dsl/helpers_spec.rb +3 -2
- data/spec/grape/dsl/inside_route_spec.rb +6 -4
- data/spec/grape/dsl/logger_spec.rb +16 -18
- data/spec/grape/dsl/middleware_spec.rb +2 -1
- data/spec/grape/dsl/parameters_spec.rb +2 -0
- data/spec/grape/dsl/request_response_spec.rb +1 -0
- data/spec/grape/dsl/routing_spec.rb +10 -7
- data/spec/grape/endpoint/declared_spec.rb +259 -12
- data/spec/grape/endpoint_spec.rb +77 -55
- data/spec/grape/entity_spec.rb +22 -22
- data/spec/grape/exceptions/body_parse_errors_spec.rb +3 -0
- data/spec/grape/exceptions/invalid_accept_header_spec.rb +61 -22
- data/spec/grape/exceptions/validation_errors_spec.rb +13 -10
- data/spec/grape/exceptions/validation_spec.rb +5 -3
- data/spec/grape/extensions/param_builders/hash_spec.rb +7 -7
- data/spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb +8 -8
- data/spec/grape/extensions/param_builders/hashie/mash_spec.rb +8 -8
- data/spec/grape/integration/rack_sendfile_spec.rb +1 -1
- data/spec/grape/loading_spec.rb +8 -8
- data/spec/grape/middleware/auth/dsl_spec.rb +15 -6
- data/spec/grape/middleware/auth/strategies_spec.rb +60 -20
- data/spec/grape/middleware/base_spec.rb +24 -15
- data/spec/grape/middleware/error_spec.rb +2 -2
- data/spec/grape/middleware/exception_spec.rb +111 -161
- data/spec/grape/middleware/formatter_spec.rb +27 -6
- data/spec/grape/middleware/globals_spec.rb +7 -4
- data/spec/grape/middleware/stack_spec.rb +14 -12
- data/spec/grape/middleware/versioner/accept_version_header_spec.rb +2 -1
- data/spec/grape/middleware/versioner/header_spec.rb +14 -13
- data/spec/grape/middleware/versioner/param_spec.rb +7 -1
- data/spec/grape/middleware/versioner/path_spec.rb +5 -1
- data/spec/grape/middleware/versioner_spec.rb +1 -1
- data/spec/grape/parser_spec.rb +4 -0
- data/spec/grape/path_spec.rb +52 -52
- data/spec/grape/presenters/presenter_spec.rb +7 -6
- data/spec/grape/request_spec.rb +6 -4
- data/spec/grape/util/inheritable_setting_spec.rb +7 -7
- data/spec/grape/util/inheritable_values_spec.rb +3 -2
- data/spec/grape/util/reverse_stackable_values_spec.rb +3 -1
- data/spec/grape/util/stackable_values_spec.rb +7 -5
- data/spec/grape/validations/instance_behaivour_spec.rb +9 -10
- data/spec/grape/validations/multiple_attributes_iterator_spec.rb +1 -0
- data/spec/grape/validations/params_scope_spec.rb +46 -10
- data/spec/grape/validations/single_attribute_iterator_spec.rb +2 -1
- data/spec/grape/validations/types/primitive_coercer_spec.rb +4 -4
- data/spec/grape/validations/types_spec.rb +8 -8
- data/spec/grape/validations/validators/all_or_none_spec.rb +50 -56
- data/spec/grape/validations/validators/allow_blank_spec.rb +136 -140
- data/spec/grape/validations/validators/at_least_one_of_spec.rb +50 -56
- data/spec/grape/validations/validators/coerce_spec.rb +99 -22
- data/spec/grape/validations/validators/default_spec.rb +72 -78
- data/spec/grape/validations/validators/exactly_one_of_spec.rb +71 -77
- data/spec/grape/validations/validators/except_values_spec.rb +3 -3
- data/spec/grape/validations/validators/mutual_exclusion_spec.rb +71 -77
- data/spec/grape/validations/validators/presence_spec.rb +16 -1
- data/spec/grape/validations/validators/regexp_spec.rb +25 -31
- data/spec/grape/validations/validators/same_as_spec.rb +14 -20
- data/spec/grape/validations/validators/values_spec.rb +183 -178
- data/spec/grape/validations_spec.rb +99 -58
- data/spec/integration/eager_load/eager_load_spec.rb +2 -2
- data/spec/integration/multi_json/json_spec.rb +1 -1
- data/spec/integration/multi_xml/xml_spec.rb +1 -1
- data/spec/shared/versioning_examples.rb +12 -9
- data/spec/spec_helper.rb +12 -2
- data/spec/support/basic_auth_encode_helpers.rb +1 -1
- metadata +102 -101
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bleigh
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -137,6 +137,7 @@ files:
|
|
137
137
|
- lib/grape/error_formatter/txt.rb
|
138
138
|
- lib/grape/error_formatter/xml.rb
|
139
139
|
- lib/grape/exceptions/base.rb
|
140
|
+
- lib/grape/exceptions/empty_message_body.rb
|
140
141
|
- lib/grape/exceptions/incompatible_option_values.rb
|
141
142
|
- lib/grape/exceptions/invalid_accept_header.rb
|
142
143
|
- lib/grape/exceptions/invalid_formatter.rb
|
@@ -370,10 +371,10 @@ licenses:
|
|
370
371
|
- MIT
|
371
372
|
metadata:
|
372
373
|
bug_tracker_uri: https://github.com/ruby-grape/grape/issues
|
373
|
-
changelog_uri: https://github.com/ruby-grape/grape/blob/v1.
|
374
|
-
documentation_uri: https://www.rubydoc.info/gems/grape/1.
|
375
|
-
source_code_uri: https://github.com/ruby-grape/grape/tree/v1.
|
376
|
-
post_install_message:
|
374
|
+
changelog_uri: https://github.com/ruby-grape/grape/blob/v1.6.2/CHANGELOG.md
|
375
|
+
documentation_uri: https://www.rubydoc.info/gems/grape/1.6.2
|
376
|
+
source_code_uri: https://github.com/ruby-grape/grape/tree/v1.6.2
|
377
|
+
post_install_message:
|
377
378
|
rdoc_options: []
|
378
379
|
require_paths:
|
379
380
|
- lib
|
@@ -381,130 +382,130 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
381
382
|
requirements:
|
382
383
|
- - ">="
|
383
384
|
- !ruby/object:Gem::Version
|
384
|
-
version: 2.
|
385
|
+
version: 2.5.0
|
385
386
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
386
387
|
requirements:
|
387
388
|
- - ">="
|
388
389
|
- !ruby/object:Gem::Version
|
389
390
|
version: '0'
|
390
391
|
requirements: []
|
391
|
-
rubygems_version: 3.
|
392
|
-
signing_key:
|
392
|
+
rubygems_version: 3.3.0.dev
|
393
|
+
signing_key:
|
393
394
|
specification_version: 4
|
394
395
|
summary: A simple Ruby framework for building REST-like APIs.
|
395
396
|
test_files:
|
396
|
-
- spec/shared/versioning_examples.rb
|
397
|
-
- spec/support/versioned_helpers.rb
|
398
|
-
- spec/support/content_type_helpers.rb
|
399
|
-
- spec/support/eager_load.rb
|
400
|
-
- spec/support/basic_auth_encode_helpers.rb
|
401
|
-
- spec/support/file_streamer.rb
|
402
|
-
- spec/support/chunks.rb
|
403
|
-
- spec/support/endpoint_faker.rb
|
404
|
-
- spec/support/integer_helpers.rb
|
405
|
-
- spec/grape/api/namespace_parameters_in_route_spec.rb
|
406
|
-
- spec/grape/api/routes_with_requirements_spec.rb
|
407
|
-
- spec/grape/api/nested_helpers_spec.rb
|
408
|
-
- spec/grape/api/required_parameters_in_route_spec.rb
|
409
|
-
- spec/grape/api/shared_helpers_exactly_one_of_spec.rb
|
410
|
-
- spec/grape/api/parameters_modification_spec.rb
|
411
|
-
- spec/grape/api/optional_parameters_in_route_spec.rb
|
412
|
-
- spec/grape/api/inherited_helpers_spec.rb
|
413
|
-
- spec/grape/api/required_parameters_with_invalid_method_spec.rb
|
414
397
|
- spec/grape/api/custom_validations_spec.rb
|
415
|
-
- spec/grape/api/defines_boolean_in_params_spec.rb
|
416
|
-
- spec/grape/api/shared_helpers_spec.rb
|
417
|
-
- spec/grape/api/invalid_format_spec.rb
|
418
398
|
- spec/grape/api/deeply_included_options_spec.rb
|
399
|
+
- spec/grape/api/defines_boolean_in_params_spec.rb
|
400
|
+
- spec/grape/api/inherited_helpers_spec.rb
|
419
401
|
- spec/grape/api/instance_spec.rb
|
402
|
+
- spec/grape/api/invalid_format_spec.rb
|
403
|
+
- spec/grape/api/namespace_parameters_in_route_spec.rb
|
404
|
+
- spec/grape/api/nested_helpers_spec.rb
|
405
|
+
- spec/grape/api/optional_parameters_in_route_spec.rb
|
406
|
+
- spec/grape/api/parameters_modification_spec.rb
|
420
407
|
- spec/grape/api/patch_method_helpers_spec.rb
|
421
408
|
- spec/grape/api/recognize_path_spec.rb
|
409
|
+
- spec/grape/api/required_parameters_in_route_spec.rb
|
410
|
+
- spec/grape/api/required_parameters_with_invalid_method_spec.rb
|
411
|
+
- spec/grape/api/routes_with_requirements_spec.rb
|
412
|
+
- spec/grape/api/shared_helpers_exactly_one_of_spec.rb
|
413
|
+
- spec/grape/api/shared_helpers_spec.rb
|
422
414
|
- spec/grape/api_remount_spec.rb
|
423
|
-
- spec/grape/
|
424
|
-
- spec/grape/validations/attributes_iterator_spec.rb
|
425
|
-
- spec/grape/validations/types/array_coercer_spec.rb
|
426
|
-
- spec/grape/validations/types/set_coercer_spec.rb
|
427
|
-
- spec/grape/validations/types/primitive_coercer_spec.rb
|
428
|
-
- spec/grape/validations/validators/regexp_spec.rb
|
429
|
-
- spec/grape/validations/validators/default_spec.rb
|
430
|
-
- spec/grape/validations/validators/values_spec.rb
|
431
|
-
- spec/grape/validations/validators/same_as_spec.rb
|
432
|
-
- spec/grape/validations/validators/mutual_exclusion_spec.rb
|
433
|
-
- spec/grape/validations/validators/except_values_spec.rb
|
434
|
-
- spec/grape/validations/validators/exactly_one_of_spec.rb
|
435
|
-
- spec/grape/validations/validators/allow_blank_spec.rb
|
436
|
-
- spec/grape/validations/validators/coerce_spec.rb
|
437
|
-
- spec/grape/validations/validators/presence_spec.rb
|
438
|
-
- spec/grape/validations/validators/at_least_one_of_spec.rb
|
439
|
-
- spec/grape/validations/validators/zh-CN.yml
|
440
|
-
- spec/grape/validations/validators/all_or_none_spec.rb
|
441
|
-
- spec/grape/validations/params_scope_spec.rb
|
442
|
-
- spec/grape/validations/multiple_attributes_iterator_spec.rb
|
443
|
-
- spec/grape/validations/instance_behaivour_spec.rb
|
444
|
-
- spec/grape/validations/single_attribute_iterator_spec.rb
|
415
|
+
- spec/grape/api_spec.rb
|
445
416
|
- spec/grape/config_spec.rb
|
446
|
-
- spec/grape/
|
417
|
+
- spec/grape/dsl/callbacks_spec.rb
|
418
|
+
- spec/grape/dsl/configuration_spec.rb
|
419
|
+
- spec/grape/dsl/desc_spec.rb
|
420
|
+
- spec/grape/dsl/headers_spec.rb
|
421
|
+
- spec/grape/dsl/helpers_spec.rb
|
422
|
+
- spec/grape/dsl/inside_route_spec.rb
|
423
|
+
- spec/grape/dsl/logger_spec.rb
|
424
|
+
- spec/grape/dsl/middleware_spec.rb
|
425
|
+
- spec/grape/dsl/parameters_spec.rb
|
426
|
+
- spec/grape/dsl/request_response_spec.rb
|
427
|
+
- spec/grape/dsl/routing_spec.rb
|
428
|
+
- spec/grape/dsl/settings_spec.rb
|
429
|
+
- spec/grape/dsl/validations_spec.rb
|
430
|
+
- spec/grape/endpoint/declared_spec.rb
|
431
|
+
- spec/grape/endpoint_spec.rb
|
432
|
+
- spec/grape/entity_spec.rb
|
433
|
+
- spec/grape/exceptions/base_spec.rb
|
447
434
|
- spec/grape/exceptions/body_parse_errors_spec.rb
|
448
|
-
- spec/grape/exceptions/missing_option_spec.rb
|
449
435
|
- spec/grape/exceptions/invalid_accept_header_spec.rb
|
450
|
-
- spec/grape/exceptions/validation_spec.rb
|
451
|
-
- spec/grape/exceptions/unknown_validator_spec.rb
|
452
|
-
- spec/grape/exceptions/validation_errors_spec.rb
|
453
|
-
- spec/grape/exceptions/invalid_response_spec.rb
|
454
|
-
- spec/grape/exceptions/unknown_options_spec.rb
|
455
436
|
- spec/grape/exceptions/invalid_formatter_spec.rb
|
437
|
+
- spec/grape/exceptions/invalid_response_spec.rb
|
456
438
|
- spec/grape/exceptions/invalid_versioner_option_spec.rb
|
457
439
|
- spec/grape/exceptions/missing_mime_type_spec.rb
|
458
|
-
- spec/grape/exceptions/
|
459
|
-
- spec/grape/
|
460
|
-
- spec/grape/
|
461
|
-
- spec/grape/
|
462
|
-
- spec/grape/
|
463
|
-
- spec/grape/util/reverse_stackable_values_spec.rb
|
464
|
-
- spec/grape/util/inheritable_values_spec.rb
|
465
|
-
- spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb
|
440
|
+
- spec/grape/exceptions/missing_option_spec.rb
|
441
|
+
- spec/grape/exceptions/unknown_options_spec.rb
|
442
|
+
- spec/grape/exceptions/unknown_validator_spec.rb
|
443
|
+
- spec/grape/exceptions/validation_errors_spec.rb
|
444
|
+
- spec/grape/exceptions/validation_spec.rb
|
466
445
|
- spec/grape/extensions/param_builders/hash_spec.rb
|
446
|
+
- spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb
|
467
447
|
- spec/grape/extensions/param_builders/hashie/mash_spec.rb
|
468
|
-
- spec/grape/integration/rack_spec.rb
|
469
|
-
- spec/grape/integration/rack_sendfile_spec.rb
|
470
448
|
- spec/grape/integration/global_namespace_function_spec.rb
|
471
|
-
- spec/grape/
|
472
|
-
- spec/grape/
|
473
|
-
- spec/grape/
|
474
|
-
- spec/grape/
|
449
|
+
- spec/grape/integration/rack_sendfile_spec.rb
|
450
|
+
- spec/grape/integration/rack_spec.rb
|
451
|
+
- spec/grape/loading_spec.rb
|
452
|
+
- spec/grape/middleware/auth/base_spec.rb
|
453
|
+
- spec/grape/middleware/auth/dsl_spec.rb
|
454
|
+
- spec/grape/middleware/auth/strategies_spec.rb
|
455
|
+
- spec/grape/middleware/base_spec.rb
|
456
|
+
- spec/grape/middleware/error_spec.rb
|
475
457
|
- spec/grape/middleware/exception_spec.rb
|
476
|
-
- spec/grape/middleware/
|
477
|
-
- spec/grape/middleware/versioner/header_spec.rb
|
478
|
-
- spec/grape/middleware/versioner/path_spec.rb
|
479
|
-
- spec/grape/middleware/versioner/accept_version_header_spec.rb
|
458
|
+
- spec/grape/middleware/formatter_spec.rb
|
480
459
|
- spec/grape/middleware/globals_spec.rb
|
481
460
|
- spec/grape/middleware/stack_spec.rb
|
482
|
-
- spec/grape/middleware/
|
483
|
-
- spec/grape/middleware/
|
484
|
-
- spec/grape/middleware/
|
485
|
-
- spec/grape/middleware/
|
486
|
-
- spec/grape/middleware/auth/base_spec.rb
|
461
|
+
- spec/grape/middleware/versioner/accept_version_header_spec.rb
|
462
|
+
- spec/grape/middleware/versioner/header_spec.rb
|
463
|
+
- spec/grape/middleware/versioner/param_spec.rb
|
464
|
+
- spec/grape/middleware/versioner/path_spec.rb
|
487
465
|
- spec/grape/middleware/versioner_spec.rb
|
488
|
-
- spec/grape/middleware/base_spec.rb
|
489
|
-
- spec/grape/entity_spec.rb
|
490
|
-
- spec/grape/dsl/settings_spec.rb
|
491
|
-
- spec/grape/dsl/callbacks_spec.rb
|
492
|
-
- spec/grape/dsl/middleware_spec.rb
|
493
|
-
- spec/grape/dsl/inside_route_spec.rb
|
494
|
-
- spec/grape/dsl/configuration_spec.rb
|
495
|
-
- spec/grape/dsl/parameters_spec.rb
|
496
|
-
- spec/grape/dsl/logger_spec.rb
|
497
|
-
- spec/grape/dsl/helpers_spec.rb
|
498
|
-
- spec/grape/dsl/request_response_spec.rb
|
499
|
-
- spec/grape/dsl/routing_spec.rb
|
500
|
-
- spec/grape/dsl/headers_spec.rb
|
501
|
-
- spec/grape/dsl/validations_spec.rb
|
502
|
-
- spec/grape/dsl/desc_spec.rb
|
503
|
-
- spec/grape/validations_spec.rb
|
504
466
|
- spec/grape/named_api_spec.rb
|
505
|
-
- spec/grape/
|
467
|
+
- spec/grape/parser_spec.rb
|
468
|
+
- spec/grape/path_spec.rb
|
469
|
+
- spec/grape/presenters/presenter_spec.rb
|
506
470
|
- spec/grape/request_spec.rb
|
471
|
+
- spec/grape/util/inheritable_setting_spec.rb
|
472
|
+
- spec/grape/util/inheritable_values_spec.rb
|
473
|
+
- spec/grape/util/reverse_stackable_values_spec.rb
|
474
|
+
- spec/grape/util/stackable_values_spec.rb
|
475
|
+
- spec/grape/util/strict_hash_configuration_spec.rb
|
476
|
+
- spec/grape/validations/attributes_iterator_spec.rb
|
477
|
+
- spec/grape/validations/instance_behaivour_spec.rb
|
478
|
+
- spec/grape/validations/multiple_attributes_iterator_spec.rb
|
479
|
+
- spec/grape/validations/params_scope_spec.rb
|
480
|
+
- spec/grape/validations/single_attribute_iterator_spec.rb
|
481
|
+
- spec/grape/validations/types/array_coercer_spec.rb
|
482
|
+
- spec/grape/validations/types/primitive_coercer_spec.rb
|
483
|
+
- spec/grape/validations/types/set_coercer_spec.rb
|
484
|
+
- spec/grape/validations/types_spec.rb
|
485
|
+
- spec/grape/validations/validators/all_or_none_spec.rb
|
486
|
+
- spec/grape/validations/validators/allow_blank_spec.rb
|
487
|
+
- spec/grape/validations/validators/at_least_one_of_spec.rb
|
488
|
+
- spec/grape/validations/validators/coerce_spec.rb
|
489
|
+
- spec/grape/validations/validators/default_spec.rb
|
490
|
+
- spec/grape/validations/validators/exactly_one_of_spec.rb
|
491
|
+
- spec/grape/validations/validators/except_values_spec.rb
|
492
|
+
- spec/grape/validations/validators/mutual_exclusion_spec.rb
|
493
|
+
- spec/grape/validations/validators/presence_spec.rb
|
494
|
+
- spec/grape/validations/validators/regexp_spec.rb
|
495
|
+
- spec/grape/validations/validators/same_as_spec.rb
|
496
|
+
- spec/grape/validations/validators/values_spec.rb
|
497
|
+
- spec/grape/validations/validators/zh-CN.yml
|
498
|
+
- spec/grape/validations_spec.rb
|
507
499
|
- spec/integration/eager_load/eager_load_spec.rb
|
508
|
-
- spec/integration/multi_xml/xml_spec.rb
|
509
500
|
- spec/integration/multi_json/json_spec.rb
|
501
|
+
- spec/integration/multi_xml/xml_spec.rb
|
502
|
+
- spec/shared/versioning_examples.rb
|
510
503
|
- spec/spec_helper.rb
|
504
|
+
- spec/support/basic_auth_encode_helpers.rb
|
505
|
+
- spec/support/chunks.rb
|
506
|
+
- spec/support/content_type_helpers.rb
|
507
|
+
- spec/support/eager_load.rb
|
508
|
+
- spec/support/endpoint_faker.rb
|
509
|
+
- spec/support/file_streamer.rb
|
510
|
+
- spec/support/integer_helpers.rb
|
511
|
+
- spec/support/versioned_helpers.rb
|