Skip to content

Commit 599712e

Browse files
authored
Prepare release 2.1.2 (#946)
* Drop ruby 3.0 * Prepare release 2.1.2
1 parent 7c74647 commit 599712e

File tree

5 files changed

+36
-28
lines changed

5 files changed

+36
-28
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,44 +18,39 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: '3.3'
21+
ruby-version: '3.4'
2222
bundler-cache: true
2323
- name: Run rubocop
2424
run: bundle exec rubocop --parallel --format progress
2525
test:
2626
strategy:
2727
matrix:
2828
entry:
29-
- { ruby: '3.0', grape: '1.7.1' }
30-
- { ruby: '3.1', grape: '1.7.1' }
31-
- { ruby: '3.2', grape: '1.7.1' }
32-
- { ruby: '3.3', grape: '1.7.1' }
33-
- { ruby: 'head', grape: '1.7.1' }
34-
- { ruby: '3.0', grape: '1.8.0' }
3529
- { ruby: '3.1', grape: '1.8.0' }
3630
- { ruby: '3.2', grape: '1.8.0' }
3731
- { ruby: '3.3', grape: '1.8.0' }
32+
- { ruby: '3.4', grape: '1.8.0' }
3833
- { ruby: 'head', grape: '1.8.0' }
39-
- { ruby: '3.0', grape: '2.0.0' }
4034
- { ruby: '3.1', grape: '2.0.0' }
4135
- { ruby: '3.2', grape: '2.0.0' }
4236
- { ruby: '3.3', grape: '2.0.0' }
37+
- { ruby: '3.4', grape: '2.0.0' }
4338
- { ruby: 'head', grape: '2.0.0' }
44-
- { ruby: '3.0', grape: '2.1.3' }
4539
- { ruby: '3.1', grape: '2.1.3' }
4640
- { ruby: '3.2', grape: '2.1.3' }
4741
- { ruby: '3.3', grape: '2.1.3' }
42+
- { ruby: '3.4', grape: '2.1.3' }
4843
- { ruby: 'head', grape: '2.1.3' }
49-
- { ruby: '3.0', grape: '2.2.0' }
5044
- { ruby: '3.1', grape: '2.2.0' }
5145
- { ruby: '3.2', grape: '2.2.0' }
5246
- { ruby: '3.3', grape: '2.2.0' }
47+
- { ruby: '3.4', grape: '2.2.0' }
5348
- { ruby: 'head', grape: '2.2.0' }
54-
- { ruby: '3.0', grape: 'HEAD' }
55-
- { ruby: '3.1', grape: 'HEAD' }
56-
- { ruby: '3.2', grape: 'HEAD' }
57-
- { ruby: '3.3', grape: 'HEAD' }
58-
- { ruby: 'head', grape: 'HEAD' }
49+
# - { ruby: '3.1', grape: 'HEAD' }
50+
# - { ruby: '3.2', grape: 'HEAD' }
51+
# - { ruby: '3.3', grape: 'HEAD' }
52+
# - { ruby: '3.4', grape: 'HEAD' }
53+
# - { ruby: 'head', grape: 'HEAD' }
5954
name: test (ruby=${{ matrix.entry.ruby }}, grape=${{ matrix.entry.grape }})
6055
runs-on: ubuntu-latest
6156
needs: ['rubocop']

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
### 2.1.2 (Next)
1+
### Next
2+
3+
#### Features
4+
5+
* your contribution
6+
7+
#### Fixes
8+
9+
* your contribution
10+
11+
12+
### 2.1.2 (Jan 7, 2025)
213

314
#### Features
415

Gemfile

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

55
gemspec
66

7+
# gem 'grape', git: 'https://github.com/ruby-grape/grape'
78
gem 'grape', case version = ENV.fetch('GRAPE_VERSION', '< 3.0')
89
when 'HEAD'
910
{ git: 'https://github.com/ruby-grape/grape' }

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,18 @@ This screenshot is based on the [Hussars](https://github.com/LeFnord/hussars) sa
4343

4444
The following versions of grape, grape-entity and grape-swagger can currently be used together.
4545

46-
| grape-swagger | swagger spec | grape | grape-entity | representable |
47-
| ------------- | ------------ | ----------------------- | ------------ | ------------- |
48-
| 0.10.5 | 1.2 | >= 0.10.0 ... <= 0.14.0 | < 0.5.0 | n/a |
49-
| 0.11.0 | 1.2 | >= 0.16.2 | < 0.5.0 | n/a |
50-
| 0.25.2 | 2.0 | >= 0.14.0 ... <= 0.18.0 | <= 0.6.0 | >= 2.4.1 |
51-
| 0.26.0 | 2.0 | >= 0.16.2 ... <= 1.1.0 | <= 0.6.1 | >= 2.4.1 |
52-
| 0.27.0 | 2.0 | >= 0.16.2 ... <= 1.1.0 | >= 0.5.0 | >= 2.4.1 |
53-
| 0.32.0 | 2.0 | >= 0.16.2 | >= 0.5.0 | >= 2.4.1 |
54-
| 0.34.0 | 2.0 | >= 0.16.2 ... < 1.3.0 | >= 0.5.0 | >= 2.4.1 |
55-
| >= 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 |
46+
| grape-swagger | swagger spec | grape | grape-entity | representable |
47+
| ------------------ | ------------ | ----------------------- | ------------ | ------------- |
48+
| 0.10.5 | 1.2 | >= 0.10.0 ... <= 0.14.0 | < 0.5.0 | n/a |
49+
| 0.11.0 | 1.2 | >= 0.16.2 | < 0.5.0 | n/a |
50+
| 0.25.2 | 2.0 | >= 0.14.0 ... <= 0.18.0 | <= 0.6.0 | >= 2.4.1 |
51+
| 0.26.0 | 2.0 | >= 0.16.2 ... <= 1.1.0 | <= 0.6.1 | >= 2.4.1 |
52+
| 0.27.0 | 2.0 | >= 0.16.2 ... <= 1.1.0 | >= 0.5.0 | >= 2.4.1 |
53+
| 0.32.0 | 2.0 | >= 0.16.2 | >= 0.5.0 | >= 2.4.1 |
54+
| 0.34.0 | 2.0 | >= 0.16.2 ... < 1.3.0 | >= 0.5.0 | >= 2.4.1 |
55+
| >= 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 |
57+
| >= 2.0.0 ... < 2.2 | 2.0 | >= 1.8.0 ... < 2.3.0 | >= 0.5.0 | >= 2.4.1 |
5758

5859

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

grape-swagger.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
1414

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

17-
s.required_ruby_version = '>= 3.0'
17+
s.required_ruby_version = '>= 3.1'
1818
s.add_dependency 'grape', '>= 1.7', '< 3.0'
1919
s.add_dependency 'rack-test', '~> 2'
2020

0 commit comments

Comments
 (0)