Skip to content

Commit 4f3e717

Browse files
authored
Merge pull request #172 from ShockwaveNN/feature/gem-metadata
Add metadata to gemspec file
2 parents 59be6bc + 5b72aec commit 4f3e717

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

HISTORY

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
=== CURRENT
22

3+
* Add metadata to Gemspec file
4+
35
=== 0.5.5 2020-01-19
46

57
* Allow redirect to different host but same path

oauth.gemspec

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ Gem::Specification.new do |spec|
1515
spec.summary = "OAuth Core Ruby implementation"
1616

1717
spec.executables = ["oauth"]
18+
spec.homepage = "https://github.com/oauth-xx/oauth-ruby"
19+
spec.metadata = {
20+
'bug_tracker_uri' => "#{spec.homepage}/issues",
21+
'changelog_uri' => "#{spec.homepage}/blob/master/HISTORY",
22+
'documentation_uri' => "https://rdoc.info/github/oauth-xx/oauth-ruby/master/frames",
23+
'homepage_uri' => spec.homepage,
24+
'source_code_uri' => spec.homepage
25+
}
1826
spec.files = Dir.glob("lib/**/*.rb")
1927
#spec.test_files = Dir.glob("test/**/*.rb") + Dir.glob('test/keys/*')
2028
spec.extra_rdoc_files = [ "LICENSE", "README.rdoc", "TODO" ]

0 commit comments

Comments
 (0)