Commit Graph

66 Commits

Author SHA1 Message Date
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
Patrick Oscity a4190cf2d1
Grape 2.2.0 compatibility (#940)
* 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
2024-09-21 05:21:46 -04:00
Lin Jen-Shin (godfat) 46dc3f86ba
Restore support for Ruby 3.0 (#916)
Co-authored-by: Lin Jen-Shin <jen-shin@gitlab.com>
2024-01-02 12:47:47 +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
Manabu Niseki 69e91790a0
Allow using Grape v2 (#910)
* Allow using Grape v2

* Update CHANGELOG.md
2023-11-14 09:16:43 +01:00
x-yuri dfc038476a
grape-swagger needs rack-test (#909) 2023-10-24 11:34:40 +02:00
Eric Proulx c4c2dead28
Refactor gemspec files to include just the necessary (#907)
* Refactor gemspec files to include just the necessary

* Revert LOAD_PATH

* Replace MD Files by *.md

* Use require_relative to load version
2023-10-22 14:58:16 +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
peter scholz 14adf931c3
Makes rubocop happy. (#848)
* Makes rubocop happy.

* Updates GH action matrix.

* Improves Actions.
2022-02-27 01:39:56 +01:00
peter scholz 19cd0dd28d
Prepare release 1.4.0 (#826) 2021-03-20 00:48:58 +01:00
peter scholz 9584451476
Adds ruby 3.0 support. (#818)
- drops ruby < 2.5 support
  required version now > 2.5
- removes travis
- adds GH actions
2021-02-16 20:11:04 +01:00
Daniel Hanke 71612befaa
Support Grape 1.4.0 (#796) 2020-06-12 19:38:33 +02: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
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
peter scholz 7005eff9a8
updates rubocop; corrects represntable specs (#671)
* uses updated rubocop; adopts code

* corrects representable specs; align it with entity specs
2018-03-17 12:30:37 +01: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
Trung Lê 2cdc1b0e04 Relax the minor version requirement (#618)
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.
2017-07-11 19:37:47 +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 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
Sergey Nartimov d4cb9db086 Remove extra dependency
`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.
2016-05-11 09:07:29 +03:00
dblock 76025377bd Upgraded RuboCop to 0.40.0. 2016-05-10 16:01:13 -04:00
Kirill Zaitsev f4a0c15687 Move model parsing logic outside grape-swagger 2016-05-10 21:59:15 +03:00
dblock 0d5702ee3c Support for Grape 0.16.0. Closes #407. 2016-05-06 17:44:21 -04:00
dblock d296438098 Added support for Grape 0.15.x, part of #407. 2016-05-06 14:41:11 -04:00
Peter Scholz 7839d9a708 fixes grape to 0.14.0 2016-04-15 14:34:33 +02:00
Peter Scholz 9f2cff35d1 adds setting of param_type, refactores ParseParams 2016-03-30 16:58:38 +02:00
peter scholz 0afb3ed422 Update api_swagger_v2_format-content_type_spec.rb
removes pry

runs under 2.3

updates gems, corrects parameter, which is in array, make rubocop happy

fixes jruby build

changes for TravisCI
2016-03-13 15:04:27 +01:00
Peter Scholz cd9bea8ca6 upgrades to grape 0.14.x; grape-entity 0.5.x 2016-03-13 15:04:26 +01:00
Peter Scholz eab66e0479 updates grape, corrects creation of definitions 2015-12-09 13:54:53 +01:00
Tim Regener 05a0085155 swagger_doc improvements 2015-09-30 15:23:20 +02:00
LeFnord e406abfe3c Update README.md 2015-09-24 19:08:24 +02:00
LeFnord 6e050fb110 refactoring ... 2015-08-27 02:50:37 +02:00
dblock 2d8acdac5a Upgraded RuboCop to 0.33.0. 2015-08-19 12:18:27 -04:00
dblock c27de4fffc Moved to the ruby-grape organization. 2015-08-19 12:14:30 -04:00
dblock f9f87c5fa2 Ensure compatibility with Grape 0.8.0, 0.9.0 and 0.9.1. 2014-11-10 15:13:06 -05:00
dblock 33af546654 Upgraded RuboCop to 0.27.0, rewritten yml via a todo yml. 2014-11-10 14:40:13 -05:00
Antek Drzewiecki 5dfbf1db5d Added support for kramdown, redcarpet and custom formatters. 2014-08-14 15:31:59 +02:00
dB fff4dac25f Rewritten test example, updated README. 2014-07-22 09:29:23 -04:00
dB fa2eca146d Upgraded to RSpec 3.0. 2014-07-22 08:46:19 -04:00
dblock 26facf470d Added Rubocop, Ruby-style linter. 2014-07-14 09:59:11 -04:00
dblock 642c9bf816 Rewritten .gemspec and removed Jeweler. 2014-07-14 09:36:45 -04:00
Tim Vandecasteele ef40b7892b Regenerate gemspec for version 0.7.2 2014-02-06 08:02:22 +01:00
Tim Vandecasteele 53ed0a2cff Regenerate gemspec for version 0.7.1 2014-02-04 14:01:39 +01:00
Tim Vandecasteele 209c29f1fa Regenerate gemspec for version 0.7.0 2014-02-04 11:27:59 +01:00