Skip to content

Commit 1a6f710

Browse files
committed
Populate gemspec
1 parent 7d8549f commit 1a6f710

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

urlpattern.gemspec

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ Gem::Specification.new do |spec|
88
spec.authors = ["방성범 (Bang Seongbeom)"]
99
spec.email = ["bangseongbeom@gmail.com"]
1010

11-
spec.summary = "TODO: Write a short summary, because RubyGems requires one."
12-
spec.description = "TODO: Write a longer description or delete this line."
13-
spec.homepage = "TODO: Put your gem's website or public repo URL here."
11+
spec.summary = "An implementation of the URL Pattern Standard for Ruby written in Rust."
12+
spec.description = <<~DESCRIPTION
13+
It's a thin wrapper of denoland/rust-urlpattern with Magnus.
14+
15+
It is useful on the server side when serving different pages based on the URL (a.k.a. routing). It provides pattern matching syntax like /users/:id, similar to route parameters in Express or Path-to-RegExp. You can use it as a foundation to build your own web server or framework.
16+
DESCRIPTION
17+
spec.homepage = "https://github.com/urlpattern/ruby-urlpattern"
1418
spec.license = "MIT"
1519
spec.required_ruby_version = ">= 3.2.0"
1620
spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
1721
spec.metadata["homepage_uri"] = spec.homepage
18-
spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
22+
spec.metadata["source_code_uri"] = "https://github.com/urlpattern/ruby-urlpattern"
1923

2024
# Specify which files should be added to the gem when it is released.
2125
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.

0 commit comments

Comments
 (0)