bobhr 0.5.24 → 0.5.26

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
  SHA256:
3
- metadata.gz: f0fed11503d114c35194157aa7cfd55df299189521273dfb4a7e4ebe6a09d69d
4
- data.tar.gz: c7a83ffd4690f2c886783faad031d57546305bf37cf7db33938d26c9ff7493ee
3
+ metadata.gz: 3acc8c522e99e389d99f16fa0c3b8e44ed38412199a7c6df4c93d0a93e6f19d7
4
+ data.tar.gz: 1c692f7e425cc22a969918e7a6112590b88fd5d3aa4e4af25fc935babfe72ffc
5
5
  SHA512:
6
- metadata.gz: fde22ec91fff35f87730be26f4371a8f97eb7a9d9f100633f9a03e16a1999d420dc67c729065965d7d9867aabc6d3b5c8387a48397fd90fb90870011902972f3
7
- data.tar.gz: c2aa2f2b42c9204d306589302d070c8b467e3dc6011c3e136ae7c2e9a0a0d949c2f2268ebd1600b4a64a39ea453adb5f83a555113c0d1cb4a451264d803ce8e4
6
+ metadata.gz: 57a1dcda7042d4392febf348af67f97b81e52a03ee04d01fadea7da99e1c4e39d32cbeda79c611d87103c62e6f61bc0b1c9f08656664774b72b044c44157f61a
7
+ data.tar.gz: 6cdb47c14076936d40928b5ccee50e5f1e5f101c1e56c6efd17cb6f79f7ff83cfce469f608837ba595f863b1c04eb6d0f2358430480c8a4cdbdc935d2818b56b
@@ -75,7 +75,7 @@ module Models
75
75
  end
76
76
 
77
77
  def cost_center
78
- human_readable.payroll.custom.field_1634476091511
78
+ human_readable.payroll&.custom&.field_1634476091511
79
79
  end
80
80
 
81
81
  def personal_email
@@ -2,7 +2,7 @@
2
2
 
3
3
  class CompanyListParser < BaseParser
4
4
  def list
5
- Models::CompanyList.new(json_response)
5
+ json_response['values'].map {|attributes| Models::CompanyList.new(attributes) }
6
6
  end
7
7
 
8
8
  def lists
data/lib/bob/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bob
4
- VERSION = '0.5.24'
4
+ VERSION = '0.5.26'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bobhr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.24
4
+ version: 0.5.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lien Van Den Steen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json