cb-api 18.2.1 → 18.2.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 +2 -1
- data/lib/cb/utils/api.rb +1 -0
- data/lib/cb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d94be170123838dd15d60cbdac6010c9bfa9a0d5
|
4
|
+
data.tar.gz: 5b80e292672871ce557d9630f8613dcd2bcc13d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ba6f017fb2311a9c9b021e8263547347d51a02aec4e94c2f1e6f1304db9301168fc0030865eb4852731a273bdef7de7cc60090aa40f23d4e0872a7346b17038
|
7
|
+
data.tar.gz: 846cb27aa3c8216f37f67b0f7c1f726bf0fca9727bfa737641a2ffd4de2c5b2eb7577679565ff5c66781b7a4e65d6b57706cae15760310b58d0689b9d089907a
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,7 @@ Version History
|
|
3
3
|
* All Version bumps are required to update this file as well!!
|
4
4
|
----
|
5
5
|
|
6
|
+
* 18.2.2 Filter out release directory related information when getting the API caller.
|
6
7
|
* 18.2.1 No functional changes, just renamed `execute_http_request` to `timed_http_request`.
|
7
8
|
* 18.2.0 Collect API caller info a level above lib/cb/client.rb and get timings on errors as well.
|
8
9
|
* 18.1.0 Adding report a job endpoint
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
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)
|
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)
|
2
|
+
|
2
3
|
|
3
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.
|
4
5
|
|
data/lib/cb/utils/api.rb
CHANGED
@@ -125,6 +125,7 @@ module Cb
|
|
125
125
|
linenum_regex = /:.*:in `/
|
126
126
|
filename, method_name = call_list.find { |l| use_this_api_caller?(l[filename_regex]) }[0..-2].split(linenum_regex)
|
127
127
|
simplified_filename = filename.include?('/lib/') ? filename[/\/lib\/.*/] : filename
|
128
|
+
simplified_filename = simplified_filename.include?('/app/') ? simplified_filename[/\/app\/.*/] : simplified_filename
|
128
129
|
{ file: simplified_filename, method: method_name }
|
129
130
|
end
|
130
131
|
|
data/lib/cb/version.rb
CHANGED