rubycas-client 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/casclient.rb +2 -2
- data/lib/casclient/version.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
= RubyCAS-Client Changelog
|
2
2
|
|
3
|
+
== Version 2.2.1 :: 2010-06-24
|
4
|
+
|
5
|
+
* Removed a 3rd party patch to the logging mechanism that broke the client under
|
6
|
+
some circumstances. Ouch. 2.2.0 should never have made it through QA.
|
7
|
+
|
3
8
|
== Version 2.2.0 :: 2010-06-22
|
4
9
|
|
5
10
|
RubyCAS-Client is now licensed under the MIT License.
|
data/lib/casclient.rb
CHANGED
@@ -46,7 +46,7 @@ module CASClient
|
|
46
46
|
# will quietly swallow any logging calls.
|
47
47
|
class LoggerWrapper
|
48
48
|
def initialize(real_logger=nil)
|
49
|
-
|
49
|
+
set_logger(real_logger)
|
50
50
|
end
|
51
51
|
# Assign the 'real' Logger instance that this dummy instance wraps around.
|
52
52
|
def set_real_logger(real_logger)
|
@@ -55,7 +55,7 @@ module CASClient
|
|
55
55
|
# Log using the appropriate method if we have a logger
|
56
56
|
# if we dont' have a logger, gracefully ignore.
|
57
57
|
def method_missing(name, *args)
|
58
|
-
if
|
58
|
+
if @real_logger && @real_logger.respond_to?(name)
|
59
59
|
@real_logger.send(name, *args)
|
60
60
|
end
|
61
61
|
end
|
data/lib/casclient/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubycas-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zukowski
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-06-
|
13
|
+
date: 2010-06-24 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|