forked from ruby-grape/grape
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize hash alloc (ruby-grape#2512)
* Remove double splat operators when not needed including specs Grape::Validations::Validators::Base last arguments is now just a simple param Grape::Exceptions::Validation and Grape::Exceptions::ValidationErrors does not end with **args. Grape::Request has a named param build_params_with: nil instead of **options Remove @namespace_description in routing.rb * Revert compile_many_routes.rb * Optimize Head Route * Use dup instead of new for Head Route * Use opts = {} for validator instead of just opts rubocop * Optimize add_head_not_allowed_methods_and_options_methods Renamed to add_head_and_options_methods * Remove requirements and path from greedy route (not used) allow header is joined * Remove {} for opts since its internal. * Fix rubocop * Remove frozen allow_header. Now Dynamic * Update CHANGELOG.md
- Loading branch information
1 parent
0477baf
commit 86648fa
Showing
38 changed files
with
214 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.