truework 0.0.2 → 1.0.0

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: 4fd6d45b18fa766d53f9feeaf82e527797314e63
4
- data.tar.gz: 020bd53ac35ddf1bd16b33bf2efca19ffa1a785c
3
+ metadata.gz: a8464441e845c7ac667402c8962ebe730b0fb074
4
+ data.tar.gz: 722a555af39ade67ee3155aa0cbc8724758eb1e9
5
5
  SHA512:
6
- metadata.gz: 27ecbe9a1aa947d137671147c0057a536fd7d81e8b6bb4de5efdf9788d3095ce5415a667bac8c9ae09a634b8d8d33bcff516c79284b8f044761bea8130e11b2d
7
- data.tar.gz: 359dfba1f81c4638ff03976697c9d8891ca69cabcde26548712f2e97034c70b776f7f2092112bae22d82bc681d6e047d317c6101d3b96c15ac0d22f326b759b7
6
+ metadata.gz: 7a8192cf6e6c0ced62842a4cfc148effd55f66ab6d062bb54b95a1807f81b2ff7b5c90d1c645b28a7ce5029f919d604cd54e9d1d674690e98f2d9882ef75bd0d
7
+ data.tar.gz: 5874ab109f4a3b175d1835991f7c426a75a4edc26b75607c024bb54ec0851dea805bc4c9797cbce9c656065266d1da72a92204895203f00a447251503241cd03
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Truework
4
4
  class Earnings < APIResource
5
- attribute :year, Types::Integer
5
+ attribute :year, Types::Coercible::Integer
6
6
  attribute :base, Types::JSON::Decimal
7
7
  attribute :overtime, Types::JSON::Decimal
8
8
  attribute :commission, Types::JSON::Decimal
@@ -11,6 +11,7 @@ module Truework
11
11
  attribute :status, Types::String
12
12
  attribute? :hired_date, Types::JSON::Date
13
13
  attribute? :end_of_employment, Types::JSON::Date
14
+ attribute :social_security_number, Types::String
14
15
  attribute? :earnings, Types::Array.of(Earnings)
15
16
  attribute? :positions, Types::Array.of(Position)
16
17
  attribute? :salary, Salary
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Truework
4
- VERSION = '0.0.2'
4
+ VERSION = '1.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: truework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Truework
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-15 00:00:00.000000000 Z
11
+ date: 2020-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct