Commit Graph

81 Commits

Author SHA1 Message Date
Andrei Subbota 3e842a138b
Dependencies update (#948)
* Add spec route helper to complain with Grape >= 2.3.0

* Explicitly add ostruct gem in case of Ruby 3.5

* Update CHANGELOG
2025-02-19 09:25:58 -05:00
peter scholz 599712eb34
Prepare release 2.1.2 (#946)
* Drop ruby 3.0

* Prepare release 2.1.2
2025-01-07 23:09:02 +01:00
dblock 4d96c4508f
Preparing for release, 2.1.1. 2024-09-21 05:26:35 -04:00
Dhruv Paranjape a5e2575a02
Document the min/max Items/Length fields if the attribute uses the length validator (#934)
* Document the min/max Items/Length fields if the attribute uses the length validator.

* restrict rack version to less than 3.0 when grape version 1.8 or lower

* fix spec
2024-06-28 09:16:20 +02:00
peter scholz 7198a3abb2
Prepare release 2.0.2 (#920)
- removes unused dependencies: coverall and danger
2024-02-02 12:43:36 +01:00
peter scholz 8e723c6383
Prepare Release 2.0.0 (#912)
* Allows to use grap v2.0 in dev.

* Aligns ruby and grape version with test matrix.

- removes allowing untested versions

* Prepare release 2.0.0
2023-11-17 11:51:25 +01:00
peter scholz 55267acd39
Some maintenance tasks. (#906)
* Improves rubocop config.

* Replaces grape 1.6 action job by grape 1.8.

* Removes 3.0 test in action.

* Bump actions/checkout from 3 to 4.

- closes #32
2023-09-06 20:14:08 +02:00
peter scholz 217d3ca3f9
Adjust spec matrix. (#899)
* Updates GH action matrix.

* Improves Actions.

* Loosens grape versions.

- fixes run matrix
- makes rubocop happy
2023-05-21 00:31:00 +02:00
peter scholz 10d165ba53
Upgrades Rack. (#890)
* Updates GH action matrix.

* Improves Actions.

* Updates Rack to > 3.
2023-02-19 15:22:59 +01:00
peter scholz 557df89f82
Uses Ruby 3.2 (#889)
* Updates GH action matrix.

* Improves Actions.

* Updates matrix to use runy 3.2
2023-02-19 15:02:15 +01:00
Devin Moss 908a7a8912
Parse route_param type for nested endpoints (#847)
* Fix documentation of `route_param` type when used with nested endpoints

* Rubocop fixes

* Rubocop fixes

* grape 1.6

Co-authored-by: peter scholz <pscholz.le@gmail.com>
2022-07-26 10:04:09 +02:00
Paul Padier 1a3e3f5889
Allow using nicknames for body definitions (#862)
* 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
2022-07-26 09:44:42 +02:00
Masayoshi Takahashi 06975c8772
Add webrick to support Ruby 3.x (#853) 2022-03-13 13:24:56 +01:00
Masayoshi Takahashi 5e0af24f84
Fix example to work (#852) 2022-03-13 08:37:50 +01:00
dependabot[bot] 731c5a8930
Update ruby-grape-danger requirement from ~> 0.1.1 to ~> 0.2.0 (#824)
Updates the requirements on [ruby-grape-danger](https://github.com/ruby-grape/danger) to permit the latest version.
- [Release notes](https://github.com/ruby-grape/danger/releases)
- [Changelog](https://github.com/ruby-grape/danger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-grape/danger/compare/v0.1.1...v0.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: peter scholz <pscholz.le@gmail.com>
2021-10-02 08:08:56 +02:00
peter scholz 80b96c0135
Prepare release 1.3.1 (#814)
- updates rubocop to 1.1
2020-11-01 15:36:52 +01:00
peter scholz 5d15589480
Updates travis ci config. (#810)
- makes rubocop happy, after update
2020-10-09 20:05:47 +02:00
peter scholz 08b8c2fe05
Prepare release 1.3.0 (#808)
- updates and satisfy rubocop 0.90
- fixes ruby warnings
- adds truffelruby-head to travis
2020-09-05 00:52:12 +02:00
peter scholz e1261f8627
Fixes behaviour after grape upgrade to 1.4.0. (#801)
- adds CHANGELOG entry
2020-07-14 08:40:22 +02:00
peter scholz ff5b610206
Points to grape-swagger-entity fix. (#799)
- allows grape head to fails ... for the moment
2020-06-30 10:12:52 +02:00
peter scholz b69488b56e
Prepare release 1.1.0 (#787) 2020-04-20 19:00:11 +02:00
peter scholz 2d471d0b77
Updates rubocop to 0.80. (#780)
- next try to fix danger warning
2020-03-02 01:12:49 +01:00
peter scholz 1ce0b5f795 Make usage of grape >= 1.3 (#777)
* Replaces Virtus by dry-type.

* Makes usage of rack ~> 2.1

* Adds changelog entry.

- adapts travis config
2020-02-09 23:30:21 +01:00
peter scholz 56806e2e7e
Freeze Rack version to 2.0.8 (#773)
- corrects version matrix
2020-01-20 18:39:10 +01:00
peter scholz ad393188c2
Relaxes grape version. (#769)
- updates compatibility matrix
2020-01-11 04:19:29 +01:00
LeFnord ec6969818a Fixes rack version to 2.0.8 2020-01-11 01:46:24 +01:00
peter scholz 45590937f9
Uses ruby 2.7 (#768)
* 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
2020-01-03 18:33:31 +01:00
peter scholz 7237ef3525
prepare release 0.33.0 (#749)
- aligns ruby versions for travis, rubocop and the gem itself
2019-06-21 22:53:20 +02:00
LeFnord c854864e8b Updates travis matrix. 2019-03-14 23:49:35 +01:00
peter scholz d20b91041d
Cleans up travis (#740)
- updates Gemfile
2019-02-10 00:25:08 +01:00
LeFnord 02ede028a3 Rreplaces coveralls through coveralls_reborn. 2018-12-10 21:32:11 +01:00
peter scholz 6e851ace83
prepare 0.32.1 release (#732)
- updates dependencies
- removes coveralls dependency, have to investigate it ...
2018-12-07 22:07:00 +01:00
peter scholz 83a6e8d04d
prepare 0.32.0 release (#728)
- reverts usage of ruby 2.6.0-preview3, cause travis didn't have atm
2018-11-26 18:06:43 +01:00
LeFnord 620ce18453 Maintainance Tasks
- updates dependencies
- looses rubocop dependency to minor
- adds 2.6.0-preview2 to travis
- adds grape 1.1.0 to travis
- skips testing of grape < 0.19.2
  -> only have last three minors and HEAD
2018-11-04 01:14:22 +01:00
Daniel Doubrovkine (dB.) @dblockdotorg 224c5f2694 Upgraded and locked Rubocop at 0.60.0. (#719) 2018-10-29 16:32:45 +01:00
peter scholz 824c64d092
updates rubocop to 0.59.0 (#703) 2018-09-10 13:03:01 +02:00
peter scholz 6963e1772c
prepare 0.30.0 release (#685) 2018-07-19 20:46:15 +02:00
peter scholz c2b3d489ad
maintainance (#662)
* adds ruby 2.5, drops ruby 2.2 support

* removes deprecated markdown stuff
2018-02-03 14:49:19 +01:00
peter scholz 8c3fb898a4
updates dependencies (#645) 2017-11-03 22:40:09 +01:00
Wojciech Kocjan 7d871ae4a1 Fix mounting APIs in route_param namespaces (#634)
* Fix mounting APIs in route_param namespaces

* Added missing tests, based on code from

https://github.com/ruby-grape/grape-swagger/pull/543 by @milgner

Applied on top of latest master

* Added changelog

* Fix CHANGELOG.md

* Cleanup rubocop offences related to this change

* Fix rubocop version

* Re-added * Your contribution here to CHANGELOG.md
2017-09-27 00:53:38 +02:00
peter scholz 2ed8ce01ec updates dependencies (#619) 2017-07-11 20:20:11 +02:00
Mitsutaka Mimura 46dffa3d28 use latest ruby version in CI (#600)
* use latest ruby version in CI

* correct rubocop

* update rubocop version
2017-04-06 21:26:40 +02:00
peter scholz 1ede5c4f7f prepare 0.27.0 (#598)
- updates dependencies
- makes rubocop 0.48 happy
2017-03-28 11:15:33 +02:00
peter scholz 2df7dbeaf1 issue #590: fixes rubocop offences (#595) 2017-03-08 09:32:31 +01:00
peter scholz 54180756f7 issue 572: is_array should only be applied to success (#574)
- updates travis
- adds changelog entry
2017-01-26 00:51:13 +01:00
peter scholz 0ffec4d9f7 adds code coverage w/ Coveralls (#568)
- configure coveralls
-adds changelog entry
2017-01-15 16:39:32 +01:00
peter scholz 51d4ff6622 issue#566: removes markdown (#567)
- updates README
- updates UPGRADING
- adds changelog entry
- cleans up gemfile
2017-01-14 16:49:51 +01:00
peter scholz 6c5e386a32 Version Cascading including dependency updates (#558)
* 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
2016-12-27 13:49:29 +01:00
Olle Jonsson 23d0211c25 Development deps in Gemfile (#546)
* 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
2016-12-04 03:23:54 +01:00
peter scholz 57947d308e accepts string as entity (#527)
- adds changelog entry
- requires min version of rubocop
2016-10-31 12:14:08 +01:00