*.gemspec と RubyGems.org API
RubyのgemはRubyGems.orgで集中管理されています。
通常gemの設定自体は*.gemspec
ファイルに記述しますが、これはあくまでgemそのものの設定であって、RubyGems.orgでの管理については*.gemspec
で設定しているわけではありません。これは、RubyGems.orgの方で別途管理されています。RubyGems.orgのAPIを使います
gem ownerコマンド
RubyGems.orgへの登録や更新には、最近ではbundle gemコマンドを使ったりしますが、RubyGems.orgでのgemの管理者を追加するにはgem ownerコマンドを使います。
管理者の指定方法にはメールアドレスを使います。fooというgemにanother@example.com
を追加するには以下のようにします。
$ gem owner foo -a another@example.com