grape-swagger-rails 1.0.5 → 1.0.6
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/danger.yml +38 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -0
- data/README.md +3 -3
- data/app/assets/javascripts/grape_swagger_rails/swagger-ui-bundle.js +1 -1
- data/app/assets/javascripts/grape_swagger_rails/swagger-ui-standalone-preset.js +1 -1
- data/lib/grape-swagger-rails/version.rb +2 -2
- data/script/update_changelog +31 -0
- 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: f479f4e06a2406c88a68c83533c75412ea8031298f4fc89cf6bd9dcfc1389728
|
|
4
|
+
data.tar.gz: e842f20f5d95fcdcb9ee22d18cf66bd322f036592f71355dc367cb6d079f31c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b609f715eeed2ff20b61dd721e62ca3347390cca3bcf63c1e5216b2c894ef3ed218d3803fc1262a27ce98ab5872b0c6e5f513bd055cd5ed82c5c854c4abfe77
|
|
7
|
+
data.tar.gz: f6443c065343a15b623d07c9690e317f986053476806f77da8ccd4e678a0b3840345194e8d472d9fb58511c1bd1c58607a1b0ab5acce55d9b1a276760b13b13b
|
|
@@ -2,8 +2,46 @@ name: Danger
|
|
|
2
2
|
on:
|
|
3
3
|
pull_request:
|
|
4
4
|
types: [opened, reopened, synchronize, edited]
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: write
|
|
8
|
+
pull-requests: read
|
|
9
|
+
|
|
5
10
|
jobs:
|
|
11
|
+
changelog:
|
|
12
|
+
# A pull_request token cannot write to a branch in somebody else's fork.
|
|
13
|
+
if: github.event.pull_request.head.repo.full_name == github.repository
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
with:
|
|
18
|
+
ref: ${{ github.event.pull_request.head.ref }}
|
|
19
|
+
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
20
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
21
|
+
- name: Add the pull request to the next release
|
|
22
|
+
env:
|
|
23
|
+
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
|
|
24
|
+
PR_AUTHOR_URL: ${{ github.event.pull_request.user.html_url }}
|
|
25
|
+
PR_NUMBER: ${{ github.event.pull_request.number }}
|
|
26
|
+
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
27
|
+
PR_URL: ${{ github.event.pull_request.html_url }}
|
|
28
|
+
run: ruby script/update_changelog
|
|
29
|
+
- name: Commit the changelog
|
|
30
|
+
env:
|
|
31
|
+
PR_NUMBER: ${{ github.event.pull_request.number }}
|
|
32
|
+
run: |
|
|
33
|
+
if git diff --quiet -- CHANGELOG.md; then
|
|
34
|
+
exit 0
|
|
35
|
+
fi
|
|
36
|
+
git config user.name github-actions[bot]
|
|
37
|
+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
|
38
|
+
git add CHANGELOG.md
|
|
39
|
+
git commit -m "Update changelog for #${PR_NUMBER}"
|
|
40
|
+
git push
|
|
41
|
+
|
|
6
42
|
danger:
|
|
43
|
+
needs: changelog
|
|
44
|
+
if: always() && (needs.changelog.result == 'success' || needs.changelog.result == 'skipped')
|
|
7
45
|
uses: numbata/danger-pr-comment/.github/workflows/danger-run.yml@v0.1.0
|
|
8
46
|
with:
|
|
9
47
|
ruby-version: '3.4'
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
* Your contribution here.
|
|
4
4
|
|
|
5
|
+
### 1.0.6 (2026/07/29)
|
|
6
|
+
|
|
7
|
+
* [#172](https://github.com/ruby-grape/grape-swagger-rails/pull/172): Bump swagger ui to 5.32.11 - [@moskvin](https://github.com/moskvin).
|
|
8
|
+
|
|
5
9
|
### 1.0.5 (2026/07/16)
|
|
6
10
|
|
|
7
11
|
* [#170](https://github.com/ruby-grape/grape-swagger-rails/pull/170): Enhance dark mode styling and improve api key documentation in swagger ui - [@moskvin](https://github.com/moskvin).
|
data/Gemfile
CHANGED
|
@@ -31,6 +31,8 @@ group :development, :test do
|
|
|
31
31
|
gem 'danger-changelog', require: false
|
|
32
32
|
gem 'danger-pr-comment', require: false
|
|
33
33
|
gem 'danger-toc', require: false
|
|
34
|
+
# Danger 9.6 reopens Git::Base as a class, which is incompatible with git 5.
|
|
35
|
+
gem 'git', '< 5', require: false
|
|
34
36
|
gem 'grape-swagger-ui'
|
|
35
37
|
gem 'jquery-rails'
|
|
36
38
|
gem 'mime-types'
|
data/README.md
CHANGED
|
@@ -46,9 +46,9 @@ This gem is continuously tested against the following stack:
|
|
|
46
46
|
|
|
47
47
|
| Ruby | Rails | Grape | grape-swagger | Swagger UI |
|
|
48
48
|
|-----:|--------:|--------:|--------------:|-----------:|
|
|
49
|
-
| 3.4 | 7.2.2.2 | 1.8.x | 1.6.1 | 5.32.
|
|
50
|
-
| 3.2+ | 7.2.2.2 | 3.1.x | 2.1.4 | 5.32.
|
|
51
|
-
| 3.2+ | 8.1.x | 3.1.x | 2.1.4 | 5.32.
|
|
49
|
+
| 3.4 | 7.2.2.2 | 1.8.x | 1.6.1 | 5.32.11 |
|
|
50
|
+
| 3.2+ | 7.2.2.2 | 3.1.x | 2.1.4 | 5.32.11 |
|
|
51
|
+
| 3.2+ | 8.1.x | 3.1.x | 2.1.4 | 5.32.11 |
|
|
52
52
|
|
|
53
53
|
The dummy app and CI also exercise both supported Rails asset pipelines: Sprockets and Propshaft.
|
|
54
54
|
|