Skip to content

Commit 8e723c6

Browse files
authored
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
1 parent 69e9179 commit 8e723c6

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,24 @@
22

33
#### Features
44

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

87
#### Fixes
98

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

1311

12+
### 2.0.0 (November7, 2023)
13+
14+
#### Features
15+
16+
* [#910](https://github.com/ruby-grape/grape-swagger/pull/910): Allow using Grape v2 - [@ninoseki](https://github.com/ninoseki)
17+
18+
#### Fixes
19+
20+
* [#903](https://github.com/ruby-grape/grape-swagger/pull/903): Accept `example` documentation parameter for arrays - [@VladMomotov](https://github.com/VladMomotov)
21+
22+
1423
### 1.6.1 (May 21, 2023)
1524

1625
#### Fixes
@@ -56,7 +65,6 @@
5665
* [#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)
5766
* [#844](https://github.com/ruby-grape/grape-swagger/pull/844): Fixes the regexp used for parsing routes - [@senhalil](https://github.com/senhalil)
5867
* [#862](https://github.com/ruby-grape/grape-swagger/pull/862): Allow using nicknames for body definitions - [@magni-](https://github.com/magni-)
59-
* Your contribution here.
6068

6169
### 1.4.2 (October 22, 2021)
6270

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source 'http://rubygems.org'
44

55
gemspec
66

7-
gem 'grape', case version = ENV.fetch('GRAPE_VERSION', '~> 1.7')
7+
gem 'grape', case version = ENV.fetch('GRAPE_VERSION', '< 3.0')
88
when 'HEAD'
99
{ git: 'https://github.com/ruby-grape/grape' }
1010
else

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The following versions of grape, grape-entity and grape-swagger can currently be
5353
| 0.32.0 | 2.0 | >= 0.16.2 | >= 0.5.0 | >= 2.4.1 |
5454
| 0.34.0 | 2.0 | >= 0.16.2 ... < 1.3.0 | >= 0.5.0 | >= 2.4.1 |
5555
| >= 1.0.0 | 2.0 | >= 1.3.0 | >= 0.5.0 | >= 2.4.1 |
56+
| >= 2.0.0 | 2.0 | >= 1.7.0 | >= 0.5.0 | >= 2.4.1 |
5657

5758

5859
## Swagger-Spec <a name="swagger-spec"></a>

grape-swagger.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
1414

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

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

2121
s.files = Dir['lib/**/*', '*.md', 'LICENSE.txt', 'grape-swagger.gemspec']

lib/grape-swagger/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module GrapeSwagger
4-
VERSION = '1.6.1'
4+
VERSION = '2.0.0'
55
end

0 commit comments

Comments
 (0)