Skip to content

Commit 05d6b5f

Browse files
authored
Use GitHub releases as a single source of changelog (#179)
1 parent a8f2c24 commit 05d6b5f

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# THIS CHANGELOG IS DEPRECATED!!
2+
3+
Refer https://github.com/exoego/rspec-openapi/releases instead.
4+
15
## v0.12.0
26

37
- feat: Initial support of complex schema with manually-added `oneOf`

rspec-openapi.gemspec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ Gem::Specification.new do |spec|
1414
spec.license = 'MIT'
1515
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
1616

17-
spec.metadata['homepage_uri'] = spec.homepage
18-
spec.metadata['source_code_uri'] = spec.homepage
19-
spec.metadata['changelog_uri'] = File.join(spec.homepage, 'blob/master/CHANGELOG.md')
17+
spec.metadata = {
18+
'homepage_uri' => 'https://github.com/exoego/rspec-openapi',
19+
'source_code_uri' => 'https://github.com/exoego/rspec-openapi',
20+
'changelog_uri' => "https://github.com/exoego/rspec-openapi/releases/tag/v#{RSpec::OpenAPI::VERSION}",
21+
'rubygems_mfa_required' => 'true',
22+
}
2023

2124
spec.files = Dir.chdir(File.expand_path(__dir__)) do
2225
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

0 commit comments

Comments
 (0)