peopledatalabs 3.1.0 → 3.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 +1 -1
- data/lib/peopledatalabs/api_resource.rb +1 -1
- data/lib/peopledatalabs/resources/autocomplete.rb +2 -1
- data/lib/peopledatalabs/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12814e4edeb635a9b1c8ca41d1075adf6fc3fb074a1a5736e2d0e80b2805fd58
|
4
|
+
data.tar.gz: 4c4389faa04d97466a6eb820f6d114da988297a8d6251e0bc53e7222a12c2877
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c448c3b6351c4e3d43f816eda943a0631f15f48b678ac48750cde3c206d87ffa0432052e746c5404e37ce8f13d3f80abb14bb683652d3e86dbcf9056f6023956
|
7
|
+
data.tar.gz: 1f6aade1baddbce91a70a391448cfa767403d05f114dd312bbb80fbf61992e3b85eb813b64b2eb48e4bf8238f99083d9706ab9d6b5c3e392891aecf3c87a7720
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<p align="center">
|
2
|
-
<img src="https://
|
2
|
+
<img src="https://www.peopledatalabs.com/images/company-logo.png" style="background-color: white; padding: 5px 10px;" width="250" alt="People Data Labs Logo">
|
3
3
|
</p>
|
4
4
|
<h1 align="center">People Data Labs Ruby Library</h1>
|
5
5
|
<p align="center">Official Ruby client for the People Data Labs API.</p>
|
@@ -3,7 +3,7 @@ module Peopledatalabs
|
|
3
3
|
|
4
4
|
protected
|
5
5
|
|
6
|
-
VALID_AUTOCOMPLETE_FIELDS = ['company', 'country', 'industry', 'location', 'major', 'region', 'role', 'school', 'sub_role', 'skill', 'title'].freeze
|
6
|
+
VALID_AUTOCOMPLETE_FIELDS = ['class', 'company', 'country', 'industry', 'location', 'major', 'region', 'role', 'school', 'sub_role', 'skill', 'title'].freeze
|
7
7
|
|
8
8
|
def self.get(path:, headers: {}, params: {})
|
9
9
|
request = check(params: params, path: path)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module Peopledatalabs
|
4
4
|
class Autocomplete < APIResource
|
5
|
-
def self.retrieve(field:, text: '', size: 10, pretty: false, titlecase: false)
|
5
|
+
def self.retrieve(field:, text: '', size: 10, pretty: false, titlecase: false, updated_title_roles: false)
|
6
6
|
|
7
7
|
params = {
|
8
8
|
'field' => field,
|
@@ -10,6 +10,7 @@ module Peopledatalabs
|
|
10
10
|
'size' => size,
|
11
11
|
'pretty' => pretty,
|
12
12
|
'titlecase' => titlecase,
|
13
|
+
'updated_title_roles' => updated_title_roles,
|
13
14
|
};
|
14
15
|
|
15
16
|
headers = {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peopledatalabs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- People Data Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.5.
|
145
|
+
rubygems_version: 3.5.22
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Official Ruby client for the People Data Labs API.
|