rack-auth-kerberos 0.2.2 → 0.2.3

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.
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ = 0.2.3 - 14-Jan-2010
2
+ * Resetting log with each call now, instead of initialize
3
+
1
4
  = 0.2.2 - 13-Jan-2010
2
5
  * Added some basic logging, accessible through the request.env["AUTH_LOG"] variable.
3
6
 
data/README CHANGED
@@ -36,3 +36,4 @@ and password are submitted, instead of only looking in request params.
36
36
  = Authors
37
37
  Daniel Berger
38
38
  Charlie O'Keefe
39
+ Marty Haught
@@ -4,7 +4,7 @@ module Rack
4
4
  module Auth
5
5
  class Kerberos
6
6
  # The version of the rack-auth-kerberos library.
7
- VERSION = '0.2.2'
7
+ VERSION = '0.2.3'
8
8
 
9
9
  def log(msg)
10
10
  @log << "\n #{msg}"
@@ -32,7 +32,6 @@ module Rack
32
32
  else
33
33
  @realm = @kerberos.get_default_realm
34
34
  end
35
- @log = "Initializing Rack::Auth::Kerberos"
36
35
  end
37
36
 
38
37
  # The call method we've defined first checks to see if the AUTH_USER
@@ -57,6 +56,7 @@ module Rack
57
56
  # AUTH_DATETIME => Time.now.utc
58
57
  #
59
58
  def call(env)
59
+ @log = "Entering Rack::Auth::Kerberos"
60
60
  request = Rack::Request.new(env)
61
61
 
62
62
  user = request.params[@user_field]
@@ -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.2'
5
+ gem.version = '0.2.3'
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,7 @@ class TC_Rack_Auth_Kerberos < Test::Unit::TestCase
13
13
  end
14
14
 
15
15
  def test_version
16
- assert_equal('0.2.2', Rack::Auth::Kerberos::VERSION)
16
+ assert_equal('0.2.3', Rack::Auth::Kerberos::VERSION)
17
17
  end
18
18
 
19
19
  def teardown
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-auth-kerberos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Berger
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2010-01-13 00:00:00 -07:00
14
+ date: 2010-01-15 00:00:00 -07:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency