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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c009734c8c8f89dcc8ab479124f1c274b854e926a3aab219d9548ff08ca4fe3
4
- data.tar.gz: 7ebdb1a4c925a1eb0a58df46a50f5fce5c629a385fa6fcb8b8d189eb7d312641
3
+ metadata.gz: 82638293b2ce0ad805527d4c94332dc4340f61dedc06c80d55f2db9edc3e97c8
4
+ data.tar.gz: 3aba44af194937d816337f6a53dbbfbf58cfcd8ec4845ca23443c42a500f0497
5
5
  SHA512:
6
- metadata.gz: 520ba2092a5df4d0f67621f685df720a5cade3760e90a16e445ffff9fe3ed8105e1837e2fec9af500818ccafb2db4721cc81cea89fbf0d5a12343192162a4ad6
7
- data.tar.gz: e3c55fc6423fe290f205924a779400b45394a067a38c75390209e64384d75a8e1ec5c053499d65fae9a541c37a6ccdfc33fbee38a097b3b6db7bb28f1fd0cf7f
6
+ metadata.gz: dcaddf82f8af9ac2f1f207b538bfcd5167ab960754e28f39f368f7e582357d0f3501e31bcfb884a5fbb4baf5e4d10ea17eedb44b353c4bffe30f62e4865aee27
7
+ data.tar.gz: 22d0c99651c464c79a69105e7c0012124d8a0d7b5456459008852ce52ed0ee0d3a4d59dba2984ef88c6e1376807cddf3a42bc9b183dda06bf0a6c7527517a272
data/Gemfile CHANGED
@@ -5,6 +5,8 @@ source 'http://rubygems.org'
5
5
  # Example:
6
6
  # gem "activesupport", ">= 2.3.5"
7
7
 
8
+ gem 'csv'
9
+
8
10
  # Add dependencies to develop your gem here.
9
11
  # Include everything needed to run rake, tests, features, etc.
10
12
  group :development, :test do
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
- minitest (5.14.4)
7
- mocha (1.13.0)
8
- parallel (1.21.0)
9
- parser (3.0.2.0)
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
- power_assert (2.0.1)
12
- rainbow (3.0.0)
13
- rake (13.0.6)
14
- rdoc (6.3.3)
15
- regexp_parser (2.1.1)
16
- rexml (3.2.5)
17
- rubocop (1.22.3)
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.0.0.0)
29
+ parser (>= 3.3.0.2)
20
30
  rainbow (>= 2.2.2, < 4.0)
21
- regexp_parser (>= 1.8, < 3.0)
22
- rexml
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 (>= 1.4.0, < 3.0)
26
- rubocop-ast (1.13.0)
27
- parser (>= 3.0.1.1)
28
- ruby-progressbar (1.11.0)
29
- test-unit (3.5.1)
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.1.0)
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://travis-ci.org/xwmx/iso-639.svg?branch=master)](https://travis-ci.org/xwmx/iso-639)
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.6'
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
- return dataset
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
- return index
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.6
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: 2022-11-30 00:00:00.000000000 Z
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.2.22
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.