socialcast-net-ldap 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +1 -0
  2. data/Gemfile.lock +2 -0
  3. data/Rakefile +2 -2
  4. data/lib/net/ldap.rb +5 -2
  5. metadata +136 -74
  6. data/.gemtest +0 -0
data/Gemfile CHANGED
@@ -7,4 +7,5 @@ group :development do
7
7
  gem 'metaid'
8
8
  gem 'rspec', '~> 2.0'
9
9
  gem 'flexmock'
10
+ gem 'archive-tar-minitar'
10
11
  end
data/Gemfile.lock CHANGED
@@ -1,6 +1,7 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
+ archive-tar-minitar (0.5.2)
4
5
  diff-lcs (1.1.2)
5
6
  flexmock (0.8.11)
6
7
  hoe (2.8.0)
@@ -22,6 +23,7 @@ PLATFORMS
22
23
  ruby
23
24
 
24
25
  DEPENDENCIES
26
+ archive-tar-minitar
25
27
  flexmock
26
28
  hoe
27
29
  hoe-git
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ Hoe.spec PKG_NAME do
22
22
  developer "Emiel van de Laar", "gemiel@gmail.com"
23
23
  developer "Rory O'Connell", "rory.ocon@gmail.com"
24
24
  developer "Kaspar Schiess", "kaspar.schiess@absurd.li"
25
- developer "Austin Ziegler", "austin@rubyforge.org"
25
+ developer "Austin Ziegler", "austin@rubyforge.org"
26
26
 
27
27
  self.remote_rdoc_dir = ''
28
28
  rsync_args << ' --exclude=statsvn/'
@@ -120,5 +120,5 @@ task :build_manifest do |t|
120
120
  puts paths.sort.join("\n")
121
121
  end
122
122
 
123
- desc "Run a full set of integration and unit tests"
123
+ desc "Run a full set of integration and unit tests"
124
124
  task :cruise => [:test, :spec]
data/lib/net/ldap.rb CHANGED
@@ -246,7 +246,7 @@ require 'net/ldap/entry'
246
246
  # and then keeps it open while it executes a user-supplied block.
247
247
  # Net::LDAP#open closes the connection on completion of the block.
248
248
  class Net::LDAP
249
- VERSION = "0.1.6"
249
+ VERSION = "0.1.7"
250
250
 
251
251
  class LdapError < StandardError; end
252
252
 
@@ -1198,7 +1198,10 @@ class Net::LDAP::Connection #:nodoc:
1198
1198
  end
1199
1199
 
1200
1200
  def next_msgid
1201
- @msgid ||= 0
1201
+ # avoids using the msgid range 128-255 by starting the msgid counter at 300
1202
+ # otherwise certain versions and/or configurations of Microsoft's Active Directory will
1203
+ # return Error Searching: invalid response-type in search: 24 and halt the mirroring process
1204
+ @msgid ||= 300
1202
1205
  @msgid += 1
1203
1206
  end
1204
1207
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialcast-net-ldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,33 +13,27 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2012-06-21 00:00:00.000000000 Z
16
+ date: 2013-07-03 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
- name: rdoc
20
- requirement: &2166869000 !ruby/object:Gem::Requirement
19
+ name: archive-tar-minitar
20
+ requirement: !ruby/object:Gem::Requirement
21
21
  none: false
22
22
  requirements:
23
23
  - - ~>
24
24
  - !ruby/object:Gem::Version
25
- version: '3.10'
25
+ version: 0.5.1
26
26
  type: :development
27
27
  prerelease: false
28
- version_requirements: *2166869000
29
- - !ruby/object:Gem::Dependency
30
- name: archive-tar-minitar
31
- requirement: &2166868560 !ruby/object:Gem::Requirement
28
+ version_requirements: !ruby/object:Gem::Requirement
32
29
  none: false
33
30
  requirements:
34
31
  - - ~>
35
32
  - !ruby/object:Gem::Version
36
33
  version: 0.5.1
37
- type: :development
38
- prerelease: false
39
- version_requirements: *2166868560
40
34
  - !ruby/object:Gem::Dependency
41
35
  name: hanna
42
- requirement: &2166868120 !ruby/object:Gem::Requirement
36
+ requirement: !ruby/object:Gem::Requirement
43
37
  none: false
44
38
  requirements:
45
39
  - - ~>
@@ -47,10 +41,15 @@ dependencies:
47
41
  version: 0.1.2
48
42
  type: :development
49
43
  prerelease: false
50
- version_requirements: *2166868120
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: 0.1.2
51
50
  - !ruby/object:Gem::Dependency
52
51
  name: hoe-git
53
- requirement: &2166867680 !ruby/object:Gem::Requirement
52
+ requirement: !ruby/object:Gem::Requirement
54
53
  none: false
