name_bank 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/README.md +17 -0
- data/lib/name_bank/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1002b10463391e94b864c3e1ee16e75619338470b7934a7f8dbe3a0b2800b74e
|
|
4
|
+
data.tar.gz: 48fa865b036403596ec5faad42b1e19ab608229d7bc489bc108c6cce9cfd31db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 414c382b0348cda3da80e7e441fb459f7dc67690caea107fb71ef6fc170d018d5f6ae0bf25dfdba37471afda1d68f80fe14865a7a581014d43c24509b8b0a533
|
|
7
|
+
data.tar.gz: 740263807cc32ba8d090e6e41291170b6862ba8151b80f5b2a968c0824f95f9b452a78e6a6acafbda3686dc5d17818d0e04bf8ab97def983054cf15bedc9e41e
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format is based on
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
|
|
5
|
+
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [0.1.3] - 2026-07-23
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- README: "Supported countries" section listing all 106 countries by name,
|
|
11
|
+
comma-separated.
|
|
12
|
+
- Tests: `last_name` with a `variant:` (public API and repository level), and a
|
|
13
|
+
variant lookup on an unknown country raising `UnknownVariant`.
|
|
14
|
+
|
|
15
|
+
## [0.1.2] - 2026
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Corrected the GitHub homepage to the roughneck org.
|
|
19
|
+
|
|
20
|
+
## [0.1.1] - 2026
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Neutral gem description; install/usage README.
|
|
24
|
+
|
|
25
|
+
## [0.1.0] - 2026
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- Lazy, memoized per-country name repository.
|
|
29
|
+
- Deterministic uniform sampling API: `first_name`, `last_name`, `full_name`,
|
|
30
|
+
`countries`, `variants`.
|
|
31
|
+
- Baked top given and family names for 105 countries from name-dataset.
|
|
32
|
+
- Curated Ukraine name pool for a dataset gap.
|
|
33
|
+
- Curated pinyin pool for China, replacing polluted dataset names.
|
|
34
|
+
- US `african_american` cultural variant.
|
|
35
|
+
- Apache-2.0 license and NOTICE.
|
data/README.md
CHANGED
|
@@ -55,6 +55,23 @@ NameBank.variants(country: "US") # => ["african_american"]
|
|
|
55
55
|
NameBank.variants(country: "DE") # => []
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
+
## Supported countries
|
|
59
|
+
|
|
60
|
+
106 countries: Afghanistan, Albania, Algeria, Angola, Argentina, Austria,
|
|
61
|
+
Azerbaijan, Bahrain, Bangladesh, Belgium, Bolivia, Botswana, Brazil, Brunei,
|
|
62
|
+
Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Chile, China,
|
|
63
|
+
Colombia, Costa Rica, Croatia, Cyprus, Czechia, Denmark, Djibouti, Ecuador,
|
|
64
|
+
Egypt, El Salvador, Estonia, Ethiopia, Fiji, Finland, France, Georgia, Germany,
|
|
65
|
+
Ghana, Greece, Guatemala, Haiti, Honduras, Hong Kong, Hungary, Iceland, India,
|
|
66
|
+
Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan,
|
|
67
|
+
Kazakhstan, Kuwait, Lebanon, Libya, Lithuania, Luxembourg, Macau, Malaysia,
|
|
68
|
+
Maldives, Malta, Mauritius, Mexico, Moldova, Morocco, Namibia, Netherlands,
|
|
69
|
+
Nigeria, Norway, Oman, Palestine, Panama, Peru, Philippines, Poland, Portugal,
|
|
70
|
+
Puerto Rico, Qatar, Russia, Saudi Arabia, Serbia, Singapore, Slovenia, South
|
|
71
|
+
Africa, South Korea, Spain, Sudan, Sweden, Switzerland, Syria, Taiwan, Tunisia,
|
|
72
|
+
Turkey, Turkmenistan, Ukraine, United Arab Emirates, United Kingdom, United
|
|
73
|
+
States, Uruguay, Yemen.
|
|
74
|
+
|
|
58
75
|
## License
|
|
59
76
|
|
|
60
77
|
Apache-2.0.
|
data/lib/name_bank/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: name_bank
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrick Bartels
|
|
@@ -44,6 +44,7 @@ executables: []
|
|
|
44
44
|
extensions: []
|
|
45
45
|
extra_rdoc_files: []
|
|
46
46
|
files:
|
|
47
|
+
- CHANGELOG.md
|
|
47
48
|
- LICENSE
|
|
48
49
|
- NOTICE
|
|
49
50
|
- README.md
|