grape-swagger-rails 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/swagger-ui-update.yml +9 -4
- data/CHANGELOG.md +6 -0
- data/app/assets/javascripts/grape_swagger_rails/swagger-ui-bundle.js +1 -1
- data/lib/grape-swagger-rails/version.rb +2 -2
- data/script/swagger_ui_release_notes +71 -0
- data/script/update_changelog +9 -2
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffcf0643d9b054671fd47900f9f02945c79d714fb03fa2f80031797690e2727e
|
|
4
|
+
data.tar.gz: 184ba65717b81357770ed99ba76e226e8df2c6ac9df68a31aeef4369589c59e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e265e51c6eaed1ce5c8dfc3b79b1cbe2edafa75176af8434470867584b6b3ecc154e685b227f72a3cfb1e52fd60fea6e13996c05c337228cf6681446eba5a059
|
|
7
|
+
data.tar.gz: e34c23d74700a8ea688371ec9de88787489d4178cbc8a96eb4d1b843cbd96ad0f0e05d20d1b22e6a8c47915b75b0689c9e4101455ecd521cfe6176e366330162
|
|
@@ -46,6 +46,14 @@ jobs:
|
|
|
46
46
|
SWAGGER_UI_VERSION: ${{ steps.swagger-ui.outputs.latest-tag }}
|
|
47
47
|
run: bundle exec rake swagger_ui:dist:update
|
|
48
48
|
|
|
49
|
+
- name: Collect Swagger UI release notes
|
|
50
|
+
if: steps.swagger-ui.outputs.update-needed == 'true'
|
|
51
|
+
env:
|
|
52
|
+
GH_TOKEN: ${{ github.token }}
|
|
53
|
+
FROM_VERSION: ${{ steps.swagger-ui.outputs.current-version }}
|
|
54
|
+
TO_VERSION: ${{ steps.swagger-ui.outputs.latest-version }}
|
|
55
|
+
run: ruby script/swagger_ui_release_notes > "${RUNNER_TEMP}/pull-request-body.md"
|
|
56
|
+
|
|
49
57
|
- name: Create pull request
|
|
50
58
|
id: pull-request
|
|
51
59
|
if: steps.swagger-ui.outputs.update-needed == 'true'
|
|
@@ -56,10 +64,7 @@ jobs:
|
|
|
56
64
|
delete-branch: true
|
|
57
65
|
commit-message: Bump Swagger UI to ${{ steps.swagger-ui.outputs.latest-version }}
|
|
58
66
|
title: Bump Swagger UI to ${{ steps.swagger-ui.outputs.latest-version }}
|
|
59
|
-
body:
|
|
60
|
-
Updates bundled Swagger UI assets from swagger-api/swagger-ui `${{ steps.swagger-ui.outputs.latest-tag }}`.
|
|
61
|
-
|
|
62
|
-
Generated by the scheduled Swagger UI update workflow.
|
|
67
|
+
body-path: ${{ runner.temp }}/pull-request-body.md
|
|
63
68
|
|
|
64
69
|
# PRs created with GITHUB_TOKEN do not trigger the Danger PR workflow.
|
|
65
70
|
- name: Add the pull request to the changelog
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
* Your contribution here.
|
|
4
4
|
|
|
5
|
+
### 2.0.1 (2026/10/13)
|
|
6
|
+
|
|
7
|
+
* [#180](https://github.com/ruby-grape/grape-swagger-rails/pull/180): Bump Swagger UI to 5.33.1 - [@moskvin](https://github.com/moskvin).
|
|
8
|
+
* [#182](https://github.com/ruby-grape/grape-swagger-rails/pull/182): Fix Danger changelog check for bot PRs and add Swagger UI release notes - [@moskvin](https://github.com/moskvin).
|
|
9
|
+
* [#181](https://github.com/ruby-grape/grape-swagger-rails/pull/181): Bump Swagger UI to 5.33.2 - [@github-actions](https://github.com/apps/github-actions).
|
|
10
|
+
|
|
5
11
|
### 2.0.0 (2026/10/02)
|
|
6
12
|
|
|
7
13
|
* [#179](https://github.com/ruby-grape/grape-swagger-rails/pull/179): Require Rails 8.1.4+ and allow JSON 3 - [@moskvin](https://github.com/moskvin).
|