human_languages 0.9.1 → 0.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e81651412e904c0242d131b026fe44d12b4ee24b16a9d88a9533037828a1583
4
- data.tar.gz: 7c7dd038c977708a6126a69aab884113a2a1982a438b7316248e585093667c4b
3
+ metadata.gz: 3cdceee5c1946173fa5220d3a2ac51bbd35e65ea8bbcc5ccdf2bb930fd6674a4
4
+ data.tar.gz: be810a4803130a4ad84ff4a783af139ec23b3845b21de192ff3cfc31296dd7e3
5
5
  SHA512:
6
- metadata.gz: d20311fcafcf1ead8801efdb223854d84993fe6d76951cd57d49f18f5d76bd6d7bf0e6acfb772bc895e2525e710a2bdf8b306d392e8f46b2178e5ab54d48ec18
7
- data.tar.gz: 2ebf04af650f8d072df2375afc8ca59faa5e8e1401576216375d6fff1f96e8bc65ff7b42c455255b07926f7a2bb8bb6d42a2a6a9dafb0a38c930c11a99dbbe6f
6
+ metadata.gz: fd5361a3614d6c31775355056800df404527a7f73da3eaa466a52c66cddf8bfb7d569c3392943c1c114308a90aa99b4d79fb08f619edbadd41ca2622431d2187
7
+ data.tar.gz: 1465e095db23a4ad811421ab30709f842f8fcdfe7a489c1bdf387c86465d6bd8da32f0bca21af59d02c5816c0d7a28f81d3d0559d32f4da86db1905a80516ac9
data/CHANGELOG.md CHANGED
@@ -7,6 +7,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.10.1] - 2025-08-12
11
+
12
+ ### Fixed
13
+
14
+ - Add `csv` gem as dependency as it is no longer part of stdlib with Ruby 3.4.
15
+
16
+ ## [0.10.0] - 2025-08-12
17
+
18
+ ### Removed
19
+
20
+ - Support for Ruby 3.1 as it is EOL since 26 March 2025.
21
+
22
+ ### Changed
23
+
24
+ - Update ISO 639 data incorporating approved changes
25
+ - [2024 Quarter 4](https://iso639-3.sil.org/sites/iso639-3/files/reports/ISO%20639_MA%202024%20Q4%20January%202025%20newsletter.pdf)
26
+ - Adopted [2023-006](https://iso639-3.sil.org/request/2023-006): Create new language "[ynb] Yamben"
27
+ - [2025 April](https://iso639-3.sil.org/sites/iso639-3/files/reports/Issue%2004%20April%202025%20ISO%20639%20MA%20Newsletter.pdf)
28
+ - Adopted [2024-001](https://iso639-3.sil.org/request/2024-001): Update language "[kci] Ngyian"
29
+ - Adopted [2024-003](https://iso639-3.sil.org/request/2024-003): Create new new language "[oak] Noakhali"
30
+ - Partially adopted [2024-002](https://iso639-3.sil.org/request/2024-002): Update language "[new] Nepal Bhasa"
31
+ - [2025 July](https://iso639-3.sil.org/sites/iso639-3/files/reports/Issue%2005%20July%202025%20ISO%20639%20MA%20Newsletter.pdf)
32
+ - Adopted [2024-006](https://iso639-3.sil.org/request/2024-006): Update language "[zmp] Mbuun"
33
+ - Adopted [2024-010](https://iso639-3.sil.org/request/2024-010): Update language "[squ] Squamish"
34
+ - Adopted [2024-011](https://iso639-3.sil.org/request/2024-011): Update language "[haa] Hän"
35
+ - Adopted [2024-012](https://iso639-3.sil.org/request/2024-012): Update language "[clm] Klallam"
36
+ - Adopted [2024-013](https://iso639-3.sil.org/request/2024-013): Update language "[shs] Shuswap"
37
+ - Adopted [2024-014](https://iso639-3.sil.org/request/2024-014): Update language "[thp] Thompson"
38
+ - Adopted [2024-015](https://iso639-3.sil.org/request/2024-015): Update language "[atj] Atikamekw"
39
+ - Adopted [2024-016](https://iso639-3.sil.org/request/2024-016): Update language "[tht] Tahltan"
40
+ - Adopted [2024-017](https://iso639-3.sil.org/request/2024-017): Update language "[asb] Assiniboine"
41
+ - Adopted [2024-018](https://iso639-3.sil.org/request/2024-018): Update language "[clc] Chilcotin"
42
+ - Adopted [2024-019](https://iso639-3.sil.org/request/2024-019): Update language "[sec] Sechelt"
43
+ - Adopted [2024-020](https://iso639-3.sil.org/request/2024-020): Update language "[kwk] Kwak'wala"
44
+ - Adopted [2025-018](https://iso639-3.sil.org/request/2025-018): Update language "[mhn] Mòcheno"
45
+
46
+ ### Fixed
47
+
10
48
  ## [0.9.1] - 2024-11-21
11
49
 
12
50
  ### Fixed
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  gem 'minitest', '~> 5.25'
9
- gem 'rake', '~> 13.2'
10
- gem 'rubocop', '~> 1.68'
11
- gem 'rubocop-minitest', '~> 0.36.0'
12
- gem 'rubocop-rake', '~> 0.6.0'
9
+ gem 'rake', '~> 13.3'
10
+ gem 'rubocop', '~> 1.79'
11
+ gem 'rubocop-minitest', '~> 0.38.1'
12
+ gem 'rubocop-rake', '~> 0.7.1'
data/Gemfile.lock CHANGED
@@ -1,42 +1,50 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- human_languages (0.9.1)
4
+ human_languages (0.10.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.2)
10
- json (2.8.2)
11
- language_server-protocol (3.17.0.3)
12
- minitest (5.25.1)
13
- parallel (1.26.3)
14
- parser (3.3.6.0)
9
+ ast (2.4.3)
10
+ json (2.13.2)
11
+ language_server-protocol (3.17.0.5)
12
+ lint_roller (1.1.0)
13
+ minitest (5.25.5)
14
+ parallel (1.27.0)
15
+ parser (3.3.9.0)
15
16
  ast (~> 2.4.1)
16
17
  racc
18
+ prism (1.4.0)
17
19
  racc (1.8.1)
18
20
  rainbow (3.1.1)
19
- rake (13.2.1)
20
- regexp_parser (2.9.2)
21
- rubocop (1.68.0)
21
+ rake (13.3.0)
22
+ regexp_parser (2.11.1)
23
+ rubocop (1.79.2)
22
24
  json (~> 2.3)
23
- language_server-protocol (>= 3.17.0)
25
+ language_server-protocol (~> 3.17.0.2)
26
+ lint_roller (~> 1.1.0)
24
27
  parallel (~> 1.10)
25
28
  parser (>= 3.3.0.2)
26
29
  rainbow (>= 2.2.2, < 4.0)
27
- regexp_parser (>= 2.4, < 3.0)
28
- rubocop-ast (>= 1.32.2, < 2.0)
30
+ regexp_parser (>= 2.9.3, < 3.0)
31
+ rubocop-ast (>= 1.46.0, < 2.0)
29
32
  ruby-progressbar (~> 1.7)
30
- unicode-display_width (>= 2.4.0, < 3.0)
31
- rubocop-ast (1.36.1)
32
- parser (>= 3.3.1.0)
33
- rubocop-minitest (0.36.0)
34
- rubocop (>= 1.61, < 2.0)
35
- rubocop-ast (>= 1.31.1, < 2.0)
36
- rubocop-rake (0.6.0)
37
- rubocop (~> 1.0)
33
+ unicode-display_width (>= 2.4.0, < 4.0)
34
+ rubocop-ast (1.46.0)
35
+ parser (>= 3.3.7.2)
36
+ prism (~> 1.4)
37
+ rubocop-minitest (0.38.1)
38
+ lint_roller (~> 1.1)
39
+ rubocop (>= 1.75.0, < 2.0)
40
+ rubocop-ast (>= 1.38.0, < 2.0)
41
+ rubocop-rake (0.7.1)
42
+ lint_roller (~> 1.1)
43
+ rubocop (>= 1.72.1)
38
44
  ruby-progressbar (1.13.0)
39
- unicode-display_width (2.6.0)
45
+ unicode-display_width (3.1.4)
46
+ unicode-emoji (~> 4.0, >= 4.0.4)
47
+ unicode-emoji (4.0.4)
40
48
 
41
49
  PLATFORMS
42
50
  x86_64-linux
@@ -44,10 +52,10 @@ PLATFORMS
44
52
  DEPENDENCIES
45
53
  human_languages!
46
54
  minitest (~> 5.25)
47
- rake (~> 13.2)
48
- rubocop (~> 1.68)
49
- rubocop-minitest (~> 0.36.0)
50
- rubocop-rake (~> 0.6.0)
55
+ rake (~> 13.3)
56
+ rubocop (~> 1.79)
57
+ rubocop-minitest (~> 0.38.1)
58
+ rubocop-rake (~> 0.7.1)
51
59
 
52
60
  BUNDLED WITH
53
- 2.5.6
61
+ 2.6.9
data/README.adoc CHANGED
@@ -5,7 +5,6 @@ Benno Bielmeier
5
5
  image:https://api.reuse.software/badge/github.com/bbenno/languages[link="https://api.reuse.software/info/github.com/bbenno/languages", alt="REUSE status"]
6
6
  image:https://badge.fury.io/rb/human_languages.svg["Gem Version", link="https://badge.fury.io/rb/human_languages"]
7
7
 
8
- image:https://img.shields.io/maintenance/yes/2024[Maintenance]
9
8
  image:https://github.com/bbenno/languages/actions/workflows/main.yml/badge.svg[link="https://github.com/bbenno/languages/actions/workflows/main.yml"]
10
9
 
11
10
  Simple, dependency-less gem providing all known human languagesfootnote:[This includes all individual languages already accounted for in ISO 639-2 as well as extinct, constructed, and historical languages.] defined in ISO 639-3
data/REUSE.toml ADDED
@@ -0,0 +1,16 @@
1
+ version = 1
2
+ SPDX-PackageName = "languages"
3
+ SPDX-PackageSupplier = "Benno Bielmeier <git@bbenno.com>"
4
+ SPDX-PackageDownloadLocation = "https://github.com/bbenno/languages"
5
+
6
+ [[annotations]]
7
+ path = "**"
8
+ precedence = "aggregate"
9
+ SPDX-FileCopyrightText = "2022-2025 Benno Bielmeier <git@bbenno.com>"
10
+ SPDX-License-Identifier = "MIT"
11
+
12
+ [[annotations]]
13
+ path = "data/**"
14
+ precedence = "aggregate"
15
+ SPDX-FileCopyrightText = "2022 SIL International <iso639-3@sil.org>"
16
+ SPDX-License-Identifier = "LicenseRef-ISO639-3ToU"
data/data/iso-639-3.tsv CHANGED
@@ -1297,7 +1297,7 @@ cli I L Chakali
1297
1297
  clj I L Laitu Chin
1298
1298
  clk I L Idu-Mishmi
1299
1299
  cll I L Chala
1300
- clm I L Clallam
1300
+ clm I L Klallam
1301
1301
  clo I L Lowland Oaxaca Chontal
1302
1302
  cls I H Classical Sanskrit
1303
1303
  clt I L Lautu Chin
@@ -1590,7 +1590,7 @@ diq I L Dimli (individual language)
1590
1590
  dir I L Dirim
1591
1591
  dis I L Dimasa
1592
1592
  diu I L Diriku
1593
- div div div dv I L Dhivehi
1593
+ div div div dv I L Divehi
1594
1594
  diw I L Northwestern Dinka
1595
1595
  dix I L Dixon Reef
1596
1596
  diy I L Diuwe
@@ -2101,7 +2101,7 @@ ghh I L Northern Ghale
2101
2101
  ghk I L Geko Karen
2102
2102
  ghl I L Ghulfan
2103
2103
  ghn I L Ghanongga
2104
- gho I E Ghomara
2104
+ gho I L Ghomara
2105
2105
  ghr I L Ghera
2106
2106
  ghs I L Guhu-Samane
2107
2107
  ght I L Kuke
@@ -2325,7 +2325,7 @@ gyz I L Geji
2325
2325
  gza I L Ganza
2326
2326
  gzi I L Gazi
2327
2327
  gzn I L Gane
2328
- haa I L Han
2328
+ haa I L Hän
2329
2329
  hab I L Hanoi Sign Language
2330
2330
  hac I L Gurani
2331
2331
  had I L Hatam
@@ -2892,7 +2892,7 @@ kce I L Kaivi
2892
2892
  kcf I L Ukaan
2893
2893
  kcg I L Tyap
2894
2894
  kch I L Vono
2895
- kci I L Kamantan
2895
+ kci I L Ngyian
2896
2896
  kcj I L Kobiana
2897
2897
  kck I L Kalanga
2898
2898
  kcl I L Kela (Papua New Guinea)
@@ -3390,7 +3390,7 @@ kwg I L Sara Kaba Deme
3390
3390
  kwh I L Kowiai
3391
3391
  kwi I L Awa-Cuaiquer
3392
3392
  kwj I L Kwanga
3393
- kwk I L Kwakiutl
3393
+ kwk I L Kwak'wala
3394
3394
  kwl I L Kofyar
3395
3395
  kwm I L Kwambi
3396
3396
  kwn I L Kwangali
@@ -3795,7 +3795,7 @@ lup I L Lumbu
3795
3795
  luq I L Lucumi
3796
3796
  lur I L Laura
3797
3797
  lus lus lus I L Lushai
3798
- lut I L Lushootseed
3798
+ lut I E Lushootseed
3799
3799
  luu I L Lumba-Yakkha
3800
3800
  luv I L Luwati
3801
3801
  luw I L Luo (Cameroon)
@@ -4011,7 +4011,7 @@ mhj I L Mogholi
4011
4011
  mhk I L Mungaka
4012
4012
  mhl I L Mauwake
4013
4013
  mhm I L Makhuwa-Moniga
4014
- mhn I L Mócheno
4014
+ mhn I L Mòcheno
4015
4015
  mho I L Mashi (Zambia)
4016
4016
  mhp I L Balinese Malay
4017
4017
  mhq I L Mandan
@@ -4574,7 +4574,7 @@ nes I L Bhoti Kinnauri
4574
4574
  net I L Nete
4575
4575
  neu I C Neo
4576
4576
  nev I L Nyaheun
4577
- new new new I L Newari
4577
+ new new new I L Nepal Bhasa
4578
4578
  nex I L Neme
4579
4579
  ney I L Neyo
4580
4580
  nez I L Nez Perce
@@ -4916,7 +4916,7 @@ nxo I L Ndambomo
4916
4916
  nxq I L Naxi
4917
4917
  nxr I L Ninggerum
4918
4918
  nxx I L Nafri
4919
- nya nya nya ny I L Nyanja
4919
+ nya nya nya ny I L Chichewa
4920
4920
  nyb I L Nyangbo
4921
4921
  nyc I L Nyanga-li
4922
4922
  nyd I L Nyore
@@ -4954,6 +4954,7 @@ nzy I L Nzakambay
4954
4954
  nzz I L Nanga Dama Dogon
4955
4955
  oaa I L Orok
4956
4956
  oac I L Oroch
4957
+ oak I L Noakhali
4957
4958
  oar I H Old Aramaic (up to 700 BCE)
4958
4959
  oav I H Old Avar
4959
4960
  obi I E Obispeño
@@ -7636,6 +7637,7 @@ yms I H Mysian
7636
7637
  ymx I L Northern Muji
7637
7638
  ymz I L Muzi
7638
7639
  yna I L Aluo
7640
+ ynb I L Yamben
7639
7641
  ynd I E Yandruwandha
7640
7642
  yne I L Lang'e
7641
7643
  yng I L Yango
@@ -7832,7 +7834,7 @@ zml I E Matngala
7832
7834
  zmm I L Marimanindji
7833
7835
  zmn I L Mbangwe
7834
7836
  zmo I L Molo
7835
- zmp I L Mpuono
7837
+ zmp I L Mbuun
7836
7838
  zmq I L Mituku
7837
7839
  zmr I L Maranunggu
7838
7840
  zms I L Mbesa
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = 'ISO 639-3 is a set of codes that defines three-letter identifiers for all known human languages.'
13
13
  spec.homepage = 'https://github.com/bbenno/languages'
14
14
  spec.license = 'MIT'
15
- spec.required_ruby_version = '>= 3.1.0'
15
+ spec.required_ruby_version = '>= 3.2.0'
16
16
 
17
17
  # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
18
18
 
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
27
27
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
28
28
  `git ls-files -z`.split("\x0").reject do |f|
29
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
29
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test)/|\.(?:git|rubocop|envrc)|devenv)})
30
30
  end
31
31
  end
32
32
  spec.bindir = 'exe'
@@ -35,6 +35,7 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  # Uncomment to register a new dependency of your gem
37
37
  # spec.add_dependency "example-gem", "~> 1.0"
38
+ spec.add_dependency('csv', '~> 3.0')
38
39
 
39
40
  # For more information and examples about making a new gem, check out our
40
41
  # guide at: https://bundler.io/guides/creating_gem.html
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Languages
4
- VERSION = '0.9.1'
4
+ VERSION = '0.10.1'
5
5
  end
data/lib/languages.rb CHANGED
@@ -16,6 +16,7 @@ module Languages
16
16
  end
17
17
 
18
18
  extend Gem::Deprecate
19
+
19
20
  deprecate :ancient, :none, 2025, 3
20
21
 
21
22
  SCOPES.each do |scope|
metadata CHANGED
@@ -1,15 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: human_languages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benno Bielmeier
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
10
  date: 1980-01-01 00:00:00.000000000 Z
12
- dependencies: []
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: csv
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '3.0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '3.0'
13
26
  description: ISO 639-3 is a set of codes that defines three-letter identifiers for
14
27
  all known human languages.
15
28
  email:
@@ -18,8 +31,6 @@ executables: []
18
31
  extensions: []
19
32
  extra_rdoc_files: []
20
33
  files:
21
- - ".reuse/dep5"
22
- - ".rubocop.yml"
23
34
  - CHANGELOG.md
24
35
  - Gemfile
25
36
  - Gemfile.lock
@@ -27,6 +38,7 @@ files:
27
38
  - LICENSES/LicenseRef-ISO639-3ToU.txt
28
39
  - LICENSES/MIT.txt
29
40
  - README.adoc
41
+ - REUSE.toml
30
42
  - Rakefile
31
43
  - data/iso-639-3-macrolanguages.tsv
32
44
  - data/iso-639-3.tsv
@@ -45,7 +57,6 @@ metadata:
45
57
  changelog_uri: https://github.com/bbenno/languages/blob/HEAD/CHANGELOG.md
46
58
  rubygems_mfa_required: 'true'
47
59
  github_repo: git@github.com:bbenno/languages.git
48
- post_install_message:
49
60
  rdoc_options: []
50
61
  require_paths:
51
62
  - lib
@@ -53,15 +64,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
64
  requirements:
54
65
  - - ">="
55
66
  - !ruby/object:Gem::Version
56
- version: 3.1.0
67
+ version: 3.2.0
57
68
  required_rubygems_version: !ruby/object:Gem::Requirement
58
69
  requirements:
59
70
  - - ">="
60
71
  - !ruby/object:Gem::Version
61
72
  version: '0'
62
73
  requirements: []
63
- rubygems_version: 3.5.22
64
- signing_key:
74
+ rubygems_version: 3.6.9
65
75
  specification_version: 4
66
76
  summary: ISO 639-3 languages
67
77
  test_files: []
data/.reuse/dep5 DELETED
@@ -1,12 +0,0 @@
1
- Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
- Upstream-Name: languages
3
- Upstream-Contact: Benno Bielmeier <git@bbenno.com>
4
- Source: https://github.com/bbenno/languages
5
-
6
- Files: *
7
- Copyright: 2022-2024 Benno Bielmeier <git@bbenno.com>
8
- License: MIT
9
-
10
- Files: data/*
11
- Copyright: 2022 SIL International <iso639-3@sil.org>
12
- License: LicenseRef-ISO639-3ToU
data/.rubocop.yml DELETED
@@ -1,18 +0,0 @@
1
- ---
2
- require:
3
- - rubocop-minitest
4
- - rubocop-rake
5
-
6
- AllCops:
7
- TargetRubyVersion: 3.1
8
- NewCops: enable
9
-
10
- Naming/VariableNumber:
11
- Enabled: false
12
-
13
- Layout/LineLength:
14
- Max: 120
15
-
16
- Metrics/ClassLength:
17
- Exclude:
18
- - 'test/test_*'