[DRE-commits] [ruby-grape] 01/06: Merge tag 'upstream/0.16.2'

Lucas Kanashiro kanashiro.duarte at gmail.com
Mon May 9 19:40:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository ruby-grape.

commit 093144b11c3f4a9ca3cfcdf6f4cc7b837ac92ec8
Merge: 8a04931 376b637
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Mon May 9 16:23:35 2016 -0300

    Merge tag 'upstream/0.16.2'
    
    Upstream version 0.16.2
    
    # gpg: Signature made Mon 09 May 2016 04:23:33 PM BRT using RSA key ID 9883C97C
    # gpg: Good signature from "Lucas Kanashiro <kanashiro.duarte at gmail.com>"
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: 8ED6 C3F8 BAC9 DB7F C130  A870 F823 A272 9883 C97C

 CHANGELOG.md                                       |  68 ++-
 Gemfile.lock                                       |  57 +-
 README.md                                          | 345 ++++++++++--
 UPGRADING.md                                       | 131 ++++-
 gemfiles/rails_3.gemfile                           |   2 +-
 Gemfile.lock => gemfiles/rails_3.gemfile.lock      |  97 +++-
 grape.gemspec                                      |   6 +-
 lib/grape.rb                                       |  65 ++-
 lib/grape/api.rb                                   | 104 ++--
 lib/grape/dsl/configuration.rb                     | 117 +---
 lib/grape/dsl/desc.rb                              | 101 ++++
 lib/grape/dsl/headers.rb                           |  16 +
 lib/grape/dsl/helpers.rb                           |  14 +-
 lib/grape/dsl/inside_route.rb                      |  26 +-
 lib/grape/dsl/logger.rb                            |  20 +
 lib/grape/dsl/parameters.rb                        |  22 +-
 lib/grape/dsl/request_response.rb                  |  21 +-
 lib/grape/dsl/routing.rb                           |  34 +-
 lib/grape/dsl/settings.rb                          |  10 +-
 lib/grape/endpoint.rb                              | 159 +++---
 lib/grape/error_formatter.rb                       |  33 ++
 lib/grape/error_formatter/base.rb                  |  44 +-
 lib/grape/error_formatter/json.rb                  |  15 +-
 lib/grape/error_formatter/txt.rb                   |   4 +-
 lib/grape/error_formatter/xml.rb                   |   4 +-
 lib/grape/exceptions/base.rb                       |  15 +-
 lib/grape/exceptions/incompatible_option_values.rb |   2 +-
 lib/grape/exceptions/invalid_accept_header.rb      |   2 +-
 lib/grape/exceptions/invalid_formatter.rb          |   2 +-
 lib/grape/exceptions/invalid_message_body.rb       |   2 +-
 lib/grape/exceptions/invalid_version_header.rb     |   2 +-
 lib/grape/exceptions/invalid_versioner_option.rb   |   2 +-
 .../invalid_with_option_for_represent.rb           |   2 +-
 lib/grape/exceptions/method_not_allowed.rb         |  10 +
 lib/grape/exceptions/missing_group_type.rb         |   2 +-
 lib/grape/exceptions/missing_mime_type.rb          |   2 +-
 lib/grape/exceptions/missing_option.rb             |   2 +-
 lib/grape/exceptions/missing_vendor_option.rb      |   2 +-
 lib/grape/exceptions/unknown_options.rb            |   2 +-
 lib/grape/exceptions/unknown_parameter.rb          |   2 +-
 lib/grape/exceptions/unknown_validator.rb          |   2 +-
 lib/grape/exceptions/unsupported_group_type.rb     |   2 +-
 lib/grape/exceptions/validation.rb                 |   3 +-
 lib/grape/formatter.rb                             |  33 ++
 lib/grape/formatter/base.rb                        |  31 --
 lib/grape/http/headers.rb                          |   1 +
 lib/grape/middleware/base.rb                       |  30 +-
 lib/grape/middleware/error.rb                      |  25 +-
 lib/grape/middleware/formatter.rb                  |   9 +-
 .../middleware/versioner/accept_version_header.rb  |   4 +-
 lib/grape/middleware/versioner/header.rb           |   6 +-
 lib/grape/middleware/versioner/param.rb            |  15 +-
 lib/grape/middleware/versioner/path.rb             |   4 +-
 lib/grape/namespace.rb                             |   2 +-
 lib/grape/parser.rb                                |  31 ++
 lib/grape/parser/base.rb                           |  29 -
 lib/grape/path.rb                                  |   6 +-
 lib/grape/request.rb                               |   4 +-
 lib/grape/route.rb                                 |  32 --
 lib/grape/router.rb                                | 161 ++++++
 lib/grape/router/attribute_translator.rb           |  30 +
 lib/grape/router/pattern.rb                        |  55 ++
 lib/grape/router/route.rb                          | 103 ++++
 lib/grape/serve_file/file_body.rb                  |  34 ++
 lib/grape/{util => serve_file}/file_response.rb    |   2 +-
 lib/grape/serve_file/sendfile_response.rb          |  19 +
 lib/grape/util/env.rb                              |   3 +-
 lib/grape/util/registrable.rb                      |  13 +
 lib/grape/util/strict_hash_configuration.rb        |   2 +-
 lib/grape/validations/params_scope.rb              |  48 +-
 lib/grape/validations/types.rb                     |  16 +
 lib/grape/validations/types/custom_type_coercer.rb |   2 +
 lib/grape/validations/validators/all_or_none.rb    |   2 +-
 lib/grape/validations/validators/allow_blank.rb    |   4 +-
 .../validations/validators/at_least_one_of.rb      |   2 +-
 lib/grape/validations/validators/base.rb           |  26 +
 lib/grape/validations/validators/coerce.rb         |  30 +-
 lib/grape/validations/validators/default.rb        |   2 +-
 lib/grape/validations/validators/exactly_one_of.rb |  11 +-
 .../validations/validators/mutual_exclusion.rb     |   2 +-
 lib/grape/validations/validators/presence.rb       |   2 +-
 lib/grape/validations/validators/regexp.rb         |   4 +-
 lib/grape/validations/validators/values.rb         |   4 +-
 lib/grape/version.rb                               |   2 +-
 metadata.yml                                       | 610 ---------------------
 pkg/grape-0.13.0.gem                               | Bin 145408 -> 0 bytes
 pkg/grape-0.16.1.gem                               | Bin 0 -> 177664 bytes
 pkg/patch.diff                                     |  24 +
 spec/grape/api/custom_validations_spec.rb          | 177 +++++-
 spec/grape/api/invalid_format_spec.rb              |  43 ++
 .../api/namespace_parameters_in_route_spec.rb      |  38 ++
 .../grape/api/optional_parameters_in_route_spec.rb |  43 ++
 spec/grape/api/patch_method_helpers_spec.rb        |  80 +++
 spec/grape/api/recognize_path_spec.rb              |  21 +
 .../grape/api/required_parameters_in_route_spec.rb |  37 ++
 ...required_parameters_with_invalid_method_spec.rb |  26 +
 spec/grape/api_spec.rb                             | 284 +++++++---
 spec/grape/dsl/configuration_spec.rb               |  75 ---
 .../dsl/{configuration_spec.rb => desc_spec.rb}    |  20 +-
 spec/grape/dsl/headers_spec.rb                     |  32 ++
 spec/grape/dsl/inside_route_spec.rb                | 519 +++++++++---------
 spec/grape/dsl/logger_spec.rb                      |  26 +
 spec/grape/dsl/parameters_spec.rb                  |  20 +-
 spec/grape/dsl/request_response_spec.rb            |  20 +-
 spec/grape/dsl/routing_spec.rb                     |   9 +-
 spec/grape/dsl/settings_spec.rb                    |  42 ++
 spec/grape/endpoint_spec.rb                        |  79 ++-
 spec/grape/entity_spec.rb                          |   4 +-
 spec/grape/exceptions/validation_errors_spec.rb    |   4 +-
 spec/grape/exceptions/validation_spec.rb           |   7 +
 .../integration/global_namespace_function_spec.rb  |  29 +
 spec/grape/integration/rack_sendfile_spec.rb       |  44 ++
 spec/grape/middleware/base_spec.rb                 | 100 ++++
 spec/grape/middleware/exception_spec.rb            |   3 +-
 spec/grape/middleware/formatter_spec.rb            |  37 +-
 .../versioner/accept_version_header_spec.rb        |   2 +-
 spec/grape/middleware/versioner/header_spec.rb     |  14 +-
 spec/grape/middleware/versioner/param_spec.rb      | 106 +++-
 spec/grape/middleware/versioner/path_spec.rb       |   2 +-
 spec/grape/parser_spec.rb                          |  82 +++
 spec/grape/request_spec.rb                         |   4 +-
 spec/grape/validations/params_scope_spec.rb        |  81 ++-
 .../validations/validators/allow_blank_spec.rb     | 277 ++++++++++
 spec/grape/validations/validators/coerce_spec.rb   | 142 +++++
 spec/grape/validations/validators/default_spec.rb  |   6 +
 spec/grape/validations/validators/presence_spec.rb |  27 +
 spec/grape/validations/validators/regexp_spec.rb   |  36 ++
 spec/grape/validations/validators/values_spec.rb   |  44 ++
 spec/grape/validations_spec.rb                     | 155 +++++-
 spec/spec_helper.rb                                |   1 +
 tmp/Gemfile.lock                                   |  63 +++
 131 files changed, 4195 insertions(+), 1714 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-grape.git



More information about the Pkg-ruby-extras-commits mailing list