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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c050ab7db72d4d9314191c02c3c694112457c66072fc292e95e4d3bd504168db
4
- data.tar.gz: 9ce566d11d55e580b5371106aead6468286a341047cb40f3a526f234a2da2090
3
+ metadata.gz: 064d2e2843b35e605d1d84f64b192df23b0bde115f716295489a79ebba8305de
4
+ data.tar.gz: e9cdad6938f920b124c465c97c1a7201c19f789c5648cfd10311e7c1f0407d22
5
5
  SHA512:
6
- metadata.gz: 96e5254ecb3cb17f2a46d1826613657edc8e3639adade7f3f2a46721209392b2539bb303f79c41563b17745b05141ebd1ed9c73c6bcc49f26f55c95d57cde2a9
7
- data.tar.gz: 36f6334762aee96a7f7204550f683795cf40757dc5ae1b0eda0699eb484e94c3d56381cb05e3aefcf82b13ec3ab8ce7e62bb7eb15412d170668f4b6855a7e5e3
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(*%W[git diff --exit-code --quiet], ETLD_DATA_FILE)
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, <<~EOF)
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