ldap_tools 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47ce6da6cc59b2ea41e4d71fe018c47192656890
4
- data.tar.gz: 5bc79da1dbd705cb59e5c063cce6b63dff344d31
3
+ metadata.gz: a7d2b4ae5491bcebae2318c2dc46951ece6f8f40
4
+ data.tar.gz: ada74daf88e6dac99d8ac682237086bfc3b8053d
5
5
  SHA512:
6
- metadata.gz: bae18a23dbb82805088807992b94c1ea84702ece71a184aa4767375c9d9d02e8de868d714535ab97d6c08bc49da70854235e0b103207605880b68dd3f32fa837
7
- data.tar.gz: 419dd11a33e45b8bd4e07758b7e12b7ea602469d0391b29dbc4335b693f73bb47da7a0082f9523b27de5ea589b57b2b8e314955ad4a9b75fc185ed698fd411eb
6
+ metadata.gz: 67143d818be7aa3a5ab3b81419fa070b8e55605c8dd54c41acfcaf3c940a9e29cbcd976eb0372e5ee207c19ddb1ec6394420d6e83f7f20f381c7fb38f1b73a93
7
+ data.tar.gz: bc332e9380127cfc4152481720841a70707e1ff0fd7e49182fb19c577d15db7efc2f6d7679ca180eb34abab34bed4389d94a65aed263e8ce0ed2386ea1400732
@@ -45,7 +45,7 @@ module Tapjoy
45
45
  end
46
46
 
47
47
  def add_attribute(distinguished_name, attribute, value)
48
- @conn.add_attribute(dn, attribute, value)
48
+ @conn.add_attribute(distinguished_name, attribute, value)
49
49
  return return_result
50
50
  end
51
51
 
@@ -6,7 +6,7 @@ module Tapjoy
6
6
  def show
7
7
  username = opts[:user]
8
8
  keys = Tapjoy::LDAP::Key.get_keys_from_ldap[username]
9
- puts "No keys found for #{opts[:user]}" if keys.length? 0
9
+ puts "No keys found for #{opts[:user]}" if keys.nil?
10
10
  puts keys
11
11
  end
12
12
 
@@ -3,7 +3,7 @@ module Tapjoy
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 7
6
- PATCH = 1
6
+ PATCH = 2
7
7
  end
8
8
 
9
9
  VERSION = [Version::MAJOR, Version::MINOR, Version::PATCH].join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ldap_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Tayarani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-21 00:00:00.000000000 Z
11
+ date: 2016-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop