authlogic 4.5.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +5 -5
  2. data/lib/authlogic.rb +3 -28
  3. data/lib/authlogic/acts_as_authentic/base.rb +3 -18
  4. data/lib/authlogic/acts_as_authentic/email.rb +3 -170
  5. data/lib/authlogic/acts_as_authentic/logged_in_status.rb +3 -1
  6. data/lib/authlogic/acts_as_authentic/login.rb +7 -174
  7. data/lib/authlogic/acts_as_authentic/magic_columns.rb +7 -4
  8. data/lib/authlogic/acts_as_authentic/password.rb +54 -253
  9. data/lib/authlogic/acts_as_authentic/perishable_token.rb +7 -5
  10. data/lib/authlogic/acts_as_authentic/persistence_token.rb +9 -4
  11. data/lib/authlogic/acts_as_authentic/queries/case_sensitivity.rb +53 -0
  12. data/lib/authlogic/acts_as_authentic/queries/find_with_case.rb +17 -22
  13. data/lib/authlogic/acts_as_authentic/session_maintenance.rb +8 -6
  14. data/lib/authlogic/acts_as_authentic/single_access_token.rb +9 -8
  15. data/lib/authlogic/config.rb +9 -1
  16. data/lib/authlogic/controller_adapters/abstract_adapter.rb +7 -4
  17. data/lib/authlogic/controller_adapters/rack_adapter.rb +2 -0
  18. data/lib/authlogic/controller_adapters/rails_adapter.rb +17 -14
  19. data/lib/authlogic/controller_adapters/sinatra_adapter.rb +6 -0
  20. data/lib/authlogic/crypto_providers.rb +5 -20
  21. data/lib/authlogic/crypto_providers/bcrypt.rb +3 -3
  22. data/lib/authlogic/crypto_providers/md5.rb +3 -6
  23. data/lib/authlogic/crypto_providers/scrypt.rb +2 -0
  24. data/lib/authlogic/crypto_providers/sha1.rb +4 -6
  25. data/lib/authlogic/crypto_providers/sha256.rb +2 -0
  26. data/lib/authlogic/crypto_providers/sha512.rb +6 -5
  27. data/lib/authlogic/i18n.rb +3 -1
  28. data/lib/authlogic/i18n/translator.rb +3 -0
  29. data/lib/authlogic/random.rb +2 -0
  30. data/lib/authlogic/session/base.rb +2089 -39
  31. data/lib/authlogic/session/magic_column/assigns_last_request_at.rb +46 -0
  32. data/lib/authlogic/test_case.rb +4 -0
  33. data/lib/authlogic/test_case/mock_controller.rb +2 -0
  34. data/lib/authlogic/test_case/mock_cookie_jar.rb +7 -35
  35. data/lib/authlogic/test_case/mock_logger.rb +2 -0
  36. data/lib/authlogic/test_case/mock_request.rb +2 -0
  37. data/lib/authlogic/test_case/rails_request_adapter.rb +2 -0
  38. data/lib/authlogic/version.rb +2 -1
  39. metadata +38 -181
  40. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -28
  41. data/.github/ISSUE_TEMPLATE/feature_proposal.md +0 -32
  42. data/.github/triage.md +0 -86
  43. data/.gitignore +0 -15
  44. data/.rubocop.yml +0 -133
  45. data/.rubocop_todo.yml +0 -74
  46. data/.travis.yml +0 -24
  47. data/CHANGELOG.md +0 -348
  48. data/CONTRIBUTING.md +0 -91
  49. data/Gemfile +0 -6
  50. data/LICENSE +0 -20
  51. data/README.md +0 -448
  52. data/Rakefile +0 -21
  53. data/UPGRADING.md +0 -22
  54. data/authlogic.gemspec +0 -40
  55. data/doc/use_normal_rails_validation.md +0 -82
  56. data/gemfiles/Gemfile.rails-4.2.x +0 -6
  57. data/gemfiles/Gemfile.rails-5.1.x +0 -6
  58. data/gemfiles/Gemfile.rails-5.2.x +0 -6
  59. data/lib/authlogic/acts_as_authentic/restful_authentication.rb +0 -106
  60. data/lib/authlogic/acts_as_authentic/validations_scope.rb +0 -35
  61. data/lib/authlogic/authenticates_many/association.rb +0 -50
  62. data/lib/authlogic/authenticates_many/base.rb +0 -81
  63. data/lib/authlogic/crypto_providers/aes256.rb +0 -71
  64. data/lib/authlogic/crypto_providers/wordpress.rb +0 -72
  65. data/lib/authlogic/regex.rb +0 -79
  66. data/lib/authlogic/session/activation.rb +0 -73
  67. data/lib/authlogic/session/active_record_trickery.rb +0 -65
  68. data/lib/authlogic/session/brute_force_protection.rb +0 -127
  69. data/lib/authlogic/session/callbacks.rb +0 -153
  70. data/lib/authlogic/session/cookies.rb +0 -329
  71. data/lib/authlogic/session/existence.rb +0 -103
  72. data/lib/authlogic/session/foundation.rb +0 -105
  73. data/lib/authlogic/session/http_auth.rb +0 -107
  74. data/lib/authlogic/session/id.rb +0 -53
  75. data/lib/authlogic/session/klass.rb +0 -73
  76. data/lib/authlogic/session/magic_columns.rb +0 -119
  77. data/lib/authlogic/session/magic_states.rb +0 -82
  78. data/lib/authlogic/session/params.rb +0 -130
  79. data/lib/authlogic/session/password.rb +0 -318
  80. data/lib/authlogic/session/perishable_token.rb +0 -24
  81. data/lib/authlogic/session/persistence.rb +0 -77
  82. data/lib/authlogic/session/priority_record.rb +0 -38
  83. data/lib/authlogic/session/scopes.rb +0 -138
  84. data/lib/authlogic/session/session.rb +0 -77
  85. data/lib/authlogic/session/timeout.rb +0 -103
  86. data/lib/authlogic/session/unauthorized_record.rb +0 -56
  87. data/lib/authlogic/session/validation.rb +0 -93
  88. data/test/acts_as_authentic_test/base_test.rb +0 -27
  89. data/test/acts_as_authentic_test/email_test.rb +0 -241
  90. data/test/acts_as_authentic_test/logged_in_status_test.rb +0 -64
  91. data/test/acts_as_authentic_test/login_test.rb +0 -153
  92. data/test/acts_as_authentic_test/magic_columns_test.rb +0 -29
  93. data/test/acts_as_authentic_test/password_test.rb +0 -263
  94. data/test/acts_as_authentic_test/perishable_token_test.rb +0 -98
  95. data/test/acts_as_authentic_test/persistence_token_test.rb +0 -62
  96. data/test/acts_as_authentic_test/restful_authentication_test.rb +0 -48
  97. data/test/acts_as_authentic_test/session_maintenance_test.rb +0 -150
  98. data/test/acts_as_authentic_test/single_access_test.rb +0 -46
  99. data/test/adapter_test.rb +0 -23
  100. data/test/authenticates_many_test.rb +0 -33
  101. data/test/config_test.rb +0 -38
  102. data/test/crypto_provider_test/aes256_test.rb +0 -16
  103. data/test/crypto_provider_test/bcrypt_test.rb +0 -16
  104. data/test/crypto_provider_test/scrypt_test.rb +0 -16
  105. data/test/crypto_provider_test/sha1_test.rb +0 -25
  106. data/test/crypto_provider_test/sha256_test.rb +0 -16
  107. data/test/crypto_provider_test/sha512_test.rb +0 -16
  108. data/test/crypto_provider_test/wordpress_test.rb +0 -26
  109. data/test/fixtures/companies.yml +0 -5
  110. data/test/fixtures/employees.yml +0 -17
  111. data/test/fixtures/projects.yml +0 -3
  112. data/test/fixtures/users.yml +0 -41
  113. data/test/i18n/lol.yml +0 -4
  114. data/test/i18n_test.rb +0 -35
  115. data/test/libs/affiliate.rb +0 -9
  116. data/test/libs/company.rb +0 -8
  117. data/test/libs/employee.rb +0 -9
  118. data/test/libs/employee_session.rb +0 -4
  119. data/test/libs/ldaper.rb +0 -5
  120. data/test/libs/project.rb +0 -5
  121. data/test/libs/user.rb +0 -9
  122. data/test/libs/user_session.rb +0 -27
  123. data/test/random_test.rb +0 -15
  124. data/test/session_test/activation_test.rb +0 -45
  125. data/test/session_test/active_record_trickery_test.rb +0 -78
  126. data/test/session_test/brute_force_protection_test.rb +0 -110
  127. data/test/session_test/callbacks_test.rb +0 -42
  128. data/test/session_test/cookies_test.rb +0 -244
  129. data/test/session_test/credentials_test.rb +0 -0
  130. data/test/session_test/existence_test.rb +0 -88
  131. data/test/session_test/foundation_test.rb +0 -24
  132. data/test/session_test/http_auth_test.rb +0 -60
  133. data/test/session_test/id_test.rb +0 -19
  134. data/test/session_test/klass_test.rb +0 -42
  135. data/test/session_test/magic_columns_test.rb +0 -62
  136. data/test/session_test/magic_states_test.rb +0 -60
  137. data/test/session_test/params_test.rb +0 -61
  138. data/test/session_test/password_test.rb +0 -107
  139. data/test/session_test/perishability_test.rb +0 -17
  140. data/test/session_test/persistence_test.rb +0 -35
  141. data/test/session_test/scopes_test.rb +0 -68
  142. data/test/session_test/session_test.rb +0 -80
  143. data/test/session_test/timeout_test.rb +0 -84
  144. data/test/session_test/unauthorized_record_test.rb +0 -15
  145. data/test/session_test/validation_test.rb +0 -25
  146. data/test/test_helper.rb +0 -272
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Authlogic
4
+ module Session
5
+ module MagicColumn
6
+ # Assigns the current time to the `last_request_at` attribute.
7
+ #
8
+ # 1. The `last_request_at` column must exist
9
+ # 2. Assignment can be disabled on a per-controller basis
10
+ # 3. Assignment will not happen more often than `last_request_at_threshold`
11
+ # seconds.
12
+ #
13
+ # - current_time - a `Time`
14
+ # - record - eg. a `User`
15
+ # - controller - an `Authlogic::ControllerAdapters::AbstractAdapter`
16
+ # - last_request_at_threshold - integer - seconds
17
+ #
18
+ # @api private
19
+ class AssignsLastRequestAt
20
+ def initialize(current_time, record, controller, last_request_at_threshold)
21
+ @current_time = current_time
22
+ @record = record
23
+ @controller = controller
24
+ @last_request_at_threshold = last_request_at_threshold
25
+ end
26
+
27
+ def assign
28
+ return unless assign?
29
+ @record.last_request_at = @current_time
30
+ end
31
+
32
+ private
33
+
34
+ # @api private
35
+ def assign?
36
+ @record &&
37
+ @record.class.column_names.include?("last_request_at") &&
38
+ @controller.last_request_update_allowed? && (
39
+ @record.last_request_at.blank? ||
40
+ @last_request_at_threshold.to_i.seconds.ago >= @record.last_request_at
41
+ )
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -1,9 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require File.dirname(__FILE__) + "/test_case/rails_request_adapter"
2
4
  require File.dirname(__FILE__) + "/test_case/mock_cookie_jar"
