Skip to content

Commit 1840215

Browse files
committed
Add RubyGems metadata and require MFA to release this gem
1 parent 44ed9c5 commit 1840215

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

activeresource.gemspec

+10-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
44
require "active_resource/version"
55

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

19+
s.metadata = {
20+
"bug_tracker_uri" => "https://github.com/rails/activeresource/issues",
21+
"changelog_uri" => "https://github.com/rails/activeresource/releases/tag/v#{version}",
22+
"documentation_uri" => "http://rubydoc.info/gems/activeresource",
23+
"source_code_uri" => "https://github.com/rails/activeresource/tree/v#{version}",
24+
"rubygems_mfa_required" => "true",
25+
}
26+
1827
s.files = Dir["MIT-LICENSE", "README.md", "lib/**/*"]
1928
s.require_path = "lib"
2029

0 commit comments

Comments
 (0)