rubycas-client 2.0.1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,6 +68,15 @@ module CASClient
68
68
  @xml.elements.to_a('//cas:authenticationSuccess/*').each do |el|
69
69
  @extra_attributes.merge!(Hash.from_xml(el.to_s)) unless el.prefix == 'cas'
70
70
  end
71
+
72
+ # unserialize extra attributes
73
+ @extra_attributes.each do |k, v|
74
+ if v.blank?
75
+ @extra_attributes[k] = nil
76
+ else
77
+ @extra_attributes[k] = YAML.load(v)
78
+ end
79
+ end
71
80
  elsif is_failure?
72
81
  @failure_code = @xml.elements['//cas:authenticationFailure'].attributes['code']
73
82
  @failure_message = @xml.elements['//cas:authenticationFailure'].text.strip
@@ -1,8 +1,8 @@
1
1
  module CASClient #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
- MINOR = 0
5
- TINY = 1
4
+ MINOR = 1
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Zukowski
@@ -10,11 +10,12 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-02-27 00:00:00 -05:00
13
+ date: 2009-08-18 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
18
+ type: :runtime
18
19
  version_requirement:
19
20
  version_requirements: !ruby/object:Gem::Requirement
20
21
  requirements:
@@ -22,6 +23,16 @@ dependencies:
22
23
  - !ruby/object:Gem::Version
23
24
  version: "0"
24
25
  version:
26
+ - !ruby/object:Gem::Dependency
27
+ name: hoe
28
+ type: :development
29
+ version_requirement:
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 1.8.2
35
+ version:
25
36
  description: Client library for the Central Authentication Service (CAS) protocol.
26
37
  email: matt at roughest dot net
27
38
  executables: []
@@ -33,17 +44,23 @@ extra_rdoc_files:
33
44
  - History.txt
34
45
  - LICENSE.txt
35
46
  - Manifest.txt
36
- - README.txt
37
47
  files:
38
48
  - CHANGELOG.txt
39
49
  - History.txt
40
50
  - LICENSE.txt
41
51
  - Manifest.txt
42
- - README.txt
52
+ - README.rdoc
43
53
  - Rakefile
54
+ - examples/merb/README.textile
55
+ - examples/merb/Rakefile
56
+ - examples/merb/merb.thor
57
+ - examples/merb/merb_auth_cas.rb
58
+ - examples/merb/spec/spec_helper.rb
44
59
  - init.rb
45
60
  - lib/casclient.rb
46
61
  - lib/casclient/client.rb
62
+ - lib/casclient/frameworks/merb/filter.rb
63
+ - lib/casclient/frameworks/merb/strategy.rb
47
64
  - lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb
48
65
  - lib/casclient/frameworks/rails/filter.rb
49
66
  - lib/casclient/responses.rb
@@ -74,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
91
  requirements: []
75
92
 
76
93
  rubyforge_project: rubycas-client
77
- rubygems_version: 1.0.1
94
+ rubygems_version: 1.3.1
78
95
  signing_key:
79
96
  specification_version: 2
80
97
  summary: Client library for the Central Authentication Service (CAS) protocol.