55
54
  requirements:
56
55
  - - ~>
@@ -58,10 +57,15 @@ dependencies:
58
57
  version: '1'
59
58
  type: :development
60
59
  prerelease: false
61
- version_requirements: *2166867680
60
+ version_requirements: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '1'
62
66
  - !ruby/object:Gem::Dependency
63
67
  name: metaid
64
- requirement: &2166867020 !ruby/object:Gem::Requirement
68
+ requirement: !ruby/object:Gem::Requirement
65
69
  none: false
66
70
  requirements:
67
71
  - - ~>
@@ -69,19 +73,30 @@ dependencies:
69
73
  version: '1'
70
74
  type: :development
71
75
  prerelease: false
72
- version_requirements: *2166867020
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ~>
80
+ - !ruby/object:Gem::Version
81
+ version: '1'
73
82
  - !ruby/object:Gem::Dependency
74
83
  name: hoe
75
- requirement: &2166866520 !ruby/object:Gem::Requirement
84
+ requirement: !ruby/object:Gem::Requirement
76
85
  none: false
77
86
  requirements:
78
- - - ~>
87
+ - - ! '>='
79
88
  - !ruby/object:Gem::Version
80
- version: '3.0'
89
+ version: 2.8.0
81
90
  type: :development
82
91
  prerelease: false
83
- version_requirements: *2166866520
84
- description: Pure Ruby LDAP library.
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - ! '>='
96
+ - !ruby/object:Gem::Version
97
+ version: 2.8.0
98
+ description: !binary |-
99
+ UHVyZSBSdWJ5IExEQVAgbGlicmFyeS4=
85
100
  email:
86
101
  - blackhedd@rubyforge.org
87
102
  - gemiel@gmail.com
@@ -91,58 +106,105 @@ email:
91
106
  executables: []
92
107
  extensions: []
93
108
  extra_rdoc_files:
109
+ - !binary |-
110
+ SGlzdG9yeS50eHQ=
111
+ - !binary |-
112
+ TWFuaWZlc3QudHh0
113
+ - !binary |-
114
+ UkVBRE1FLnR4dA==
94
115
  - Hacking.rdoc
95
- - History.txt
96
- - Manifest.txt
97
- - README.txt
98
116
  files:
