domain_name 0.5.20190701 → 0.6.20231109
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/.github/workflows/ci.yml +34 -0
- data/CHANGELOG.md +7 -0
- data/Rakefile +2 -2
- data/data/public_suffix_list.dat +4756 -2310
- data/domain_name.gemspec +3 -3
- data/lib/domain_name/etld_data.rb +1691 -900
- data/lib/domain_name/version.rb +1 -1
- data/lib/domain_name.rb +1 -2
- data/test/test_domain_name-punycode.rb +1 -1
- metadata +11 -31
- data/.travis.yml +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 064d2e2843b35e605d1d84f64b192df23b0bde115f716295489a79ebba8305de
|
4
|
+
data.tar.gz: e9cdad6938f920b124c465c97c1a7201c19f789c5648cfd10311e7c1f0407d22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee5da3a9ebc6f879895bcdf58730a2401c36301b4005729f6cb94156a1cb245fc121ca44552e417389d675741c69b479ff7088ab66a0cada1a78f15d50e2ffa7
|
7
|
+
data.tar.gz: b08c7c1cda5907aaec76559b78e2c3c236f99b9f2ebef403e68ec1d76828b3faadc1d54ae6009697ef98c1fa025f610f02a2595ff3b2645d07e70c09d58ad700
|
@@ -0,0 +1,34 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
os: [ubuntu]
|
15
|
+
ruby: [2.7, "3.0", 3.1, 3.2, head, jruby]
|
16
|
+
|
17
|
+
name: >-
|
18
|
+
${{matrix.os}}:ruby-${{matrix.ruby}}
|
19
|
+
runs-on: ${{matrix.os}}-latest
|
20
|
+
continue-on-error: ${{matrix.ruby == 'head' || matrix.ruby == 'jruby'}}
|
21
|
+
|
22
|
+
steps:
|
23
|
+
- name: Check out
|
24
|
+
uses: actions/checkout@v4
|
25
|
+
|
26
|
+
- name: Set up ruby and bundle
|
27
|
+
uses: ruby/setup-ruby@v1
|
28
|
+
with:
|
29
|
+
ruby-version: ${{matrix.ruby}}
|
30
|
+
bundler-cache: true
|
31
|
+
|
32
|
+
- name: Run rake
|
33
|
+
run: |
|
34
|
+
bundle exec rake
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v0.6.20231109](https://github.com/knu/ruby-domain_name/tree/v0.6.20231109) (2023-11-14)
|
4
|
+
[Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.6.20190701...v0.6.20231109)
|
5
|
+
|
6
|
+
- Update the eTLD database to 2023-11-09 00:10:10 UTC
|
7
|
+
|
8
|
+
- Require Ruby >=2.7 and drop the dependency on unf
|
9
|
+
|
3
10
|
## [v0.5.20190701](https://github.com/knu/ruby-domain_name/tree/v0.5.20190701) (2019-07-05)
|
4
11
|
[Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.5.20180417...v0.5.20190701)
|
5
12
|
|
data/Rakefile
CHANGED
@@ -52,7 +52,7 @@ end
|
|
52
52
|
|
53
53
|
namespace :etld_data do
|
54
54
|
task :commit do
|
55
|
-
if system(
|
55
|
+
if system('git', 'diff', '--exit-code', '--quiet', ETLD_DATA_FILE)
|
56
56
|
warn "Nothing to commit."
|
57
57
|
exit
|
58
58
|
end
|
@@ -63,7 +63,7 @@ namespace :etld_data do
|
|
63
63
|
|
64
64
|
File.open('CHANGELOG.md', 'r+') do |f|
|
65
65
|
lines = f.readlines
|
66
|
-
lines.insert(2,
|
66
|
+
lines.insert(2, <<-EOF)
|
67
67
|
## [v#{curr}](https://github.com/knu/ruby-domain_name/tree/v#{curr}) (#{Time.now.strftime('%F')})
|
68
68
|
[Full Changelog](https://github.com/knu/ruby-domain_name/compare/v#{prev}...v#{curr})
|
69
69
|
|