Skip to content

Commit 9b345cc

Browse files
committed
Updated gemspec to include metadata (repository, changelog), and cleaned deprecated properties
Removed deprecated rubyforge_project property WARNING: rubyforge_project= is deprecated and ignored. Please remove this from your gemspec to ensure that your gem continues to build in the future. WARNING: See https://guides.rubygems.org/specification-reference/ for help Added metadata fields, displayed on the RubyGems page. See https://rubygems.org/gems/activeadmin for example: - source_code_uri - changelog_uri - bug_tracker_uri - documentation_uri - mailing_list_uri - homepage_uri [skip ci]
1 parent f8ce26c commit 9b345cc

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

lib/rb/thrift.gemspec

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ Gem::Specification.new do |s|
66
s.version = '0.23.0'
77
s.authors = ['Apache Thrift Developers']
88
s.email = ['[email protected]']
9-
s.homepage = 'http://thrift.apache.org'
9+
s.homepage = 'https://thrift.apache.org'
1010
s.summary = %q{Ruby bindings for Apache Thrift}
1111
s.description = %q{Ruby bindings for the Apache Thrift RPC system}
1212
s.license = 'Apache-2.0'
1313
s.extensions = ['ext/extconf.rb']
1414

1515
s.rdoc_options = %w[--line-numbers --inline-source --title Thrift --main README]
1616

17-
s.rubyforge_project = 'thrift'
18-
1917
dir = File.expand_path(File.dirname(__FILE__))
2018

2119
s.files = Dir.glob("{lib,spec}/**/*")
@@ -36,5 +34,14 @@ Gem::Specification.new do |s|
3634
s.add_development_dependency 'rspec', '~> 3.7'
3735
s.add_development_dependency 'srv', '~> 1.0'
3836
s.add_development_dependency 'thin', '~> 1.7'
37+
38+
s.metadata = {
39+
'bug_tracker_uri' => 'https://issues.apache.org/jira/browse/THRIFT',
40+
'changelog_uri' => 'https://github.com/apache/thrift/blob/master/CHANGES.md',
41+
'documentation_uri' => 'https://thrift.apache.org/docs/',
42+
'homepage_uri' => 'https://thrift.apache.org',
43+
'mailing_list_uri' => 'https://thrift.apache.org/mailing',
44+
'source_code_uri' => 'https://github.com/apache/thrift/'
45+
}
3946
end
4047

0 commit comments

Comments
 (0)