rack-auth-kerberos 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ = 0.2.5 - 29-Jul-2010
2
+ * Changed the dependency from krb5-auth to djberg96-krb5-auth.
3
+ * Modified the rake tasks slightly.
4
+
1
5
  = 0.2.4 - 22-Apr-2010
2
6
  * Krb5Auth::Krb5 object creation has been moved from the constructor into the
3
7
  call method in order to guarantee a new object is used every time. This solves
data/Rakefile CHANGED
@@ -10,16 +10,19 @@ task :install do
10
10
  FileUtils.cp_r(file, dir, :verbose => true)
11
11
  end
12
12
 
13
- desc 'Build the gem'
14
- task :gem do
15
- spec = eval(IO.read('rack-auth-kerberos.gemspec'))
16
- Gem::Builder.new(spec).build
17
- end
13
+ namespace 'gem' do
14
+ desc 'Create the gem'
15
+ task :create do
16
+ Dir['*.gem'].each{ |f| File.delete(f) }
17
+ spec = eval(IO.read('rack-auth-kerberos.gemspec'))
18
+ Gem::Builder.new(spec).build
19
+ end
18
20
 
19
- desc 'Install the rack-auth-kerberos library as a gem'
20
- task :install_gem => [:gem] do
21
- file = Dir["*.gem"].first
22
- sh "gem install #{file}"
21
+ desc 'Install the rack-auth-kerberos library as a gem'
22
+ task :install => [:create] do
23
+ file = Dir["*.gem"].first
24
+ sh "gem install #{file}"
25
+ end
23
26
  end
24
27
 
25
28
  desc 'Export the git archive to a .zip, .gz and .bz2 file in your home directory'
@@ -9,7 +9,7 @@ module Rack
9
9
  # The Kerberos class encapsulates kerberos authentication handling.
10
10
  class Kerberos
11
11
  # The version of the rack-auth-kerberos library.
12
- VERSION = '0.2.4'
12
+ VERSION = '0.2.5'
13
13
 
14
14
  # Creates a new Rack::Kerberos object. The +user_field+ and +password_field+
15
15
  # are the params looked for in the call method. The defaults are 'username'
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'rack-auth-kerberos'
5
- gem.version = '0.2.4'
5
+ gem.version = '0.2.5'
6
6
  gem.authors = ["Daniel Berger", "Charlie O'Keefe", "Marty Haught"]
7
7
  gem.email = 'dberger@globe.gov'
8
8
  gem.homepage = 'http://www.github.com/rack-kerberos'
@@ -13,7 +13,8 @@ Gem::Specification.new do |gem|
13
13
  gem.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST']
14
14
 
15
15
  gem.add_dependency('rack', '>= 1.0.0')
16
- gem.add_dependency('krb5-auth', '>= 0.7')
16
+ gem.add_dependency('djberg96-krb5-auth', '>= 0.8.5')
17
+ gem.rubyforge_project = 'N/A'
17
18
 
18
19
  gem.description = <<-EOF
19
20
  The rack-kerberos library provides a Rack middleware interface for
@@ -13,7 +13,7 @@ class TC_Rack_Auth_Kerberos < Test::Unit::TestCase
13
13
  end
14
14
 
15
15
  def test_version
16
- assert_equal('0.2.4', Rack::Auth::Kerberos::VERSION)
16
+ assert_equal('0.2.5', Rack::Auth::Kerberos::VERSION)
17
17
  end
18
18
 
19
19
  def teardown
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-auth-kerberos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 5
10
+ version: 0.2.5
5
11
  platform: ruby
6
12
  authors:
7
13
  - Daniel Berger
@@ -11,29 +17,41 @@ autorequire:
11
17
  bindir: bin
12
18
  cert_chain: []
13
19
 
14
- date: 2010-04-22 00:00:00 -06:00
20
+ date: 2010-07-29 00:00:00 -06:00
15
21
  default_executable:
16
22
  dependencies:
17
23
  - !ruby/object:Gem::Dependency
18
24
  name: rack
19
- type: :runtime
20
- version_requirement:
21
- version_requirements: !ruby/object:Gem::Requirement
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
22
28
  requirements:
23
29
  - - ">="
24
30
  - !ruby/object:Gem::Version
31
+ hash: 23
32
+ segments:
33
+ - 1
34
+ - 0
35
+ - 0
25
36
  version: 1.0.0
26
- version:
27
- - !ruby/object:Gem::Dependency
28
- name: krb5-auth
29
37
  type: :runtime
30
- version_requirement:
31
- version_requirements: !ruby/object:Gem::Requirement
38
+ version_requirements: *id001
39
+ - !ruby/object:Gem::Dependency
40
+ name: djberg96-krb5-auth
41
+ prerelease: false
42
+ requirement: &id002 !ruby/object:Gem::Requirement
43
+ none: false
32
44
  requirements:
33
45
  - - ">="
34
46
  - !ruby/object:Gem::Version
35
- version: "0.7"
36
- version:
47
+ hash: 53
48
+ segments:
49
+ - 0
50
+ - 8
51
+ - 5
52
+ version: 0.8.5
53
+ type: :runtime
54
+ version_requirements: *id002
37
55
  description: " The rack-kerberos library provides a Rack middleware interface for\n authenticating users against a Kerberos server.\n"
38
56
  email: dberger@globe.gov
39
57
  executables: []
@@ -45,13 +63,13 @@ extra_rdoc_files:
45
63
  - README
46
64
  - MANIFEST
47
65
  files:
48
- - CHANGES
49
- - lib/rack/auth/kerberos.rb
50
66
  - MANIFEST
51
- - rack-auth-kerberos.gemspec
52
- - Rakefile
67
+ - CHANGES
53
68
  - README
69
+ - rack-auth-kerberos.gemspec
54
70
  - test/test_rack_auth_kerberos.rb
71
+ - Rakefile
72
+ - lib/rack/auth/kerberos.rb
55
73
  has_rdoc: true
56
74
  homepage: http://www.github.com/rack-kerberos
57
75
  licenses: []
@@ -62,21 +80,27 @@ rdoc_options: []
62
80
  require_paths:
63
81
  - lib
64
82
  required_ruby_version: !ruby/object:Gem::Requirement
83
+ none: false
65
84
  requirements:
66
85
  - - ">="
67
86
  - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
68
90
  version: "0"
69
- version:
70
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
+ none: false
71
93
  requirements:
72
94
  - - ">="
73
95
  - !ruby/object:Gem::Version
96
+ hash: 3
97
+ segments:
98
+ - 0
74
99
  version: "0"
75
- version:
76
100
  requirements: []
77
101
 
78
- rubyforge_project:
79
- rubygems_version: 1.3.5
102
+ rubyforge_project: N/A
103
+ rubygems_version: 1.3.7
80
104
  signing_key:
81
105
  specification_version: 3
82
106
  summary: A Rack library that authenticates people using Kerberos