3
5
  require File.dirname(__FILE__) + "/test_case/mock_controller"
4
6
  require File.dirname(__FILE__) + "/test_case/mock_logger"
5
7
  require File.dirname(__FILE__) + "/test_case/mock_request"
6
8
 
9
+ # :nodoc:
7
10
  module Authlogic
8
11
  # This module is a collection of methods and classes that help you easily test
9
12
  # Authlogic. In fact, I use these same tools to test the internals of
@@ -204,6 +207,7 @@ module Authlogic
204
207
  end
205
208
  end
206
209
 
210
+ # TODO: Why are these lines inside the `Authlogic` module? Should be outside?
207
211
  ::Test::Unit::TestCase.send(:include, TestCase) if defined?(::Test::Unit::TestCase)
208
212
  ::MiniTest::Unit::TestCase.send(:include, TestCase) if defined?(::MiniTest::Unit::TestCase)
209
213
  ::MiniTest::Test.send(:include, TestCase) if defined?(::MiniTest::Test)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Authlogic
2
4
  module TestCase
3
5
  # Basically acts like a controller but doesn't do anything. Authlogic can interact
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Authlogic
2
4
  module TestCase
3
5
  # A mock of `ActionDispatch::Cookies::CookieJar`.
@@ -21,18 +23,18 @@ module Authlogic
21
23
  def signed
