namae 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/namae/parser.rb +4 -2
- data/lib/namae/version.rb +2 -2
- metadata +17 -33
- data/.codeclimate.yml +0 -16
- data/.coveralls.yml +0 -1
- data/.document +0 -7
- data/.rspec +0 -2
- data/.rubocop.yml +0 -1156
- data/.simplecov +0 -4
- data/.travis.yml +0 -38
- data/.yardopts +0 -3
- data/Gemfile +0 -26
- data/Rakefile +0 -74
- data/cucumber.yml +0 -1
- data/features/bibtex.feature +0 -78
- data/features/examples.feature +0 -52
- data/features/lists.feature +0 -138
- data/features/step_definitions/namae_steps.rb +0 -45
- data/features/suffix.feature +0 -49
- data/features/support/env.rb +0 -24
- data/features/title.feature +0 -17
- data/namae.gemspec +0 -70
- data/spec/namae/name_spec.rb +0 -133
- data/spec/namae/parser_spec.rb +0 -263
- data/spec/namae/utility_spec.rb +0 -21
- data/spec/spec_helper.rb +0 -32
- data/spec/thread_safety_spec.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65795210d2525956c6d9e1774ee7e9c633130871e7d8cd74737ad8b0b4340e7e
|
4
|
+
data.tar.gz: 50e15bc59fb1eb82f967ddcfda467354209debfdd65a3f264c5625de2da3fa89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2385d90450515879dc4e5dea141ad34a95c4279fde33954b7d3b3ca831977600efda9030d2e8acd76db7f2632f0e16c9a5be022525bc075de512c923109b2ea0
|
7
|
+
data.tar.gz: 52d8470e03f68cb81118d8dcf9859213c8509cc4deab5f6f498dc632dd6e4d04d8c13a87150d2d9b5e3aa0c650bf94f340f03df96736bc31b7d7cf0f91877e97
|
data/README.md
CHANGED
@@ -4,8 +4,8 @@ Namae is a parser for human names. It recognizes personal names of various
|
|
4
4
|
cultural backgrounds and tries to split them into their component parts
|
5
5
|
(e.g., given and family names, honorifics etc.).
|
6
6
|
|
7
|
-
[![
|
8
|
-
[![Coverage
|
7
|
+
[![CI](https://github.com/berkmancenter/namae/actions/workflows/ci.yml/badge.svg)](https://github.com/berkmancenter/namae/actions/workflows/ci.yml)
|
8
|
+
[![Coverage](https://coveralls.io/repos/github/berkmancenter/namae/badge.svg?branch=master)](https://coveralls.io/github/berkmancenter/namae?branch=master)
|
9
9
|
[![Gem Version](https://badge.fury.io/rb/namae.svg)](http://badge.fury.io/rb/namae)
|
10
10
|
[![Code Climate](https://codeclimate.com/github/berkmancenter/namae/badges/gpa.svg)](https://codeclimate.com/github/berkmancenter/namae)
|
11
11
|
|
data/lib/namae/parser.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.
|
4
|
-
# from Racc grammar file "".
|
3
|
+
# This file is automatically generated by Racc 1.7.3
|
4
|
+
# from Racc grammar file "parser.y".
|
5
5
|
#
|
6
6
|
|
7
7
|
require 'racc/parser.rb'
|
@@ -379,6 +379,7 @@ Racc_arg = [
|
|
379
379
|
racc_shift_n,
|
380
380
|
racc_reduce_n,
|
381
381
|
racc_use_result_var ]
|
382
|
+
Ractor.make_shareable(Racc_arg) if defined?(Ractor)
|
382
383
|
|
383
384
|
Racc_token_to_s_table = [
|
384
385
|
"$end",
|
@@ -413,6 +414,7 @@ Racc_token_to_s_table = [
|
|
413
414
|
"opt_comma",
|
414
415
|
"suffices",
|
415
416
|
"u_word" ]
|
417
|
+
Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor)
|
416
418
|
|
417
419
|
Racc_debug_parser = false
|
418
420
|
|
data/lib/namae/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: namae
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
|
-
- Dan Collis-Puro
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2024-01-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: racc
|
@@ -17,64 +16,49 @@ dependencies:
|
|
17
16
|
requirements:
|
18
17
|
- - "~>"
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1.
|
21
|
-
type: :
|
19
|
+
version: '1.7'
|
20
|
+
type: :runtime
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - "~>"
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version: '1.
|
26
|
+
version: '1.7'
|
28
27
|
description: " Namae (名前) is a parser for human names. It recognizes personal names
|
29
28
|
of various cultural backgrounds and tries to split them into their component parts
|
30
29
|
(e.g., given and family names, honorifics etc.). "
|
31
30
|
email:
|
32
31
|
- sylvester@keil.or.at
|
33
|
-
- dan@collispuro.com
|
34
32
|
executables: []
|
35
33
|
extensions: []
|
36
34
|
extra_rdoc_files:
|
37
35
|
- README.md
|
36
|
+
- AGPL
|
38
37
|
files:
|
39
|
-
- ".codeclimate.yml"
|
40
|
-
- ".coveralls.yml"
|
41
|
-
- ".document"
|
42
|
-
- ".rspec"
|
43
|
-
- ".rubocop.yml"
|
44
|
-
- ".simplecov"
|
45
|
-
- ".travis.yml"
|
46
|
-
- ".yardopts"
|
47
38
|
- AGPL
|
48
39
|
- BSDL
|
49
|
-
- Gemfile
|
50
40
|
- README.md
|
51
|
-
- Rakefile
|
52
|
-
- cucumber.yml
|
53
|
-
- features/bibtex.feature
|
54
|
-
- features/examples.feature
|
55
|
-
- features/lists.feature
|
56
|
-
- features/step_definitions/namae_steps.rb
|
57
|
-
- features/suffix.feature
|
58
|
-
- features/support/env.rb
|
59
|
-
- features/title.feature
|
60
41
|
- lib/namae.rb
|
61
42
|
- lib/namae/name.rb
|
62
43
|
- lib/namae/parser.rb
|
63
44
|
- lib/namae/parser.y
|
64
45
|
- lib/namae/utility.rb
|
65
46
|
- lib/namae/version.rb
|
66
|
-
- namae.gemspec
|
67
|
-
- spec/namae/name_spec.rb
|
68
|
-
- spec/namae/parser_spec.rb
|
69
|
-
- spec/namae/utility_spec.rb
|
70
|
-
- spec/spec_helper.rb
|
71
|
-
- spec/thread_safety_spec.rb
|
72
47
|
homepage: https://github.com/berkmancenter/namae
|
73
48
|
licenses:
|
74
49
|
- AGPL-3.0
|
50
|
+
- BSD-2-Clause
|
75
51
|
metadata: {}
|
76
52
|
post_install_message:
|
77
|
-
rdoc_options:
|
53
|
+
rdoc_options:
|
54
|
+
- "--line-numbers"
|
55
|
+
- "--inline-source"
|
56
|
+
- "--title"
|
57
|
+
- "'Namae'"
|
58
|
+
- "--main"
|
59
|
+
- README.md
|
60
|
+
- "--exclude"
|
61
|
+
- lib/namae/parser.rb
|
78
62
|
require_paths:
|
79
63
|
- lib
|
80
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -88,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
72
|
- !ruby/object:Gem::Version
|
89
73
|
version: '0'
|
90
74
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
75
|
+
rubygems_version: 3.5.3
|
92
76
|
signing_key:
|
93
77
|
specification_version: 4
|
94
78
|
summary: Namae (名前) parses personal names and splits them into their component parts.
|
data/.codeclimate.yml
DELETED
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|
data/.document
DELETED
data/.rspec
DELETED