cb-api 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWZhODI5MzNhMjIwY2MxYTlhOGUyMGQzNTNmMTYyOTUyOWI3NDg3YQ==
4
+ OTJiMzliNDE4NDhlZjQ0YmQ0Y2ZjN2RhZDU2ODQyNmQ2MmMwMmZhNQ==
5
5
  data.tar.gz: !binary |-
6
- ZGEyOTQzYzZjMjVlZDJmYTc1MzAyZTAwN2UyNjAxMTE5MWRiNmMwZg==
6
+ YjMyMjk1MTM4NWE1ZDc5NmQyNTIwMTEzZmE2YzIyYTUxNGJmOTcyMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjE3MzQxOTJlOGRiODljNTc1NTA0MGU5MGRmMGRmYTc2ZWRiZjZjY2MwZjg1
10
- NjY1MGY3ZmI2NjMzZGZhZmM4NDQ4NWQxYzdhYjA5OTE1MmQxMWU5MjU5ODNk
11
- NDRlODYzNGRkZTRlY2VjMGM4MjE2MTNhYTY1NWJkOGNhOTk4YWI=
9
+ NTYzYmUyMmJhZmRjZGE5MTViMDVjNzdmMzc3MTE5Yjk3OWI3MTMzM2VlNzQz
10
+ OTBkYzVhNjEwMjQ1NWU4YTk5MTJlOGJmNTQ1N2RiM2RiNGZhYzA5Y2Q3ZDY2
11
+ NDE5OTEzODI2YjljNzc0OGU1ZDhjZGI2ODBlZWU1MzYxNjkzYzU=
12
12
  data.tar.gz: !binary |-
13
- OTA2OTk0YjM5NTIyZmNkNGJiZTcyZGRjOTRiODBlODFiMmQyMDMzYjZkMWE4
14
- NzhlYjE0NTVhZTUwYzk5MTEwZjg1ZTUzMzFmNTRlMjllZDZiMmI0ZDI4MGM5
15
- OGU4MDJlNjkyZDhmY2E3MDkzMGQ1MDhmNjBkMGViZGIwMGNhMTM=
13
+ YjU1MjVjNjcwMTNiY2QxMGE2ZjhlNjAzNjA4OGMwNjYyYmE1ZWRiMzJmOGI3
14
+ ODY5MTY1OTFkYzg1Zjk2MTMzZjZiNDNlZmRhMjcyZGFiMjAwNDZjZDU5OGQ2
15
+ NmRlNGQ5ZWM0NDMxNTczNmZhMjIxYmMxZmFjYzJlYzg2MTQ4MmM=
@@ -178,7 +178,7 @@ module Cb
178
178
  # company_details_url in different ways. Job search returns it in args[company] and args[company_details_url],
179
179
  # but recommendations returns it in args[company][key]. This has been ticketed to the API team, and this logic
180
180
  # will be removed when they have fixed the issue.
181
- if job_search.class == String && job_search != ""
181
+ if job_search.class != Hash && job_search != ""
182
182
  return job_search
183
183
  elsif recommendation.class == Hash && !recommendation[rec_key].nil?
184
184
  return recommendation[rec_key]
data/lib/cb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '4.0.0'
2
+ VERSION = '4.0.1'
3
3
  end
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: 4.0.0
4
+ version: 4.0.1
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: 2014-01-30 00:00:00.000000000 Z
11
+ date: 2014-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty