From f88892a326ef35d50b1abbe71f8d94aec61acaa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 2 Feb 2024 12:30:31 +0200 Subject: [PATCH] Improve metadata, README --- README.md | 11 +++++------ manifique.gemspec | 21 ++++++++++++--------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c4fbfeb..b7ae59b 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,6 @@ Or maybe just iOS icons? They're pretty convenient for postprocessing after all. icon = metadata.select_icon(purpose: "apple-touch-icon", sizes: "180x180") ``` -_TODO check out the docs for options and behavior._ - ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run @@ -68,12 +66,13 @@ git commits and tags, and push the `.gem` file to ## Contributing -Bug reports and pull requests are welcome on GitHub at -https://github.com/5apps/manifique. Please add specs for any changes or -additions. +Bug reports and pull requests are welcome on the +[Kosmos Gitea](https://gitea.kosmos.org/5apps/manifique) or on +[GitHub](https://github.com/5apps/manifique). Please add specs for any changes +or additions. ## Code of Conduct Everyone interacting in this project’s codebase, issue trackers, and chat rooms is expected to follow the [code of -conduct](https://github.com/5apps/manifique/blob/master/CODE_OF_CONDUCT.md). +conduct](https://gitea.kosmos.org/5apps/manifique/src/branch/master/CODE_OF_CONDUCT.md). diff --git a/manifique.gemspec b/manifique.gemspec index d842bc4..086f00b 100644 --- a/manifique.gemspec +++ b/manifique.gemspec @@ -3,15 +3,18 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "manifique/version" Gem::Specification.new do |spec| - spec.name = "manifique" - spec.version = Manifique::VERSION - spec.authors = ["Râu Cao"] - spec.email = ["raucao@kosmos.org"] - - spec.summary = %q{Fetch metadata and icons of Web applications} - spec.description = %q{Fetch metadata and icons of Web applications} - spec.homepage = "https://gitea.kosmos.org/5apps/manifique" - spec.license = "MIT" + spec.name = "manifique" + spec.version = Manifique::VERSION + spec.licenses = ["MIT"] + spec.authors = ["Râu Cao"] + spec.email = ["raucao@kosmos.org"] + spec.summary = "Fetch metadata and icons of Web applications" + spec.description = "Fetch and process metadata and icons of Web applications from Web App Manifest files, with fallbacks to HTML elements/attributes}" + spec.homepage = "https://gitea.kosmos.org/5apps/manifique" + spec.metadata = { + "bug_tracker_uri" => "https://gitea.kosmos.org/5apps/manifique/issues", + "source_code_uri" => "https://gitea.kosmos.org/5apps/manifique" + } # 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.