cb-api 14.1.0 → 14.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.
@@ -2,6 +2,8 @@ Version History
2
2
  ====
3
3
  * All Version bumps are required to update this file as well!!
4
4
  ----
5
+ * 14.1.1 Added case for Job model "pay" when setting model properties
6
+ so job search result pay field would be added to response as well
5
7
  * 14.1.0 Adding custom error for Authentication Outages
6
8
  * 14.0.1 Introduced a changelog (finally)
7
9
  * 14.0.0 Rename location_code / zip to postal_code on the Cb::Models::User model to be more i18n friendly
@@ -103,7 +103,7 @@ module Cb
103
103
  @display_job_id = args['DisplayJobID'] || ''
104
104
 
105
105
  # Compensation
106
- @pay = args['PayHighLowFormatted'] || ''
106
+ @pay = args['PayHighLowFormatted'] || args['Pay'] || ''
107
107
  @pay_per = args['PayPer'] || ''
108
108
  @commission = args.has_key?("PayCommission") && !args["PayCommission"].nil? ? args['PayCommission']['Money']['FormattedAmount'] : ''
109
109
  @bonus = args.has_key?("PayBonus") && !args["PayBonus"].nil? ? args['PayBonus']['Money']['FormattedAmount'] : ''
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '14.1.0'
2
+ VERSION = '14.1.1'
3
3
  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: 14.1.0
4
+ version: 14.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-21 00:00:00.000000000 Z
12
+ date: 2014-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty