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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d0d3cade6d3744bd104abeb2d990a5de1527617c6d42a6db438765e6e52939d
4
- data.tar.gz: e87781f33fa427caad52994d19b281d0ee5109d4950a017f9e4f43e7aa3845cd
3
+ metadata.gz: 12814e4edeb635a9b1c8ca41d1075adf6fc3fb074a1a5736e2d0e80b2805fd58
4
+ data.tar.gz: 4c4389faa04d97466a6eb820f6d114da988297a8d6251e0bc53e7222a12c2877
5
5
  SHA512:
6
- metadata.gz: 6420d30680ff09ef86a7c825005ed44b519eafdf7c502fedb41cd2a6ce29d41d96b9138c3fe21504ed624581554b0b00dcd43930d7e9afae27480c2074c6cb0a
7
- data.tar.gz: ce8cdb9c0a1210c931acbfdcb989494e6cc87be785f0c5c23f8dc53d92b9c60b440c9cc0bd2898b9e36cd5b927024d6a52045b64bd6e28fc8376160fe51f7732
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://i.imgur.com/S7DkZtr.png" width="250" alt="People Data Labs Logo">
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 = {
@@ -1,3 +1,3 @@
1
1
  module Peopledatalabs
2
- VERSION = "3.1.0"
2
+ VERSION = "3.2.0"
3
3
  end
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.1.0
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-09-17 00:00:00.000000000 Z
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.16
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.