tanuki_emoji.gemspec in tanuki_emoji-0.5.0 vs tanuki_emoji.gemspec in tanuki_emoji-0.6.0
- old
+ new
@@ -13,18 +13,21 @@
spec.homepage = 'https://gitlab.com/gitlab-org/tanuki_emoji'
spec.licenses = %w[MIT Apache2]
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
spec.metadata['homepage_uri'] = spec.homepage
- spec.metadata['source_code_uri'] = 'https://gitlab.com/gitlab-org/tanuki_emoji'
- spec.metadata['changelog_uri'] = 'https://gitlab.com/gitlab-org/tanuki_emoji/-/blob/main/CHANGELOG.md'
+ spec.metadata['source_code_uri'] = spec.homepage
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/-/blob/main/CHANGELOG.md"
+ spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/-/issues"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
git_files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|bin)/}) }
asset_files = Dir.glob('app/assets/**/*').reject { |f| f.match(%r{\.DS_Store}) }
git_files + asset_files
end
spec.require_paths = ['lib']
+
+ spec.add_development_dependency 'gitlab-dangerfiles', '~> 2.8.0'
end