Skip to content

Commit

Permalink
Prepare Release 2.0.0 (#912)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
LeFnord authored Nov 17, 2023
1 parent 69e9179 commit 8e723c6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@

#### Features

* [#910](https://github.com/ruby-grape/grape-swagger/pull/910): Allow using Grape v2 - [@ninoseki](https://github.com/ninoseki)
* Your contribution here.

#### Fixes

* [#903](https://github.com/ruby-grape/grape-swagger/pull/903): Accept `example` documentation parameter for arrays - [@VladMomotov](https://github.com/VladMomotov)
* Your contribution here.


### 2.0.0 (November7, 2023)

#### Features

* [#910](https://github.com/ruby-grape/grape-swagger/pull/910): Allow using Grape v2 - [@ninoseki](https://github.com/ninoseki)

#### Fixes

* [#903](https://github.com/ruby-grape/grape-swagger/pull/903): Accept `example` documentation parameter for arrays - [@VladMomotov](https://github.com/VladMomotov)


### 1.6.1 (May 21, 2023)

#### Fixes
Expand Down Expand Up @@ -56,7 +65,6 @@
* [#853](https://github.com/ruby-grape/grape-swagger/pull/853): Add webrick gem so that example works in Ruby 3.x - [@takahashim](https://github.com/takahashim)
* [#844](https://github.com/ruby-grape/grape-swagger/pull/844): Fixes the regexp used for parsing routes - [@senhalil](https://github.com/senhalil)
* [#862](https://github.com/ruby-grape/grape-swagger/pull/862): Allow using nicknames for body definitions - [@magni-](https://github.com/magni-)
* Your contribution here.

### 1.4.2 (October 22, 2021)

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'http://rubygems.org'

gemspec

gem 'grape', case version = ENV.fetch('GRAPE_VERSION', '~> 1.7')
gem 'grape', case version = ENV.fetch('GRAPE_VERSION', '< 3.0')
when 'HEAD'
{ git: 'https://github.com/ruby-grape/grape' }
else
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ The following versions of grape, grape-entity and grape-swagger can currently be
| 0.32.0 | 2.0 | >= 0.16.2 | >= 0.5.0 | >= 2.4.1 |
| 0.34.0 | 2.0 | >= 0.16.2 ... < 1.3.0 | >= 0.5.0 | >= 2.4.1 |
| >= 1.0.0 | 2.0 | >= 1.3.0 | >= 0.5.0 | >= 2.4.1 |
| >= 2.0.0 | 2.0 | >= 1.7.0 | >= 0.5.0 | >= 2.4.1 |


## Swagger-Spec <a name="swagger-spec"></a>
Expand Down
4 changes: 2 additions & 2 deletions grape-swagger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Gem::Specification.new do |s|

s.metadata['rubygems_mfa_required'] = 'true'

s.required_ruby_version = '>= 2.7'
s.add_runtime_dependency 'grape', '>= 1.3', '< 3.0'
s.required_ruby_version = '>= 3.1'
s.add_runtime_dependency 'grape', '>= 1.7', '< 3.0'
s.add_runtime_dependency 'rack-test', '~> 2'

s.files = Dir['lib/**/*', '*.md', 'LICENSE.txt', 'grape-swagger.gemspec']
Expand Down
2 changes: 1 addition & 1 deletion lib/grape-swagger/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module GrapeSwagger
VERSION = '1.6.1'
VERSION = '2.0.0'
end

0 comments on commit 8e723c6

Please sign in to comment.