cb-api 21.4.1 → 21.4.2
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/README.md +1 -1
- data/lib/cb/models/implementations/job.rb +5 -1
- 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: 482222ce1172e041d2696aa069b3c9e3bf1e8eb1
|
4
|
+
data.tar.gz: 891df094403536c218d404ce54b7226d9c07c3d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 346045c57853fbc0c3ab4bd849de011efc47899bf3ebd45302c02147671857d760053ac4eee9e7bc9d3f4058e06d870fc2b86edcad8e361a91c113c118a051af
|
7
|
+
data.tar.gz: 275aeed5e81e6c8ca26b304e974cc5ea8568e44a0ec31c9ceabaa16e7c8225135f18161d38127cc3125a7a8ad63734949fb945c292a1e7e567cef8055178f49b
|
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
|
+
* 21.4.2 Catch branding exceptions so that we don't blow up the job details call. The side effect of a second API call is silly anyway
|
5
6
|
* 21.4.1 Update test for Ruby 2.3.1. `ArgumentError`'s error message changed from "wrong number of arguments (0 for 1)" to "wrong number of arguments (given 0, expected 1)" in Ruby 2.3.0.
|
6
7
|
* 21.4.0 Add jc_custom_fields to Cb::Models::Job
|
7
8
|
* 21.3.5 Add begin_date_time and end_date_time to Cb::Models::Job
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Code Climate](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/badges/32deaad52cf116f360f3/gpa.svg)](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/feed)[![Test Coverage](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/badges/32deaad52cf116f360f3/coverage.svg)](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/coverage)[![Gem Version](https://badge.fury.io/rb/cb-api.svg)](http://badge.fury.io/rb/cb-api)
|
1
|
+
[![Code Climate](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/badges/32deaad52cf116f360f3/gpa.svg)](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/feed) [![Test Coverage](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/badges/32deaad52cf116f360f3/coverage.svg)](https://codeclimate.com/repos/54242d7ce30ba04b220066b1/coverage) [![Gem Version](https://badge.fury.io/rb/cb-api.svg)](http://badge.fury.io/rb/cb-api) [![Build Status](https://travis-ci.org/careerbuilder/ruby-cb-api.svg)](https://travis-ci.org/careerbuilder/ruby-cb-api)
|
2
2
|
|
3
3
|
|
4
4
|
First things first. You're going to need to get a developer key from Careerbuilder. Developer keys are available to Partners. You can fill out the form at http://developer.careerbuilder.com/partner_messages/new to become a Partner.
|
@@ -108,7 +108,11 @@ module Cb
|
|
108
108
|
# Job Skin Related
|
109
109
|
@job_skin = args.key?('JobSkin') && !args['JobSkin'].nil? ? args['JobSkin']['#cdata-section'] : ''
|
110
110
|
@job_skin_did = args['JobSkinDID'] || ''
|
111
|
-
|
111
|
+
begin
|
112
|
+
@job_branding = @job_skin_did.empty? ? '' : Cb.job_branding.find_by_id(job_skin_did)
|
113
|
+
rescue Cb::BadRequestError
|
114
|
+
@job_branding = ''
|
115
|
+
end
|
112
116
|
@job_tracking_url = args['JobTrackingURL'] || ''
|
113
117
|
@display_job_id = args['DisplayJobID'] || ''
|
114
118
|
|
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: 21.4.
|
4
|
+
version: 21.4.2
|
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: 2016-
|
11
|
+
date: 2016-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -370,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
370
370
|
version: '0'
|
371
371
|
requirements: []
|
372
372
|
rubyforge_project:
|
373
|
-
rubygems_version: 2.
|
373
|
+
rubygems_version: 2.5.1
|
374
374
|
signing_key:
|
375
375
|
specification_version: 4
|
376
376
|
summary: Ruby wrapper around Careerbuilder Public API.
|