22
24
  @signed ||= MockSignedCookieJar.new(self)
23
25
  end
24
-
25
- def encrypted
26
- @encrypted ||= MockEncryptedCookieJar.new(self)
27
- end
28
26
  end
29
27
 
28
+ # A mock of `ActionDispatch::Cookies::SignedKeyRotatingCookieJar`
29
+ #
30
+ # > .. a jar that'll automatically generate a signed representation of
31
+ # > cookie value and verify it when reading from the cookie again.
32
+ # > actionpack/lib/action_dispatch/middleware/cookies.rb
30
33
  class MockSignedCookieJar < MockCookieJar
31
34
  attr_reader :parent_jar # helper for testing
32
35
 
33
36
  def initialize(parent_jar)
34
37
  @parent_jar = parent_jar
35
- parent_jar.each { |k, v| self[k] = v }
36
38
  end
37
39
 
38
40
  def [](val)
@@ -49,35 +51,5 @@ module Authlogic
49
51
  @parent_jar[key] = options
50
52
  end
51
53
  end
52
-
53
- class MockEncryptedCookieJar < MockCookieJar
54
- attr_reader :parent_jar # helper for testing
55
-
56
- def initialize(parent_jar)
57
- @parent_jar = parent_jar
58
- parent_jar.each { |k, v| self[k] = v }
59
- end
60
-
61
- def [](val)
62
- encrypted_message = @parent_jar[val]
63
- if encrypted_message
64
- self.class.decrypt(encrypted_message)
65
- end
66
- end
67
-
68
- def []=(key, options)
69
- options[:value] = self.class.encrypt(options[:value])
70
- @parent_jar[key] = options
71
- end
72
-
73
- # simple caesar cipher for testing
74
- def self.encrypt(str)
75
- str.unpack("U*").map(&:succ).pack("U*")
76
- end
77
-
78
- def self.decrypt(str)
79
- str.unpack("U*").map(&:pred).pack("U*")
80
- end
81
- end
82
54
  end
