cb-api 21.1.0 → 21.2.0.pre1
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/user_profile.rb +23 -0
- data/lib/cb/config.rb +2 -1
- data/lib/cb/convenience.rb +4 -0
- data/lib/cb/version.rb +1 -1
- metadata +34 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5728ad7058f67b39a7cb76058ed59e0125edf44
|
4
|
+
data.tar.gz: 67a539b5fb913762365eef15d38fd6cb2d86391d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81dcc5947fc25e4b15804a302dea4377219b4456b9464838a3ab66ed3ff68a0e3d099758812d9d0d26600b18b62d8d97b032cdc3780d1f3ff7ee6ff8deef4a4a
|
7
|
+
data.tar.gz: 79ba9eacc068c11f2b65fd820fd0614b3be8c3510bf826718ef26431c6c29c54aa7a68dadc86599bd17ef0954adc0b9d5bf56cf05b8a1bfacb6fd975b96fea85
|
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.1.0 Add User Profile API (/consumer/user-profile)
|
5
6
|
* 21.1.0 Add expired job API (/v1/job/expired)
|
6
7
|
* 21.0.1 JobSearch calls gets the args[:HostSite] in addition to args[:host_site]
|
7
8
|
* 21.0.0 Add browser id api, Add datalists, Removing old data apis, Removing old coverletters version,remove old resume list, expanding the types of exceptions that can be returned
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright 2016 CareerBuilder, LLC
|
2
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
3
|
+
# you may not use this file except in compliance with the License.
|
4
|
+
# You may obtain a copy of the License at
|
5
|
+
#
|
6
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
# Unless required by applicable law or agreed to in writing, software
|
8
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
9
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10
|
+
# See the License for the specific language governing permissions and limitations under the License.
|
11
|
+
require_relative 'base'
|
12
|
+
module Cb
|
13
|
+
module Clients
|
14
|
+
class UserProfile < Base
|
15
|
+
class << self
|
16
|
+
# https://careerbuilder.readme.io/docs/consumeruser-profile
|
17
|
+
def get(args={})
|
18
|
+
cb_client.cb_get(Cb.configuration.uri_user_profile, headers: headers(args))
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/cb/config.rb
CHANGED
@@ -94,9 +94,10 @@ module Cb
|
|
94
94
|
@uri_tn_join_form_branding ||= '/talentnetwork/config/layout/branding'
|
95
95
|
@uri_tn_member_create ||= '/talentnetwork/member/create'
|
96
96
|
@uri_user_change_password ||= '/v2/User/ChangePW'
|
97
|
+
@uri_user_check_existing ||= '/v2/user/checkexisting'
|
97
98
|
@uri_user_delete ||= '/v2/User/delete'
|
99
|
+
@uri_user_profile ||= '/consumer/user-profile'
|
98
100
|
@uri_user_retrieve ||= '/v2/user/retrieve'
|
99
|
-
@uri_user_check_existing ||= '/v2/user/checkexisting'
|
100
101
|
@uri_user_temp_password ||= '/v1/user/temporarypassword'
|
101
102
|
end
|
102
103
|
|
data/lib/cb/convenience.rb
CHANGED
data/lib/cb/version.rb
CHANGED
metadata
CHANGED
@@ -1,159 +1,159 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cb-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 21.
|
4
|
+
version: 21.2.0.pre1
|
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-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.11'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.7'
|
34
|
-
- -
|
34
|
+
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 1.7.7
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - ~>
|
41
|
+
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '1.7'
|
44
|
-
- -
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 1.7.7
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: nori
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - ~>
|
51
|
+
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '2.2'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - ~>
|
58
|
+
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '2.2'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: nokogiri
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - ~>
|
65
|
+
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '1.0'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - ~>
|
72
|
+
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '1.0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: 0.8.7
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: 0.8.7
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: webmock
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - ~>
|
93
|
+
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '1.9'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - ~>
|
100
|
+
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '1.9'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: simplecov
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: 0.7.1
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: 0.7.1
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: rspec
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - ~>
|
121
|
+
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '3.4'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- - ~>
|
128
|
+
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '3.4'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: rdoc
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - ~>
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: 3.12.2
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- - ~>
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: 3.12.2
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: rspec-pride
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- - ~>
|
149
|
+
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '3.0'
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- - ~>
|
156
|
+
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '3.0'
|
159
159
|
- !ruby/object:Gem::Dependency
|
@@ -174,28 +174,28 @@ dependencies:
|
|
174
174
|
name: rb-readline
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- - ~>
|
177
|
+
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: 0.5.0
|
180
180
|
type: :development
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
|
-
- - ~>
|
184
|
+
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: 0.5.0
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: codeclimate-test-reporter
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
|
-
- -
|
191
|
+
- - ">="
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0'
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
|
-
- -
|
198
|
+
- - ">="
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
201
|
description: Ruby wrapper for Careerbuilder Public API.
|
@@ -229,6 +229,7 @@ files:
|
|
229
229
|
- lib/cb/clients/saved_search.rb
|
230
230
|
- lib/cb/clients/talent_network.rb
|
231
231
|
- lib/cb/clients/user.rb
|
232
|
+
- lib/cb/clients/user_profile.rb
|
232
233
|
- lib/cb/config.rb
|
233
234
|
- lib/cb/convenience.rb
|
234
235
|
- lib/cb/criteria/application/cover_letter.rb
|
@@ -359,18 +360,19 @@ require_paths:
|
|
359
360
|
- lib
|
360
361
|
required_ruby_version: !ruby/object:Gem::Requirement
|
361
362
|
requirements:
|
362
|
-
- -
|
363
|
+
- - ">="
|
363
364
|
- !ruby/object:Gem::Version
|
364
365
|
version: '0'
|
365
366
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
366
367
|
requirements:
|
367
|
-
- -
|
368
|
+
- - ">"
|
368
369
|
- !ruby/object:Gem::Version
|
369
|
-
version:
|
370
|
+
version: 1.3.1
|
370
371
|
requirements: []
|
371
372
|
rubyforge_project:
|
372
|
-
rubygems_version: 2.4.
|
373
|
+
rubygems_version: 2.4.5.1
|
373
374
|
signing_key:
|
374
375
|
specification_version: 4
|
375
376
|
summary: Ruby wrapper around Careerbuilder Public API.
|
376
377
|
test_files: []
|
378
|
+
has_rdoc:
|