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]
diff --git a/lib/rb/thrift.gemspec b/lib/rb/thrift.gemspec
index 288cc11..ba9253d 100644
--- a/lib/rb/thrift.gemspec
+++ b/lib/rb/thrift.gemspec
@@ -6,7 +6,7 @@
s.version = '0.23.0'
s.authors = ['Apache Thrift Developers']
s.email = ['dev@thrift.apache.org']
- s.homepage = 'http://thrift.apache.org'
+ s.homepage = 'https://thrift.apache.org'
s.summary = %q{Ruby bindings for Apache Thrift}
s.description = %q{Ruby bindings for the Apache Thrift RPC system}
s.license = 'Apache-2.0'
@@ -14,8 +14,6 @@
s.rdoc_options = %w[--line-numbers --inline-source --title Thrift --main README]
- s.rubyforge_project = 'thrift'
-
dir = File.expand_path(File.dirname(__FILE__))
s.files = Dir.glob("{lib,spec}/**/*")
@@ -36,4 +34,13 @@
s.add_development_dependency 'rspec', '~> 3.7'
s.add_development_dependency 'srv', '~> 1.0'
s.add_development_dependency 'thin', '~> 1.7'
+
+ s.metadata = {
+ 'bug_tracker_uri' => 'https://issues.apache.org/jira/browse/THRIFT',
+ 'changelog_uri' => 'https://github.com/apache/thrift/blob/master/CHANGES.md',
+ 'documentation_uri' => 'https://thrift.apache.org/docs/',
+ 'homepage_uri' => 'https://thrift.apache.org',
+ 'mailing_list_uri' => 'https://thrift.apache.org/mailing',
+ 'source_code_uri' => 'https://github.com/apache/thrift/'
+ }
end