[DRE-commits] [ruby-grape] branch master updated (6527923 -> 8a04931)
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Tue Mar 8 16:54:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a change to branch master
in repository ruby-grape.
from 6527923 Use new default gem2deb Rakefile to run the tests
adds 337166b Imported Upstream version 0.14.0
new 493362e Merge tag 'upstream/0.14.0'
new 876d39d New upstream release
new 0f1bf7d Update patch 0002 for new upstream release
new 8a04931 Create release
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 46 --
.rspec | 2 -
.rubocop.yml | 7 -
.rubocop_todo.yml | 84 ----
.travis.yml | 20 -
.yardopts | 2 -
Appraisals | 13 +-
CHANGELOG.md | 28 ++
Gemfile | 1 -
Gemfile.lock | 166 ++++++++
README.md | 468 ++++++++++++++-------
Rakefile | 63 ++-
UPGRADING.md | 31 ++
benchmark/simple.rb | 27 ++
debian/changelog | 8 +
...002-Allow-release-absence-in-Rack.release.patch | 16 +-
gemfiles/{rails_4.gemfile => rack_1.5.2.gemfile} | 5 +-
gemfiles/rails_3.gemfile | 4 +-
gemfiles/rails_4.gemfile | 3 +-
grape.gemspec | 9 +-
lib/grape.rb | 14 +-
lib/grape/dsl/configuration.rb | 7 +-
lib/grape/dsl/helpers.rb | 11 +-
lib/grape/dsl/inside_route.rb | 111 +++--
lib/grape/dsl/parameters.rb | 33 +-
lib/grape/dsl/request_response.rb | 2 +-
lib/grape/dsl/routing.rb | 7 +-
lib/grape/endpoint.rb | 91 ++--
lib/grape/error_formatter/base.rb | 12 +-
lib/grape/exceptions/base.rb | 10 +-
lib/grape/exceptions/invalid_version_header.rb | 10 +
lib/grape/formatter/serializable_hash.rb | 5 +-
lib/grape/http/request.rb | 35 --
lib/grape/locale/en.yml | 5 +-
lib/grape/middleware/auth/base.rb | 4 +-
lib/grape/middleware/auth/dsl.rb | 2 +-
lib/grape/middleware/auth/strategies.rb | 2 +-
lib/grape/middleware/base.rb | 11 +-
lib/grape/middleware/error.rb | 5 +-
lib/grape/middleware/filter.rb | 2 +-
lib/grape/middleware/formatter.rb | 91 ++--
lib/grape/middleware/globals.rb | 6 +-
.../middleware/versioner/accept_version_header.rb | 12 +-
lib/grape/middleware/versioner/header.rb | 163 ++++---
lib/grape/middleware/versioner/param.rb | 13 +-
.../middleware/versioner/parse_media_type_patch.rb | 20 +
lib/grape/middleware/versioner/path.rb | 9 +-
lib/grape/path.rb | 6 +-
lib/grape/request.rb | 40 ++
lib/grape/util/content_types.rb | 18 +-
lib/grape/util/env.rb | 22 +
lib/grape/util/parameter_types.rb | 58 ---
lib/grape/util/strict_hash_configuration.rb | 3 +-
lib/grape/validations/attributes_iterator.rb | 11 +-
lib/grape/validations/params_scope.rb | 98 ++++-
lib/grape/validations/types.rb | 144 +++++++
lib/grape/validations/types/build_coercer.rb | 53 +++
lib/grape/validations/types/custom_type_coercer.rb | 183 ++++++++
lib/grape/validations/types/file.rb | 28 ++
lib/grape/validations/types/json.rb | 65 +++
.../validations/types/multiple_type_coercer.rb | 76 ++++
.../types/variant_collection_coercer.rb | 59 +++
.../validations/types/virtus_collection_patch.rb | 16 +
lib/grape/validations/validators/all_or_none.rb | 2 +-
lib/grape/validations/validators/allow_blank.rb | 6 +-
lib/grape/validations/validators/base.rb | 7 +
lib/grape/validations/validators/coerce.rb | 73 ++--
lib/grape/validations/validators/presence.rb | 5 +-
lib/grape/validations/validators/regexp.rb | 6 +-
lib/grape/validations/validators/values.rb | 6 +-
lib/grape/version.rb | 2 +-
metadata.yml | 64 ++-
pkg/grape-0.13.0.gem | Bin 0 -> 145408 bytes
spec/grape/api/custom_validations_spec.rb | 9 +-
spec/grape/api/deeply_included_options_spec.rb | 14 +-
spec/grape/api/nested_helpers_spec.rb | 6 +-
spec/grape/api/shared_helpers_spec.rb | 16 +-
spec/grape/api_spec.rb | 142 ++++---
spec/grape/dsl/configuration_spec.rb | 13 +
spec/grape/dsl/helpers_spec.rb | 18 +-
spec/grape/dsl/inside_route_spec.rb | 5 +-
spec/grape/dsl/parameters_spec.rb | 6 -
spec/grape/dsl/routing_spec.rb | 2 +-
spec/grape/endpoint_spec.rb | 81 +++-
spec/grape/entity_spec.rb | 18 +-
.../grape/exceptions/invalid_accept_header_spec.rb | 16 +-
spec/grape/integration/rack_spec.rb | 5 +-
spec/grape/middleware/base_spec.rb | 12 +-
spec/grape/middleware/error_spec.rb | 31 +-
spec/grape/middleware/exception_spec.rb | 88 ++--
spec/grape/middleware/formatter_spec.rb | 34 ++
spec/grape/middleware/versioner/header_spec.rb | 126 +++---
spec/grape/path_spec.rb | 20 +-
spec/grape/presenters/presenter_spec.rb | 4 +-
spec/grape/request_spec.rb | 100 +++++
spec/grape/util/parameter_types_spec.rb | 54 ---
spec/grape/validations/params_scope_spec.rb | 20 +-
spec/grape/validations/types_spec.rb | 95 +++++
spec/grape/validations/validators/coerce_spec.rb | 337 ++++++++++++++-
spec/grape/validations/validators/values_spec.rb | 30 +-
spec/grape/validations_spec.rb | 77 ++--
spec/shared/versioning_examples.rb | 4 +-
spec/spec_helper.rb | 1 -
spec/support/versioned_helpers.rb | 4 +-
104 files changed, 2956 insertions(+), 1179 deletions(-)
delete mode 100644 .gitignore
delete mode 100644 .rspec
delete mode 100644 .rubocop.yml
delete mode 100644 .rubocop_todo.yml
delete mode 100644 .travis.yml
delete mode 100644 .yardopts
create mode 100644 Gemfile.lock
create mode 100644 benchmark/simple.rb
copy gemfiles/{rails_4.gemfile => rack_1.5.2.gemfile} (68%)
create mode 100644 lib/grape/exceptions/invalid_version_header.rb
delete mode 100644 lib/grape/http/request.rb
create mode 100644 lib/grape/middleware/versioner/parse_media_type_patch.rb
create mode 100644 lib/grape/request.rb
create mode 100644 lib/grape/util/env.rb
delete mode 100644 lib/grape/util/parameter_types.rb
create mode 100644 lib/grape/validations/types.rb
create mode 100644 lib/grape/validations/types/build_coercer.rb
create mode 100644 lib/grape/validations/types/custom_type_coercer.rb
create mode 100644 lib/grape/validations/types/file.rb
create mode 100644 lib/grape/validations/types/json.rb
create mode 100644 lib/grape/validations/types/multiple_type_coercer.rb
create mode 100644 lib/grape/validations/types/variant_collection_coercer.rb
create mode 100644 lib/grape/validations/types/virtus_collection_patch.rb
create mode 100644 pkg/grape-0.13.0.gem
create mode 100644 spec/grape/request_spec.rb
delete mode 100644 spec/grape/util/parameter_types_spec.rb
create mode 100644 spec/grape/validations/types_spec.rb
--
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