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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 279f56a5617e6962823d462d65ac3e7fc3d75543
4
- data.tar.gz: 7a3f895ec2d734ed5fd8c7994550c3a007be6bc8
3
+ metadata.gz: d94be170123838dd15d60cbdac6010c9bfa9a0d5
4
+ data.tar.gz: 5b80e292672871ce557d9630f8613dcd2bcc13d5
5
5
  SHA512:
6
- metadata.gz: 890287318dbf8a5a0d726e21b8b73fae56bf669f8b039df202760d8079224344c6df0ca4b19a7be5d450e3fefb6f8f5692c3b57bcceed981767064d6b3bc3bf3
7
- data.tar.gz: 221143b862d0e9b4fb76392bbed0491f940420b2546d3acba9cb41977e813f907f24bb404758445847e2daa244e2ea36f6d23e2ca5e5923ef610e12ae93d9079
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
@@ -9,5 +9,5 @@
9
9
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
10
  # See the License for the specific language governing permissions and limitations under the License.
11
11
  module Cb
12
- VERSION = '18.2.1'
12
+ VERSION = '18.2.2'
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.2.1
4
+ version: 18.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The CareerBuilder.com Niche and Consumer Development teams