ruby-ldap 0.9.18 → 0.9.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,18 +5,16 @@ $test = File.dirname($0)
5
5
  require "#{$test}/conf"
6
6
  require "./ldap"
7
7
 
8
- LDAP::Conn.new($HOST, $PORT).bind do |conn|
8
+ LDAP::Conn.new($HOST, $PORT).bind{|conn|
9
9
  conn.perror("bind")
10
10
  begin
11
- conn.search(
12
- "dc=localhost, dc=localdomain",
13
- LDAP::LDAP_SCOPE_SUBTREE,
14
- "(objectclass=*)"
15
- ) do |e|
11
+ conn.search("dc=localhost, dc=localdomain",
12
+ LDAP::LDAP_SCOPE_SUBTREE,
13
+ "(objectclass=*)"){|e|
16
14
  p e.vals("cn")
17
15
  p e.to_hash()
18
- end
16
+ }
19
17
  rescue LDAP::ResultError => msg
20
18
  $stderr.print(msg)
21
19
  end
22
- end
20
+ }
metadata CHANGED
@@ -1,45 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ruby-ldap
3
- version: !ruby/object:Gem::Version
4
- version: 0.9.18
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.19
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Alexey Chebotar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-04 00:00:00.000000000 Z
11
+
12
+ date: 2016-06-20 00:00:00 Z
12
13
  dependencies: []
13
- description: 'It provides the interface to some LDAP libraries (e.g. OpenLDAP, Netscape
14
- SDK and Active Directory). The common API for application development is described
15
- in RFC1823 and is supported by Ruby/LDAP.
16
14
 
17
- '
15
+ description: |
16
+ It provides the interface to some LDAP libraries (e.g. OpenLDAP, Netscape SDK and Active Directory). The common API for application development is described in RFC1823 and is supported by Ruby/LDAP.
17
+
18
18
  email: alexey.chebotar@gmail.com
19
19
  executables: []
20
- extensions:
20
+
21
+ extensions:
21
22
  - extconf.rb
22
23
  extra_rdoc_files: []
23
- files:
24
- - COPYING
24
+
25
+ files:
25
26
  - ChangeLog
27
+ - COPYING
26
28
  - FAQ
27
29
  - NOTES
28
30
  - README
29
31
  - TODO
30
- - clientauth.c
31
- - conn.c
32
- - entry.c
33
32
  - extconf.rb
34
- - ldap.c
35
33
  - lib/ldap/control.rb
36
34
  - lib/ldap/ldif.rb
37
35
  - lib/ldap/schema.rb
38
- - misc.c
39
- - mod.c
40
- - rbldap.h
41
- - saslconn.c
42
- - sslconn.c
43
36
  - test/add.rb
44
37
  - test/add2.rb
45
38
  - test/add3.rb
@@ -65,30 +58,55 @@ files:
65
58
  - test/tc_schema.rb
66
59
  - test/tc_search.rb
67
60
  - test/ts_ldap.rb
61
+ - rbldap.h
62
+ - test/openldap_tests/progs/slapd-common.h
68
63
  - win/winlber.h
69
64
  - win/winldap.h
65
+ - clientauth.c
66
+ - conn.c
67
+ - entry.c
68
+ - ldap.c
69
+ - misc.c
70
+ - mod.c
71
+ - saslconn.c
72
+ - sslconn.c
73
+ - test/openldap_tests/progs/ldif-filter.c
74
+ - test/openldap_tests/progs/slapd-addel.c
75
+ - test/openldap_tests/progs/slapd-auth.c
76
+ - test/openldap_tests/progs/slapd-bind.c
77
+ - test/openldap_tests/progs/slapd-common.c
78
+ - test/openldap_tests/progs/slapd-modify.c
79
+ - test/openldap_tests/progs/slapd-modrdn.c
80
+ - test/openldap_tests/progs/slapd-mtread.c
81
+ - test/openldap_tests/progs/slapd-read.c
82
+ - test/openldap_tests/progs/slapd-search.c
83
+ - test/openldap_tests/progs/slapd-tester.c
70
84
  - win/wldap32.def
71
85
  homepage: http://ruby-ldap.sourceforge.net/
72
86
  licenses: []
87
+
73
88
  metadata: {}
89
+
74
90
  post_install_message:
75
91
  rdoc_options: []
76
- require_paths:
92
+
93
+ require_paths:
77
94
  - lib
78
- required_ruby_version: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- required_rubygems_version: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- version: '0'
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - &id001
98
+ - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: "0"
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - *id001
88
104
  requirements: []
105
+
89
106
  rubyforge_project: ruby-ldap
90
- rubygems_version: 2.5.1
107
+ rubygems_version: 2.0.17
91
108
  signing_key:
92
109
  specification_version: 4
93
110
  summary: Ruby/LDAP is an extension module for Ruby
94
111
  test_files: []
112
+