open_directory_utils 0.1.7 → 0.1.8

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: 6de1c571a212c010b912433a24f7a277e07c5744f65af17d9384671fd70d48ad
4
- data.tar.gz: fc5069610163e65864a51579d095fc58cef7f4a9b6120f69013fd6a4e6ba95e7
3
+ metadata.gz: e93c6bd15ea7f1a4e59fd0e5df814dcba3556a44ebf3c98ffa70c386c4dfb8c9
4
+ data.tar.gz: cb30786490c3a1b8e3b9653cc09e299b627ab4ef24c6df348fe1892f255f543a
5
5
  SHA512:
6
- metadata.gz: 6a12c8b2e7c1fc858d82a7b144332255fea5acca0c835d45b962fa9f4a8a7d16b741dc429851e40dcc535cda7f0dfe2403399972695f7c4e126d2e5253894005
7
- data.tar.gz: 01217a3e336327a79a436c13701faa1d0e73bcd828416da3108f19203de68f259f8166868fc72d2fc1641a857bad2466b8572754bf6e3eebf6363ea0d12b1c6f
6
+ metadata.gz: 58b219db81e04966c2bf4e987538bdc8f7463083445d3dbf5d1d3f3c7b77191cc2c029eaa18ba4976f3be9ab9189613d737704e14c7bb29ab1399d45f1eba559
7
+ data.tar.gz: ed9597e71a7f56d4bee21714eaa6f33c6cf2381880c30631a8ebd07eaa9ba268d5c7e99450ea235cc6f4820da20b02fcea1f7b9870c7bce0a4e5022b25dae2f4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- open_directory_utils (0.1.7)
4
+ open_directory_utils (0.1.8)
5
5
  net-ssh (~> 4.2)
6
6
 
7
7
  GEM
@@ -1,48 +1,5 @@
1
1
  ---
2
2
  # preferred with first name, last name, email and group membership
3
3
  # by default account is disabled unless enabled: true is present
4
- - :user_name: barrutp220
4
+ - :user_name: baertfgh220
5
5
  :relations: 511541
6
- # - :user_name: albuerl430
7
- # :relations: 557430
8
- # - :user_name: rogersl264
9
- # :relations: 558264
10
- # - :user_name: miklauc283
11
- # :relations: 558283
12
- # - :user_name: portilc119
13
- # :relations: 559119
14
- # - :user_name: aguilax190
15
- # :relations: 559190
16
- # - :user_name: gonzalm208
17
- # :relations: 559208
18
- #
19
- # milesm866 | 564866
20
- # galvanj568 | 565568
21
- # tiradob869 | 565869
22
- # changt870 | 566870
23
- # nohm396 | 570396
24
- # grigoli979 | 571979
25
- # bedoyac063 | 573063
26
- # mariglm633 | 575633
27
- # yudinm437 | 576437
28
- # fijogai896 | 577896
29
- # zunzunj443 | 579443
30
- # zhouw300 | 583300
31
- # canavej018 | 585018
32
- # xuz906 | 588906
33
- # benetor857 | 590857
34
- # flaskaa617 | 592617
35
- # berengd044 | 593044
36
- # guow690 | 593690
37
- # lacerdm840 | 593840
38
- # mussina201 | 599201
39
- # binzegj915 | 599915
40
- # borowyk252 | 600252
41
- # mussina288 | 600288
42
- # linj671 | 603671
43
- # rizoorm894 | 603894
44
- # gonzalg934 | 603934
45
- # pieribe687 | 611687
46
- # shukshm297 | 615297
47
- # elizarf803 | 622803
48
- # zuoj861 | 602861
@@ -87,6 +87,14 @@ module OpenDirectoryUtils
87
87
  attribs[:value] = nil
88
88
  answer << user_set_organization_info(attribs, dir_info)
89
89
  end
90
+ if attribs[:department] or attribs[:departmentnumber] or attribs[:department_number]
91
+ attribs[:value] = nil
92
+ answer << user_set_department(attribs, dir_info)
93
+ end
94
+ if attribs[:keyword] or attribs[:keywords]
95
+ attribs[:value] = nil
96
+ answer << user_set_keywords(attribs, dir_info)
97
+ end
90
98
  if attribs[:group_name] or attribs[:groupname] or attribs[:gid] or
91
99
  attribs[:group_membership] or attribs[:groupmembership]
92
100
  attribs[:value] = nil
@@ -146,10 +154,13 @@ module OpenDirectoryUtils
146
154
  attribs[:value] = nil
147
155
  answer << user_set_organization_info(attribs, dir_info)
148
156
  end
149
- if attribs[:group_name] or attribs[:groupname] or attribs[:gid] or
150
- attribs[:group_membership] or attribs[:groupmembership]
157
+ if attribs[:department] or attribs[:departmentnumber] or attribs[:department_number]
151
158
  attribs[:value] = nil
152
- answer << user_add_to_group(attribs, dir_info)
159
+ answer << user_set_department(attribs, dir_info)
160
+ end
161
+ if attribs[:keyword] or attribs[:keywords]
162
+ attribs[:value] = nil
163
+ answer << user_set_keywords(attribs, dir_info)
153
164
  end
154
165
 
155
166
  return answer.flatten
@@ -1,5 +1,5 @@
1
1
  module OpenDirectoryUtils
2
2
  module Version
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_directory_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Tihen