authlogic 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of authlogic might be problematic. Click here for more details.
- data/CHANGELOG.rdoc +8 -1
- data/Manifest +4 -0
- data/README.rdoc +50 -24
- data/authlogic.gemspec +5 -5
- data/lib/authlogic.rb +3 -0
- data/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/config.rb +34 -10
- data/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb +8 -3
- data/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/logged_in.rb +2 -2
- data/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/password_reset.rb +73 -0
- data/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/single_access.rb +27 -27
- data/lib/authlogic/session/base.rb +41 -38
- data/lib/authlogic/session/config.rb +125 -32
- data/lib/authlogic/session/password_reset.rb +17 -0
- data/lib/authlogic/session/scopes.rb +2 -6
- data/lib/authlogic/version.rb +2 -2
- data/test/fixtures/users.yml +3 -0
- data/test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/config_test.rb +6 -1
- data/test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/credentials_test.rb +16 -2
- data/test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/password_reset_test.rb +40 -0
- data/test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/session_maintenance_test.rb +1 -1
- data/test/session_tests/base_test.rb +9 -8
- data/test/session_tests/config_test.rb +84 -12
- data/test/session_tests/password_reset_test.rb +15 -0
- data/test/session_tests/scopes_test.rb +5 -4
- data/test/test_helper.rb +12 -6
- metadata +10 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Johnson of Binary Logic
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-11-
|
12
|
+
date: 2008-11-16 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -48,6 +48,7 @@ extra_rdoc_files:
|
|
48
48
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/config.rb
|
49
49
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb
|
50
50
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/logged_in.rb
|
51
|
+
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/password_reset.rb
|
51
52
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/persistence.rb
|
52
53
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/session_maintenance.rb
|
53
54
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/single_access.rb
|
@@ -61,6 +62,7 @@ extra_rdoc_files:
|
|
61
62
|
- lib/authlogic/session/cookies.rb
|
62
63
|
- lib/authlogic/session/errors.rb
|
63
64
|
- lib/authlogic/session/params.rb
|
65
|
+
- lib/authlogic/session/password_reset.rb
|
64
66
|
- lib/authlogic/session/scopes.rb
|
65
67
|
- lib/authlogic/session/session.rb
|
66
68
|
- lib/authlogic/version.rb
|
@@ -77,6 +79,7 @@ files:
|
|
77
79
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/config.rb
|
78
80
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb
|
79
81
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/logged_in.rb
|
82
|
+
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/password_reset.rb
|
80
83
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/persistence.rb
|
81
84
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/session_maintenance.rb
|
82
85
|
- lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/single_access.rb
|
@@ -90,6 +93,7 @@ files:
|
|
90
93
|
- lib/authlogic/session/cookies.rb
|
91
94
|
- lib/authlogic/session/errors.rb
|
92
95
|
- lib/authlogic/session/params.rb
|
96
|
+
- lib/authlogic/session/password_reset.rb
|
93
97
|
- lib/authlogic/session/scopes.rb
|
94
98
|
- lib/authlogic/session/session.rb
|
95
99
|
- lib/authlogic/version.rb
|
@@ -111,6 +115,7 @@ files:
|
|
111
115
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/config_test.rb
|
112
116
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/credentials_test.rb
|
113
117
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/logged_in_test.rb
|
118
|
+
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/password_reset_test.rb
|
114
119
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/persistence_test.rb
|
115
120
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/session_maintenance_test.rb
|
116
121
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/single_access_test.rb
|
@@ -121,6 +126,7 @@ files:
|
|
121
126
|
- test/session_tests/config_test.rb
|
122
127
|
- test/session_tests/cookies_test.rb
|
123
128
|
- test/session_tests/params_test.rb
|
129
|
+
- test/session_tests/password_reset_test.rb
|
124
130
|
- test/session_tests/scopes_test.rb
|
125
131
|
- test/session_tests/session_test.rb
|
126
132
|
- test/test_helper.rb
|
@@ -160,6 +166,7 @@ test_files:
|
|
160
166
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/config_test.rb
|
161
167
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/credentials_test.rb
|
162
168
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/logged_in_test.rb
|
169
|
+
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/password_reset_test.rb
|
163
170
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/persistence_test.rb
|
164
171
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/session_maintenance_test.rb
|
165
172
|
- test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/single_access_test.rb
|
@@ -170,6 +177,7 @@ test_files:
|
|
170
177
|
- test/session_tests/config_test.rb
|
171
178
|
- test/session_tests/cookies_test.rb
|
172
179
|
- test/session_tests/params_test.rb
|
180
|
+
- test/session_tests/password_reset_test.rb
|
173
181
|
- test/session_tests/scopes_test.rb
|
174
182
|
- test/session_tests/session_test.rb
|
175
183
|
- test/test_helper.rb
|