83
55
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Authlogic
2
4
  module TestCase
3
5
  # Simple class to replace real loggers, so that we can raise any errors being logged.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Authlogic
2
4
  module TestCase
3
5
  class MockRequest # :nodoc:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Authlogic
2
4
  module TestCase
3
5
  # Adapts authlogic to work with the @request object when testing. This way Authlogic
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "rubygems"
4
4
 
5
+ # :nodoc:
5
6
  module Authlogic
6
7
  # Returns a `::Gem::Version`, the version number of the authlogic gem.
7
8
  #
@@ -16,6 +17,6 @@ module Authlogic
16
17
  #
17
18
  # @api public
18
19
  def self.gem_version
19
- ::Gem::Version.new("4.5.0")
20
+ ::Gem::Version.new("5.0.0")
20
21
  end
21
22
  end
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.5.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson
@@ -10,48 +10,68 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-03-24 00:00:00.000000000 Z
13
+ date: 2019-01-04 00:00:00.000000000 Z
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activemodel
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '5.2'
22
+ - - "<"
23
+ - !ruby/object:Gem::Version
24
+ version: '6.1'
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '5.2'
32
+ - - "<"
33
+ - !ruby/object:Gem::Version
34
+ version: '6.1'
15
35
  - !ruby/object:Gem::Dependency
16
36
  name: activerecord
17
37
  requirement: !ruby/object:Gem::Requirement
18
38
  requirements:
19
39
  - - ">="
20
40
  - !ruby/object:Gem::Version
21
- version: '4.2'
41
+ version: '5.2'
22
42
  - - "<"
23
43
  - !ruby/object:Gem::Version
24
- version: '5.3'
44
+ version: '6.1'
25
45
  type: :runtime
26
46
  prerelease: false
27
47
  version_requirements: !ruby/object:Gem::Requirement
28
48
  requirements:
29
49
  - - ">="
30
50
  - !ruby/object:Gem::Version
31
- version: '4.2'
51
+ version: '5.2'
32
52
  - - "<"
33
53
  - !ruby/object:Gem::Version
34
- version: '5.3'
54
+ version: '6.1'
35
55
  - !ruby/object:Gem::Dependency
36
56
  name: activesupport
37
57
  requirement: !ruby/object:Gem::Requirement
38
58
  requirements:
39
59
  - - ">="
40
60
  - !ruby/object:Gem::Version
41
- version: '4.2'
61
+ version: '5.2'
42
62
  - - "<"
43
63
  - !ruby/object:Gem::Version
44
- version: '5.3'
64
+ version: '6.1'
45
65
  type: :runtime
46
66
  prerelease: false
47
67
  version_requirements: !ruby/object:Gem::Requirement
48
68
  requirements:
49
69
  - - ">="
50
70
  - !ruby/object:Gem::Version
51
- version: '4.2'
71
+ version: '5.2'
52
72
  - - "<"
53
73
  - !ruby/object:Gem::Version
