socialcast 1.3.8 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -32,8 +32,8 @@ RSpec.configure do |config|
32
32
  return result, exit_status
33
33
  end
34
34
 
35
- def create_entry(entry_attributes)
36
- Net::LDAP::Entry.new("dc=example,dc=com").tap do |e|
35
+ def create_entry(cn, entry_attributes)
36
+ Net::LDAP::Entry.new("cn=#{cn},dc=example,dc=com").tap do |e|
37
37
  entry_attributes.each_pair do |attr, value|
38
38
  e[attr] = value
39
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialcast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-06-02 00:00:00.000000000 Z
13
+ date: 2014-06-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -246,6 +246,7 @@ files:
246
246
  - spec/fixtures/ldap_with_roles_without_account_type.yml
247
247
  - spec/fixtures/ldap_with_unique_identifier.yml
248
248
  - spec/fixtures/ldap_without_account_type_or_roles.yml
249
+ - spec/fixtures/ldap_without_options.yml
249
250
  - spec/fixtures/ldap_without_permission_mappings.yml
250
251
  - spec/fixtures/test_images/test-gif-image.gif
251
252
  - spec/fixtures/test_images/test-jpg-image.jpg
@@ -303,6 +304,7 @@ test_files:
303
304
  - spec/fixtures/ldap_with_roles_without_account_type.yml
304
305
  - spec/fixtures/ldap_with_unique_identifier.yml
305
306
  - spec/fixtures/ldap_without_account_type_or_roles.yml
307
+ - spec/fixtures/ldap_without_options.yml
306
308
  - spec/fixtures/ldap_without_permission_mappings.yml
307
309
  - spec/fixtures/test_images/test-gif-image.gif
308
310
  - spec/fixtures/test_images/test-jpg-image.jpg