satops 1.5.7 → 5.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/satops/operator.rb +3 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a3b1579cfd011e7597973f5e7c3df90772eaa01
|
4
|
+
data.tar.gz: 564c971ef5d8224b315e7e612e64aa51cdc75da5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccb656c4fbb2b1e5a0bb6af24d1e6c31259bc1ead2ec0add88b0e9376b775c3e12dcdebb729ece5aaf09a617cc4c3c7f3bc9e8b657a517b8b0667d5a4ae88fc4
|
7
|
+
data.tar.gz: 1147710af56ee44a3a21c953f7d142227b84aca6fdef309396a2e049f62c4e64898efae7d67058afa4ae277d8cd35e838274d73695474b791f5bc6bef00a4100
|
data/lib/satops/operator.rb
CHANGED
@@ -1196,16 +1196,14 @@ end
|
|
1196
1196
|
class UsersSet < OperationSet
|
1197
1197
|
def delete(list)
|
1198
1198
|
list.each do |user|
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
when User
|
1199
|
+
if user.class == String
|
1200
|
+
@sat.user.delete(user) unless Users.exclude.include?(user)
|
1201
|
+
else
|
1203
1202
|
@sat.user.delete(user.login) unless Users.exclude.include?(user.login)
|
1204
1203
|
end
|
1205
1204
|
end
|
1206
1205
|
end
|
1207
1206
|
|
1208
|
-
|
1209
1207
|
def delete_all
|
1210
1208
|
delete(Helpers.filter(@sat.user.listUsers, 'login'))
|
1211
1209
|
end
|