ucb_ldap 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.irbrc +3 -0
- data/.travis.yml +1 -1
- data/lib/ucb_ldap/org.rb +3 -8
- data/lib/ucb_ldap/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cbd7c60bad7143fd55175152fc5e5e42021ab7a4bc9a115c27e898ba6783f115
|
4
|
+
data.tar.gz: 42c62f78e7fe97059617a1f6f8e64c043f20175be80a5576e6aaead9c581ba8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24e4eb5f4f34261217336b4e8f65964cc94555fe879a8c100fa7bfe4da7b998d511becdf6d3686afd812ee1a50417e608c8953692470777038ce410decb09e21
|
7
|
+
data.tar.gz: 0c5b5d003bddf285bb98b9687568c527ac2f8e1628b59af1edbc53b6c1290d01d9a3f38d1d2328b96b59d7a440dc4eab3dc63889f1cfb8c9520f1f5b9a889afb
|
data/.irbrc
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
if File.exists?("spec/ldap_config.yml")
|
2
|
+
puts "Note from local .irbrc:"
|
3
|
+
puts "Loading and configuring LDAP config from spec/ldap_config.yml"
|
4
|
+
puts "This is using ucb_ldap as an installed gem - this might not be what you want."
|
2
5
|
require "rubygems"
|
3
6
|
require "yaml"
|
4
7
|
require "ucb_ldap"
|
data/.travis.yml
CHANGED
data/lib/ucb_ldap/org.rb
CHANGED
@@ -327,14 +327,9 @@ module UCB
|
|
327
327
|
return @all_nodes if @all_nodes
|
328
328
|
return nodes_from_test_cache if $TESTING && @test_node_cache
|
329
329
|
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
UCB::LDAP.with_credentials(tree_username, tree_password) do
|
334
|
-
@all_nodes = search.inject({}) do |accum, org|
|
335
|
-
accum[org.deptid] = org if org.deptid != "Org Units"
|
336
|
-
accum
|
337
|
-
end
|
330
|
+
@all_nodes = search.inject({}) do |accum, org|
|
331
|
+
accum[org.deptid] = org if org.deptid != "Org Units"
|
332
|
+
accum
|
338
333
|
end
|
339
334
|
|
340
335
|
build_test_node_cache if $TESTING
|
data/lib/ucb_ldap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ucb_ldap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Hansen, Steve Downey, Darin Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
122
|
+
rubygems_version: 2.7.7
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Convenience classes for interacing with UCB's LDAP directory
|