cb-api 4.0.1 → 4.1.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 +8 -8
- data/README.md +1 -1
- data/lib/cb/responses/user/check_existing.rb +6 -1
- data/lib/cb/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YjVkZDU1ODEzOTc0NGZmNmFlOGMyNzA0M2I0MzNkMjQ3NmIxNWU5NA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YWY4NmUyMzVmYTczZmNkODQyZGUxYWFlNWUyNmNjYTdjMGYzMWZkMg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YTA0NTljNmE4NzdhOWU4ZjYwNjNlNjI0YzU3YzRiYzQ4M2QyYjcyYmU3ZjVm
|
|
10
|
+
NGE0MmZjMjE3Nzc1YTJhNzM2YTAyM2JkZDgxY2M1MWQ5YmYwOTY0OTBhNzIy
|
|
11
|
+
ZTljMTQ5ZDE5YzI0MTA1NGRhYjY1N2M1YTljN2I2ZDBmNTg3Nzc=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NmZlOTMzZDRlMGVmMjI4ZWQ4NDE1NDgxYmM0NTc1YzZhNjk1YmYzMmJkMmUz
|
|
14
|
+
ODllMGJiMDQ5OWUwOTIxMmMzZDU3YmQ2M2VmOGM3YTU1ZmVmMDNjNjRjNWZj
|
|
15
|
+
NWYyNGNhNDM5OTRhN2M2NWMxZWI0MzI5Mjg2ZGM4M2JkMjc5NDA=
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@ module Cb
|
|
|
3
3
|
module User
|
|
4
4
|
|
|
5
5
|
class CheckExisting < ApiResponse
|
|
6
|
-
class Model < Struct.new(:email, :status, :external_id) ; end
|
|
6
|
+
class Model < Struct.new(:email, :status, :external_id, :oauth_token) ; end
|
|
7
7
|
|
|
8
8
|
protected
|
|
9
9
|
|
|
@@ -19,6 +19,7 @@ module Cb
|
|
|
19
19
|
model.email = response[root_node][request_node][email_node]
|
|
20
20
|
model.status = response[root_node][user_check_status_node]
|
|
21
21
|
model.external_id = response[root_node][external_id_node]
|
|
22
|
+
model.oauth_token = response[root_node][oauth_token_node]
|
|
22
23
|
model
|
|
23
24
|
end
|
|
24
25
|
|
|
@@ -52,6 +53,10 @@ module Cb
|
|
|
52
53
|
'ResponseExternalID'
|
|
53
54
|
end
|
|
54
55
|
|
|
56
|
+
def oauth_token_node
|
|
57
|
+
'ResponseOAuthToken'
|
|
58
|
+
end
|
|
59
|
+
|
|
55
60
|
end
|
|
56
61
|
|
|
57
62
|
end
|
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: 4.
|
|
4
|
+
version: 4.1.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-02-
|
|
11
|
+
date: 2014-02-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -184,6 +184,8 @@ executables: []
|
|
|
184
184
|
extensions: []
|
|
185
185
|
extra_rdoc_files: []
|
|
186
186
|
files:
|
|
187
|
+
- README.md
|
|
188
|
+
- lib/cb.rb
|
|
187
189
|
- lib/cb/clients/anon_saved_search.rb
|
|
188
190
|
- lib/cb/clients/application.rb
|
|
189
191
|
- lib/cb/clients/application_external.rb
|
|
@@ -211,10 +213,10 @@ files:
|
|
|
211
213
|
- lib/cb/criteria/spot/retrieve.rb
|
|
212
214
|
- lib/cb/exceptions.rb
|
|
213
215
|
- lib/cb/models/api_response_model.rb
|
|
216
|
+
- lib/cb/models/implementations/application.rb
|
|
214
217
|
- lib/cb/models/implementations/application/cover_letter.rb
|
|
215
218
|
- lib/cb/models/implementations/application/response.rb
|
|
216
219
|
- lib/cb/models/implementations/application/resume.rb
|
|
217
|
-
- lib/cb/models/implementations/application.rb
|
|
218
220
|
- lib/cb/models/implementations/application_external.rb
|
|
219
221
|
- lib/cb/models/implementations/branding/media.rb
|
|
220
222
|
- lib/cb/models/implementations/branding/section.rb
|
|
@@ -261,8 +263,6 @@ files:
|
|
|
261
263
|
- lib/cb/utils/response_array_extractor.rb
|
|
262
264
|
- lib/cb/utils/validator.rb
|
|
263
265
|
- lib/cb/version.rb
|
|
264
|
-
- lib/cb.rb
|
|
265
|
-
- README.md
|
|
266
266
|
homepage: http://api.careerbuilder.com
|
|
267
267
|
licenses:
|
|
268
268
|
- MIT
|
|
@@ -283,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
283
283
|
version: '0'
|
|
284
284
|
requirements: []
|
|
285
285
|
rubyforge_project:
|
|
286
|
-
rubygems_version: 2.1
|
|
286
|
+
rubygems_version: 2.2.1
|
|
287
287
|
signing_key:
|
|
288
288
|
specification_version: 4
|
|
289
289
|
summary: Ruby wrapper around Careerbuilder Public API.
|