urlpattern 0.1.1-arm64-darwin → 0.1.2-arm64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.devcontainer/devcontainer.json +27 -0
- data/CHANGELOG.md +14 -0
- data/README.md +6 -6
- data/Rakefile +2 -4
- data/lib/urlpattern/3.2/urlpattern.bundle +0 -0
- data/lib/urlpattern/3.3/urlpattern.bundle +0 -0
- data/lib/urlpattern/3.4/urlpattern.bundle +0 -0
- data/lib/urlpattern/4.0/urlpattern.bundle +0 -0
- data/lib/urlpattern/version.rb +1 -1
- metadata +11 -8
- data/lib/urlpattern/3.0/urlpattern.bundle +0 -0
- data/lib/urlpattern/3.1/urlpattern.bundle +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d3e522bab4128b9f2c74696ee4ea2933bf024a3fa8b2057d1dc190eab51a283
|
|
4
|
+
data.tar.gz: a509638162b72acb7492c0bc1545e35af7f422066a683748acad8aeca2530364
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18ce07462dae57b474c56bcf3bef0a7e53128d04e8c86956b27d0861959e705f60706354a331e74313f464851575ada46cd05dd02cd8f07bee8c3ee79e03a252
|
|
7
|
+
data.tar.gz: c274070f89553ebb8acdbd50b6598753136ebac65ea5b71165d0e8e9a315b3e53a23ff7dc6abc4fa8d9a6869dbb330fad55241912318ac85dc8a79ea8232dc1b
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
|
|
3
|
+
{
|
|
4
|
+
"name": "Ruby",
|
|
5
|
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
6
|
+
"image": "mcr.microsoft.com/devcontainers/ruby:3-4-trixie",
|
|
7
|
+
"features": {
|
|
8
|
+
"ghcr.io/devcontainers/features/rust:1": {}
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
12
|
+
// "features": {},
|
|
13
|
+
|
|
14
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
15
|
+
// "forwardPorts": [],
|
|
16
|
+
|
|
17
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
|
18
|
+
// See: https://containers.dev/implementors/json_reference/#lifecycle-scripts
|
|
19
|
+
// See: https://oxidize-rb.org/docs/faq/#q-the-build-is-failing-with-a-libclang-not-found-error
|
|
20
|
+
"postCreateCommand": "sudo apt update && sudo apt install -y libclang-dev"
|
|
21
|
+
|
|
22
|
+
// Configure tool-specific properties.
|
|
23
|
+
// "customizations": {},
|
|
24
|
+
|
|
25
|
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
26
|
+
// "remoteUser": "root"
|
|
27
|
+
}
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# urlpattern
|
|
2
2
|
|
|
3
|
-
[](https://github.com/bangseongbeom/ruby-urlpattern/actions/workflows/main.yml)
|
|
4
|
+
[](https://github.com/standardrb/standard)
|
|
4
5
|
[](https://badge.fury.io/rb/urlpattern)
|
|
5
|
-
[](https://github.com/urlpattern/ruby-urlpattern/actions/workflows/main.yml)
|
|
6
6
|
|
|
7
7
|
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/
|
|
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.
|
|
34
34
|
|
|
@@ -81,7 +81,7 @@ pattern.test? "https://example.com/TeST" #=> true
|
|
|
81
81
|
|
|
82
82
|
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/
|
|
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,7 +91,7 @@ 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/
|
|
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
|
|
|
@@ -99,4 +99,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
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/
|
|
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).
|
data/Rakefile
CHANGED
|
@@ -5,9 +5,7 @@ require "minitest/test_task"
|
|
|
5
5
|
|
|
6
6
|
Minitest::TestTask.create
|
|
7
7
|
|
|
8
|
-
require "
|
|
9
|
-
|
|
10
|
-
RuboCop::RakeTask.new
|
|
8
|
+
require "standard/rake"
|
|
11
9
|
|
|
12
10
|
require "rb_sys/extensiontask"
|
|
13
11
|
|
|
@@ -24,4 +22,4 @@ task "release:rubygem_push" do
|
|
|
24
22
|
Dir["pkg/*.gem"].each { |gem| sh "gem", "push", gem }
|
|
25
23
|
end
|
|
26
24
|
|
|
27
|
-
task default: %i[compile test
|
|
25
|
+
task default: %i[compile test standard]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/urlpattern/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: urlpattern
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: arm64-darwin
|
|
6
6
|
authors:
|
|
7
7
|
- 방성범 (Bang Seongbeom)
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
14
|
It's a thin wrapper of denoland/rust-urlpattern with Magnus.
|
|
@@ -20,25 +20,28 @@ executables: []
|
|
|
20
20
|
extensions: []
|
|
21
21
|
extra_rdoc_files: []
|
|
22
22
|
files:
|
|
23
|
+
- ".devcontainer/devcontainer.json"
|
|
24
|
+
- CHANGELOG.md
|
|
23
25
|
- CODE_OF_CONDUCT.md
|
|
24
26
|
- LICENSE.txt
|
|
25
27
|
- README.md
|
|
26
28
|
- Rakefile
|
|
27
29
|
- lib/urlpattern.rb
|
|
28
|
-
- lib/urlpattern/3.0/urlpattern.bundle
|
|
29
|
-
- lib/urlpattern/3.1/urlpattern.bundle
|
|
30
30
|
- lib/urlpattern/3.2/urlpattern.bundle
|
|
31
31
|
- lib/urlpattern/3.3/urlpattern.bundle
|
|
32
32
|
- lib/urlpattern/3.4/urlpattern.bundle
|
|
33
33
|
- lib/urlpattern/4.0/urlpattern.bundle
|
|
34
34
|
- lib/urlpattern/version.rb
|
|
35
35
|
- sig/urlpattern.rbs
|
|
36
|
-
homepage: https://github.com/
|
|
36
|
+
homepage: https://github.com/bangseongbeom/ruby-urlpattern
|
|
37
37
|
licenses:
|
|
38
38
|
- MIT
|
|
39
39
|
metadata:
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
allowed_push_host: https://rubygems.org
|
|
41
|
+
homepage_uri: https://github.com/bangseongbeom/ruby-urlpattern
|
|
42
|
+
source_code_uri: https://github.com/bangseongbeom/ruby-urlpattern
|
|
43
|
+
changelog_uri: https://github.com/bangseongbeom/ruby-urlpattern/blob/main/CHANGELOG.md
|
|
44
|
+
rubygems_mfa_required: 'true'
|
|
42
45
|
post_install_message:
|
|
43
46
|
rdoc_options: []
|
|
44
47
|
require_paths:
|
|
@@ -47,7 +50,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
47
50
|
requirements:
|
|
48
51
|
- - ">="
|
|
49
52
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: '3.
|
|
53
|
+
version: '3.2'
|
|
51
54
|
- - "<"
|
|
52
55
|
- !ruby/object:Gem::Version
|
|
53
56
|
version: 4.1.dev
|
|
Binary file
|
|
Binary file
|