peopledatalabs 2.1.1 → 2.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: 95b02cf3a6e1c3a73a7bdda1941b7b1d93e4746534d0ae1f0a429ee628d29098
4
- data.tar.gz: 0503c9888cf0df7f10a9512868c29e2d18395e19c61a4a5d8e5078056469e38d
3
+ metadata.gz: 2297c141ffcf542022f6617d899b756afcd81308501ab7925b7002d442fe5956
4
+ data.tar.gz: aa1b7ea805e0b2132864a7cf19a72d50274a8d54d154ed977dfcd46d6bae2c06
5
5
  SHA512:
6
- metadata.gz: 40fd5bcabf8af3c90078559d6939c7571447288a62c87ce518d87fa7ee9caa4226abb371085ee7970d3b6adc6b8cf9315f4cdb37ce182690594f194c5ba1f8c2
7
- data.tar.gz: e488333578f4c3aa93fafbdaf8ad20d171869b032fe048bcc6dc8302ade1296eb0529825cd8d97b493802d7f1ba424520d2520affc6bbe1c1efd91cee105d333
6
+ metadata.gz: cb1d27e8eb7f6aa5a03b9f35dc8b11d9030bca40f02247bd66d7106406d6c17af3eaabd0b7e05afd09e8479b7f89a754c37375a38536e3b8d12decda1d834a8d
7
+ data.tar.gz: 81be8e1f48533fcd7f9518870288834adc59f992d687292209bc0583ba4de10dd6d3834dcca85cc988a34dcb52c97b0cffc0c25578bed0527e5fce50297b6480
@@ -2,13 +2,15 @@
2
2
 
3
3
  module Peopledatalabs
4
4
  class Autocomplete < APIResource
5
- def self.retrieve(field:, text: '', size: 10, pretty: false)
5
+ def self.retrieve(field:, text: '', size: 10, pretty: false, titlecase: false, beta: false)
6
6
 
7
7
  params = {
8
8
  'field' => field,
9
9
  'text' => text,
10
10
  'size' => size,
11
11
  'pretty' => pretty,
12
+ 'titlecase' => titlecase,
13
+ 'beta' => beta,
12
14
  };
13
15
 
14
16
  headers = {
@@ -2,11 +2,12 @@
2
2
 
3
3
  module Peopledatalabs
4
4
  class JobTitle < APIResource
5
- def self.retrieve(job_title:, pretty: false)
5
+ def self.retrieve(job_title:, pretty: false, titlecase: false)
6
6
 
7
7
  params = {
8
8
  'job_title' => job_title,
9
9
  'pretty' => pretty,
10
+ 'titlecase' => titlecase,
10
11
  };
11
12
 
12
13
  headers = {
@@ -2,11 +2,12 @@
2
2
 
3
3
  module Peopledatalabs
4
4
  class Skill < APIResource
5
- def self.retrieve(skill:, pretty: false)
5
+ def self.retrieve(skill:, pretty: false, titlecase: false)
6
6
 
7
7
  params = {
8
8
  'skill' => skill,
9
9
  'pretty' => pretty,
10
+ 'titlecase' => titlecase,
10
11
  };
11
12
 
12
13
  headers = {
@@ -1,3 +1,3 @@
1
1
  module Peopledatalabs
2
- VERSION = "2.1.1"
2
+ VERSION = "2.2.0"
3
3
  end
@@ -15,7 +15,7 @@ require 'peopledatalabs/resources/skill'
15
15
 
16
16
 
17
17
  # gem build peopledatalabs.gemspec
18
- # gem install ./peopledatalabs-2.1.1.gem
18
+ # gem install ./peopledatalabs-2.2.0.gem
19
19
  # irb
20
20
  # require 'peopledatalabs'
21
21
  # rake spec PDL_API_KEY=API_KEY
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: 2.1.1
4
+ version: 2.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: 2023-08-21 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler