peoplegroup-connectors 0.1.14 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/peoplegroup/connectors/bamboo.rb +8 -0
- data/lib/peoplegroup/connectors/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8847d05d5e51183ec2a4d92c80e87c33da93d78784550f28408187a4190253b
|
4
|
+
data.tar.gz: 2cb11bd6247f69133e5965025460e4b969ed9dd3f82125f10b2e4ab851e5b7fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 004abace3f43d42ae71370a648db2c025a30c41d8ddf4f55a76d59950b6609c23769f00d6f39e7ef29009d9530209253a855cb76c0cd9fd64ee1d60ed34f75c1
|
7
|
+
data.tar.gz: 7685f31b08d82817c0eb66e8494bd12401add246a2f4a2d3a5e3705a3f17a695e83ea8f75688509fd92b64d7b3737514fa6d9265d74e95c9113e686fce06136b
|
@@ -82,6 +82,14 @@ module PeopleGroup
|
|
82
82
|
end
|
83
83
|
alias_method :active_team_members, :active_employees
|
84
84
|
|
85
|
+
def active_and_current_employees
|
86
|
+
today = Date.current
|
87
|
+
employees.select do |employee|
|
88
|
+
employee['status'] == 'Active' && Date.parse(employee['hireDate']) <= today
|
89
|
+
end
|
90
|
+
end
|
91
|
+
alias_method :active_and_current_team_members, :active_and_current_employees
|
92
|
+
|
85
93
|
def add_stock_options(employee_id, data)
|
86
94
|
@client.employee.add_table_row(employee_id, 'customEquity', data)
|
87
95
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peoplegroup-connectors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
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: 2021-02-
|
11
|
+
date: 2021-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|