iso-639 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +10 -8
- data/Gemfile.lock +23 -23
- data/Rakefile +4 -4
- data/iso-639.gemspec +28 -50
- data/lib/iso-639.rb +3 -2
- data/test/helper.rb +5 -3
- data/test/test_iso_639.rb +40 -39
- metadata +34 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 762d663f7f549111f890c284a0f0664cf17cc0057c51fb633b7aaaa162831973
|
4
|
+
data.tar.gz: fd726d11611d4d0740618d65de272d293537d7d2788266b638dc801ed5e4a4bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a77da6760212c49f6e24cde00ab21b39ab650bda3c8199729c6b5365d8562fed533a623c04d9882b91f083f486c05c03ec59cc2ecc12e827af269f5ec293bac
|
7
|
+
data.tar.gz: '0650295b54921f8d783aff892694940e87c8385947ef362721f3ac27ffd140c954f26df74aa80dfab7353ff4cd83f38d0e52f1964b438774d67491bda8baf5e3'
|
data/Gemfile
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'http://rubygems.org'
|
2
4
|
# Add dependencies required to use your gem here.
|
3
5
|
# Example:
|
4
6
|
# gem "activesupport", ">= 2.3.5"
|
@@ -12,7 +14,7 @@ group :development, :test do
|
|
12
14
|
#
|
13
15
|
# https://rubygems.org/gems/allocation_stats/
|
14
16
|
# https://github.com/srawlins/allocation_stats
|
15
|
-
gem
|
17
|
+
gem 'allocation_stats'
|
16
18
|
# minitest
|
17
19
|
#
|
18
20
|
# minitest provides a complete suite of testing facilities supporting TDD,
|
@@ -20,7 +22,7 @@ group :development, :test do
|
|
20
22
|
#
|
21
23
|
# https://rubygems.org/gems/minitest
|
22
24
|
# https://github.com/seattlerb/minitest
|
23
|
-
gem
|
25
|
+
gem 'minitest'
|
24
26
|
# mocha
|
25
27
|
#
|
26
28
|
# Mocking and stubbing library with JMock/SchMock syntax, which allows
|
@@ -29,14 +31,14 @@ group :development, :test do
|
|
29
31
|
# https://rubygems.org/gems/mocha
|
30
32
|
# http://gofreerange.com/mocha/docs/
|
31
33
|
# https://github.com/freerange/mocha
|
32
|
-
gem
|
34
|
+
gem 'mocha'
|
33
35
|
# rake
|
34
36
|
#
|
35
37
|
# Rake is a Make-like program implemented in Ruby.
|
36
38
|
#
|
37
39
|
# https://rubygems.org/gems/rake
|
38
40
|
# https://github.com/ruby/rake
|
39
|
-
gem
|
41
|
+
gem 'rake'
|
40
42
|
# rdoc
|
41
43
|
#
|
42
44
|
# RDoc produces HTML and command-line documentation for Ruby projects.
|
@@ -44,7 +46,7 @@ group :development, :test do
|
|
44
46
|
# https://rubygems.org/gems/rdoc
|
45
47
|
# http://docs.seattlerb.org/rdoc/
|
46
48
|
# https://github.com/rdoc/rdoc
|
47
|
-
gem
|
49
|
+
gem 'rdoc'
|
48
50
|
# rubocop
|
49
51
|
#
|
50
52
|
# Automatic Ruby code style checking tool. Aims to enforce the
|
@@ -52,7 +54,7 @@ group :development, :test do
|
|
52
54
|
#
|
53
55
|
# https://rubygems.org/gems/rubocop
|
54
56
|
# https://github.com/bbatsov/rubocop
|
55
|
-
gem
|
57
|
+
gem 'rubocop'
|
56
58
|
# test-unit
|
57
59
|
#
|
58
60
|
# Test::Unit (test-unit) is unit testing framework for Ruby, based on xUnit
|
@@ -61,5 +63,5 @@ group :development, :test do
|
|
61
63
|
# https://rubygems.org/gems/test-unit
|
62
64
|
# http://test-unit.github.io/
|
63
65
|
# https://github.com/test-unit/
|
64
|
-
gem
|
66
|
+
gem 'test-unit'
|
65
67
|
end
|
data/Gemfile.lock
CHANGED
@@ -2,30 +2,30 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
allocation_stats (0.1.5)
|
5
|
-
ast (2.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
parser (>= 2.
|
21
|
-
|
22
|
-
|
5
|
+
ast (2.4.0)
|
6
|
+
jaro_winkler (1.5.4)
|
7
|
+
minitest (5.14.0)
|
8
|
+
mocha (1.11.2)
|
9
|
+
parallel (1.19.1)
|
10
|
+
parser (2.7.0.3)
|
11
|
+
ast (~> 2.4.0)
|
12
|
+
power_assert (1.1.6)
|
13
|
+
rainbow (3.0.0)
|
14
|
+
rake (13.0.1)
|
15
|
+
rdoc (6.2.1)
|
16
|
+
rexml (3.2.4)
|
17
|
+
rubocop (0.80.1)
|
18
|
+
jaro_winkler (~> 1.5.1)
|
19
|
+
parallel (~> 1.10)
|
20
|
+
parser (>= 2.7.0.1)
|
21
|
+
rainbow (>= 2.2.2, < 4.0)
|
22
|
+
rexml
|
23
23
|
ruby-progressbar (~> 1.7)
|
24
|
-
unicode-display_width (
|
25
|
-
ruby-progressbar (1.
|
26
|
-
test-unit (3.
|
24
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
25
|
+
ruby-progressbar (1.10.1)
|
26
|
+
test-unit (3.3.5)
|
27
27
|
power_assert
|
28
|
-
unicode-display_width (1.1
|
28
|
+
unicode-display_width (1.6.1)
|
29
29
|
|
30
30
|
PLATFORMS
|
31
31
|
ruby
|
@@ -40,4 +40,4 @@ DEPENDENCIES
|
|
40
40
|
test-unit
|
41
41
|
|
42
42
|
BUNDLED WITH
|
43
|
-
1.
|
43
|
+
2.1.4
|
data/Rakefile
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'bundler'
|
5
5
|
begin
|
6
6
|
Bundler.setup(:default, :development)
|
7
7
|
rescue Bundler::BundlerError => e
|
8
|
-
|
9
|
-
|
8
|
+
warn e.message
|
9
|
+
warn 'Run `bundle install` to install missing gems'
|
10
10
|
exit e.status_code
|
11
11
|
end
|
12
12
|
require 'rake'
|
@@ -22,7 +22,7 @@ task default: :test
|
|
22
22
|
|
23
23
|
require 'rdoc/task'
|
24
24
|
Rake::RDocTask.new do |rdoc|
|
25
|
-
version = File.exist?('VERSION') ? File.read('VERSION') :
|
25
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ''
|
26
26
|
|
27
27
|
rdoc.rdoc_dir = 'rdoc'
|
28
28
|
rdoc.title = "ISO-639 #{version}"
|
data/iso-639.gemspec
CHANGED
@@ -1,57 +1,35 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version =
|
6
|
-
|
7
|
-
s.
|
8
|
-
s.
|
9
|
-
s.
|
10
|
-
s.
|
11
|
-
s.
|
4
|
+
s.name = 'iso-639'
|
5
|
+
s.version = '0.2.9'
|
6
|
+
s.licenses = ['MIT']
|
7
|
+
s.summary = 'ISO 639-1 and ISO 639-2 language code entries and convenience methods'
|
8
|
+
s.description = 'ISO 639-1 and ISO 639-2 language code entries and convenience methods'
|
9
|
+
s.authors = ['William Melody']
|
10
|
+
s.email = 'hi@williammelody.com'
|
11
|
+
s.date = '2020-03-01'
|
12
12
|
s.extra_rdoc_files = [
|
13
|
-
|
14
|
-
|
13
|
+
'LICENSE',
|
14
|
+
'README.md'
|
15
15
|
]
|
16
16
|
s.files = [
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
17
|
+
'.document',
|
18
|
+
'Gemfile',
|
19
|
+
'Gemfile.lock',
|
20
|
+
'LICENSE',
|
21
|
+
'README.md',
|
22
|
+
'Rakefile',
|
23
|
+
'iso-639.gemspec',
|
24
|
+
'lib/iso-639.rb',
|
25
|
+
'test/helper.rb',
|
26
|
+
'test/test_iso_639.rb'
|
27
27
|
]
|
28
|
-
s.homepage =
|
29
|
-
s.
|
30
|
-
s.
|
31
|
-
s.
|
32
|
-
s.
|
33
|
-
|
34
|
-
|
35
|
-
s.specification_version = 3
|
36
|
-
|
37
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
|
38
|
-
s.add_development_dependency("minitest", [">= 0"])
|
39
|
-
s.add_development_dependency("mocha", [">= 0"])
|
40
|
-
s.add_development_dependency("rdoc", [">= 0"])
|
41
|
-
s.add_development_dependency("rubocop", [">= 0"])
|
42
|
-
s.add_development_dependency("test-unit", [">= 0"])
|
43
|
-
else
|
44
|
-
s.add_dependency("minitest", [">= 0"])
|
45
|
-
s.add_dependency("mocha", [">= 0"])
|
46
|
-
s.add_dependency("rdoc", [">= 0"])
|
47
|
-
s.add_dependency("rubocop", [">= 0"])
|
48
|
-
s.add_dependency("test-unit", [">= 0"])
|
49
|
-
end
|
50
|
-
else
|
51
|
-
s.add_dependency("minitest", [">= 0"])
|
52
|
-
s.add_dependency("mocha", [">= 0"])
|
53
|
-
s.add_dependency("rdoc", [">= 0"])
|
54
|
-
s.add_dependency("rubocop", [">= 0"])
|
55
|
-
s.add_dependency("test-unit", [">= 0"])
|
56
|
-
end
|
28
|
+
s.homepage = 'http://github.com/alphabetum/iso-639'
|
29
|
+
s.require_paths = ['lib']
|
30
|
+
s.add_development_dependency('minitest', '~> 5', '>= 0')
|
31
|
+
s.add_development_dependency('mocha', '~> 1', '>= 0')
|
32
|
+
s.add_development_dependency('rdoc', '~> 6', '>= 0')
|
33
|
+
s.add_development_dependency('rubocop', '~> 0', '>= 0')
|
34
|
+
s.add_development_dependency('test-unit', '~> 3', '>= 0')
|
57
35
|
end
|
data/lib/iso-639.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
# encoding: UTF-8
|
2
1
|
# frozen_string_literal: true
|
2
|
+
|
3
3
|
# http://www.loc.gov/standards/iso639-2/ascii_8bits.html
|
4
4
|
|
5
5
|
class ISO_639 < Array
|
@@ -553,10 +553,11 @@ class ISO_639 < Array
|
|
553
553
|
# Returns the entry array for an alpha-2 or alpha-3 code
|
554
554
|
def find_by_code(code)
|
555
555
|
return if code.nil?
|
556
|
+
|
556
557
|
case code.length
|
557
558
|
when 3
|
558
559
|
ISO_639_2.detect do |entry|
|
559
|
-
entry if entry.alpha3
|
560
|
+
entry if [entry.alpha3, entry.alpha3_terminologic].include?(code)
|
560
561
|
end
|
561
562
|
when 2
|
562
563
|
ISO_639_1.detect do |entry|
|
data/test/helper.rb
CHANGED
@@ -1,15 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'rubygems'
|
2
4
|
require 'bundler'
|
3
5
|
begin
|
4
6
|
Bundler.setup(:default, :development)
|
5
7
|
rescue Bundler::BundlerError => e
|
6
|
-
|
7
|
-
|
8
|
+
warn e.message
|
9
|
+
warn 'Run `bundle install` to install missing gems'
|
8
10
|
exit e.status_code
|
9
11
|
end
|
10
12
|
require 'minitest/autorun'
|
11
13
|
require 'minitest/pride'
|
12
|
-
require 'mocha/
|
14
|
+
require 'mocha/minitest'
|
13
15
|
|
14
16
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
15
17
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
data/test/test_iso_639.rb
CHANGED
@@ -1,16 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
2
3
|
require 'helper'
|
3
4
|
|
4
5
|
describe ISO_639 do
|
5
|
-
it
|
6
|
+
it 'should have full code list in ISO_639_2' do
|
6
7
|
assert_equal 485, ISO_639::ISO_639_2.length
|
7
8
|
end
|
8
9
|
|
9
|
-
it
|
10
|
+
it 'should have shorter code list in ISO_639_1' do
|
10
11
|
assert_equal 184, ISO_639::ISO_639_1.length
|
11
12
|
end
|
12
13
|
|
13
|
-
it
|
14
|
+
it 'should return nil find_by_code when code does not exist or is invalid' do
|
14
15
|
assert ISO_639.find_by_code(nil).nil?, 'nil code'
|
15
16
|
assert ISO_639.find_by_code('xxx').nil?, 'xxx alfa-3 not existing code'
|
16
17
|
assert ISO_639.find_by_code('xx').nil?, 'xx alfa-2 not existing code'
|
@@ -18,82 +19,82 @@ describe ISO_639 do
|
|
18
19
|
assert ISO_639.find_by_code('').nil?, 'empty string code'
|
19
20
|
end
|
20
21
|
|
21
|
-
it
|
22
|
-
assert_equal [
|
23
|
-
assert_equal [
|
22
|
+
it 'should return entry for alpha-2 code' do
|
23
|
+
assert_equal ['eng', '', 'en', 'English', 'anglais'], ISO_639.find_by_code('en')
|
24
|
+
assert_equal ['eng', '', 'en', 'English', 'anglais'], ISO_639.find('en')
|
24
25
|
end
|
25
26
|
|
26
|
-
it
|
27
|
-
assert_equal [
|
27
|
+
it 'should return entry for alpha-3 terminologic code' do
|
28
|
+
assert_equal %w[ger deu de German allemand], ISO_639.find('deu')
|
28
29
|
end
|
29
30
|
|
30
|
-
it
|
31
|
-
assert_equal [
|
31
|
+
it 'should find by english name' do
|
32
|
+
assert_equal ['eng', '', 'en', 'English', 'anglais'], ISO_639.find_by_english_name('English')
|
32
33
|
end
|
33
34
|
|
34
|
-
it
|
35
|
-
assert_equal [
|
35
|
+
it 'should find by french name' do
|
36
|
+
assert_equal ['eng', '', 'en', 'English', 'anglais'], ISO_639.find_by_french_name('anglais')
|
36
37
|
end
|
37
38
|
|
38
|
-
%w
|
39
|
+
%w[
|
39
40
|
alpha3_bibliographic
|
40
41
|
alpha3
|
41
42
|
alpha3_terminologic
|
42
43
|
alpha2
|
43
44
|
english_name
|
44
45
|
french_name
|
45
|
-
|
46
|
+
].each_with_index do |m, i|
|
46
47
|
it "should respond to and return #{m}" do
|
47
|
-
@entry = ISO_639.find(
|
48
|
+
@entry = ISO_639.find('en')
|
48
49
|
assert @entry.respond_to?(m)
|
49
|
-
assert_equal [
|
50
|
+
assert_equal ['eng', 'eng', '', 'en', 'English', 'anglais'][i], @entry.send(m)
|
50
51
|
end
|
51
52
|
end
|
52
53
|
|
53
|
-
it
|
54
|
+
it 'should return single record array by searching a unique code' do
|
54
55
|
assert_equal(
|
55
|
-
[[
|
56
|
-
ISO_639.search(
|
56
|
+
[['spa', '', 'es', 'Spanish; Castilian', 'espagnol; castillan']],
|
57
|
+
ISO_639.search('es')
|
57
58
|
)
|
58
59
|
end
|
59
60
|
|
60
|
-
it
|
61
|
+
it 'should return single record array by searching a unique term' do
|
61
62
|
assert_equal(
|
62
|
-
[[
|
63
|
-
ISO_639.search(
|
63
|
+
[['spa', '', 'es', 'Spanish; Castilian', 'espagnol; castillan']],
|
64
|
+
ISO_639.search('spanish')
|
64
65
|
)
|
65
66
|
end
|
66
67
|
|
67
|
-
it
|
68
|
+
it 'should return multiple record array by searching a common term' do
|
68
69
|
assert_equal(
|
69
70
|
[
|
70
|
-
[
|
71
|
-
[
|
71
|
+
['egy', '', '', 'Egyptian (Ancient)', 'égyptien'],
|
72
|
+
['grc', '', '', 'Greek, Ancient (to 1453)', "grec ancien (jusqu'à 1453)"]
|
72
73
|
],
|
73
|
-
ISO_639.search(
|
74
|
+
ISO_639.search('ancient')
|
74
75
|
)
|
75
76
|
end
|
76
77
|
|
77
|
-
it
|
78
|
+
it 'should return empty array when searching a non-existent term' do
|
78
79
|
assert_equal(
|
79
|
-
[], ISO_639.search(
|
80
|
+
[], ISO_639.search('bad term')
|
80
81
|
)
|
81
82
|
end
|
82
83
|
|
83
|
-
it
|
84
|
+
it 'should return empty array when searching a nil term' do
|
84
85
|
assert_equal [], ISO_639.search(nil)
|
85
86
|
end
|
86
87
|
|
87
|
-
it
|
88
|
+
it 'should return single record array by searching a unique multi-word term' do
|
88
89
|
assert_equal(
|
89
|
-
[[
|
90
|
-
ISO_639.search(
|
90
|
+
[['ypk', '', '', 'Yupik languages', 'yupik, langues']],
|
91
|
+
ISO_639.search('yupik, langues')
|
91
92
|
)
|
92
93
|
end
|
93
94
|
|
94
|
-
it
|
95
|
+
it 'should error when attempting to change immutable ISO_639_2' do
|
95
96
|
assert_raises RuntimeError do
|
96
|
-
ISO_639::ISO_639_2 << [
|
97
|
+
ISO_639::ISO_639_2 << ['test', 'array']
|
97
98
|
end
|
98
99
|
|
99
100
|
assert_raises RuntimeError do
|
@@ -101,7 +102,7 @@ describe ISO_639 do
|
|
101
102
|
end
|
102
103
|
|
103
104
|
assert_raises RuntimeError do
|
104
|
-
ISO_639::ISO_639_2[0][1] =
|
105
|
+
ISO_639::ISO_639_2[0][1] = ''
|
105
106
|
end
|
106
107
|
|
107
108
|
assert_raises RuntimeError do
|
@@ -109,9 +110,9 @@ describe ISO_639 do
|
|
109
110
|
end
|
110
111
|
end
|
111
112
|
|
112
|
-
it
|
113
|
+
it 'should error when attempting to change immutable ISO_639_1' do
|
113
114
|
assert_raises RuntimeError do
|
114
|
-
ISO_639::ISO_639_1 << [
|
115
|
+
ISO_639::ISO_639_1 << ['test', 'array']
|
115
116
|
end
|
116
117
|
|
117
118
|
assert_raises RuntimeError do
|
@@ -119,7 +120,7 @@ describe ISO_639 do
|
|
119
120
|
end
|
120
121
|
|
121
122
|
assert_raises RuntimeError do
|
122
|
-
ISO_639::ISO_639_1[0][1] =
|
123
|
+
ISO_639::ISO_639_1[0][1] = ''
|
123
124
|
end
|
124
125
|
|
125
126
|
assert_raises RuntimeError do
|
metadata
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iso-639
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
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: 2020-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '5'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: '0'
|
@@ -21,6 +24,9 @@ dependencies:
|
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '5'
|
24
30
|
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: '0'
|
@@ -28,6 +34,9 @@ dependencies:
|
|
28
34
|
name: mocha
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1'
|
31
40
|
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
42
|
version: '0'
|
@@ -35,6 +44,9 @@ dependencies:
|
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1'
|
38
50
|
- - ">="
|
39
51
|
- !ruby/object:Gem::Version
|
40
52
|
version: '0'
|
@@ -42,6 +54,9 @@ dependencies:
|
|
42
54
|
name: rdoc
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '6'
|
45
60
|
- - ">="
|
46
61
|
- !ruby/object:Gem::Version
|
47
62
|
version: '0'
|
@@ -49,6 +64,9 @@ dependencies:
|
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '6'
|
52
70
|
- - ">="
|
53
71
|
- !ruby/object:Gem::Version
|
54
72
|
version: '0'
|
@@ -56,6 +74,9 @@ dependencies:
|
|
56
74
|
name: rubocop
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
59
80
|
- - ">="
|
60
81
|
- !ruby/object:Gem::Version
|
61
82
|
version: '0'
|
@@ -63,6 +84,9 @@ dependencies:
|
|
63
84
|
prerelease: false
|
64
85
|
version_requirements: !ruby/object:Gem::Requirement
|
65
86
|
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
66
90
|
- - ">="
|
67
91
|
- !ruby/object:Gem::Version
|
68
92
|
version: '0'
|
@@ -70,6 +94,9 @@ dependencies:
|
|
70
94
|
name: test-unit
|
71
95
|
requirement: !ruby/object:Gem::Requirement
|
72
96
|
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '3'
|
73
100
|
- - ">="
|
74
101
|
- !ruby/object:Gem::Version
|
75
102
|
version: '0'
|
@@ -77,6 +104,9 @@ dependencies:
|
|
77
104
|
prerelease: false
|
78
105
|
version_requirements: !ruby/object:Gem::Requirement
|
79
106
|
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '3'
|
80
110
|
- - ">="
|
81
111
|
- !ruby/object:Gem::Version
|
82
112
|
version: '0'
|
@@ -117,10 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
147
|
- !ruby/object:Gem::Version
|
118
148
|
version: '0'
|
119
149
|
requirements: []
|
120
|
-
|
121
|
-
rubygems_version: 2.5.1
|
150
|
+
rubygems_version: 3.1.2
|
122
151
|
signing_key:
|
123
|
-
specification_version:
|
152
|
+
specification_version: 4
|
124
153
|
summary: ISO 639-1 and ISO 639-2 language code entries and convenience methods
|
125
154
|
test_files: []
|
126
|
-
has_rdoc:
|