ldap_cli 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/ldap/cli.rb +4 -0
- data/lib/ldap/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d408335844e468e0b66c741e02c271c4ffdba5ee48798df5bf81d149c1e0d208
|
4
|
+
data.tar.gz: fa752dabfdf401b431d0adeccc33cd4f35e27d1ecb8ec651e316926c7cd3ac28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433a7827f1abde4e7373a0f9d57658dcca8cc68fca0a0100196782731e25c61e571a8be6cd02eb66b069ba33a28ee9ecafeba82020b822606c4ab8e0f0681073
|
7
|
+
data.tar.gz: d9d35675993ef5b88493f2eca66e6f4e2717502595de09db07656919243e28ddb44158314c4899740fe25b6baed340c69a2e4b76dc364d28723f9058a4bbfc1f
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/ldap/cli.rb
CHANGED
@@ -44,6 +44,8 @@ module Ldap
|
|
44
44
|
@filter = args[:filter]
|
45
45
|
add_header
|
46
46
|
export_data
|
47
|
+
rescue StandardError => e
|
48
|
+
puts "ERROR: On LdapCli#export: #{e.message}"
|
47
49
|
end
|
48
50
|
|
49
51
|
private
|
@@ -84,6 +86,8 @@ module Ldap
|
|
84
86
|
csv << headers.map { |x| entry.send(x).first }
|
85
87
|
end
|
86
88
|
end
|
89
|
+
rescue StandardError => e
|
90
|
+
puts "ERROR: on add entry to CSV from LDAP search: #{e.message}"
|
87
91
|
end
|
88
92
|
|
89
93
|
def save_record_log(ldap, row)
|
data/lib/ldap/cli/version.rb
CHANGED