iso-639 0.3.6 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +33 -21
- data/README.md +1 -1
- data/iso-639.gemspec +2 -1
- data/lib/iso-639.rb +2 -2
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82638293b2ce0ad805527d4c94332dc4340f61dedc06c80d55f2db9edc3e97c8
|
4
|
+
data.tar.gz: 3aba44af194937d816337f6a53dbbfbf58cfcd8ec4845ca23443c42a500f0497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcaddf82f8af9ac2f1f207b538bfcd5167ab960754e28f39f368f7e582357d0f3501e31bcfb884a5fbb4baf5e4d10ea17eedb44b353c4bffe30f62e4865aee27
|
7
|
+
data.tar.gz: 22d0c99651c464c79a69105e7c0012124d8a0d7b5456459008852ce52ed0ee0d3a4d59dba2984ef88c6e1376807cddf3a42bc9b183dda06bf0a6c7527517a272
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,38 +3,50 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
allocation_stats (0.1.5)
|
5
5
|
ast (2.4.2)
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
csv (3.3.0)
|
7
|
+
json (2.7.2)
|
8
|
+
language_server-protocol (3.17.0.3)
|
9
|
+
minitest (5.25.1)
|
10
|
+
mocha (2.4.5)
|
11
|
+
ruby2_keywords (>= 0.0.5)
|
12
|
+
parallel (1.26.3)
|
13
|
+
parser (3.3.5.0)
|
10
14
|
ast (~> 2.4.1)
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
racc
|
16
|
+
power_assert (2.0.4)
|
17
|
+
psych (5.1.2)
|
18
|
+
stringio
|
19
|
+
racc (1.8.1)
|
20
|
+
rainbow (3.1.1)
|
21
|
+
rake (13.2.1)
|
22
|
+
rdoc (6.7.0)
|
23
|
+
psych (>= 4.0.0)
|
24
|
+
regexp_parser (2.9.2)
|
25
|
+
rubocop (1.66.1)
|
26
|
+
json (~> 2.3)
|
27
|
+
language_server-protocol (>= 3.17.0)
|
18
28
|
parallel (~> 1.10)
|
19
|
-
parser (>= 3.
|
29
|
+
parser (>= 3.3.0.2)
|
20
30
|
rainbow (>= 2.2.2, < 4.0)
|
21
|
-
regexp_parser (>=
|
22
|
-
|
23
|
-
rubocop-ast (>= 1.12.0, < 2.0)
|
31
|
+
regexp_parser (>= 2.4, < 3.0)
|
32
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
24
33
|
ruby-progressbar (~> 1.7)
|
25
|
-
unicode-display_width (>=
|
26
|
-
rubocop-ast (1.
|
27
|
-
parser (>= 3.
|
28
|
-
ruby-progressbar (1.
|
29
|
-
|
34
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
35
|
+
rubocop-ast (1.32.3)
|
36
|
+
parser (>= 3.3.1.0)
|
37
|
+
ruby-progressbar (1.13.0)
|
38
|
+
ruby2_keywords (0.0.5)
|
39
|
+
stringio (3.1.1)
|
40
|
+
test-unit (3.6.2)
|
30
41
|
power_assert
|
31
|
-
unicode-display_width (2.
|
42
|
+
unicode-display_width (2.6.0)
|
32
43
|
|
33
44
|
PLATFORMS
|
34
45
|
ruby
|
35
46
|
|
36
47
|
DEPENDENCIES
|
37
48
|
allocation_stats
|
49
|
+
csv
|
38
50
|
minitest
|
39
51
|
mocha
|
40
52
|
rake
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# ISO 639
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://img.shields.io/github/actions/workflow/status/xwmx/iso-639/tests.yml?branch=master)](https://github.com/xwmx/iso-639/actions)
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/iso-639?color=blue)](http://rubygems.org/gems/iso-639)
|
5
5
|
[![Gem Downloads](https://img.shields.io/gem/dt/iso-639)](http://rubygems.org/gems/iso-639)
|
6
6
|
|
data/iso-639.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'iso-639'
|
5
|
-
s.version = '0.3.
|
5
|
+
s.version = '0.3.8'
|
6
6
|
s.licenses = ['MIT']
|
7
7
|
s.summary = 'ISO 639-1 and ISO 639-2 language code entries and convenience methods.'
|
8
8
|
s.description = 'ISO 639-1 and ISO 639-2 language code entries and convenience methods.'
|
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
]
|
28
28
|
s.homepage = 'http://github.com/xwmx/iso-639'
|
29
29
|
s.require_paths = ['lib']
|
30
|
+
s.add_dependency('csv')
|
30
31
|
s.add_development_dependency('minitest', '~> 5', '>= 0')
|
31
32
|
s.add_development_dependency('mocha', '~> 1', '>= 0')
|
32
33
|
s.add_development_dependency('rdoc', '~> 6', '>= 0')
|
data/lib/iso-639.rb
CHANGED
@@ -26,7 +26,7 @@ class ISO_639 < Array
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
|
29
|
+
dataset
|
30
30
|
end.call.freeze
|
31
31
|
|
32
32
|
# An inverted index generated from the ISO_639_2 data. Used for searching
|
@@ -52,7 +52,7 @@ class ISO_639 < Array
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
|
55
|
+
index
|
56
56
|
end.call.freeze
|
57
57
|
|
58
58
|
# The ISO 639-1 dataset as an array of entries. Each entry is an array with
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iso-639
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Melody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: csv
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: minitest
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
162
|
- !ruby/object:Gem::Version
|
149
163
|
version: '0'
|
150
164
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
165
|
+
rubygems_version: 3.5.3
|
152
166
|
signing_key:
|
153
167
|
specification_version: 4
|
154
168
|
summary: ISO 639-1 and ISO 639-2 language code entries and convenience methods.
|