diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ced5970..081177aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0' + ruby-version: '3.1' bundler-cache: true - name: Run rubocop run: bundle exec rubocop --parallel --format progress diff --git a/.rubocop.yml b/.rubocop.yml index e0f5c9f3..0596d780 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,7 +5,7 @@ AllCops: - vendor/**/* - example/**/* NewCops: enable - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 SuggestExtensions: false # Layout stuff @@ -101,6 +101,9 @@ Style/HashEachMethods: Style/HashLikeCase: Enabled: true +Style/HashSyntax: + Enabled: false + Style/HashTransformKeys: Enabled: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 060e7d89..c84d381b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,15 @@ -### 1.5.5 +### next + +#### Features + +* Your contribution here. + +#### Fixes + +* Your contribution here. + + +### 1.5.0 (July 28, 2022) #### Features @@ -6,7 +17,17 @@ #### Fixes -* [#840](https://github.com/ruby-grape/grape-swagger/pull/847): Fix documentation of `route_param` type when used with nested endpoints - [@dmoss18](https://github.com/dmoss18) +* [#860](https://github.com/ruby-grape/grape-swagger/pull/860) chore: Included githubactions in the dependabot config [@naveensrinivasan](https://github.com/naveensrinivasan) +* [#843](https://github.com/ruby-grape/grape-swagger/pull/843) Syntax errors in README.md examples [@remvee](https://github.com/remvee) +* [#844](https://github.com/ruby-grape/grape-swagger/pull/844) Fixes the regexp used for parsing routes [@senhalil](https://github.com/senhalil) +* [#847](https://github.com/ruby-grape/grape-swagger/pull/847) Parse route_param type for nested endpoints [@dmoss18](https://github.com/dmoss18) +* [#856](https://github.com/ruby-grape/grape-swagger/pull/856) Remove unused methods in GrapeSwagger::DocMethods::BuildModelDefinition [@takahashim](https://github.com/takahashim) +* [#858](https://github.com/ruby-grape/grape-swagger/pull/858): Set permissions for GitHub actions [@naveensrinivasan](https://github.com/naveensrinivasan) +* [#853](https://github.com/ruby-grape/grape-swagger/pull/853): Add webrick to support Ruby 3.x [@takahashim](https://github.com/takahashim) +* [#852](https://github.com/ruby-grape/grape-swagger/pull/852): Fix example to work [@takahashim](https://github.com/takahashim) +* [#846](https://github.com/ruby-grape/grape-swagger/pull/846): Refactor oapi fetch task [@Vachman](https://github.com/Vachman) +* [#850](https://github.com/ruby-grape/grape-swagger/pull/850): Fix value of enum to be Array [@takahashim](https://github.com/takahashim) + ### 1.4.3 (January 5, 2022) diff --git a/lib/grape-swagger/version.rb b/lib/grape-swagger/version.rb index a61112ef..23ba44f0 100644 --- a/lib/grape-swagger/version.rb +++ b/lib/grape-swagger/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module GrapeSwagger - VERSION = '1.4.2' + VERSION = '1.5.0' end