mongo_kerberos 1.11.1 → 1.12.0.rc0

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: 79c23c7614d09732f00db6103ec0877455d66743
4
- data.tar.gz: 9883f5c92b47fc02914d48e10a3d2f9d3cb6ae67
3
+ metadata.gz: 05f3b4ca98aa115ee186825db50cf53c40aac76d
4
+ data.tar.gz: 8a46553e3ed53660c46836517ee70bbecaee8b57
5
5
  SHA512:
6
- metadata.gz: 4031614bbd5767a7833001be86d24b55f88a5d7834e065d811f7d86b2185472fca192580fdd07311ad4fb6f5f62f489f62a006ff526977e8a3de06ce3d18b13d
7
- data.tar.gz: f0985c8618636de1c5877fa5948672630c85b578fe44cf064794f67688155e2313e2d5fb04b8ad5137121bb6c674d5faab94c31595d069d211901b768aa873c5
6
+ metadata.gz: 4aa614a748018e50f7e7be4f550502cd98d7abcc0c5828957cd1f39aaf08f9015f7843e832f6f95122e93648d429d19d40197e071b8e93a97b9e123015d7c80e
7
+ data.tar.gz: 7b878e266cb817bf2300a7089b66ceba997e0233166f1e6581d1692390ac3fd689b720fcda0f8f2c84ea57eba176e38d901b08ff4693ee8cc8b31555508e1554
checksums.yaml.gz.sig CHANGED
Binary file
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.1
1
+ 1.12.0.rc0
@@ -19,8 +19,9 @@ module Mongo
19
19
  def self.authenticate(username, client, socket, opts={})
20
20
  db = client.db('$external')
21
21
  hostname = socket.pool.host
22
- servicename = opts[:gssapi_service_name] || 'mongodb'
22
+ servicename = opts[:service_name] || 'mongodb'
23
23
  canonicalize = opts[:canonicalize_host_name] ? opts[:canonicalize_host_name] : false
24
+ username += "@#{opts[:service_realm]}" if opts[:service_realm]
24
25
  authenticator = Mongo::Sasl::GSSAPIAuthenticator.new(username, hostname, servicename, canonicalize)
25
26
 
26
27
  return { } unless authenticator.valid?
@@ -26,7 +26,8 @@ module Mongo
26
26
  def self.authenticate(username, client, socket, opts={})
27
27
  db = client.db('$external')
28
28
  hostname = socket.pool.host
29
- servicename = opts[:gssapi_service_name] || 'mongodb'
29
+ servicename = opts[:service_name] || 'mongodb'
30
+ username += "@#{opts[:service_realm]}" if opts[:service_realm]
30
31
  canonicalize = opts[:canonicalize_host_name] ? opts[:canonicalize_host_name] : false
31
32
 
32
33
  begin
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_kerberos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.12.0.rc0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emily Stolfo
@@ -31,7 +31,7 @@ cert_chain:
31
31
  JrZM8w8wGbIOeLtoQqa7HB/jOYbTahH7KMNh2LHAbOR93hNIJxVRa4iwxiMQ75tN
32
32
  9WUIAJ4AEtjwRg1Bz0OwDo3aucPCBpx77+/FWhv7JYY=
33
33
  -----END CERTIFICATE-----
34
- date: 2014-09-15 00:00:00.000000000 Z
34
+ date: 2014-11-18 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: mongo
@@ -39,14 +39,14 @@ dependencies:
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 1.11.1
42
+ version: 1.12.0.rc0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 1.11.1
49
+ version: 1.12.0.rc0
50
50
  description: Adds kerberos authentication via libsasl to the MongoDB Ruby Driver on
51
51
  MRI and JRuby
52
52
  email: mongodb-dev@googlegroups.com
@@ -78,9 +78,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - ">"
82
82
  - !ruby/object:Gem::Version
83
- version: '0'
83
+ version: 1.3.1
84
84
  requirements: []
85
85
  rubyforge_project: mongo_kerberos
86
86
  rubygems_version: 2.2.2
metadata.gz.sig CHANGED
Binary file