yaleldap 1.0.0 → 1.0.1

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: 22865d39103fa944e24f2889695cb00bcb35e1ae
4
- data.tar.gz: 9f15790fe82aa385ff9ba4816549b32a568084b3
3
+ metadata.gz: a54bb1aefd3b5a8fbabc6fe627f7a7e80363dfe0
4
+ data.tar.gz: c1a355510867db5b7632363e7bb250ab10bb069b
5
5
  SHA512:
6
- metadata.gz: 7370b4871fe629f53934c40dbd8587884d5a45332d0ad56ea1de10f179f4e0803b7fcdfa5388891ab1582d0693251b5fbe3db250d58b6ea8b55bf80a3b3a11ba
7
- data.tar.gz: a310204d85fbd47026089a50b69be846258d0e396bb24b9998882635d762ad0622d165629b2b0fba3719761f00eb473298d3906a20a262ebd346b66f3c7d8a74
6
+ metadata.gz: c84b06263e35867b11d7f1db7eb2dcd734d2c4893f686bc0eaa969629f23b283424e9e592d647f6dcd554727e22ad364e03daeaf7507a74ab93409eaacc8573b
7
+ data.tar.gz: 69751d27ab524e932229d8a4a4af5c860d6ac1fa6aa583803592406b6451212d464760190cfee3db3fe6998f85986caa6b7ccd15f0c5c3e1ebc275084d31a23f
data/README.md CHANGED
@@ -58,3 +58,10 @@ For more background on how the `net-ldap` gem works with specific Yale examples,
58
58
  3. Commit your changes (`git commit -am 'Add some feature'`)
59
59
  4. Push to the branch (`git push origin my-new-feature`)
60
60
  5. Create new Pull Request
61
+
62
+ ### Development
63
+ 1. You can load the file you're working on by opening irb and running `load "./lib/yaleldap.rb"` (from the directory this repo is in).
64
+ 2. You can run our testing suite by running `bundle exec guard`, which uses guard-rspec to run our testing suite.
65
+ 3. We use YARD for in-line documentation , to view the documentation locally run `yard` then open `docs/index.html` to view them.
66
+ 4. Our testing suite is automatically run on Travis CI.
67
+
@@ -1,5 +1,5 @@
1
1
  #Version Goes Here
2
2
  module YaleLDAP
3
3
  #Version Number
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
data/lib/yaleldap.rb CHANGED
@@ -83,8 +83,8 @@ private
83
83
  # @param the input hash we want users to input, such as {:email => "casey.watts@yale.edu"}
84
84
  # @return a net-ldap Net::LDAP::Filter object with our desired query
85
85
  def self.construct_filter(input_hash)
86
- query_type_nickname = input_hash.keys.first
87
- query_value = input_hash.values.first
86
+ query_type_nickname = input_hash.keys.first.to_s
87
+ query_value = input_hash.values.first.to_s
88
88
  query_type_ldapname = convert_from_nickname(query_type_nickname)
89
89
  lookup_filter = Net::LDAP::Filter.eq(query_type_ldapname, query_value)
90
90
  return lookup_filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaleldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - caseywatts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-21 00:00:00.000000000 Z
11
+ date: 2014-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler