github-ldap 1.8.0 → 1.8.1

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
2
  SHA1:
3
- metadata.gz: 63e7bb9628728108464971db755993e0e5458935
4
- data.tar.gz: 9391bca357f0499ad0b15dbc0ff78188ef1889d6
3
+ metadata.gz: d5cd689cc9f69b76bfd93b487b40b185db327824
4
+ data.tar.gz: 4bec71377bdd27834c47d03da41ea2ace5ab5401
5
5
  SHA512:
6
- metadata.gz: 2652b4a99be3d991f5ee4364001acd394b1709271131b1c99f6c7d749e5b59a44f5111637f2c0f7728886ce823e6ec630d2375874334b89f59dc8a269704fffd
7
- data.tar.gz: 4f86400238df2e26b07faac9a199ef276e5a3a94ece6d47e634bdaac63ee27c178f52cd87b0d2ed74250881ca7c9636c6ada932f8a40a0a5db5e034b89e722ce
6
+ metadata.gz: 81d82d344123377a37bad188f515e6c3b0dd7cdf2287909026d5685c80110ac94225244ac960e23656f23832dc38d26e127461607ea1f7c50857fc69f028963f
7
+ data.tar.gz: a6d1497b2c7f7b47901864be7ef1d35ba78815ff8e3b66b1d9dd3d4377705bccf998227ab8170d05e344af89a4ed5e4cc4b4266d14fc77813a734e8de347fbaf
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ # v1.8.1
4
+
5
+ * Expand supported ActiveDirectory capabilities to include Windows Server 2003 [#80](https://github.com/github/github-ldap/pull/80)
6
+
3
7
  # v1.8.0
4
8
 
5
9
  * Optimize Recursive *Member Search* strategy [#78](https://github.com/github/github-ldap/pull/78)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "github-ldap"
5
- spec.version = "1.8.0"
5
+ spec.version = "1.8.1"
6
6
  spec.authors = ["David Calavera", "Matt Todd"]
7
7
  spec.email = ["david.calavera@gmail.com", "chiology@gmail.com"]
8
8
  spec.description = %q{LDAP authentication for humans}
@@ -19,7 +19,7 @@ module GitHub
19
19
 
20
20
  # Internal: The capability required to use ActiveDirectory features.
21
21
  # See: http://msdn.microsoft.com/en-us/library/cc223359.aspx.
22
- ACTIVE_DIRECTORY_V61_R2_OID = "1.2.840.113556.1.4.2080".freeze
22
+ ACTIVE_DIRECTORY_V51_OID = "1.2.840.113556.1.4.1670".freeze
23
23
 
24
24
  # Utility method to get the last operation result with a human friendly message.
25
25
  #
@@ -313,7 +313,7 @@ module GitHub
313
313
  #
314
314
  # Returns true if the host is an ActiveDirectory server, false otherwise.
315
315
  def active_directory_capability?
316
- capabilities[:supportedcapabilities].include?(ACTIVE_DIRECTORY_V61_R2_OID)
316
+ capabilities[:supportedcapabilities].include?(ACTIVE_DIRECTORY_V51_OID)
317
317
  end
318
318
  private :active_directory_capability?
319
319
  end
@@ -80,7 +80,7 @@ module GitHubLdapTestCases
80
80
 
81
81
  def test_search_strategy_detects_active_directory
82
82
  caps = Net::LDAP::Entry.new
83
- caps[:supportedcapabilities] = [GitHub::Ldap::ACTIVE_DIRECTORY_V61_R2_OID]
83
+ caps[:supportedcapabilities] = [GitHub::Ldap::ACTIVE_DIRECTORY_V51_OID]
84
84
 
85
85
  @ldap.stub :capabilities, caps do
86
86
  @ldap.configure_search_strategy :detect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-ldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Calavera
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-20 00:00:00.000000000 Z
12
+ date: 2015-02-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-ldap