ucb_ldap 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f8a64f18cecc3faf0a7cf1036676c320cd0fb0bc
4
- data.tar.gz: e7304221307c10cce40a5ceae24a14f7d46f8221
2
+ SHA256:
3
+ metadata.gz: cbd7c60bad7143fd55175152fc5e5e42021ab7a4bc9a115c27e898ba6783f115
4
+ data.tar.gz: 42c62f78e7fe97059617a1f6f8e64c043f20175be80a5576e6aaead9c581ba8a
5
5
  SHA512:
6
- metadata.gz: 847bb2360827f0f63e5f4183a1373d1afa262c92876ca1d0c5b00d9825d87f34aed9c29a9bb4adf6181b13bb9609cbb6558f0533935bebbf13eb71f79faa478d
7
- data.tar.gz: 92c7b45f88bad26a06ae74b82780fc7c41818a0ffe760787e792cc2d2b3d5f8663e52fca7385de1b815c7e91b23dc87105a1ef611a78551d3968877f291f9734
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"
@@ -16,4 +16,4 @@ cache:
16
16
  directories:
17
17
  - vendor/bundle
18
18
  notifications:
19
- slack: infinitered:vEwHyTPtHfTgpT5xdCA2ZkgX
19
+ slack: infinitered:4s2uT0dj614H6BUJteVhFGqo
@@ -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
- tree_username = "uid=istaswa-ruby,ou=applications,dc=berkeley,dc=edu"
331
- tree_password = "t00lBox12"
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
@@ -1,3 +1,3 @@
1
1
  module UcbLdap
2
- VERSION = "3.0.0"
2
+ VERSION = "3.1.0"
3
3
  end
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.0.0
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-05-07 00:00:00.000000000 Z
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.6.8
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