activeldap 3.2.2 → 3.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0848564f21de4b95f1d09fde5f6ec186edcb4d08
4
+ data.tar.gz: 783377f08856388cdc329bf37f6f3784324e7f4f
5
+ SHA512:
6
+ metadata.gz: b5ea19b28a4fa0851d7e41d3a75ba7a3eed1390f7e599c3df9ffc9db1af7ad7aba6f2b5d84f2c709306b646317c9b30ac7ecfd99c28fbea8a37c02e53bb77a25
7
+ data.tar.gz: 7875832eddc2347c17a0e3aa53c9f5328df8ce2f18d6a5f8473627772299bac8ea2a716f520fb3a665e8f026108b297c17cf9a857c70102aa99e9f68b3f54b24
@@ -187,10 +187,15 @@ module ActiveLdap
187
187
  fraction = match_data[-2]
188
188
  fraction = fraction.to_f if fraction
189
189
  time_zone = match_data[-1]
190
+ arguments = [
191
+ year, month, day, hour, minute, second, fraction, time_zone,
192
+ Time.now
193
+ ]
194
+ if Time.method(:make_time).arity == 10
195
+ arguments.unshift(value)
196
+ end
190
197
  begin
191
- Time.send(:make_time,
192
- year, month, day, hour, minute, second, fraction,
193
- time_zone, Time.now)
198
+ Time.send(:make_time, *arguments)
194
199
  rescue ArgumentError
195
200
  raise if year >= 1700
196
201
  out_of_range_messages = ["argument out of range",
@@ -1,3 +1,3 @@
1
1
  module ActiveLdap
2
- VERSION = "3.2.2"
2
+ VERSION = "3.2.3"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
5
- prerelease:
4
+ version: 3.2.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Will Drewry
@@ -10,172 +9,154 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-09-01 00:00:00.000000000 Z
12
+ date: 2016-09-18 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: activemodel
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ~>
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
20
  version: 3.2.8
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ~>
25
+ - - "~>"
29
26
  - !ruby/object:Gem::Version
30
27
  version: 3.2.8
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: locale
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: gettext
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - ">="
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: gettext_i18n_rails
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - ">="
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - ">="
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: bundler
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - ">="
85
75
  - !ruby/object:Gem::Version
86
76
  version: '0'
87
77
  type: :development
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - ">="
93
82
  - !ruby/object:Gem::Version
94
83
  version: '0'
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: rake
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - ">="
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :development
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - ">="
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: test-unit
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
- - - ! '>='
102
+ - - ">="
117
103
  - !ruby/object:Gem::Version
118
104
  version: '0'
119
105
  type: :development
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
- - - ! '>='
109
+ - - ">="
125
110
  - !ruby/object:Gem::Version
126
111
  version: '0'
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: test-unit-notify
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
- - - ! '>='
116
+ - - ">="
133
117
  - !ruby/object:Gem::Version
134
118
  version: '0'
135
119
  type: :development
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
- - - ! '>='
123
+ - - ">="
141
124
  - !ruby/object:Gem::Version
142
125
  version: '0'
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: yard
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
- - - ! '>='
130
+ - - ">="
149
131
  - !ruby/object:Gem::Version
150
132
  version: '0'
151
133
  type: :development
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
- - - ! '>='
137
+ - - ">="
157
138
  - !ruby/object:Gem::Version
158
139
  version: '0'
159
140
  - !ruby/object:Gem::Dependency
160
141
  name: RedCloth
161
142
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
143
  requirements:
164
- - - ! '>='
144
+ - - ">="
165
145
  - !ruby/object:Gem::Version
166
146
  version: '0'
167
147
  type: :development
168
148
  prerelease: false
169
149
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
150
  requirements:
172
- - - ! '>='
151
+ - - ">="
173
152
  - !ruby/object:Gem::Version
174
153
  version: '0'
175
- description: ! " 'ActiveLdap' is a ruby library which provides a clean\n objected
176
- oriented interface to the Ruby/LDAP library. It was inspired\n by ActiveRecord.
177
- This is not nearly as clean or as flexible as\n ActiveRecord, but it is still
178
- trivial to define new objects and manipulate\n them with minimal difficulty.\n"
154
+ description: |2
155
+ 'ActiveLdap' is a ruby library which provides a clean
156
+ objected oriented interface to the Ruby/LDAP library. It was inspired
157
+ by ActiveRecord. This is not nearly as clean or as flexible as
158
+ ActiveRecord, but it is still trivial to define new objects and manipulate
159
+ them with minimal difficulty.
179
160
  email:
180
161
  - redpig@dataspill.org
181
162
  - kou@cozmixng.org
@@ -183,7 +164,7 @@ executables: []
183
164
  extensions: []
184
165
  extra_rdoc_files: []
185
166
  files:
186
- - .yardopts
167
+ - ".yardopts"
187
168
  - COPYING
188
169
  - Gemfile
189
170
  - LICENSE
@@ -329,33 +310,26 @@ files:
329
310
  homepage: http://ruby-activeldap.rubyforge.org/
330
311
  licenses:
331
312
  - Ruby's or GPLv2 or later
313
+ metadata: {}
332
314
  post_install_message:
333
315
  rdoc_options: []
334
316
  require_paths:
335
317
  - lib
336
318
  required_ruby_version: !ruby/object:Gem::Requirement
337
- none: false
338
319
  requirements:
339
- - - ! '>='
320
+ - - ">="
340
321
  - !ruby/object:Gem::Version
341
322
  version: '0'
342
- segments:
343
- - 0
344
- hash: -1683428411697876490
345
323
  required_rubygems_version: !ruby/object:Gem::Requirement
346
- none: false
347
324
  requirements:
348
- - - ! '>='
325
+ - - ">="
349
326
  - !ruby/object:Gem::Version
350
327
  version: '0'
351
- segments:
352
- - 0
353
- hash: -1683428411697876490
354
328
  requirements: []
355
329
  rubyforge_project: ruby-activeldap
356
- rubygems_version: 1.8.23
330
+ rubygems_version: 2.5.1
357
331
  signing_key:
358
- specification_version: 3
332
+ specification_version: 4
359
333
  summary: ActiveLdap is a object-oriented API to LDAP
360
334
  test_files:
361
335
  - test/add-phonetic-attribute-options-to-slapd.ldif
@@ -403,4 +377,3 @@ test_files:
403
377
  - test/test_usermod-lang-add.rb
404
378
  - test/test_usermod.rb
405
379
  - test/test_validation.rb
406
- has_rdoc: