grape-swagger-rails 2.0.0 → 2.0.2
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/.pnp.cjs +110 -110
- data/CHANGELOG.md +13 -0
- data/Gemfile +4 -4
- data/app/assets/javascripts/grape_swagger_rails/swagger-ui-bundle.js +1 -1
- data/app/assets/stylesheets/grape_swagger_rails/swagger-ui.css +1 -1
- data/lib/grape-swagger-rails/version.rb +2 -2
- data/package.json +2 -2
- data/script/swagger_ui_release_notes +71 -0
- data/spec/features/swagger_spec.rb +1 -1
- data/spec/scripts/update_changelog_spec.rb +56 -0
- data/yarn.lock +110 -110
- metadata +6 -7
data/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grape-swagger-rails",
|
|
3
3
|
"private": true,
|
|
4
|
-
"packageManager": "yarn@4.
|
|
4
|
+
"packageManager": "yarn@4.18.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:frontend": "yarn build:frontend:js && yarn build:frontend:min",
|
|
7
7
|
"build:frontend:js": "tsc -p tsconfig.json",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"esbuild": "^0.28.
|
|
12
|
+
"esbuild": "^0.28.2",
|
|
13
13
|
"typescript": "^5.8.3"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
# Prints a pull request body listing the upstream Swagger UI releases after
|
|
5
|
+
# FROM_VERSION up to and including TO_VERSION. Requires an authenticated `gh`.
|
|
6
|
+
|
|
7
|
+
require 'json'
|
|
8
|
+
require 'open3'
|
|
9
|
+
require 'rubygems'
|
|
10
|
+
|
|
11
|
+
REPO = 'swagger-api/swagger-ui'
|
|
12
|
+
# GitHub rejects pull request bodies over 65536 characters.
|
|
13
|
+
MAX_BODY = 60_000
|
|
14
|
+
|
|
15
|
+
from_version = Gem::Version.new(ENV.fetch('FROM_VERSION').delete_prefix('v'))
|
|
16
|
+
to_version = Gem::Version.new(ENV.fetch('TO_VERSION').delete_prefix('v'))
|
|
17
|
+
|
|
18
|
+
output, status = Open3.capture2('gh', 'api', '--paginate', "repos/#{REPO}/releases?per_page=100", '--jq', '.[]')
|
|
19
|
+
abort "Could not list #{REPO} releases." unless status.success?
|
|
20
|
+
|
|
21
|
+
releases = output.each_line.map { |line| JSON.parse(line) }.select do |release|
|
|
22
|
+
next false if release['draft'] || release['prerelease']
|
|
23
|
+
|
|
24
|
+
version = Gem::Version.new(release['tag_name'].delete_prefix('v'))
|
|
25
|
+
version > from_version && version <= to_version
|
|
26
|
+
rescue ArgumentError
|
|
27
|
+
false
|
|
28
|
+
end
|
|
29
|
+
releases.sort_by! { |release| Gem::Version.new(release['tag_name'].delete_prefix('v')) }.reverse!
|
|
30
|
+
|
|
31
|
+
# Upstream heading levels vary between releases; nest the release title and its sections under "Swagger UI changes".
|
|
32
|
+
def nest_headings(body)
|
|
33
|
+
title = true
|
|
34
|
+
body.gsub(/^#+ /) do
|
|
35
|
+
heading = title ? '### ' : '#### '
|
|
36
|
+
title = false
|
|
37
|
+
heading
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def format_notes(release)
|
|
42
|
+
body = release['body'].to_s.gsub("\r\n", "\n").gsub(/\n{3,}/, "\n\n").strip
|
|
43
|
+
return "### [#{release['tag_name']}](#{release['html_url']})\n\nNo release notes." if body.empty?
|
|
44
|
+
|
|
45
|
+
# Avoid pinging upstream contributors.
|
|
46
|
+
nest_headings(body).gsub(%r{(?<![\w`\[/])@([\w-]+)}, '`@\1`')
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
compare_url = "https://github.com/#{REPO}/compare/v#{from_version}...v#{to_version}"
|
|
50
|
+
body = <<~MARKDOWN
|
|
51
|
+
Updates bundled Swagger UI assets from `v#{from_version}` to `v#{to_version}` ([compare](#{compare_url})).
|
|
52
|
+
|
|
53
|
+
Generated by the scheduled Swagger UI update workflow.
|
|
54
|
+
|
|
55
|
+
## Swagger UI changes
|
|
56
|
+
MARKDOWN
|
|
57
|
+
|
|
58
|
+
if releases.empty?
|
|
59
|
+
body << "\nNo release notes found. See the [compare view](#{compare_url}).\n"
|
|
60
|
+
else
|
|
61
|
+
releases.each do |release|
|
|
62
|
+
notes = "\n#{format_notes(release)}\n"
|
|
63
|
+
if body.length + notes.length > MAX_BODY
|
|
64
|
+
body << "\nRelease notes truncated. See the [compare view](#{compare_url}) for the rest.\n"
|
|
65
|
+
break
|
|
66
|
+
end
|
|
67
|
+
body << notes
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
puts body
|
|
@@ -136,7 +136,7 @@ describe 'Swagger' do
|
|
|
136
136
|
within('#operations-echo-postApiEcho') do
|
|
137
137
|
find('.try-out__btn').click
|
|
138
138
|
find('tr[data-param-name="name"] input').set('Widget')
|
|
139
|
-
find('tr[data-param-name="enabled"] select
|
|
139
|
+
find('tr[data-param-name="enabled"] select option', text: 'true').select_option
|
|
140
140
|
find('.execute').click
|
|
141
141
|
end
|
|
142
142
|
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'open3'
|
|
4
|
+
require 'tmpdir'
|
|
5
|
+
require 'fileutils'
|
|
6
|
+
|
|
7
|
+
RSpec.describe 'script/update_changelog' do # rubocop:disable RSpec/DescribeClass -- Tests the executable's public interface.
|
|
8
|
+
let(:script) { File.expand_path('../../script/update_changelog', __dir__) }
|
|
9
|
+
let(:changelog) { "### Next Release\n\n* Your contribution here.\n" }
|
|
10
|
+
let(:root) { Dir.mktmpdir }
|
|
11
|
+
let(:path) { File.join(root, 'CHANGELOG.md') }
|
|
12
|
+
|
|
13
|
+
let(:environment) do
|
|
14
|
+
{
|
|
15
|
+
'PR_NUMBER' => '183',
|
|
16
|
+
'PR_URL' => 'https://github.com/ruby-grape/grape-swagger-rails/pull/183',
|
|
17
|
+
'PR_AUTHOR' => 'github-actions[bot]',
|
|
18
|
+
'PR_AUTHOR_URL' => 'https://github.com/apps/github-actions',
|
|
19
|
+
'PR_TITLE' => 'Bump Swagger UI'
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
around do |example|
|
|
24
|
+
File.write(path, changelog)
|
|
25
|
+
example.run
|
|
26
|
+
ensure
|
|
27
|
+
FileUtils.remove_entry(root)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def update_changelog
|
|
31
|
+
Open3.capture3(environment.merge('CHANGELOG_PATH' => path), RbConfig.ruby, script)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
it 'preserves bot attribution and leaves existing entries unchanged on subsequent runs' do
|
|
35
|
+
_, stderr, status = update_changelog
|
|
36
|
+
expect(status.success?).to be(true), stderr
|
|
37
|
+
updated = File.read(path)
|
|
38
|
+
expect(updated).to include(' - [@github-actions[bot]](https://github.com/apps/github-actions).')
|
|
39
|
+
expect(update_changelog.last.success?).to be(true)
|
|
40
|
+
expect(File.read(path)).to eq(updated)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
context 'with an existing hand-edited entry' do
|
|
44
|
+
let(:changelog) do
|
|
45
|
+
"### Next Release\n\n" \
|
|
46
|
+
'* [#183](https://github.com/ruby-grape/grape-swagger-rails/pull/183): ' \
|
|
47
|
+
"Custom title - [@dblock](https://github.com/dblock).\n" \
|
|
48
|
+
"* Your contribution here.\n"
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
it 'does not rewrite the entry' do
|
|
52
|
+
expect(update_changelog.last.success?).to be(true)
|
|
53
|
+
expect(File.read(path)).to eq(changelog)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
data/yarn.lock
CHANGED
|
@@ -2,221 +2,221 @@
|
|
|
2
2
|
# Manual changes might be lost - proceed with caution!
|
|
3
3
|
|
|
4
4
|
__metadata:
|
|
5
|
-
version:
|
|
5
|
+
version: 10
|
|
6
6
|
cacheKey: 10c0
|
|
7
7
|
|
|
8
|
-
"@esbuild/aix-ppc64@npm:0.28.
|
|
9
|
-
version: 0.28.
|
|
10
|
-
resolution: "@esbuild/aix-ppc64@npm:0.28.
|
|
8
|
+
"@esbuild/aix-ppc64@npm:0.28.2":
|
|
9
|
+
version: 0.28.2
|
|
10
|
+
resolution: "@esbuild/aix-ppc64@npm:0.28.2"
|
|
11
11
|
conditions: os=aix & cpu=ppc64
|
|
12
12
|
languageName: node
|
|
13
13
|
linkType: hard
|
|
14
14
|
|
|
15
|
-
"@esbuild/android-arm64@npm:0.28.
|
|
16
|
-
version: 0.28.
|
|
17
|
-
resolution: "@esbuild/android-arm64@npm:0.28.
|
|
15
|
+
"@esbuild/android-arm64@npm:0.28.2":
|
|
16
|
+
version: 0.28.2
|
|
17
|
+
resolution: "@esbuild/android-arm64@npm:0.28.2"
|
|
18
18
|
conditions: os=android & cpu=arm64
|
|
19
19
|
languageName: node
|
|
20
20
|
linkType: hard
|
|
21
21
|
|
|
22
|
-
"@esbuild/android-arm@npm:0.28.
|
|
23
|
-
version: 0.28.
|
|
24
|
-
resolution: "@esbuild/android-arm@npm:0.28.
|
|
22
|
+
"@esbuild/android-arm@npm:0.28.2":
|
|
23
|
+
version: 0.28.2
|
|
24
|
+
resolution: "@esbuild/android-arm@npm:0.28.2"
|
|
25
25
|
conditions: os=android & cpu=arm
|
|
26
26
|
languageName: node
|
|
27
27
|
linkType: hard
|
|
28
28
|
|
|
29
|
-
"@esbuild/android-x64@npm:0.28.
|
|
30
|
-
version: 0.28.
|
|
31
|
-
resolution: "@esbuild/android-x64@npm:0.28.
|
|
29
|
+
"@esbuild/android-x64@npm:0.28.2":
|
|
30
|
+
version: 0.28.2
|
|
31
|
+
resolution: "@esbuild/android-x64@npm:0.28.2"
|
|
32
32
|
conditions: os=android & cpu=x64
|
|
33
33
|
languageName: node
|
|
34
34
|
linkType: hard
|
|
35
35
|
|
|
36
|
-
"@esbuild/darwin-arm64@npm:0.28.
|
|
37
|
-
version: 0.28.
|
|
38
|
-
resolution: "@esbuild/darwin-arm64@npm:0.28.
|
|
36
|
+
"@esbuild/darwin-arm64@npm:0.28.2":
|
|
37
|
+
version: 0.28.2
|
|
38
|
+
resolution: "@esbuild/darwin-arm64@npm:0.28.2"
|
|
39
39
|
conditions: os=darwin & cpu=arm64
|
|
40
40
|
languageName: node
|
|
41
41
|
linkType: hard
|
|
42
42
|
|
|
43
|
-
"@esbuild/darwin-x64@npm:0.28.
|
|
44
|
-
version: 0.28.
|
|
45
|
-
resolution: "@esbuild/darwin-x64@npm:0.28.
|
|
43
|
+
"@esbuild/darwin-x64@npm:0.28.2":
|
|
44
|
+
version: 0.28.2
|
|
45
|
+
resolution: "@esbuild/darwin-x64@npm:0.28.2"
|
|
46
46
|
conditions: os=darwin & cpu=x64
|
|
47
47
|
languageName: node
|
|
48
48
|
linkType: hard
|
|
49
49
|
|
|
50
|
-
"@esbuild/freebsd-arm64@npm:0.28.
|
|
51
|
-
version: 0.28.
|
|
52
|
-
resolution: "@esbuild/freebsd-arm64@npm:0.28.
|
|
50
|
+
"@esbuild/freebsd-arm64@npm:0.28.2":
|
|
51
|
+
version: 0.28.2
|
|
52
|
+
resolution: "@esbuild/freebsd-arm64@npm:0.28.2"
|
|
53
53
|
conditions: os=freebsd & cpu=arm64
|
|
54
54
|
languageName: node
|
|
55
55
|
linkType: hard
|
|
56
56
|
|
|
57
|
-
"@esbuild/freebsd-x64@npm:0.28.
|
|
58
|
-
version: 0.28.
|
|
59
|
-
resolution: "@esbuild/freebsd-x64@npm:0.28.
|
|
57
|
+
"@esbuild/freebsd-x64@npm:0.28.2":
|
|
58
|
+
version: 0.28.2
|
|
59
|
+
resolution: "@esbuild/freebsd-x64@npm:0.28.2"
|
|
60
60
|
conditions: os=freebsd & cpu=x64
|
|
61
61
|
languageName: node
|
|
62
62
|
linkType: hard
|
|
63
63
|
|
|
64
|
-
"@esbuild/linux-arm64@npm:0.28.
|
|
65
|
-
version: 0.28.
|
|
66
|
-
resolution: "@esbuild/linux-arm64@npm:0.28.
|
|
64
|
+
"@esbuild/linux-arm64@npm:0.28.2":
|
|
65
|
+
version: 0.28.2
|
|
66
|
+
resolution: "@esbuild/linux-arm64@npm:0.28.2"
|
|
67
67
|
conditions: os=linux & cpu=arm64
|
|
68
68
|
languageName: node
|
|
69
69
|
linkType: hard
|
|
70
70
|
|
|
71
|
-
"@esbuild/linux-arm@npm:0.28.
|
|
72
|
-
version: 0.28.
|
|
73
|
-
resolution: "@esbuild/linux-arm@npm:0.28.
|
|
71
|
+
"@esbuild/linux-arm@npm:0.28.2":
|
|
72
|
+
version: 0.28.2
|
|
73
|
+
resolution: "@esbuild/linux-arm@npm:0.28.2"
|
|
74
74
|
conditions: os=linux & cpu=arm
|
|
75
75
|
languageName: node
|
|
76
76
|
linkType: hard
|
|
77
77
|
|
|
78
|
-
"@esbuild/linux-ia32@npm:0.28.
|
|
79
|
-
version: 0.28.
|
|
80
|
-
resolution: "@esbuild/linux-ia32@npm:0.28.
|
|
78
|
+
"@esbuild/linux-ia32@npm:0.28.2":
|
|
79
|
+
version: 0.28.2
|
|
80
|
+
resolution: "@esbuild/linux-ia32@npm:0.28.2"
|
|
81
81
|
conditions: os=linux & cpu=ia32
|
|
82
82
|
languageName: node
|
|
83
83
|
linkType: hard
|
|
84
84
|
|
|
85
|
-
"@esbuild/linux-loong64@npm:0.28.
|
|
86
|
-
version: 0.28.
|
|
87
|
-
resolution: "@esbuild/linux-loong64@npm:0.28.
|
|
85
|
+
"@esbuild/linux-loong64@npm:0.28.2":
|
|
86
|
+
version: 0.28.2
|
|
87
|
+
resolution: "@esbuild/linux-loong64@npm:0.28.2"
|
|
88
88
|
conditions: os=linux & cpu=loong64
|
|
89
89
|
languageName: node
|
|
90
90
|
linkType: hard
|
|
91
91
|
|
|
92
|
-
"@esbuild/linux-mips64el@npm:0.28.
|
|
93
|
-
version: 0.28.
|
|
94
|
-
resolution: "@esbuild/linux-mips64el@npm:0.28.
|
|
92
|
+
"@esbuild/linux-mips64el@npm:0.28.2":
|
|
93
|
+
version: 0.28.2
|
|
94
|
+
resolution: "@esbuild/linux-mips64el@npm:0.28.2"
|
|
95
95
|
conditions: os=linux & cpu=mips64el
|
|
96
96
|
languageName: node
|
|
97
97
|
linkType: hard
|
|
98
98
|
|
|
99
|
-
"@esbuild/linux-ppc64@npm:0.28.
|
|
100
|
-
version: 0.28.
|
|
101
|
-
resolution: "@esbuild/linux-ppc64@npm:0.28.
|
|
99
|
+
"@esbuild/linux-ppc64@npm:0.28.2":
|
|
100
|
+
version: 0.28.2
|
|
101
|
+
resolution: "@esbuild/linux-ppc64@npm:0.28.2"
|
|
102
102
|
conditions: os=linux & cpu=ppc64
|
|
103
103
|
languageName: node
|
|
104
104
|
linkType: hard
|
|
105
105
|
|
|
106
|
-
"@esbuild/linux-riscv64@npm:0.28.
|
|
107
|
-
version: 0.28.
|
|
108
|
-
resolution: "@esbuild/linux-riscv64@npm:0.28.
|
|
106
|
+
"@esbuild/linux-riscv64@npm:0.28.2":
|
|
107
|
+
version: 0.28.2
|
|
108
|
+
resolution: "@esbuild/linux-riscv64@npm:0.28.2"
|
|
109
109
|
conditions: os=linux & cpu=riscv64
|
|
110
110
|
languageName: node
|
|
111
111
|
linkType: hard
|
|
112
112
|
|
|
113
|
-
"@esbuild/linux-s390x@npm:0.28.
|
|
114
|
-
version: 0.28.
|
|
115
|
-
resolution: "@esbuild/linux-s390x@npm:0.28.
|
|
113
|
+
"@esbuild/linux-s390x@npm:0.28.2":
|
|
114
|
+
version: 0.28.2
|
|
115
|
+
resolution: "@esbuild/linux-s390x@npm:0.28.2"
|
|
116
116
|
conditions: os=linux & cpu=s390x
|
|
117
117
|
languageName: node
|
|
118
118
|
linkType: hard
|
|
119
119
|
|
|
120
|
-
"@esbuild/linux-x64@npm:0.28.
|
|
121
|
-
version: 0.28.
|
|
122
|
-
resolution: "@esbuild/linux-x64@npm:0.28.
|
|
120
|
+
"@esbuild/linux-x64@npm:0.28.2":
|
|
121
|
+
version: 0.28.2
|
|
122
|
+
resolution: "@esbuild/linux-x64@npm:0.28.2"
|
|
123
123
|
conditions: os=linux & cpu=x64
|
|
124
124
|
languageName: node
|
|
125
125
|
linkType: hard
|
|
126
126
|
|
|
127
|
-
"@esbuild/netbsd-arm64@npm:0.28.
|
|
128
|
-
version: 0.28.
|
|
129
|
-
resolution: "@esbuild/netbsd-arm64@npm:0.28.
|
|
127
|
+
"@esbuild/netbsd-arm64@npm:0.28.2":
|
|
128
|
+
version: 0.28.2
|
|
129
|
+
resolution: "@esbuild/netbsd-arm64@npm:0.28.2"
|
|
130
130
|
conditions: os=netbsd & cpu=arm64
|
|
131
131
|
languageName: node
|
|
132
132
|
linkType: hard
|
|
133
133
|
|
|
134
|
-
"@esbuild/netbsd-x64@npm:0.28.
|
|
135
|
-
version: 0.28.
|
|
136
|
-
resolution: "@esbuild/netbsd-x64@npm:0.28.
|
|
134
|
+
"@esbuild/netbsd-x64@npm:0.28.2":
|
|
135
|
+
version: 0.28.2
|
|
136
|
+
resolution: "@esbuild/netbsd-x64@npm:0.28.2"
|
|
137
137
|
conditions: os=netbsd & cpu=x64
|
|
138
138
|
languageName: node
|
|
139
139
|
linkType: hard
|
|
140
140
|
|
|
141
|
-
"@esbuild/openbsd-arm64@npm:0.28.
|
|
142
|
-
version: 0.28.
|
|
143
|
-
resolution: "@esbuild/openbsd-arm64@npm:0.28.
|
|
141
|
+
"@esbuild/openbsd-arm64@npm:0.28.2":
|
|
142
|
+
version: 0.28.2
|
|
143
|
+
resolution: "@esbuild/openbsd-arm64@npm:0.28.2"
|
|
144
144
|
conditions: os=openbsd & cpu=arm64
|
|
145
145
|
languageName: node
|
|
146
146
|
linkType: hard
|
|
147
147
|
|
|
148
|
-
"@esbuild/openbsd-x64@npm:0.28.
|
|
149
|
-
version: 0.28.
|
|
150
|
-
resolution: "@esbuild/openbsd-x64@npm:0.28.
|
|
148
|
+
"@esbuild/openbsd-x64@npm:0.28.2":
|
|
149
|
+
version: 0.28.2
|
|
150
|
+
resolution: "@esbuild/openbsd-x64@npm:0.28.2"
|
|
151
151
|
conditions: os=openbsd & cpu=x64
|
|
152
152
|
languageName: node
|
|
153
153
|
linkType: hard
|
|
154
154
|
|
|
155
|
-
"@esbuild/openharmony-arm64@npm:0.28.
|
|
156
|
-
version: 0.28.
|
|
157
|
-
resolution: "@esbuild/openharmony-arm64@npm:0.28.
|
|
155
|
+
"@esbuild/openharmony-arm64@npm:0.28.2":
|
|
156
|
+
version: 0.28.2
|
|
157
|
+
resolution: "@esbuild/openharmony-arm64@npm:0.28.2"
|
|
158
158
|
conditions: os=openharmony & cpu=arm64
|
|
159
159
|
languageName: node
|
|
160
160
|
linkType: hard
|
|
161
161
|
|
|
162
|
-
"@esbuild/sunos-x64@npm:0.28.
|
|
163
|
-
version: 0.28.
|
|
164
|
-
resolution: "@esbuild/sunos-x64@npm:0.28.
|
|
162
|
+
"@esbuild/sunos-x64@npm:0.28.2":
|
|
163
|
+
version: 0.28.2
|
|
164
|
+
resolution: "@esbuild/sunos-x64@npm:0.28.2"
|
|
165
165
|
conditions: os=sunos & cpu=x64
|
|
166
166
|
languageName: node
|
|
167
167
|
linkType: hard
|
|
168
168
|
|
|
169
|
-
"@esbuild/win32-arm64@npm:0.28.
|
|
170
|
-
version: 0.28.
|
|
171
|
-
resolution: "@esbuild/win32-arm64@npm:0.28.
|
|
169
|
+
"@esbuild/win32-arm64@npm:0.28.2":
|
|
170
|
+
version: 0.28.2
|
|
171
|
+
resolution: "@esbuild/win32-arm64@npm:0.28.2"
|
|
172
172
|
conditions: os=win32 & cpu=arm64
|
|
173
173
|
languageName: node
|
|
174
174
|
linkType: hard
|
|
175
175
|
|
|
176
|
-
"@esbuild/win32-ia32@npm:0.28.
|
|
177
|
-
version: 0.28.
|
|
178
|
-
resolution: "@esbuild/win32-ia32@npm:0.28.
|
|
176
|
+
"@esbuild/win32-ia32@npm:0.28.2":
|
|
177
|
+
version: 0.28.2
|
|
178
|
+
resolution: "@esbuild/win32-ia32@npm:0.28.2"
|
|
179
179
|
conditions: os=win32 & cpu=ia32
|
|
180
180
|
languageName: node
|
|
181
181
|
linkType: hard
|
|
182
182
|
|
|
183
|
-
"@esbuild/win32-x64@npm:0.28.
|
|
184
|
-
version: 0.28.
|
|
185
|
-
resolution: "@esbuild/win32-x64@npm:0.28.
|
|
183
|
+
"@esbuild/win32-x64@npm:0.28.2":
|
|
184
|
+
version: 0.28.2
|
|
185
|
+
resolution: "@esbuild/win32-x64@npm:0.28.2"
|
|
186
186
|
conditions: os=win32 & cpu=x64
|
|
187
187
|
languageName: node
|
|
188
188
|
linkType: hard
|
|
189
189
|
|
|
190
|
-
"esbuild@npm:^0.28.
|
|
191
|
-
version: 0.28.
|
|
192
|
-
resolution: "esbuild@npm:0.28.
|
|
190
|
+
"esbuild@npm:^0.28.2":
|
|
191
|
+
version: 0.28.2
|
|
192
|
+
resolution: "esbuild@npm:0.28.2"
|
|
193
193
|
dependencies:
|
|
194
|
-
"@esbuild/aix-ppc64": "npm:0.28.
|
|
195
|
-
"@esbuild/android-arm": "npm:0.28.
|
|
196
|
-
"@esbuild/android-arm64": "npm:0.28.
|
|
197
|
-
"@esbuild/android-x64": "npm:0.28.
|
|
198
|
-
"@esbuild/darwin-arm64": "npm:0.28.
|
|
199
|
-
"@esbuild/darwin-x64": "npm:0.28.
|
|
200
|
-
"@esbuild/freebsd-arm64": "npm:0.28.
|
|
201
|
-
"@esbuild/freebsd-x64": "npm:0.28.
|
|
202
|
-
"@esbuild/linux-arm": "npm:0.28.
|
|
203
|
-
"@esbuild/linux-arm64": "npm:0.28.
|
|
204
|
-
"@esbuild/linux-ia32": "npm:0.28.
|
|
205
|
-
"@esbuild/linux-loong64": "npm:0.28.
|
|
206
|
-
"@esbuild/linux-mips64el": "npm:0.28.
|
|
207
|
-
"@esbuild/linux-ppc64": "npm:0.28.
|
|
208
|
-
"@esbuild/linux-riscv64": "npm:0.28.
|
|
209
|
-
"@esbuild/linux-s390x": "npm:0.28.
|
|
210
|
-
"@esbuild/linux-x64": "npm:0.28.
|
|
211
|
-
"@esbuild/netbsd-arm64": "npm:0.28.
|
|
212
|
-
"@esbuild/netbsd-x64": "npm:0.28.
|
|
213
|
-
"@esbuild/openbsd-arm64": "npm:0.28.
|
|
214
|
-
"@esbuild/openbsd-x64": "npm:0.28.
|
|
215
|
-
"@esbuild/openharmony-arm64": "npm:0.28.
|
|
216
|
-
"@esbuild/sunos-x64": "npm:0.28.
|
|
217
|
-
"@esbuild/win32-arm64": "npm:0.28.
|
|
218
|
-
"@esbuild/win32-ia32": "npm:0.28.
|
|
219
|
-
"@esbuild/win32-x64": "npm:0.28.
|
|
194
|
+
"@esbuild/aix-ppc64": "npm:0.28.2"
|
|
195
|
+
"@esbuild/android-arm": "npm:0.28.2"
|
|
196
|
+
"@esbuild/android-arm64": "npm:0.28.2"
|
|
197
|
+
"@esbuild/android-x64": "npm:0.28.2"
|
|
198
|
+
"@esbuild/darwin-arm64": "npm:0.28.2"
|
|
199
|
+
"@esbuild/darwin-x64": "npm:0.28.2"
|
|
200
|
+
"@esbuild/freebsd-arm64": "npm:0.28.2"
|
|
201
|
+
"@esbuild/freebsd-x64": "npm:0.28.2"
|
|
202
|
+
"@esbuild/linux-arm": "npm:0.28.2"
|
|
203
|
+
"@esbuild/linux-arm64": "npm:0.28.2"
|
|
204
|
+
"@esbuild/linux-ia32": "npm:0.28.2"
|
|
205
|
+
"@esbuild/linux-loong64": "npm:0.28.2"
|
|
206
|
+
"@esbuild/linux-mips64el": "npm:0.28.2"
|
|
207
|
+
"@esbuild/linux-ppc64": "npm:0.28.2"
|
|
208
|
+
"@esbuild/linux-riscv64": "npm:0.28.2"
|
|
209
|
+
"@esbuild/linux-s390x": "npm:0.28.2"
|
|
210
|
+
"@esbuild/linux-x64": "npm:0.28.2"
|
|
211
|
+
"@esbuild/netbsd-arm64": "npm:0.28.2"
|
|
212
|
+
"@esbuild/netbsd-x64": "npm:0.28.2"
|
|
213
|
+
"@esbuild/openbsd-arm64": "npm:0.28.2"
|
|
214
|
+
"@esbuild/openbsd-x64": "npm:0.28.2"
|
|
215
|
+
"@esbuild/openharmony-arm64": "npm:0.28.2"
|
|
216
|
+
"@esbuild/sunos-x64": "npm:0.28.2"
|
|
217
|
+
"@esbuild/win32-arm64": "npm:0.28.2"
|
|
218
|
+
"@esbuild/win32-ia32": "npm:0.28.2"
|
|
219
|
+
"@esbuild/win32-x64": "npm:0.28.2"
|
|
220
220
|
dependenciesMeta:
|
|
221
221
|
"@esbuild/aix-ppc64":
|
|
222
222
|
optional: true
|
|
@@ -272,7 +272,7 @@ __metadata:
|
|
|
272
272
|
optional: true
|
|
273
273
|
bin:
|
|
274
274
|
esbuild: bin/esbuild
|
|
275
|
-
checksum: 10c0/
|
|
275
|
+
checksum: 10c0/9b19edb63bd7780fd2e8e65a1394a0e8a05a17d697f73f0647ffe3c134709d8dbe744ab3fd57b35c9470db268cae7678fafd3dcd3ce1f34fc590568c2433f5d2
|
|
276
276
|
languageName: node
|
|
277
277
|
linkType: hard
|
|
278
278
|
|
|
@@ -280,7 +280,7 @@ __metadata:
|
|
|
280
280
|
version: 0.0.0-use.local
|
|
281
281
|
resolution: "grape-swagger-rails@workspace:."
|
|
282
282
|
dependencies:
|
|
283
|
-
esbuild: "npm:^0.28.
|
|
283
|
+
esbuild: "npm:^0.28.2"
|
|
284
284
|
typescript: "npm:^5.8.3"
|
|
285
285
|
languageName: unknown
|
|
286
286
|
linkType: soft
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grape-swagger-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Logunov
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: haml-rails
|
|
@@ -142,6 +141,7 @@ files:
|
|
|
142
141
|
- lib/script/rails
|
|
143
142
|
- lib/tasks/swagger_ui.rake
|
|
144
143
|
- package.json
|
|
144
|
+
- script/swagger_ui_release_notes
|
|
145
145
|
- script/update_changelog
|
|
146
146
|
- spec/dummy/.gitignore
|
|
147
147
|
- spec/dummy/Rakefile
|
|
@@ -180,6 +180,7 @@ files:
|
|
|
180
180
|
- spec/features/swagger_spec.rb
|
|
181
181
|
- spec/features/welcome_spec.rb
|
|
182
182
|
- spec/scripts/bump_spec.rb
|
|
183
|
+
- spec/scripts/update_changelog_spec.rb
|
|
183
184
|
- spec/spec_helper.rb
|
|
184
185
|
- spec/support/capybara.rb
|
|
185
186
|
- spec/support/rails.rb
|
|
@@ -191,9 +192,8 @@ licenses:
|
|
|
191
192
|
metadata:
|
|
192
193
|
bug_tracker_uri: https://github.com/ruby-grape/grape-swagger-rails/issues
|
|
193
194
|
changelog_uri: https://github.com/ruby-grape/grape-swagger-rails/blob/master/CHANGELOG.md
|
|
194
|
-
source_code_uri: https://github.com/ruby-grape/grape-swagger-rails/tree/v2.0.
|
|
195
|
+
source_code_uri: https://github.com/ruby-grape/grape-swagger-rails/tree/v2.0.2
|
|
195
196
|
rubygems_mfa_required: 'true'
|
|
196
|
-
post_install_message:
|
|
197
197
|
rdoc_options: []
|
|
198
198
|
require_paths:
|
|
199
199
|
- lib
|
|
@@ -208,8 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
208
208
|
- !ruby/object:Gem::Version
|
|
209
209
|
version: '0'
|
|
210
210
|
requirements: []
|
|
211
|
-
rubygems_version:
|
|
212
|
-
signing_key:
|
|
211
|
+
rubygems_version: 4.0.20
|
|
213
212
|
specification_version: 4
|
|
214
213
|
summary: Rails engine for serving Swagger UI for grape-swagger.
|
|
215
214
|
test_files: []
|