* Run `rubocop -a`
* Update changelog
* Run CI against grape 2.1.x and 2.2.x
* Copy formatter and content type defaults from grape
* Use matrix to reduce duplication in CI workflow
* Fix typo
* Refactor MoveParams.parent_definition_of_params to use OperationId.build rather than OperationId.manipulate
This means it'll use route nicknames if those are available. It also means route parameters will be used in the definition names.
* Simplify MoveParams.build_body_parameter
MoveParams.build_definition returns the passed in name, so name and referenced_definition were always the same value.
* Fix Rubocop offenses
* Fix old reference to Travis CI in CONTRIBUTING
* Fix CHANGELOG
* Update CHANGELOG and UPGRADING
* Prepare next release
- bump version
- updates travis matrix to newest ruby versions
- removes deprecation warnings of swagger-entity and -representable
* Uses Ruby 2.7
- adepts specs
- changes method signature
- fixes grape version to 1.2.5 -> will be the last release to support it
- adds CHANGELOG entry
Ruby 2.2 series is pretty much alive and many production apps are still not upgraded to last minor version.
Locking to 2.2.6 would make things much more difficult for users to make transition.
* Grape version cascading (#27)
- Add support for grape version cascading
- make rubocop happy, fix test
- fix test failure for grape lower than 0.17
- refactors getting version from route
* updates dependencies
- drops grape <0.16.2 support, including code only for grape <0.16.2
- adds ruby 2.4.0 support
- adds grape 0.19.0 support
- adds changelog entry
- updates version matrix
- adapts rubocop todo
* This PR moves the development dependencies to the Gemfile.
- move development dependencies to Gemfile (where there's platforms annotation support and ruby version identification)
- update the Bundler version to latest, in Travis build step before_install, so that the smarts keep working
- made Gemfile Rubocop-compliant
* CHANGELOG.md - add back missing line
* Move line in CHANGELOG.md
* CHANGELOG.md danger warning
`awesome_print` gem is not used in the code and should not be a runtime
dependency.
Initially, it was added as a development dependency in
e406abfe3c. It was used to output debug
information in specs.
But later, it was changed to be a runtime dependency in
05a0085155 for no particular reason.