net-ssh-kerberos 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :major: 0
3
2
  :minor: 2
3
+ :patch: 6
4
4
  :build:
5
- :patch: 5
5
+ :major: 0
@@ -23,9 +23,6 @@ module Net; module SSH; module Kerberos
23
23
  @cred_krb_name = @cred_name.gsub('@', '/');
24
24
 
25
25
  z = (user.include?('@') ? user.gsub('@','/') : user+'/')
26
- unless z.downcase == @cred_krb_name[0,z.length].downcase
27
- raise GeneralError, "Credentials mismatch: current is #{@cred_name}, requested is #{user}"
28
- end
29
26
  @credentials = creds
30
27
  ensure
31
28
  if @credentials.nil?
@@ -1,75 +1,74 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{net-ssh-kerberos}
8
- s.version = "0.2.5"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Joe Khoobyar"]
12
- s.date = %q{2011-03-17}
13
- s.description = %q{Extends Net::SSH by adding Kerberos authentication capability for password-less logins on multiple platforms.
14
- }
15
- s.email = %q{joe@ankhcraft.com}
16
- s.extra_rdoc_files = [
17
- "LICENSE",
18
- "README.rdoc"
19
- ]
20
- s.files = [
21
- ".document",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION.yml",
26
- "example/Capfile",
27
- "example/gss.rb",
28
- "example/sspi.rb",
29
- "lib/net/ssh/authentication/methods/gssapi_with_mic.rb",
30
- "lib/net/ssh/kerberos.rb",
31
- "lib/net/ssh/kerberos/constants.rb",
32
- "lib/net/ssh/kerberos/context.rb",
33
- "lib/net/ssh/kerberos/drivers.rb",
34
- "lib/net/ssh/kerberos/drivers/gss.rb",
35
- "lib/net/ssh/kerberos/drivers/sspi.rb",
36
- "lib/net/ssh/kerberos/kex.rb",
37
- "lib/net/ssh/kerberos/kex/krb5_diffie_hellman_group1_sha1.rb",
38
- "lib/net/ssh/kerberos/kex/krb5_diffie_hellman_group_exchange_sha1.rb",
39
- "net-ssh-kerberos.gemspec",
40
- "test/gss_context_test.rb",
41
- "test/gss_test.rb",
42
- "test/net_ssh_kerberos_test.rb",
43
- "test/sspi_context_test.rb",
44
- "test/sspi_test.rb",
45
- "test/test_helper.rb"
46
- ]
47
- s.homepage = %q{http://github.com/joekhoobyar/net-ssh-kerberos}
48
- s.require_paths = ["lib"]
49
- s.required_ruby_version = Gem::Requirement.new("< 1.9")
50
- s.rubyforge_project = %q{net-ssh-krb}
51
- s.rubygems_version = %q{1.3.7}
52
- s.summary = %q{Add Kerberos support to Net::SSH}
53
- s.test_files = [
54
- "test/gss_context_test.rb",
55
- "test/gss_test.rb",
56
- "test/net_ssh_kerberos_test.rb",
57
- "test/sspi_context_test.rb",
58
- "test/sspi_test.rb",
59
- "test/test_helper.rb"
60
- ]
61
-
62
- if s.respond_to? :specification_version then
63
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
64
- s.specification_version = 3
65
-
66
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
67
- s.add_runtime_dependency(%q<net-ssh>, [">= 2.0"])
68
- else
69
- s.add_dependency(%q<net-ssh>, [">= 2.0"])
70
- end
71
- else
72
- s.add_dependency(%q<net-ssh>, [">= 2.0"])
73
- end
74
- end
75
-
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{net-ssh-kerberos}
8
+ s.version = "0.2.6"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Joe Khoobyar"]
12
+ s.date = %q{2011-04-27}
13
+ s.description = %q{Extends Net::SSH by adding Kerberos authentication capability for password-less logins on multiple platforms.
14
+ }
15
+ s.email = %q{joe@ankhcraft.com}
16
+ s.extra_rdoc_files = [
17
+ "LICENSE",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION.yml",
26
+ "example/Capfile",
27
+ "example/gss.rb",
28
+ "example/sspi.rb",
29
+ "lib/net/ssh/authentication/methods/gssapi_with_mic.rb",
30
+ "lib/net/ssh/kerberos.rb",
31
+ "lib/net/ssh/kerberos/constants.rb",
32
+ "lib/net/ssh/kerberos/context.rb",
33
+ "lib/net/ssh/kerberos/drivers.rb",
34
+ "lib/net/ssh/kerberos/drivers/gss.rb",
35
+ "lib/net/ssh/kerberos/drivers/sspi.rb",
36
+ "lib/net/ssh/kerberos/kex.rb",
37
+ "lib/net/ssh/kerberos/kex/krb5_diffie_hellman_group1_sha1.rb",
38
+ "lib/net/ssh/kerberos/kex/krb5_diffie_hellman_group_exchange_sha1.rb",
39
+ "net-ssh-kerberos.gemspec",
40
+ "test/gss_context_test.rb",
41
+ "test/gss_test.rb",
42
+ "test/net_ssh_kerberos_test.rb",
43
+ "test/sspi_context_test.rb",
44
+ "test/sspi_test.rb",
45
+ "test/test_helper.rb"
46
+ ]
47
+ s.homepage = %q{http://github.com/joekhoobyar/net-ssh-kerberos}
48
+ s.require_paths = ["lib"]
49
+ s.required_ruby_version = Gem::Requirement.new("< 1.9")
50
+ s.rubyforge_project = %q{net-ssh-krb}
51
+ s.rubygems_version = %q{1.7.2}
52
+ s.summary = %q{Add Kerberos support to Net::SSH}
53
+ s.test_files = [
54
+ "test/gss_context_test.rb",
55
+ "test/gss_test.rb",
56
+ "test/net_ssh_kerberos_test.rb",
57
+ "test/sspi_context_test.rb",
58
+ "test/sspi_test.rb",
59
+ "test/test_helper.rb"
60
+ ]
61
+
62
+ if s.respond_to? :specification_version then
63
+ s.specification_version = 3
64
+
65
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
66
+ s.add_runtime_dependency(%q<net-ssh>, [">= 2.0"])
67
+ else
68
+ s.add_dependency(%q<net-ssh>, [">= 2.0"])
69
+ end
70
+ else
71
+ s.add_dependency(%q<net-ssh>, [">= 2.0"])
72
+ end
73
+ end
74
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ssh-kerberos
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joe Khoobyar
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-17 00:00:00 -04:00
19
- default_executable:
18
+ date: 2011-04-27 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: net-ssh
@@ -70,7 +69,6 @@ files:
70
69
  - test/sspi_context_test.rb
71
70
  - test/sspi_test.rb
72
71
  - test/test_helper.rb
73
- has_rdoc: true
74
72
  homepage: http://github.com/joekhoobyar/net-ssh-kerberos
75
73
  licenses: []
76
74
 
@@ -101,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
99
  requirements: []
102
100
 
103
101
  rubyforge_project: net-ssh-krb
104
- rubygems_version: 1.3.7
102
+ rubygems_version: 1.7.2
105
103
  signing_key:
106
104
  specification_version: 3
107
105
  summary: Add Kerberos support to Net::SSH