diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1fcac..9477755 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + - Minor fixups in gem metadata ([#67]). + [Unreleased]: https://github.com/envato/zxcvbn-ruby/compare/v1.3.0...HEAD +[#67]: https://github.com/envato/zxcvbn-ruby/pull/67 ## [1.3.0] - 2026-01-02 diff --git a/zxcvbn-ruby.gemspec b/zxcvbn-ruby.gemspec index 50035ca..578d6bf 100644 --- a/zxcvbn-ruby.gemspec +++ b/zxcvbn-ruby.gemspec @@ -2,14 +2,12 @@ require File.expand_path('lib/zxcvbn/version', __dir__) -GITHUB_URL = 'https://github.com/envato/zxcvbn-ruby' - Gem::Specification.new do |gem| gem.authors = ['Steve Hodgkiss', 'Matthieu Aussaguel'] gem.email = ['steve@hodgkiss.me', 'matthieu.aussaguel@gmail.com'] gem.description = 'Ruby port of Dropboxs zxcvbn.js' gem.summary = '' - gem.homepage = 'http://github.com/envato/zxcvbn-ruby' + gem.homepage = 'https://github.com/envato/zxcvbn-ruby' gem.files = `git ls-files -z`.split("\x0").reject do |file| file.match(%r{^(\.|CODE_OF_CONDUCT.md|Gemfile|Rakefile|Guardfile|zxcvbn-ruby.gemspec|spec/)}) @@ -22,10 +20,11 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 2.5' gem.metadata = { - 'bug_tracker_uri' => "#{GITHUB_URL}/issues", - 'changelog_uri' => "#{GITHUB_URL}/blob/HEAD/CHANGELOG.md", - 'documentation_uri' => "#{GITHUB_URL}/blob/HEAD/README.md", - 'homepage_uri' => GITHUB_URL, - 'source_code_uri' => GITHUB_URL + 'allowed_push_host' => 'https://rubygems.org', + 'bug_tracker_uri' => "#{gem.homepage}/issues", + 'changelog_uri' => "#{gem.homepage}/blob/HEAD/CHANGELOG.md", + 'documentation_uri' => "https://www.rubydoc.info/gems/#{gem.name}/#{gem.version}", + 'homepage_uri' => gem.homepage, + 'source_code_uri' => "#{gem.homepage}/tree/v#{gem.version}" } end