cb-api 22.7.0 → 22.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/lib/cb/clients/base.rb +2 -2
- data/lib/cb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff0d5833d7ff6276bcdd72467f778a4df4354bdc
|
4
|
+
data.tar.gz: 9160ab8cb4bce1070d1445a30fdd91a37ddae669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd796903cf63bf635c10304111e0111b120a8fe5e1e43f98a2244635a05064e7aeb887bfed70cc892ba0daeff9f2bbe8ab172fd066ec552f5dbb9d946c5b0aca
|
7
|
+
data.tar.gz: 8dd2cce7f4d1f9285ba9bdc5fb0b50e54cef5f2cbcc4c820a061c93ffff9325d7610436de3162cdc97453b7a25b543c4dc7b50e42f2f0c39f690462feeead676
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,7 @@ Version History
|
|
2
2
|
====
|
3
3
|
* All Version bumps are required to update this file as well!!
|
4
4
|
----
|
5
|
+
* 22.8.0 Allow optional override of Accept header
|
5
6
|
* 22.7.0 Option to add default params to httparty calls
|
6
7
|
* 22.6.4 Added fields to the resume put object to allow replace resume
|
7
8
|
* 22.6.3 Added fields to update resume api call to allow replace resume
|
data/lib/cb/clients/base.rb
CHANGED
@@ -16,9 +16,9 @@ module Cb
|
|
16
16
|
@cb_client ||= Cb::Utils::Api.instance(headers: headers, use_default_params: use_default_params)
|
17
17
|
end
|
18
18
|
|
19
|
-
def headers(args)
|
19
|
+
def headers(args, accept_header: 'application/json')
|
20
20
|
{
|
21
|
-
'Accept' =>
|
21
|
+
'Accept' => accept_header,
|
22
22
|
'Authorization' => "Bearer #{ args[:oauth_token] }",
|
23
23
|
'Content-Type' => 'application/json'
|
24
24
|
}
|
data/lib/cb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cb-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 22.
|
4
|
+
version: 22.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The CareerBuilder.com Niche and Consumer Development teams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -371,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
371
371
|
version: '0'
|
372
372
|
requirements: []
|
373
373
|
rubyforge_project:
|
374
|
-
rubygems_version: 2.
|
374
|
+
rubygems_version: 2.6.13
|
375
375
|
signing_key:
|
376
376
|
specification_version: 4
|
377
377
|
summary: Ruby wrapper around Careerbuilder Public API.
|