casful_authentication_generator 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = casful_authentication_generator
1
+ = casful_authentication_generator for Rails 2.x applications
2
2
 
3
3
  Helper methods to make authenticating your site with CAS a little easier. Based on Restful Authentication, and uses the rubycas-client plugin.
4
4
 
@@ -57,6 +57,9 @@ By default, the access_denied method will be called if the user supplied by CAS
57
57
 
58
58
  == History
59
59
 
60
+ === 0.3.0 = September 23 2010
61
+ * login_from_cas returns the user object now instead of a boolean for current_user. Thought we had this fixed previously.
62
+ * Installs CAS plugin from git://github.com/gunark/rubycas-client.git now instead of the old dead version.
60
63
 
61
64
  === 0.2.1 = June 17th, 2010
62
65
  * Fixed a nasty bug preventing the current_user variable from being returned correctly
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.3.0
@@ -26,8 +26,8 @@ class CasfulAuthenticationGenerator < Rails::Generator::NamedBase
26
26
 
27
27
  unless options[:skip_plugin]
28
28
  puts "Installing the Cas plugin from"
29
- puts "http://rubycas-client.googlecode.com/svn/trunk/rubycas-client"
30
- `ruby script/plugin install http://rubycas-client.googlecode.com/svn/trunk/rubycas-client --force`
29
+ puts "git://github.com/gunark/rubycas-client.git"
30
+ `ruby script/plugin install git://github.com/gunark/rubycas-client.git --force`
31
31
  end
32
32
 
33
33
  m.template "cas_authentication.rb", "lib/cas_authentication.rb"
@@ -35,6 +35,7 @@ module CasAuthentication
35
35
  else
36
36
  self.current_<%=singular_name %>
37
37
  end
38
+ self.current_<%=singular_name %>
38
39
  end
39
40
 
40
41
  # override this in your own controller
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casful_authentication_generator
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 19
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
- - 2
8
- - 1
9
- version: 0.2.1
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Brian Hogan
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-06-17 00:00:00 -05:00
18
+ date: 2010-09-23 00:00:00 -05:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -35,6 +36,8 @@ files:
35
36
  - casful_authentication_generator.rb
36
37
  - templates/cas.rb
37
38
  - templates/cas_authentication.rb
39
+ - test/casful_authentication_generator_test.rb
40
+ - test/test_helper.rb
38
41
  has_rdoc: true
39
42
  homepage: http://github.com/napcs/casful_authentication_generator
40
43
  licenses: []
@@ -45,23 +48,27 @@ rdoc_options:
45
48
  require_paths:
46
49
  - .
47
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
+ none: false
48
52
  requirements:
49
53
  - - ">="
50
54
  - !ruby/object:Gem::Version
55
+ hash: 3
51
56
  segments:
52
57
  - 0
53
58
  version: "0"
54
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
+ none: false
55
61
  requirements:
56
62
  - - ">="
57
63
  - !ruby/object:Gem::Version
64
+ hash: 3
58
65
  segments:
59
66
  - 0
60
67
  version: "0"
61
68
  requirements: []
62
69
 
63
70
  rubyforge_project: casfulauth
64
- rubygems_version: 1.3.6
71
+ rubygems_version: 1.3.7
65
72
  signing_key:
66
73
  specification_version: 2
67
74
  summary: Generator to quickly put CAS authentication on your Rails application. Provides a currnet_user method to controllers and views to make it work like Restful Authentication and other plugins.