demografix 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 250e7adfec94972ce5b9a76d80a230ee9f583411239614733308b98b19e72113
4
- data.tar.gz: cff51c589741ad58aadac543700419360b51569aafd3e4939dd905404babd2e7
3
+ metadata.gz: e32fcb1768c53fe52e90ada47fe4d769670981532f6aea61084c5db7ec5fd636
4
+ data.tar.gz: 305dbff3f2b864435f09c6ade2bdf89f48e9140b5954aad39f6af4c9fe4293ad
5
5
  SHA512:
6
- metadata.gz: f7a83c325ce8b9f7f06b414714d22aee3661b898c896a9282772f3e43c2a180628c7717b4dab4c6cc7dd053339d7458dd5c0a844f4f625c65227b0f7ccdb28a0
7
- data.tar.gz: 339d0b4190f547a58f9f756ebd2ddf81074e3f32766c37e7e3695e995ed33a10394558f028578cffe24e0f0ff78895006e26531c8b8307514cf63e55c1176fcc
6
+ metadata.gz: d9adc3c9710b7c42c12c235048b8c10cf6ff1c3e073beee61019d251f415f9e68ef7c95b2f9c467c5956a083fe99eb0a49dd06e05997d3d23b0c633bedf59446
7
+ data.tar.gz: 6d2f866f2052e62e96d6e58e7bf58856a879159a8539c85181d8660ffab749805a12f8dc7e176a9d75c220cda9d2f86184a6ba7a54efcd7ef95c2ed5c08f7837
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # demografix (Ruby)
2
2
 
3
- Predict gender, age, and nationality from first names. One Ruby client covers all three Demografix
3
+ Predict gender, age, and nationality from names. One Ruby client covers all three Demografix
4
4
  APIs — [genderize.io](https://genderize.io) (gender), [agify.io](https://agify.io) (age), and
5
5
  [nationalize.io](https://nationalize.io) (nationality) — with single-name lookups and batches of up
6
6
  to 100 names per request.
@@ -52,7 +52,7 @@ distribution.
52
52
 
53
53
  ## genderize
54
54
 
55
- Predict gender from a name.
55
+ Predict gender from names.
56
56
 
57
57
  ```ruby
58
58
  result = client.genderize("peter")
@@ -76,7 +76,7 @@ probability, and `0` count. That is a successful response, not an error.
76
76
 
77
77
  ## agify
78
78
 
79
- Predict age from a name.
79
+ Predict age from names.
80
80
 
81
81
  ```ruby
82
82
  result = client.agify("michael")
@@ -97,7 +97,7 @@ buckets = ages.group_by { |age| (age / 10) * 10 }
97
97
 
98
98
  ## nationalize
99
99
 
100
- Predict nationality from a name.
100
+ Predict nationality from names.
101
101
 
102
102
  ```ruby
103
103
  result = client.nationalize("nguyen")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Demografix
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: demografix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Demografix
@@ -52,9 +52,9 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: '3.18'
54
54
  description: 'One client for the three Demografix APIs: gender, age, and nationality
55
- prediction from a first name. Look up a single name or send a batch of up to 100
56
- names in one request for bulk demographic analysis, optionally scoped to a country,
57
- and read the remaining quota carried on every response.'
55
+ prediction from a name. Look up a single name or send a batch of up to 100 names
56
+ in one request for bulk demographic analysis, optionally scoped to a country, and
57
+ read the remaining quota carried on every response.'
58
58
  email:
59
59
  - info@genderize.io
60
60
  executables: []
@@ -92,6 +92,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements: []
93
93
  rubygems_version: 3.6.9
94
94
  specification_version: 4
95
- summary: Predict gender, age, and nationality from first names — the official Ruby
96
- client for genderize.io, agify.io, and nationalize.io.
95
+ summary: Predict gender, age, and nationality from names — the official Ruby client
96
+ for genderize.io, agify.io, and nationalize.io.
97
97
  test_files: []