simplest_auth 0.2.9 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ module SimplestAuth
25
25
  end
26
26
 
27
27
  def store_location
28
- session[:return_to] = request.request_uri
28
+ session[:return_to] = (request.respond_to?(:fullpath) ? request.fullpath : request.request_uri)
29
29
  end
30
30
 
31
31
  def redirect_back_or_default(default)
@@ -3,7 +3,7 @@ module SimplestAuth
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 9
6
+ TINY = 10
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplest_auth
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 3
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 2
8
- - 9
9
- version: 0.2.9
9
+ - 10
10
+ version: 0.2.10
10
11
  platform: ruby
11
12
  authors:
12
13
  - Tony Pitale
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-07-05 00:00:00 -04:00
18
+ date: 2010-07-15 00:00:00 -04:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: bcrypt-ruby
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ~>
26
28
  - !ruby/object:Gem::Version
29
+ hash: 9
27
30
  segments:
28
31
  - 2
29
32
  - 1
@@ -60,23 +63,27 @@ rdoc_options: []
60
63
  require_paths:
61
64
  - lib
62
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
+ none: false
63
67
  requirements:
64
68
  - - ">="
65
69
  - !ruby/object:Gem::Version
70
+ hash: 3
66
71
  segments:
67
72
  - 0
68
73
  version: "0"
69
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
+ none: false
70
76
  requirements:
71
77
  - - ">="
72
78
  - !ruby/object:Gem::Version
79
+ hash: 3
73
80
  segments:
74
81
  - 0
75
82
  version: "0"
76
83
  requirements: []
77
84
 
78
85
  rubyforge_project:
79
- rubygems_version: 1.3.6
86
+ rubygems_version: 1.3.7
80
87
  signing_key:
81
88
  specification_version: 3
82
89
  summary: Simple implementation of authentication for Rails