uri-idna 0.3.0 → 0.3.1
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/CHANGELOG.md +9 -1
- data/lib/uri/idna/uts46/mapping.rb +3 -3
- data/lib/uri/idna/validation/idna_permitted.rb +1 -1
- data/lib/uri/idna/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd8ddf703e0996a727c19429d111bb5dfa9de7c23bd9f1a0cec562a074cff038
|
4
|
+
data.tar.gz: b895559c831d332b4db6cb2bfc49fbe271f40a3b0478b404bed2612a344d1c60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1266311d92fbe7ddebd7cdc3bf183af1079f06fdef6b1bad22f8fb80a50136ecb15410f95a17485e50b86bebfa1986a4eeef9a6327ef590ce6d70f30f27c730f
|
7
|
+
data.tar.gz: d46b3df6143ef430a30835f7201a9bbac8b9bdf3eb76f8e0deebb9f043c47882dfd2faa2dec4f50cc9556fa6170da0647cde0e609776a6272f40dd10fcd57a22
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning].
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.3.1] - 2025-06-17
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
|
14
|
+
- Fix Ruby warnings. ([@y-yagi])
|
15
|
+
|
10
16
|
## [0.3.0] - 2025-05-09
|
11
17
|
|
12
18
|
### Fixed
|
@@ -49,8 +55,10 @@ and this project adheres to [Semantic Versioning].
|
|
49
55
|
- Initial implementation. ([@skryukov])
|
50
56
|
|
51
57
|
[@skryukov]: https://github.com/skryukov
|
58
|
+
[@y-yagi]: https://github.com/y-yagi
|
52
59
|
|
53
|
-
[Unreleased]: https://github.com/skryukov/uri-idna/compare/v0.3.
|
60
|
+
[Unreleased]: https://github.com/skryukov/uri-idna/compare/v0.3.1...HEAD
|
61
|
+
[0.3.1]: https://github.com/skryukov/uri-idna/compare/v0.3.0...v0.3.1
|
54
62
|
[0.3.0]: https://github.com/skryukov/uri-idna/compare/v0.2.2...v0.3.0
|
55
63
|
[0.2.2]: https://github.com/skryukov/uri-idna/compare/v0.2.1...v0.2.2
|
56
64
|
[0.2.1]: https://github.com/skryukov/uri-idna/compare/v0.2.0...v0.2.1
|
@@ -13,10 +13,10 @@ module URI
|
|
13
13
|
|
14
14
|
MAP_REGEX = Regexp.new("#{REGEX_M_STRING}|#{REGEX_I_STRING}").freeze
|
15
15
|
REGEX_NOT_V = Regexp.new("[^#{REGEX_V_STRING}]").freeze
|
16
|
-
REGEX_NOT_VD = Regexp.new("[^#{REGEX_V_STRING}
|
17
|
-
REGEX_NOT_V3 = Regexp.new("[^#{REGEX_V_STRING}
|
16
|
+
REGEX_NOT_VD = Regexp.new("[^#{REGEX_V_STRING}#{REGEX_D_STRING}]").freeze
|
17
|
+
REGEX_NOT_V3 = Regexp.new("[^#{REGEX_V_STRING}#{REGEX_STD3_M_STRING}#{REGEX_STD3_V_STRING}]").freeze
|
18
18
|
REGEX_NOT_VD3 = Regexp.new(
|
19
|
-
"[^#{REGEX_V_STRING}
|
19
|
+
"[^#{REGEX_V_STRING}#{REGEX_D_STRING}#{REGEX_STD3_M_STRING}#{REGEX_STD3_V_STRING}]",
|
20
20
|
).freeze
|
21
21
|
|
22
22
|
def call(domain_name, transitional_processing: false, use_std3_ascii_rules: true)
|
@@ -8,7 +8,7 @@ module URI
|
|
8
8
|
module IDNAPermitted
|
9
9
|
class << self
|
10
10
|
IDNA_REGEX = Regexp.new(
|
11
|
-
"[
|
11
|
+
"[^#{CODEPOINT_CLASSES['PVALID']}#{CODEPOINT_CLASSES['CONTEXTJ']}#{CODEPOINT_CLASSES['CONTEXTO']}]",
|
12
12
|
).freeze
|
13
13
|
|
14
14
|
# https://datatracker.ietf.org/doc/html/rfc5891#section-4.2.2
|
data/lib/uri/idna/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uri-idna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Svyatoslav Kryukov
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
description: Internationalized Domain Names in Applications (IDNA)
|
13
13
|
email:
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
rubygems_version: 3.6.
|
71
|
+
rubygems_version: 3.6.7
|
72
72
|
specification_version: 4
|
73
73
|
summary: Internationalized Domain Names for Ruby (IDNA2008, UTS46 and WHATWG)
|
74
74
|
test_files: []
|