54
- version: '5.3'
74
+ version: '6.1'
55
75
  - !ruby/object:Gem::Dependency
56
76
  name: request_store
57
77
  requirement: !ruby/object:Gem::Requirement
@@ -134,14 +154,14 @@ dependencies:
134
154
  requirements:
135
155
  - - "~>"
136
156
  - !ruby/object:Gem::Version
137
- version: 0.58.1
157
+ version: 0.62.0
138
158
  type: :development
139
159
  prerelease: false
140
160
  version_requirements: !ruby/object:Gem::Requirement
141
161
  requirements:
142
162
  - - "~>"
143
163
  - !ruby/object:Gem::Version
144
- version: 0.58.1
164
+ version: 0.62.0
145
165
  - !ruby/object:Gem::Dependency
146
166
  name: timecop
147
167
  requirement: !ruby/object:Gem::Requirement
@@ -165,25 +185,6 @@ executables: []
165
185
  extensions: []
166
186
  extra_rdoc_files: []
167
187
  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
188
  - lib/authlogic.rb
188
189
  - lib/authlogic/acts_as_authentic/base.rb
189
190
  - lib/authlogic/acts_as_authentic/email.rb
@@ -193,54 +194,27 @@ files:
193
194
  - lib/authlogic/acts_as_authentic/password.rb
194
195
  - lib/authlogic/acts_as_authentic/perishable_token.rb
195
196
  - lib/authlogic/acts_as_authentic/persistence_token.rb
197
+ - lib/authlogic/acts_as_authentic/queries/case_sensitivity.rb
196
198
  - lib/authlogic/acts_as_authentic/queries/find_with_case.rb
197
- - lib/authlogic/acts_as_authentic/restful_authentication.rb
198
199
  - lib/authlogic/acts_as_authentic/session_maintenance.rb
199
200
  - 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
201
  - lib/authlogic/config.rb
204
202
  - lib/authlogic/controller_adapters/abstract_adapter.rb
205
203
  - lib/authlogic/controller_adapters/rack_adapter.rb
206
204
  - lib/authlogic/controller_adapters/rails_adapter.rb
207
205
  - lib/authlogic/controller_adapters/sinatra_adapter.rb
208
206
  - lib/authlogic/crypto_providers.rb
209
- - lib/authlogic/crypto_providers/aes256.rb
210
207
  - lib/authlogic/crypto_providers/bcrypt.rb
211
208
  - lib/authlogic/crypto_providers/md5.rb
212
209
  - lib/authlogic/crypto_providers/scrypt.rb
213
210
  - lib/authlogic/crypto_providers/sha1.rb
214
211
  - lib/authlogic/crypto_providers/sha256.rb
215
212
  - lib/authlogic/crypto_providers/sha512.rb
216
- - lib/authlogic/crypto_providers/wordpress.rb
217
213
  - lib/authlogic/i18n.rb
218
214
  - lib/authlogic/i18n/translator.rb
219
215
  - lib/authlogic/random.rb
220
- - lib/authlogic/regex.rb
221
- - lib/authlogic/session/activation.rb
222
- - lib/authlogic/session/active_record_trickery.rb
223
216
  - lib/authlogic/session/base.rb
224
- - lib/authlogic/session/brute_force_protection.rb
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
217
+ - lib/authlogic/session/magic_column/assigns_last_request_at.rb
244
218
  - lib/authlogic/test_case.rb
245
219
  - lib/authlogic/test_case/mock_controller.rb
246
220
  - lib/authlogic/test_case/mock_cookie_jar.rb
@@ -248,65 +222,6 @@ files:
248
222
  - lib/authlogic/test_case/mock_request.rb
249
223
  - lib/authlogic/test_case/rails_request_adapter.rb
250
224
  - lib/authlogic/version.rb
251
- - test/acts_as_authentic_test/base_test.rb
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
225
  homepage: http://github.com/binarylogic/authlogic
311
226
  licenses:
312
227
  - MIT
@@ -326,67 +241,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
241
  - !ruby/object:Gem::Version
327
242
  version: '0'
328
243
  requirements: []
329
- rubygems_version: 3.0.3
244
+ rubyforge_project:
245
+ rubygems_version: 2.5.2.3
330
246
  signing_key:
331
247
  specification_version: 4
332
- summary: A clean, simple, and unobtrusive ruby authentication solution.
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
248
+ summary: An unobtrusive ruby authentication library based on ActiveRecord.
249
+ test_files: []