demografix 0.2.0 → 0.2.2

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: aea912afd15530d8297e49ce69f4fd148e705fd6f9e3c9aadd1d1884a06faf55
4
+ data.tar.gz: a2f3f161784c695a1c742c7f84d54ed5835d6b2dff57d55495d27a8a6f2ba221
5
5
  SHA512:
6
- metadata.gz: f7a83c325ce8b9f7f06b414714d22aee3661b898c896a9282772f3e43c2a180628c7717b4dab4c6cc7dd053339d7458dd5c0a844f4f625c65227b0f7ccdb28a0
7
- data.tar.gz: 339d0b4190f547a58f9f756ebd2ddf81074e3f32766c37e7e3695e995ed33a10394558f028578cffe24e0f0ff78895006e26531c8b8307514cf63e55c1176fcc
6
+ metadata.gz: 95c4302f32ff07c83b2aaa275399e9c567ffb5a419dfdf34095608df190b8a1e286736b7dce4b02125c7b9bdec41608a0d51b7cb5351e09418601ccff7b31e4d
7
+ data.tar.gz: 1acf2d0f6ef0736ae2a1708d15f4301ee24c738add90b417db045b6fdd33c74dce3634c4cd43cd30a2906aa7e86e41d39ed938d645ca3ec7ae281ca8b47f2ab9
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")
@@ -216,10 +216,10 @@ The host URLs and the User-Agent are fixed constants, not options.
216
216
 
217
217
  ## API keys
218
218
 
219
- An API key is required. Creating one is free and includes 2,500 names per month.
219
+ An API key is required. Creating one is free and includes 1,000 names per month.
220
220
 
221
221
  Quota counts **names, not requests**. A single-name call costs 1. A batch of 100 names costs 100. The
222
- free tier therefore covers 2,500 names in a month however they are split across calls.
222
+ free tier therefore covers 1,000 names in a month however they are split across calls.
223
223
 
224
224
  Generate a key in your dashboard at [genderize.io](https://genderize.io),
225
225
  [agify.io](https://agify.io), or [nationalize.io](https://nationalize.io). One key works across all
@@ -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.2"
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.2
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: []