Skip to content

Commit

Permalink
Add RubyGems metadata and require MFA to release this gem
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jan 8, 2022
1 parent 44ed9c5 commit 1840215
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion activeresource.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
require "active_resource/version"

Gem::Specification.new do |s|
version = ActiveResource::VERSION::STRING
s.platform = Gem::Platform::RUBY
s.name = "activeresource"
s.version = ActiveResource::VERSION::STRING
s.version = version
s.summary = "REST modeling framework (part of Rails)."
s.description = "REST on Rails. Wrap your RESTful web app with Ruby classes and work with them like Active Record models."
s.license = "MIT"
Expand All @@ -15,6 +16,14 @@ Gem::Specification.new do |s|
s.email = "[email protected]"
s.homepage = "http://www.rubyonrails.org"

s.metadata = {
"bug_tracker_uri" => "https://github.com/rails/activeresource/issues",
"changelog_uri" => "https://github.com/rails/activeresource/releases/tag/v#{version}",
"documentation_uri" => "http://rubydoc.info/gems/activeresource",
"source_code_uri" => "https://github.com/rails/activeresource/tree/v#{version}",
"rubygems_mfa_required" => "true",
}

s.files = Dir["MIT-LICENSE", "README.md", "lib/**/*"]
s.require_path = "lib"

Expand Down

0 comments on commit 1840215

Please sign in to comment.