idnx 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/lib/idnx/version.rb +1 -1
- data/sig/idnx.rbs +12 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36e8b31d685bd8a07c8f729d89fead70bd02f172e8ac6e67682acc251c3c29f3
|
4
|
+
data.tar.gz: 807d5edd9c47efc19811dcd0367c2ebf741d67fe24ceda0ec1707bcbbfe92a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bce91ce6e4679acf80690e15a5efa258e9f1ab802f356af3ae5025e0afc9c530babd11d5601c2a5a345692f1f757e7d0f2b10b637615ddbb1691df3caca12bf5
|
7
|
+
data.tar.gz: 181c44f5ef5eb6947fe23ff5e06d923ab7afd38ba1ce4387f63a7aebc4882e1dd748f2b1ba1f5f2ed3c5b1f22e91104eaf13cf7c984fbfdf5513007f32ed054b
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
## [Unreleased]
|
2
|
+
|
3
|
+
## [0.1.1] - 2021-10-03
|
4
|
+
|
5
|
+
Added missing RBS sig files to the gemspec.
|
6
|
+
|
7
|
+
## [0.1.0] - 2021-09-04
|
8
|
+
|
9
|
+
### improvements
|
10
|
+
|
11
|
+
It ships RBS signatures for the main public API.
|
12
|
+
|
13
|
+
### compliance
|
14
|
+
|
15
|
+
`idnx` ships with a pure ruby punycode implementation (IDNA 2003), which will get loaded when `libidn2` isn't installed in the system. This was necessary for license compatibility, given that Apache 2.0 projects can rely on GPL dependencies (such as `libidn2`) but nnot exclusively.
|
16
|
+
|
17
|
+
## [0.0.1] - 2021-06-11
|
18
|
+
|
19
|
+
This is the initial release.
|
20
|
+
|
21
|
+
### Features
|
22
|
+
|
23
|
+
`idnx` ships with a single function, which translate Innternational domain names into Punycode names, which can be used for DNS requests:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require "idnx"
|
27
|
+
|
28
|
+
Idnx.to_punycode("bücher.de") #=> "xn--bcher-kva.de"
|
29
|
+
```
|
data/lib/idnx/version.rb
CHANGED
data/sig/idnx.rbs
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idnx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HoneyryderChuck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -35,6 +35,7 @@ extra_rdoc_files:
|
|
35
35
|
- LICENSE.txt
|
36
36
|
- README.md
|
37
37
|
files:
|
38
|
+
- CHANGELOG.md
|
38
39
|
- LICENSE.txt
|
39
40
|
- README.md
|
40
41
|
- lib/idnx.rb
|
@@ -42,6 +43,7 @@ files:
|
|
42
43
|
- lib/idnx/ruby.rb
|
43
44
|
- lib/idnx/version.rb
|
44
45
|
- lib/idnx/windows.rb
|
46
|
+
- sig/idnx.rbs
|
45
47
|
homepage: https://github.com/honeyryderchuck/idnx
|
46
48
|
licenses: []
|
47
49
|
metadata:
|
@@ -63,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
65
|
- !ruby/object:Gem::Version
|
64
66
|
version: '0'
|
65
67
|
requirements: []
|
66
|
-
rubygems_version: 3.2.
|
68
|
+
rubygems_version: 3.2.22
|
67
69
|
signing_key:
|
68
70
|
specification_version: 4
|
69
71
|
summary: Converts International Domain Names into Punycode. It uses (via FFI) 'libidn2'
|