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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 348bf4a2385c1aa56c35759cc2219a8163fa7cb76e3c05482cd6db7a207906fb
4
- data.tar.gz: 4329ea23260aef483460581391fcd43c80bde61ecebef419f89c2d23f0cfeffc
3
+ metadata.gz: 65795210d2525956c6d9e1774ee7e9c633130871e7d8cd74737ad8b0b4340e7e
4
+ data.tar.gz: 50e15bc59fb1eb82f967ddcfda467354209debfdd65a3f264c5625de2da3fa89
5
5
  SHA512:
6
- metadata.gz: 806964f1611f6931acd6e68e4f5a75069b30abf42795191bf084d89adbfe378d98f6b28f10f96cc5cc446ab9068ddafafd6794e71f2c53fd97d2a0aff5a59914
7
- data.tar.gz: f235fb82617020393be215fe078bd74bbb947ab682f387f5aad87e7bb6e3b62323ee03da30409034ca747beca7b5319905f1a081a43bc8763a25dca5b40722c4
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
- [![Build Status](https://travis-ci.org/berkmancenter/namae.svg?branch=master)](https://travis-ci.org/berkmancenter/namae)
8
- [![Coverage Status](https://coveralls.io/repos/github/berkmancenter/namae/badge.svg?branch=master)](https://coveralls.io/github/berkmancenter/namae?branch=master)
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.5.2
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
@@ -1,8 +1,8 @@
1
1
  module Namae
2
2
  module Version
3
3
  MAJOR = 1
4
- MINOR = 1
5
- PATCH = 1
4
+ MINOR = 2
5
+ PATCH = 0
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.').freeze
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.1.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: 2021-03-14 00:00:00.000000000 Z
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.4'
21
- type: :development
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.4'
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.2.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
@@ -1,16 +0,0 @@
1
- ---
2
- endinges:
3
- duplication:
4
- enabled: true
5
- config:
6
- languages:
7
- - ruby
8
- fixme:
9
- enabled: true
10
- rubocop:
11
- enabled: true
12
- ratings:
13
- paths:
14
- - '**.rb'
15
- exclude_paths:
16
- - lib/namae/parser.rb
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: travis-ci
data/.document DELETED
@@ -1,7 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- AGPL
6
- BSDL
7
- README.md
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --require ./spec/spec_helper.rb
2
- --color