Skip to content

Commit

Permalink
Add changelog_uri to gemspec (#345)
Browse files Browse the repository at this point in the history
* Add changelog_uri to gemspec

Documented here: https://guides.rubygems.org/specification-reference/#metadata 

Useful for running https://github.com/MaximeD/gem_updater

* Update simple_calendar.gemspec

* Update simple_calendar.gemspec

---------

Co-authored-by: Chris Oliver <[email protected]>
  • Loading branch information
fynsta and excid3 committed Jun 24, 2024
1 parent e7fcfc8 commit 5bddc9b
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions simple_calendar.gemspec
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
$:.push File.expand_path("../lib", __FILE__)
require "simple_calendar/version"

Gem::Specification.new do |s|
s.name = "simple_calendar"
s.version = SimpleCalendar::VERSION
s.authors = ["Chris Oliver"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/excid3/simple_calendar"
s.summary = "A simple Rails calendar"
s.description = "A simple Rails calendar"
s.license = "MIT"
Gem::Specification.new do |spec|
spec.name = "simple_calendar"
spec.version = SimpleCalendar::VERSION
spec.authors = ["Chris Oliver"]
spec.email = ["[email protected]"]
spec.homepage = "https://github.com/excid3/simple_calendar"
spec.summary = "A simple Rails calendar"
spec.description = "A simple Rails calendar"
spec.license = "MIT"

s.rubyforge_project = "simple_calendar"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "https://github.com/excid3/simple_calendar/blob/main/CHANGELOG.md"

s.files = `git ls-files`.split("\n")
s.require_paths = ["lib"]
spec.files = Dir.chdir(File.expand_path(__dir__)) do
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
end

s.add_dependency "rails", ">= 6.1"
spec.add_dependency "rails", ">= 6.1"
end

0 comments on commit 5bddc9b

Please sign in to comment.