authlogic 4.5.0 → 6.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/authlogic/acts_as_authentic/base.rb +19 -19
- data/lib/authlogic/acts_as_authentic/email.rb +3 -170
- data/lib/authlogic/acts_as_authentic/logged_in_status.rb +3 -1
- data/lib/authlogic/acts_as_authentic/login.rb +7 -174
- data/lib/authlogic/acts_as_authentic/magic_columns.rb +7 -4
- data/lib/authlogic/acts_as_authentic/password.rb +67 -256
- data/lib/authlogic/acts_as_authentic/perishable_token.rb +8 -5
- data/lib/authlogic/acts_as_authentic/persistence_token.rb +10 -4
- data/lib/authlogic/acts_as_authentic/queries/case_sensitivity.rb +53 -0
- data/lib/authlogic/acts_as_authentic/queries/find_with_case.rb +36 -20
- data/lib/authlogic/acts_as_authentic/session_maintenance.rb +12 -8
- data/lib/authlogic/acts_as_authentic/single_access_token.rb +10 -8
- data/lib/authlogic/config.rb +9 -1
- data/lib/authlogic/controller_adapters/abstract_adapter.rb +28 -4
- data/lib/authlogic/controller_adapters/rack_adapter.rb +2 -0
- data/lib/authlogic/controller_adapters/rails_adapter.rb +7 -30
- data/lib/authlogic/controller_adapters/sinatra_adapter.rb +6 -0
- data/lib/authlogic/cookie_credentials.rb +63 -0
- data/lib/authlogic/crypto_providers/bcrypt.rb +3 -3
- data/lib/authlogic/crypto_providers/md5/v2.rb +35 -0
- data/lib/authlogic/crypto_providers/md5.rb +6 -6
- data/lib/authlogic/crypto_providers/scrypt.rb +2 -0
- data/lib/authlogic/crypto_providers/sha1/v2.rb +41 -0
- data/lib/authlogic/crypto_providers/sha1.rb +7 -6
- data/lib/authlogic/crypto_providers/sha256/v2.rb +58 -0
- data/lib/authlogic/crypto_providers/sha256.rb +5 -0
- data/lib/authlogic/crypto_providers/sha512/v2.rb +39 -0
- data/lib/authlogic/crypto_providers/sha512.rb +9 -5
- data/lib/authlogic/crypto_providers.rb +5 -20
- data/lib/authlogic/errors.rb +50 -0
- data/lib/authlogic/i18n/translator.rb +4 -1
- data/lib/authlogic/i18n.rb +3 -1
- data/lib/authlogic/random.rb +2 -0
- data/lib/authlogic/session/base.rb +2197 -39
- data/lib/authlogic/session/magic_column/assigns_last_request_at.rb +46 -0
- data/lib/authlogic/test_case/mock_api_controller.rb +52 -0
- data/lib/authlogic/test_case/mock_controller.rb +3 -1
- data/lib/authlogic/test_case/mock_cookie_jar.rb +32 -6
- data/lib/authlogic/test_case/mock_logger.rb +2 -0
- data/lib/authlogic/test_case/mock_request.rb +12 -0
- data/lib/authlogic/test_case/rails_request_adapter.rb +9 -1
- data/lib/authlogic/test_case.rb +5 -0
- data/lib/authlogic/version.rb +2 -1
- data/lib/authlogic.rb +5 -28
- metadata +175 -200
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -28
- data/.github/ISSUE_TEMPLATE/feature_proposal.md +0 -32
- data/.github/triage.md +0 -86
- data/.gitignore +0 -15
- data/.rubocop.yml +0 -133
- data/.rubocop_todo.yml +0 -74
- data/.travis.yml +0 -24
- data/CHANGELOG.md +0 -348
- data/CONTRIBUTING.md +0 -91
- data/Gemfile +0 -6
- data/LICENSE +0 -20
- data/README.md +0 -448
- data/Rakefile +0 -21
- data/UPGRADING.md +0 -22
- data/authlogic.gemspec +0 -40
- data/doc/use_normal_rails_validation.md +0 -82
- data/gemfiles/Gemfile.rails-4.2.x +0 -6
- data/gemfiles/Gemfile.rails-5.1.x +0 -6
- data/gemfiles/Gemfile.rails-5.2.x +0 -6
- data/lib/authlogic/acts_as_authentic/restful_authentication.rb +0 -106
- data/lib/authlogic/acts_as_authentic/validations_scope.rb +0 -35
- data/lib/authlogic/authenticates_many/association.rb +0 -50
- data/lib/authlogic/authenticates_many/base.rb +0 -81
- data/lib/authlogic/crypto_providers/aes256.rb +0 -71
- data/lib/authlogic/crypto_providers/wordpress.rb +0 -72
- data/lib/authlogic/regex.rb +0 -79
- data/lib/authlogic/session/activation.rb +0 -73
- data/lib/authlogic/session/active_record_trickery.rb +0 -65
- data/lib/authlogic/session/brute_force_protection.rb +0 -127
- data/lib/authlogic/session/callbacks.rb +0 -153
- data/lib/authlogic/session/cookies.rb +0 -329
- data/lib/authlogic/session/existence.rb +0 -103
- data/lib/authlogic/session/foundation.rb +0 -105
- data/lib/authlogic/session/http_auth.rb +0 -107
- data/lib/authlogic/session/id.rb +0 -53
- data/lib/authlogic/session/klass.rb +0 -73
- data/lib/authlogic/session/magic_columns.rb +0 -119
- data/lib/authlogic/session/magic_states.rb +0 -82
- data/lib/authlogic/session/params.rb +0 -130
- data/lib/authlogic/session/password.rb +0 -318
- data/lib/authlogic/session/perishable_token.rb +0 -24
- data/lib/authlogic/session/persistence.rb +0 -77
- data/lib/authlogic/session/priority_record.rb +0 -38
- data/lib/authlogic/session/scopes.rb +0 -138
- data/lib/authlogic/session/session.rb +0 -77
- data/lib/authlogic/session/timeout.rb +0 -103
- data/lib/authlogic/session/unauthorized_record.rb +0 -56
- data/lib/authlogic/session/validation.rb +0 -93
- data/test/acts_as_authentic_test/base_test.rb +0 -27
- data/test/acts_as_authentic_test/email_test.rb +0 -241
- data/test/acts_as_authentic_test/logged_in_status_test.rb +0 -64
- data/test/acts_as_authentic_test/login_test.rb +0 -153
- data/test/acts_as_authentic_test/magic_columns_test.rb +0 -29
- data/test/acts_as_authentic_test/password_test.rb +0 -263
- data/test/acts_as_authentic_test/perishable_token_test.rb +0 -98
- data/test/acts_as_authentic_test/persistence_token_test.rb +0 -62
- data/test/acts_as_authentic_test/restful_authentication_test.rb +0 -48
- data/test/acts_as_authentic_test/session_maintenance_test.rb +0 -150
- data/test/acts_as_authentic_test/single_access_test.rb +0 -46
- data/test/adapter_test.rb +0 -23
- data/test/authenticates_many_test.rb +0 -33
- data/test/config_test.rb +0 -38
- data/test/crypto_provider_test/aes256_test.rb +0 -16
- data/test/crypto_provider_test/bcrypt_test.rb +0 -16
- data/test/crypto_provider_test/scrypt_test.rb +0 -16
- data/test/crypto_provider_test/sha1_test.rb +0 -25
- data/test/crypto_provider_test/sha256_test.rb +0 -16
- data/test/crypto_provider_test/sha512_test.rb +0 -16
- data/test/crypto_provider_test/wordpress_test.rb +0 -26
- data/test/fixtures/companies.yml +0 -5
- data/test/fixtures/employees.yml +0 -17
- data/test/fixtures/projects.yml +0 -3
- data/test/fixtures/users.yml +0 -41
- data/test/i18n/lol.yml +0 -4
- data/test/i18n_test.rb +0 -35
- data/test/libs/affiliate.rb +0 -9
- data/test/libs/company.rb +0 -8
- data/test/libs/employee.rb +0 -9
- data/test/libs/employee_session.rb +0 -4
- data/test/libs/ldaper.rb +0 -5
- data/test/libs/project.rb +0 -5
- data/test/libs/user.rb +0 -9
- data/test/libs/user_session.rb +0 -27
- data/test/random_test.rb +0 -15
- data/test/session_test/activation_test.rb +0 -45
- data/test/session_test/active_record_trickery_test.rb +0 -78
- data/test/session_test/brute_force_protection_test.rb +0 -110
- data/test/session_test/callbacks_test.rb +0 -42
- data/test/session_test/cookies_test.rb +0 -244
- data/test/session_test/credentials_test.rb +0 -0
- data/test/session_test/existence_test.rb +0 -88
- data/test/session_test/foundation_test.rb +0 -24
- data/test/session_test/http_auth_test.rb +0 -60
- data/test/session_test/id_test.rb +0 -19
- data/test/session_test/klass_test.rb +0 -42
- data/test/session_test/magic_columns_test.rb +0 -62
- data/test/session_test/magic_states_test.rb +0 -60
- data/test/session_test/params_test.rb +0 -61
- data/test/session_test/password_test.rb +0 -107
- data/test/session_test/perishability_test.rb +0 -17
- data/test/session_test/persistence_test.rb +0 -35
- data/test/session_test/scopes_test.rb +0 -68
- data/test/session_test/session_test.rb +0 -80
- data/test/session_test/timeout_test.rb +0 -84
- data/test/session_test/unauthorized_record_test.rb +0 -15
- data/test/session_test/validation_test.rb +0 -25
- data/test/test_helper.rb +0 -272
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: 4.
|
4
|
+
version: 6.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Johnson
|
@@ -10,82 +10,82 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-12-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: activemodel
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '5.2'
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '
|
24
|
+
version: '7.1'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
28
|
requirements:
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '
|
31
|
+
version: '5.2'
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '7.1'
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
36
|
+
name: activerecord
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '5.2'
|
42
42
|
- - "<"
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
44
|
+
version: '7.1'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
47
|
version_requirements: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '5.2'
|
52
52
|
- - "<"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '7.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: activesupport
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '5.2'
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '7.1'
|
62
65
|
type: :runtime
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
|
-
- - "
|
69
|
+
- - ">="
|
67
70
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
71
|
+
version: '5.2'
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '7.1'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
76
|
+
name: request_store
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- - "
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.2'
|
76
|
-
- - "<"
|
79
|
+
- - "~>"
|
77
80
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
81
|
+
version: '1.0'
|
79
82
|
type: :runtime
|
80
83
|
prerelease: false
|
81
84
|
version_requirements: !ruby/object:Gem::Requirement
|
82
85
|
requirements:
|
83
|
-
- - "
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '1.2'
|
86
|
-
- - "<"
|
86
|
+
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '1.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: bcrypt
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,6 +114,20 @@ dependencies:
|
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '10.0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: coveralls
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 0.8.22
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 0.8.22
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
132
|
name: minitest-reporters
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,20 +142,138 @@ dependencies:
|
|
128
142
|
- - "~>"
|
129
143
|
- !ruby/object:Gem::Version
|
130
144
|
version: '1.3'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: mysql2
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 0.5.2
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 0.5.2
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: pg
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 1.1.4
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 1.1.4
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: rake
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '13.0'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '13.0'
|
131
187
|
- !ruby/object:Gem::Dependency
|
132
188
|
name: rubocop
|
133
189
|
requirement: !ruby/object:Gem::Requirement
|
134
190
|
requirements:
|
135
191
|
- - "~>"
|
136
192
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.
|
193
|
+
version: 0.80.1
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 0.80.1
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: rubocop-performance
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '1.1'
|
208
|
+
type: :development
|
209
|
+
prerelease: false
|
210
|
+
version_requirements: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - "~>"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '1.1'
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: scrypt
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '1.2'
|
222
|
+
- - "<"
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '4.0'
|
225
|
+
type: :development
|
226
|
+
prerelease: false
|
227
|
+
version_requirements: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '1.2'
|
232
|
+
- - "<"
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '4.0'
|
235
|
+
- !ruby/object:Gem::Dependency
|
236
|
+
name: simplecov
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - "~>"
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: 0.16.1
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - "~>"
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: 0.16.1
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
name: simplecov-console
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - "~>"
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: 0.4.2
|
256
|
+
type: :development
|
257
|
+
prerelease: false
|
258
|
+
version_requirements: !ruby/object:Gem::Requirement
|
259
|
+
requirements:
|
260
|
+
- - "~>"
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: 0.4.2
|
263
|
+
- !ruby/object:Gem::Dependency
|
264
|
+
name: sqlite3
|
265
|
+
requirement: !ruby/object:Gem::Requirement
|
266
|
+
requirements:
|
267
|
+
- - "~>"
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: 1.4.0
|
138
270
|
type: :development
|
139
271
|
prerelease: false
|
140
272
|
version_requirements: !ruby/object:Gem::Requirement
|
141
273
|
requirements:
|
142
274
|
- - "~>"
|
143
275
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
276
|
+
version: 1.4.0
|
145
277
|
- !ruby/object:Gem::Dependency
|
146
278
|
name: timecop
|
147
279
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,25 +297,6 @@ executables: []
|
|
165
297
|
extensions: []
|
166
298
|
extra_rdoc_files: []
|
167
299
|
files:
|
168
|
-
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
169
|
-
- ".github/ISSUE_TEMPLATE/feature_proposal.md"
|
170
|
-
- ".github/triage.md"
|
171
|
-
- ".gitignore"
|
172
|
-
- ".rubocop.yml"
|
173
|
-
- ".rubocop_todo.yml"
|
174
|
-
- ".travis.yml"
|
175
|
-
- CHANGELOG.md
|
176
|
-
- CONTRIBUTING.md
|
177
|
-
- Gemfile
|
178
|
-
- LICENSE
|
179
|
-
- README.md
|
180
|
-
- Rakefile
|
181
|
-
- UPGRADING.md
|
182
|
-
- authlogic.gemspec
|
183
|
-
- doc/use_normal_rails_validation.md
|
184
|
-
- gemfiles/Gemfile.rails-4.2.x
|
185
|
-
- gemfiles/Gemfile.rails-5.1.x
|
186
|
-
- gemfiles/Gemfile.rails-5.2.x
|
187
300
|
- lib/authlogic.rb
|
188
301
|
- lib/authlogic/acts_as_authentic/base.rb
|
189
302
|
- lib/authlogic/acts_as_authentic/email.rb
|
@@ -193,121 +306,42 @@ files:
|
|
193
306
|
- lib/authlogic/acts_as_authentic/password.rb
|
194
307
|
- lib/authlogic/acts_as_authentic/perishable_token.rb
|
195
308
|
- lib/authlogic/acts_as_authentic/persistence_token.rb
|
309
|
+
- lib/authlogic/acts_as_authentic/queries/case_sensitivity.rb
|
196
310
|
- lib/authlogic/acts_as_authentic/queries/find_with_case.rb
|
197
|
-
- lib/authlogic/acts_as_authentic/restful_authentication.rb
|
198
311
|
- lib/authlogic/acts_as_authentic/session_maintenance.rb
|
199
312
|
- lib/authlogic/acts_as_authentic/single_access_token.rb
|
200
|
-
- lib/authlogic/acts_as_authentic/validations_scope.rb
|
201
|
-
- lib/authlogic/authenticates_many/association.rb
|
202
|
-
- lib/authlogic/authenticates_many/base.rb
|
203
313
|
- lib/authlogic/config.rb
|
204
314
|
- lib/authlogic/controller_adapters/abstract_adapter.rb
|
205
315
|
- lib/authlogic/controller_adapters/rack_adapter.rb
|
206
316
|
- lib/authlogic/controller_adapters/rails_adapter.rb
|
207
317
|
- lib/authlogic/controller_adapters/sinatra_adapter.rb
|
318
|
+
- lib/authlogic/cookie_credentials.rb
|
208
319
|
- lib/authlogic/crypto_providers.rb
|
209
|
-
- lib/authlogic/crypto_providers/aes256.rb
|
210
320
|
- lib/authlogic/crypto_providers/bcrypt.rb
|
211
321
|
- lib/authlogic/crypto_providers/md5.rb
|
322
|
+
- lib/authlogic/crypto_providers/md5/v2.rb
|
212
323
|
- lib/authlogic/crypto_providers/scrypt.rb
|
213
324
|
- lib/authlogic/crypto_providers/sha1.rb
|
325
|
+
- lib/authlogic/crypto_providers/sha1/v2.rb
|
214
326
|
- lib/authlogic/crypto_providers/sha256.rb
|
327
|
+
- lib/authlogic/crypto_providers/sha256/v2.rb
|
215
328
|
- lib/authlogic/crypto_providers/sha512.rb
|
216
|
-
- lib/authlogic/crypto_providers/
|
329
|
+
- lib/authlogic/crypto_providers/sha512/v2.rb
|
330
|
+
- lib/authlogic/errors.rb
|
217
331
|
- lib/authlogic/i18n.rb
|
218
332
|
- lib/authlogic/i18n/translator.rb
|
219
333
|
- lib/authlogic/random.rb
|
220
|
-
- lib/authlogic/regex.rb
|
221
|
-
- lib/authlogic/session/activation.rb
|
222
|
-
- lib/authlogic/session/active_record_trickery.rb
|
223
334
|
- lib/authlogic/session/base.rb
|
224
|
-
- lib/authlogic/session/
|
225
|
-
- lib/authlogic/session/callbacks.rb
|
226
|
-
- lib/authlogic/session/cookies.rb
|
227
|
-
- lib/authlogic/session/existence.rb
|
228
|
-
- lib/authlogic/session/foundation.rb
|
229
|
-
- lib/authlogic/session/http_auth.rb
|
230
|
-
- lib/authlogic/session/id.rb
|
231
|
-
- lib/authlogic/session/klass.rb
|
232
|
-
- lib/authlogic/session/magic_columns.rb
|
233
|
-
- lib/authlogic/session/magic_states.rb
|
234
|
-
- lib/authlogic/session/params.rb
|
235
|
-
- lib/authlogic/session/password.rb
|
236
|
-
- lib/authlogic/session/perishable_token.rb
|
237
|
-
- lib/authlogic/session/persistence.rb
|
238
|
-
- lib/authlogic/session/priority_record.rb
|
239
|
-
- lib/authlogic/session/scopes.rb
|
240
|
-
- lib/authlogic/session/session.rb
|
241
|
-
- lib/authlogic/session/timeout.rb
|
242
|
-
- lib/authlogic/session/unauthorized_record.rb
|
243
|
-
- lib/authlogic/session/validation.rb
|
335
|
+
- lib/authlogic/session/magic_column/assigns_last_request_at.rb
|
244
336
|
- lib/authlogic/test_case.rb
|
337
|
+
- lib/authlogic/test_case/mock_api_controller.rb
|
245
338
|
- lib/authlogic/test_case/mock_controller.rb
|
246
339
|
- lib/authlogic/test_case/mock_cookie_jar.rb
|
247
340
|
- lib/authlogic/test_case/mock_logger.rb
|
248
341
|
- lib/authlogic/test_case/mock_request.rb
|
249
342
|
- lib/authlogic/test_case/rails_request_adapter.rb
|
250
343
|
- lib/authlogic/version.rb
|
251
|
-
|
252
|
-
- test/acts_as_authentic_test/email_test.rb
|
253
|
-
- test/acts_as_authentic_test/logged_in_status_test.rb
|
254
|
-
- test/acts_as_authentic_test/login_test.rb
|
255
|
-
- test/acts_as_authentic_test/magic_columns_test.rb
|
256
|
-
- test/acts_as_authentic_test/password_test.rb
|
257
|
-
- test/acts_as_authentic_test/perishable_token_test.rb
|
258
|
-
- test/acts_as_authentic_test/persistence_token_test.rb
|
259
|
-
- test/acts_as_authentic_test/restful_authentication_test.rb
|
260
|
-
- test/acts_as_authentic_test/session_maintenance_test.rb
|
261
|
-
- test/acts_as_authentic_test/single_access_test.rb
|
262
|
-
- test/adapter_test.rb
|
263
|
-
- test/authenticates_many_test.rb
|
264
|
-
- test/config_test.rb
|
265
|
-
- test/crypto_provider_test/aes256_test.rb
|
266
|
-
- test/crypto_provider_test/bcrypt_test.rb
|
267
|
-
- test/crypto_provider_test/scrypt_test.rb
|
268
|
-
- test/crypto_provider_test/sha1_test.rb
|
269
|
-
- test/crypto_provider_test/sha256_test.rb
|
270
|
-
- test/crypto_provider_test/sha512_test.rb
|
271
|
-
- test/crypto_provider_test/wordpress_test.rb
|
272
|
-
- test/fixtures/companies.yml
|
273
|
-
- test/fixtures/employees.yml
|
274
|
-
- test/fixtures/projects.yml
|
275
|
-
- test/fixtures/users.yml
|
276
|
-
- test/i18n/lol.yml
|
277
|
-
- test/i18n_test.rb
|
278
|
-
- test/libs/affiliate.rb
|
279
|
-
- test/libs/company.rb
|
280
|
-
- test/libs/employee.rb
|
281
|
-
- test/libs/employee_session.rb
|
282
|
-
- test/libs/ldaper.rb
|
283
|
-
- test/libs/project.rb
|
284
|
-
- test/libs/user.rb
|
285
|
-
- test/libs/user_session.rb
|
286
|
-
- test/random_test.rb
|
287
|
-
- test/session_test/activation_test.rb
|
288
|
-
- test/session_test/active_record_trickery_test.rb
|
289
|
-
- test/session_test/brute_force_protection_test.rb
|
290
|
-
- test/session_test/callbacks_test.rb
|
291
|
-
- test/session_test/cookies_test.rb
|
292
|
-
- test/session_test/credentials_test.rb
|
293
|
-
- test/session_test/existence_test.rb
|
294
|
-
- test/session_test/foundation_test.rb
|
295
|
-
- test/session_test/http_auth_test.rb
|
296
|
-
- test/session_test/id_test.rb
|
297
|
-
- test/session_test/klass_test.rb
|
298
|
-
- test/session_test/magic_columns_test.rb
|
299
|
-
- test/session_test/magic_states_test.rb
|
300
|
-
- test/session_test/params_test.rb
|
301
|
-
- test/session_test/password_test.rb
|
302
|
-
- test/session_test/perishability_test.rb
|
303
|
-
- test/session_test/persistence_test.rb
|
304
|
-
- test/session_test/scopes_test.rb
|
305
|
-
- test/session_test/session_test.rb
|
306
|
-
- test/session_test/timeout_test.rb
|
307
|
-
- test/session_test/unauthorized_record_test.rb
|
308
|
-
- test/session_test/validation_test.rb
|
309
|
-
- test/test_helper.rb
|
310
|
-
homepage: http://github.com/binarylogic/authlogic
|
344
|
+
homepage: https://github.com/binarylogic/authlogic
|
311
345
|
licenses:
|
312
346
|
- MIT
|
313
347
|
metadata: {}
|
@@ -319,7 +353,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
319
353
|
requirements:
|
320
354
|
- - ">="
|
321
355
|
- !ruby/object:Gem::Version
|
322
|
-
version: 2.
|
356
|
+
version: 2.6.0
|
323
357
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
324
358
|
requirements:
|
325
359
|
- - ">="
|
@@ -329,64 +363,5 @@ requirements: []
|
|
329
363
|
rubygems_version: 3.0.3
|
330
364
|
signing_key:
|
331
365
|
specification_version: 4
|
332
|
-
summary:
|
333
|
-
test_files:
|
334
|
-
- test/acts_as_authentic_test/base_test.rb
|
335
|
-
- test/acts_as_authentic_test/email_test.rb
|
336
|
-
- test/acts_as_authentic_test/logged_in_status_test.rb
|
337
|
-
- test/acts_as_authentic_test/login_test.rb
|
338
|
-
- test/acts_as_authentic_test/magic_columns_test.rb
|
339
|
-
- test/acts_as_authentic_test/password_test.rb
|
340
|
-
- test/acts_as_authentic_test/perishable_token_test.rb
|
341
|
-
- test/acts_as_authentic_test/persistence_token_test.rb
|
342
|
-
- test/acts_as_authentic_test/restful_authentication_test.rb
|
343
|
-
- test/acts_as_authentic_test/session_maintenance_test.rb
|
344
|
-
- test/acts_as_authentic_test/single_access_test.rb
|
345
|
-
- test/adapter_test.rb
|
346
|
-
- test/authenticates_many_test.rb
|
347
|
-
- test/config_test.rb
|
348
|
-
- test/crypto_provider_test/aes256_test.rb
|
349
|
-
- test/crypto_provider_test/bcrypt_test.rb
|
350
|
-
- test/crypto_provider_test/scrypt_test.rb
|
351
|
-
- test/crypto_provider_test/sha1_test.rb
|
352
|
-
- test/crypto_provider_test/sha256_test.rb
|
353
|
-
- test/crypto_provider_test/sha512_test.rb
|
354
|
-
- test/crypto_provider_test/wordpress_test.rb
|
355
|
-
- test/fixtures/companies.yml
|
356
|
-
- test/fixtures/employees.yml
|
357
|
-
- test/fixtures/projects.yml
|
358
|
-
- test/fixtures/users.yml
|
359
|
-
- test/i18n/lol.yml
|
360
|
-
- test/i18n_test.rb
|
361
|
-
- test/libs/affiliate.rb
|
362
|
-
- test/libs/company.rb
|
363
|
-
- test/libs/employee.rb
|
364
|
-
- test/libs/employee_session.rb
|
365
|
-
- test/libs/ldaper.rb
|
366
|
-
- test/libs/project.rb
|
367
|
-
- test/libs/user.rb
|
368
|
-
- test/libs/user_session.rb
|
369
|
-
- test/random_test.rb
|
370
|
-
- test/session_test/activation_test.rb
|
371
|
-
- test/session_test/active_record_trickery_test.rb
|
372
|
-
- test/session_test/brute_force_protection_test.rb
|
373
|
-
- test/session_test/callbacks_test.rb
|
374
|
-
- test/session_test/cookies_test.rb
|
375
|
-
- test/session_test/credentials_test.rb
|
376
|
-
- test/session_test/existence_test.rb
|
377
|
-
- test/session_test/foundation_test.rb
|
378
|
-
- test/session_test/http_auth_test.rb
|
379
|
-
- test/session_test/id_test.rb
|
380
|
-
- test/session_test/klass_test.rb
|
381
|
-
- test/session_test/magic_columns_test.rb
|
382
|
-
- test/session_test/magic_states_test.rb
|
383
|
-
- test/session_test/params_test.rb
|
384
|
-
- test/session_test/password_test.rb
|
385
|
-
- test/session_test/perishability_test.rb
|
386
|
-
- test/session_test/persistence_test.rb
|
387
|
-
- test/session_test/scopes_test.rb
|
388
|
-
- test/session_test/session_test.rb
|
389
|
-
- test/session_test/timeout_test.rb
|
390
|
-
- test/session_test/unauthorized_record_test.rb
|
391
|
-
- test/session_test/validation_test.rb
|
392
|
-
- test/test_helper.rb
|
366
|
+
summary: An unobtrusive ruby authentication library based on ActiveRecord.
|
367
|
+
test_files: []
|
@@ -1,28 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: I want to fix a bug, but need some help
|
3
|
-
about: >
|
4
|
-
If the bug is easy to reproduce, we will help. However, you must fix the bug,
|
5
|
-
in a reasonable amount of time, or your issue will be closed. See
|
6
|
-
CONTRIBUTING.md
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
- [ ] This is not a usage question.
|
11
|
-
- Our volunteers' time is limited, so please ask usage questions on
|
12
|
-
[StackOverflow](http://stackoverflow.com/questions/tagged/authlogic).
|
13
|
-
- [ ] This is not a security issue.
|
14
|
-
- Do not disclose security issues in public. See our [contributing
|
15
|
-
guide](https://github.com/binarylogic/authlogic/blob/master/CONTRIBUTING.md)
|
16
|
-
for instructions.
|
17
|
-
- [ ] This is a reproducible bug, and I am committed to fixing it in
|
18
|
-
a reasonable amount of time.
|
19
|
-
- [ ] If I cannot fix this bug in a reasonable amount of time, I understand
|
20
|
-
this issue will be closed.
|
21
|
-
|
22
|
-
# Expected Behavior
|
23
|
-
|
24
|
-
Describe.
|
25
|
-
|
26
|
-
# Actual Behavior
|
27
|
-
|
28
|
-
Describe.
|
@@ -1,32 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Feature Proposal
|
3
|
-
about: >
|
4
|
-
Propose something that you would like to build. We'll help, but you must build
|
5
|
-
it yourself, in a reasonable amount of time, or your issue will be closed. See
|
6
|
-
CONTRIBUTING.md
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
- [ ] This is not a usage question.
|
11
|
-
- Our volunteers' time is limited, so please ask usage questions on
|
12
|
-
[StackOverflow](http://stackoverflow.com/questions/tagged/authlogic).
|
13
|
-
- [ ] This is not a security issue.
|
14
|
-
- Do not disclose security issues in public. See our [contributing
|
15
|
-
guide](https://github.com/binarylogic/authlogic/blob/master/CONTRIBUTING.md)
|
16
|
-
for instructions.
|
17
|
-
- [ ] I am committed to implementing this feature in a reasonable amount of time.
|
18
|
-
- [ ] If I cannot implement this feature in a reasonable amount of time, I
|
19
|
-
understand this issue will be closed.
|
20
|
-
|
21
|
-
# Current Behavior
|
22
|
-
|
23
|
-
Describe.
|
24
|
-
|
25
|
-
# Proposed Behavior
|
26
|
-
|
27
|
-
Describe.
|
28
|
-
|
29
|
-
# Proposed Solution
|
30
|
-
|
31
|
-
It's OK if you don't have a solution, we can help with that. But, whatever
|
32
|
-
solution we decide on, you must build yourself, in a reasonable amount of time.
|
data/.github/triage.md
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
# Triage
|
2
|
-
|
3
|
-
Common responses to issues.
|
4
|
-
|
5
|
-
## Usage question we were able to answer
|
6
|
-
|
7
|
-
```
|
8
|
-
If that doesn't answer your question, please ask a new question
|
9
|
-
on [stackoverflow][1]. Unfortunatley, we just don't have enough volunteers to
|
10
|
-
handle usage questions on github.
|
11
|
-
|
12
|
-
Also, please check the [reference documentation][2]. You might find something
|
13
|
-
there that's not in the readme.
|
14
|
-
|
15
|
-
Thanks!
|
16
|
-
|
17
|
-
[1]: http://stackoverflow.com/questions/tagged/authlogic
|
18
|
-
[2]: https://github.com/binarylogic/authlogic#1c-reference-documentation
|
19
|
-
```
|
20
|
-
|
21
|
-
## Old issue, generic
|
22
|
-
|
23
|
-
```
|
24
|
-
Hello, I'm going through old authlogic issues and seeing what to do with them.
|
25
|
-
Skimming through this, it's unclear if it's a usage question, a feature
|
26
|
-
suggestion, or a bug report.
|
27
|
-
|
28
|
-
If this is a bug report, and you can still reproduce this issue with a clean
|
29
|
-
install of the latest version of authlogic and rails (currently 3.6.0 and 5.1.4
|
30
|
-
respectively), please create a git repo with a sample app that reproduces the
|
31
|
-
problem, and open a new issue.
|
32
|
-
|
33
|
-
If this is a feature suggestion, it's still relevant, and you are committed to
|
34
|
-
implementing it, please open a new issue and we can discuss your implementation
|
35
|
-
plan.
|
36
|
-
|
37
|
-
If this is a usage question, please ask it on [stackoverflow][1]. Unfortunatley,
|
38
|
-
we just don't have enough volunteers to handle usage questions on github. Also,
|
39
|
-
please check the [reference documentation][2]. You might find something there
|
40
|
-
that's not in the readme.
|
41
|
-
|
42
|
-
Thanks!
|
43
|
-
|
44
|
-
[1]: http://stackoverflow.com/questions/tagged/authlogic
|
45
|
-
[2]: https://github.com/binarylogic/authlogic#1c-reference-documentation
|
46
|
-
```
|
47
|
-
|
48
|
-
## Old issue, usage question / feature suggestion
|
49
|
-
|
50
|
-
```
|
51
|
-
Hello, I'm going through old authlogic issues and seeing what to do with them.
|
52
|
-
This one looks a bit like a usage question and a bit like a feature suggestion.
|
53
|
-
|
54
|
-
If this is a feature suggestion, it's still relevant, and you are committed to
|
55
|
-
implementing it, please open a new issue and we can discuss your implementation
|
56
|
-
plan.
|
57
|
-
|
58
|
-
If this is a usage question, please ask it on [stackoverflow][1]. Unfortunatley,
|
59
|
-
we just don't have enough volunteers to handle usage questions on github. Also,
|
60
|
-
please check the [reference documentation][2]. You might find something there
|
61
|
-
that's not in the readme.
|
62
|
-
|
63
|
-
Thanks!
|
64
|
-
|
65
|
-
[1]: http://stackoverflow.com/questions/tagged/authlogic
|
66
|
-
[2]: https://github.com/binarylogic/authlogic#1c-reference-documentation
|
67
|
-
```
|
68
|
-
|
69
|
-
## Old issue, bug report
|
70
|
-
|
71
|
-
```
|
72
|
-
Hello, I'm going through old authlogic issues and seeing what to do with them.
|
73
|
-
This one looks like a bug report.
|
74
|
-
|
75
|
-
If you can still reproduce this issue with a clean install of the latest version
|
76
|
-
of authlogic and rails, please create a git repo with a sample app that
|
77
|
-
reproduces the problem, and open a new issue.
|
78
|
-
|
79
|
-
If this was more of a usage question than a bug report, please ask your question
|
80
|
-
on [stackoverflow][1]. Unfortunatley, we just don't have enough volunteers to
|
81
|
-
handle usage questions on github.
|
82
|
-
|
83
|
-
Thanks!
|
84
|
-
|
85
|
-
[1]: http://stackoverflow.com/questions/tagged/authlogic
|
86
|
-
```
|