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
An implementation of [the URL Pattern Standard](https://urlpattern.spec.whatwg.org/) for Ruby written in Rust.
8
8
@@ -28,7 +28,7 @@ gem install urlpattern
28
28
29
29
## Usage
30
30
31
-
This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Ruby, not JavaScript. For the exact details, please refer to [urlpattern.rbs](https://github.com/urlpattern/ruby-urlpattern/blob/main/sig/urlpattern.rbs).
31
+
This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Ruby, not JavaScript. For the exact details, please refer to [urlpattern.rbs](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/sig/urlpattern.rbs).
32
32
33
33
Most JavaScript examples from [Chrome for Developers](https://developer.chrome.com/docs/web-platform/urlpattern) and [MDN](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API) can be adapted to Ruby without much difficulty.
Due to limitations in the dependency [denoland/rust-urlpattern](https://github.com/denoland/rust-urlpattern), it may not support all features specified in [the standard](https://urlpattern.spec.whatwg.org/).
83
83
84
-
Check `skip` in [`test/test_urlpattern.rb`](https://github.com/urlpattern/ruby-urlpattern/blob/main/test/test_urlpattern.rb).
84
+
Check `skip` in [`test/test_urlpattern.rb`](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/test/test_urlpattern.rb).
85
85
86
86
## Development
87
87
@@ -91,12 +91,12 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
91
91
92
92
## Contributing
93
93
94
-
Bug reports and pull requests are welcome on GitHub at https://github.com/urlpattern/ruby-urlpattern. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/urlpattern/ruby-urlpattern/blob/main/CODE_OF_CONDUCT.md).
94
+
Bug reports and pull requests are welcome on GitHub at https://github.com/bangseongbeom/ruby-urlpattern. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/CODE_OF_CONDUCT.md).
95
95
96
96
## License
97
97
98
98
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
99
99
100
100
## Code of Conduct
101
101
102
-
Everyone interacting in the Urlpattern project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/urlpattern/ruby-urlpattern/blob/main/CODE_OF_CONDUCT.md).
102
+
Everyone interacting in the Urlpattern project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/CODE_OF_CONDUCT.md).
Copy file name to clipboardExpand all lines: urlpattern.gemspec
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ Gem::Specification.new do |spec|
14
14
15
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