You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: urlpattern.gemspec
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,18 @@ Gem::Specification.new do |spec|
8
8
spec.authors=["방성범 (Bang Seongbeom)"]
9
9
spec.email=["bangseongbeom@gmail.com"]
10
10
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.
0 commit comments