99
- - COPYING
100
- - Gemfile
101
- - Gemfile.lock
102
- - Hacking.rdoc
103
- - History.txt
104
- - LICENSE
105
- - Manifest.txt
106
- - README.txt
107
- - Rakefile
108
- - lib/net-ldap.rb
109
- - lib/net/ber.rb
110
- - lib/net/ber/ber_parser.rb
111
- - lib/net/ber/core_ext.rb
112
- - lib/net/ber/core_ext/array.rb
113
- - lib/net/ber/core_ext/bignum.rb
114
- - lib/net/ber/core_ext/false_class.rb
115
- - lib/net/ber/core_ext/fixnum.rb
116
- - lib/net/ber/core_ext/string.rb
117
- - lib/net/ber/core_ext/true_class.rb
118
- - lib/net/ldap.rb
119
- - lib/net/ldap/dataset.rb
120
- - lib/net/ldap/entry.rb
121
- - lib/net/ldap/filter.rb
122
- - lib/net/ldap/password.rb
123
- - lib/net/ldap/pdu.rb
124
- - lib/net/ldif.rb
125
- - lib/net/snmp.rb
126
- - spec/integration/ssl_ber_spec.rb
127
- - spec/spec.opts
128
- - spec/spec_helper.rb
129
- - spec/unit/ber/ber_spec.rb
130
- - spec/unit/ber/core_ext/string_spec.rb
131
- - spec/unit/ldap/entry_spec.rb
132
- - spec/unit/ldap/filter_spec.rb
133
- - spec/unit/ldap_spec.rb
134
- - test/common.rb
135
- - test/test_entry.rb
136
- - test/test_filter.rb
137
- - test/test_ldif.rb
138
- - test/test_password.rb
139
- - test/test_rename.rb
140
- - test/test_snmp.rb
141
- - test/testdata.ldif
142
- - testserver/ldapserver.rb
143
- - testserver/testdata.ldif
144
- - .gemtest
145
- homepage:
117
+ - !binary |-
118
+ Q09QWUlORw==
119
+ - !binary |-
120
+ R2VtZmlsZQ==
121
+ - !binary |-
122
+ R2VtZmlsZS5sb2Nr
123
+ - !binary |-
124
+ SGFja2luZy5yZG9j
125
+ - !binary |-
126
+ SGlzdG9yeS50eHQ=
127
+ - !binary |-
128
+ TElDRU5TRQ==
129
+ - !binary |-
130
+ TWFuaWZlc3QudHh0
131
+ - !binary |-
132
+ UkVBRE1FLnR4dA==
133
+ - !binary |-
134
+ UmFrZWZpbGU=
135
+ - !binary |-
136
+ bGliL25ldC1sZGFwLnJi
137
+ - !binary |-
138
+ bGliL25ldC9iZXIucmI=
139
+ - !binary |-
140
+ bGliL25ldC9iZXIvYmVyX3BhcnNlci5yYg==
141
+ - !binary |-
142
+ bGliL25ldC9iZXIvY29yZV9leHQucmI=
143
+ - !binary |-
144
+ bGliL25ldC9iZXIvY29yZV9leHQvYXJyYXkucmI=
145
+ - !binary |-
146
+ bGliL25ldC9iZXIvY29yZV9leHQvYmlnbnVtLnJi
147
+ - !binary |-
148
+ bGliL25ldC9iZXIvY29yZV9leHQvZmFsc2VfY2xhc3MucmI=
149
+ - !binary |-
150
+ bGliL25ldC9iZXIvY29yZV9leHQvZml4bnVtLnJi
151
+ - !binary |-
152
+ bGliL25ldC9iZXIvY29yZV9leHQvc3RyaW5nLnJi
153
+ - !binary |-
154
+ bGliL25ldC9iZXIvY29yZV9leHQvdHJ1ZV9jbGFzcy5yYg==
155
+ - !binary |-
156
+ bGliL25ldC9sZGFwLnJi
157
+ - !binary |-
158
+ bGliL25ldC9sZGFwL2RhdGFzZXQucmI=
159
+ - !binary |-
160
+ bGliL25ldC9sZGFwL2VudHJ5LnJi
161
+ - !binary |-
162
+ bGliL25ldC9sZGFwL2ZpbHRlci5yYg==
163
+ - !binary |-
164
+ bGliL25ldC9sZGFwL3Bhc3N3b3JkLnJi
165
+ - !binary |-
166
+ bGliL25ldC9sZGFwL3BkdS5yYg==
167
+ - !binary |-
168
+ bGliL25ldC9sZGlmLnJi
169
+ - !binary |-
170
+ bGliL25ldC9zbm1wLnJi
171
+ - !binary |-
172
+ c3BlYy9pbnRlZ3JhdGlvbi9zc2xfYmVyX3NwZWMucmI=
173
+ - !binary |-
174
+ c3BlYy9zcGVjLm9wdHM=
175
+ - !binary |-
176
+ c3BlYy9zcGVjX2hlbHBlci5yYg==
177
+ - !binary |-
178
+ c3BlYy91bml0L2Jlci9iZXJfc3BlYy5yYg==
179
+ - !binary |-
180
+ c3BlYy91bml0L2Jlci9jb3JlX2V4dC9zdHJpbmdfc3BlYy5yYg==
181
+ - !binary |-
182
+ c3BlYy91bml0L2xkYXAvZW50cnlfc3BlYy5yYg==
183
+ - !binary |-
184
+ c3BlYy91bml0L2xkYXAvZmlsdGVyX3NwZWMucmI=
185
+ - !binary |-
186
+ c3BlYy91bml0L2xkYXBfc3BlYy5yYg==
187
+ - !binary |-
188
+ dGVzdC9jb21tb24ucmI=
189
+ - !binary |-
190
+ dGVzdC90ZXN0X2VudHJ5LnJi
191
+ - !binary |-
192
+ dGVzdC90ZXN0X2ZpbHRlci5yYg==
193
+ - !binary |-
194
+ dGVzdC90ZXN0X2xkaWYucmI=
195
+ - !binary |-
196
+ dGVzdC90ZXN0X3Bhc3N3b3JkLnJi
197
+ - !binary |-
198
+ dGVzdC90ZXN0X3JlbmFtZS5yYg==
199
+ - !binary |-
200
+ dGVzdC90ZXN0X3NubXAucmI=
201
+ - !binary |-
202
+ dGVzdC90ZXN0ZGF0YS5sZGlm
203
+ - !binary |-
204
+ dGVzdHNlcnZlci9sZGFwc2VydmVyLnJi
205
+ - !binary |-
206
+ dGVzdHNlcnZlci90ZXN0ZGF0YS5sZGlm
207
+ homepage: http://net-ldap.rubyforge.org/
146
208
  licenses: []
147
209
  post_install_message:
148
210
  rdoc_options:
@@ -164,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
226
  version: '0'
165
227
  requirements: []
166
228
  rubyforge_project: socialcast-net-ldap
167
- rubygems_version: 1.8.10
229
+ rubygems_version: 1.8.24
168
230
  signing_key:
169
231
  specification_version: 3
170
232
  summary: Pure Ruby LDAP support library with most client features and some server
data/.gemtest DELETED
File without changes