cb-api 21.2.0 → 21.3.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/responses/api_response.rb +1 -1
- data/lib/cb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 337194ed62c482aacea998dec31275f464f505be
|
4
|
+
data.tar.gz: df491cb5f2290907a7ae6c60cee0f726cf4788c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2896f88c36001e8164740f936418e9d6889fda2557d30c713355d455be2ce81d0603b3c633870ba145c4eb8135cc29bc714b6b88027c1d779eed557a9a0b623a
|
7
|
+
data.tar.gz: 0fe64e6ee869ff8c7bc0a37424ee825134131a2e09f9205df04164af15698ec886cd60fe94261a2b7123c1dbb1078024333a52dd09bc247864d013d32f2ca7bf
|
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.3.0 Add better error message to MissingRequiredField error in api_response
|
5
6
|
* 21.2.0 Add User Profile API (/consumer/user-profile)
|
6
7
|
* 21.1.0 Add expired job API (/v1/job/expired)
|
7
8
|
* 21.0.1 JobSearch calls gets the args[:HostSite] in addition to args[:host_site]
|
@@ -49,7 +49,7 @@ module Cb
|
|
49
49
|
def required_response_field(field_name, parent_hash)
|
50
50
|
fail ArgumentError.new("field_name can't be nil!") if field_name.nil?
|
51
51
|
fail ArgumentError.new("parent_hash can't be nil!") if parent_hash.nil?
|
52
|
-
fail ExpectedResponseFieldMissing.new(field_name) unless parent_hash.key?(field_name)
|
52
|
+
fail ExpectedResponseFieldMissing.new("Response field missing '#{ field_name }' for #{ self.class.name }") unless parent_hash.key?(field_name)
|
53
53
|
end
|
54
54
|
|
55
55
|
private
|
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
|
+
version: 21.3.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: 2016-04-
|
11
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|