Empact-authlogic 2.1.5 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/Empact-authlogic.gemspec +190 -187
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +49 -0
  4. data/LICENSE +1 -1
  5. data/README.rdoc +14 -10
  6. data/Rakefile +5 -5
  7. data/VERSION.yml +3 -3
  8. data/lib/authlogic/acts_as_authentic/base.rb +14 -12
  9. data/lib/authlogic/acts_as_authentic/email.rb +12 -12
  10. data/lib/authlogic/acts_as_authentic/logged_in_status.rb +8 -9
  11. data/lib/authlogic/acts_as_authentic/login.rb +19 -18
  12. data/lib/authlogic/acts_as_authentic/password.rb +3 -3
  13. data/lib/authlogic/acts_as_authentic/perishable_token.rb +15 -15
  14. data/lib/authlogic/acts_as_authentic/persistence_token.rb +1 -1
  15. data/lib/authlogic/authenticates_many/base.rb +3 -4
  16. data/lib/authlogic/controller_adapters/rails_adapter.rb +1 -1
  17. data/lib/authlogic/random.rb +1 -1
  18. data/lib/authlogic/session/active_record_trickery.rb +8 -0
  19. data/lib/authlogic/session/callbacks.rb +2 -2
  20. data/lib/authlogic/session/cookies.rb +54 -2
  21. data/lib/authlogic/session/foundation.rb +17 -3
  22. data/lib/authlogic/session/http_auth.rb +43 -2
  23. data/lib/authlogic/session/scopes.rb +9 -9
  24. data/lib/authlogic/test_case/mock_controller.rb +12 -2
  25. data/lib/generators/authlogic/USAGE +8 -0
  26. data/lib/generators/authlogic/session_generator.rb +14 -0
  27. data/lib/generators/authlogic/templates/session.rb +2 -0
  28. data/test/acts_as_authentic_test/base_test.rb +1 -1
  29. data/test/acts_as_authentic_test/email_test.rb +29 -21
  30. data/test/acts_as_authentic_test/logged_in_status_test.rb +1 -1
  31. data/test/acts_as_authentic_test/login_test.rb +1 -1
  32. data/test/acts_as_authentic_test/magic_columns_test.rb +1 -1
  33. data/test/acts_as_authentic_test/password_test.rb +1 -1
  34. data/test/acts_as_authentic_test/perishable_token_test.rb +1 -1
  35. data/test/acts_as_authentic_test/persistence_token_test.rb +1 -1
  36. data/test/acts_as_authentic_test/restful_authentication_test.rb +1 -1
  37. data/test/acts_as_authentic_test/session_maintenance_test.rb +1 -1
  38. data/test/acts_as_authentic_test/single_access_test.rb +1 -1
  39. data/test/authenticates_many_test.rb +1 -1
  40. data/test/crypto_provider_test/aes256_test.rb +1 -1
  41. data/test/crypto_provider_test/bcrypt_test.rb +1 -1
  42. data/test/crypto_provider_test/sha1_test.rb +1 -1
  43. data/test/crypto_provider_test/sha256_test.rb +1 -1
  44. data/test/crypto_provider_test/sha512_test.rb +1 -1
  45. data/test/i18n_test.rb +1 -1
  46. data/test/random_test.rb +1 -8
  47. data/test/session_test/activation_test.rb +1 -1
  48. data/test/session_test/active_record_trickery_test.rb +12 -2
  49. data/test/session_test/brute_force_protection_test.rb +1 -1
  50. data/test/session_test/callbacks_test.rb +1 -1
  51. data/test/session_test/cookies_test.rb +26 -2
  52. data/test/session_test/existence_test.rb +1 -1
  53. data/test/session_test/http_auth_test.rb +31 -3
  54. data/test/session_test/id_test.rb +1 -1
  55. data/test/session_test/klass_test.rb +1 -1
  56. data/test/session_test/magic_columns_test.rb +1 -1
  57. data/test/session_test/magic_states_test.rb +1 -1
  58. data/test/session_test/params_test.rb +1 -1
  59. data/test/session_test/password_test.rb +1 -1
  60. data/test/session_test/perishability_test.rb +1 -1
  61. data/test/session_test/persistence_test.rb +1 -1
  62. data/test/session_test/scopes_test.rb +12 -12
  63. data/test/session_test/session_test.rb +1 -1
  64. data/test/session_test/timeout_test.rb +1 -1
  65. data/test/session_test/unauthorized_record_test.rb +1 -1
  66. data/test/session_test/validation_test.rb +1 -1
  67. data/test/test_helper.rb +27 -41
  68. metadata +50 -55
  69. data/.gitignore +0 -9
  70. data/CHANGELOG.rdoc +0 -353
@@ -1,217 +1,220 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{Empact-authlogic}
8
- s.version = "2.1.5"
8
+ s.version = "3.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Ben Johnson of Binary Logic", "Ben Woosley"]
12
- s.date = %q{2010-05-30}
11
+ s.authors = [%q{Ben Johnson of Binary Logic}, %q{Ben Woosley}]
12
+ s.date = %q{2011-08-14}
13
13
  s.email = %q{bjohnson@binarylogic.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
16
- "README.rdoc"
16
+ "README.rdoc"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- "CHANGELOG.rdoc",
21
- "Empact-authlogic.gemspec",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION.yml",
26
- "generators/session/session_generator.rb",
27
- "generators/session/templates/session.rb",
28
- "init.rb",
29
- "lib/authlogic.rb",
30
- "lib/authlogic/acts_as_authentic/base.rb",
31
- "lib/authlogic/acts_as_authentic/email.rb",
32
- "lib/authlogic/acts_as_authentic/logged_in_status.rb",
33
- "lib/authlogic/acts_as_authentic/login.rb",
34
- "lib/authlogic/acts_as_authentic/magic_columns.rb",
35
- "lib/authlogic/acts_as_authentic/password.rb",
36
- "lib/authlogic/acts_as_authentic/perishable_token.rb",
37
- "lib/authlogic/acts_as_authentic/persistence_token.rb",
38
- "lib/authlogic/acts_as_authentic/restful_authentication.rb",
39
- "lib/authlogic/acts_as_authentic/session_maintenance.rb",
40
- "lib/authlogic/acts_as_authentic/single_access_token.rb",
41
- "lib/authlogic/acts_as_authentic/validations_scope.rb",
42
- "lib/authlogic/authenticates_many/association.rb",
43
- "lib/authlogic/authenticates_many/base.rb",
44
- "lib/authlogic/controller_adapters/abstract_adapter.rb",
45
- "lib/authlogic/controller_adapters/merb_adapter.rb",
46
- "lib/authlogic/controller_adapters/rails_adapter.rb",
47
- "lib/authlogic/controller_adapters/sinatra_adapter.rb",
48
- "lib/authlogic/crypto_providers/aes256.rb",
49
- "lib/authlogic/crypto_providers/bcrypt.rb",
50
- "lib/authlogic/crypto_providers/md5.rb",
51
- "lib/authlogic/crypto_providers/sha1.rb",
52
- "lib/authlogic/crypto_providers/sha256.rb",
53
- "lib/authlogic/crypto_providers/sha512.rb",
54
- "lib/authlogic/crypto_providers/wordpress.rb",
55
- "lib/authlogic/i18n.rb",
56
- "lib/authlogic/i18n/translator.rb",
57
- "lib/authlogic/random.rb",
58
- "lib/authlogic/regex.rb",
59
- "lib/authlogic/session/activation.rb",
60
- "lib/authlogic/session/active_record_trickery.rb",
61
- "lib/authlogic/session/base.rb",
62
- "lib/authlogic/session/brute_force_protection.rb",
63
- "lib/authlogic/session/callbacks.rb",
64
- "lib/authlogic/session/cookies.rb",
65
- "lib/authlogic/session/existence.rb",
66
- "lib/authlogic/session/foundation.rb",
67
- "lib/authlogic/session/http_auth.rb",
68
- "lib/authlogic/session/id.rb",
69
- "lib/authlogic/session/klass.rb",
70
- "lib/authlogic/session/magic_columns.rb",
71
- "lib/authlogic/session/magic_states.rb",
72
- "lib/authlogic/session/params.rb",
73
- "lib/authlogic/session/password.rb",
74
- "lib/authlogic/session/perishable_token.rb",
75
- "lib/authlogic/session/persistence.rb",
76
- "lib/authlogic/session/priority_record.rb",
77
- "lib/authlogic/session/scopes.rb",
78
- "lib/authlogic/session/session.rb",
79
- "lib/authlogic/session/timeout.rb",
80
- "lib/authlogic/session/unauthorized_record.rb",
81
- "lib/authlogic/session/validation.rb",
82
- "lib/authlogic/test_case.rb",
83
- "lib/authlogic/test_case/mock_controller.rb",
84
- "lib/authlogic/test_case/mock_cookie_jar.rb",
85
- "lib/authlogic/test_case/mock_logger.rb",
86
- "lib/authlogic/test_case/mock_request.rb",
87
- "lib/authlogic/test_case/rails_request_adapter.rb",
88
- "rails/init.rb",
89
- "shoulda_macros/authlogic.rb",
90
- "test/acts_as_authentic_test/base_test.rb",
91
- "test/acts_as_authentic_test/email_test.rb",
92
- "test/acts_as_authentic_test/logged_in_status_test.rb",
93
- "test/acts_as_authentic_test/login_test.rb",
94
- "test/acts_as_authentic_test/magic_columns_test.rb",
95
- "test/acts_as_authentic_test/password_test.rb",
96
- "test/acts_as_authentic_test/perishable_token_test.rb",
97
- "test/acts_as_authentic_test/persistence_token_test.rb",
98
- "test/acts_as_authentic_test/restful_authentication_test.rb",
99
- "test/acts_as_authentic_test/session_maintenance_test.rb",
100
- "test/acts_as_authentic_test/single_access_test.rb",
101
- "test/authenticates_many_test.rb",
102
- "test/crypto_provider_test/aes256_test.rb",
103
- "test/crypto_provider_test/bcrypt_test.rb",
104
- "test/crypto_provider_test/sha1_test.rb",
105
- "test/crypto_provider_test/sha256_test.rb",
106
- "test/crypto_provider_test/sha512_test.rb",
107
- "test/fixtures/companies.yml",
108
- "test/fixtures/employees.yml",
109
- "test/fixtures/projects.yml",
110
- "test/fixtures/users.yml",
111
- "test/i18n_test.rb",
112
- "test/libs/affiliate.rb",
113
- "test/libs/company.rb",
114
- "test/libs/employee.rb",
115
- "test/libs/employee_session.rb",
116
- "test/libs/ldaper.rb",
117
- "test/libs/ordered_hash.rb",
118
- "test/libs/project.rb",
119
- "test/libs/user.rb",
120
- "test/libs/user_session.rb",
121
- "test/random_test.rb",
122
- "test/session_test/activation_test.rb",
123
- "test/session_test/active_record_trickery_test.rb",
124
- "test/session_test/brute_force_protection_test.rb",
125
- "test/session_test/callbacks_test.rb",
126
- "test/session_test/cookies_test.rb",
127
- "test/session_test/credentials_test.rb",
128
- "test/session_test/existence_test.rb",
129
- "test/session_test/http_auth_test.rb",
130
- "test/session_test/id_test.rb",
131
- "test/session_test/klass_test.rb",
132
- "test/session_test/magic_columns_test.rb",
133
- "test/session_test/magic_states_test.rb",
134
- "test/session_test/params_test.rb",
135
- "test/session_test/password_test.rb",
136
- "test/session_test/perishability_test.rb",
137
- "test/session_test/persistence_test.rb",
138
- "test/session_test/scopes_test.rb",
139
- "test/session_test/session_test.rb",
140
- "test/session_test/timeout_test.rb",
141
- "test/session_test/unauthorized_record_test.rb",
142
- "test/session_test/validation_test.rb",
143
- "test/test_helper.rb"
19
+ "Empact-authlogic.gemspec",
20
+ "Gemfile",
21
+ "Gemfile.lock",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION.yml",
26
+ "generators/session/session_generator.rb",
27
+ "generators/session/templates/session.rb",
28
+ "init.rb",
29
+ "lib/authlogic.rb",
30
+ "lib/authlogic/acts_as_authentic/base.rb",
31
+ "lib/authlogic/acts_as_authentic/email.rb",
32
+ "lib/authlogic/acts_as_authentic/logged_in_status.rb",
33
+ "lib/authlogic/acts_as_authentic/login.rb",
34
+ "lib/authlogic/acts_as_authentic/magic_columns.rb",
35
+ "lib/authlogic/acts_as_authentic/password.rb",
36
+ "lib/authlogic/acts_as_authentic/perishable_token.rb",
37
+ "lib/authlogic/acts_as_authentic/persistence_token.rb",
38
+ "lib/authlogic/acts_as_authentic/restful_authentication.rb",
39
+ "lib/authlogic/acts_as_authentic/session_maintenance.rb",
40
+ "lib/authlogic/acts_as_authentic/single_access_token.rb",
41
+ "lib/authlogic/acts_as_authentic/validations_scope.rb",
42
+ "lib/authlogic/authenticates_many/association.rb",
43
+ "lib/authlogic/authenticates_many/base.rb",
44
+ "lib/authlogic/controller_adapters/abstract_adapter.rb",
45
+ "lib/authlogic/controller_adapters/merb_adapter.rb",
46
+ "lib/authlogic/controller_adapters/rails_adapter.rb",
47
+ "lib/authlogic/controller_adapters/sinatra_adapter.rb",
48
+ "lib/authlogic/crypto_providers/aes256.rb",
49
+ "lib/authlogic/crypto_providers/bcrypt.rb",
50
+ "lib/authlogic/crypto_providers/md5.rb",
51
+ "lib/authlogic/crypto_providers/sha1.rb",
52
+ "lib/authlogic/crypto_providers/sha256.rb",
53
+ "lib/authlogic/crypto_providers/sha512.rb",
54
+ "lib/authlogic/crypto_providers/wordpress.rb",
55
+ "lib/authlogic/i18n.rb",
56
+ "lib/authlogic/i18n/translator.rb",
57
+ "lib/authlogic/random.rb",
58
+ "lib/authlogic/regex.rb",
59
+ "lib/authlogic/session/activation.rb",
60
+ "lib/authlogic/session/active_record_trickery.rb",
61
+ "lib/authlogic/session/base.rb",
62
+ "lib/authlogic/session/brute_force_protection.rb",
63
+ "lib/authlogic/session/callbacks.rb",
64
+ "lib/authlogic/session/cookies.rb",
65
+ "lib/authlogic/session/existence.rb",
66
+ "lib/authlogic/session/foundation.rb",
67
+ "lib/authlogic/session/http_auth.rb",
68
+ "lib/authlogic/session/id.rb",
69
+ "lib/authlogic/session/klass.rb",
70
+ "lib/authlogic/session/magic_columns.rb",
71
+ "lib/authlogic/session/magic_states.rb",
72
+ "lib/authlogic/session/params.rb",
73
+ "lib/authlogic/session/password.rb",
74
+ "lib/authlogic/session/perishable_token.rb",
75
+ "lib/authlogic/session/persistence.rb",
76
+ "lib/authlogic/session/priority_record.rb",
77
+ "lib/authlogic/session/scopes.rb",
78
+ "lib/authlogic/session/session.rb",
79
+ "lib/authlogic/session/timeout.rb",
80
+ "lib/authlogic/session/unauthorized_record.rb",
81
+ "lib/authlogic/session/validation.rb",
82
+ "lib/authlogic/test_case.rb",
83
+ "lib/authlogic/test_case/mock_controller.rb",
84
+ "lib/authlogic/test_case/mock_cookie_jar.rb",
85
+ "lib/authlogic/test_case/mock_logger.rb",
86
+ "lib/authlogic/test_case/mock_request.rb",
87
+ "lib/authlogic/test_case/rails_request_adapter.rb",
88
+ "lib/generators/authlogic/USAGE",
89
+ "lib/generators/authlogic/session_generator.rb",
90
+ "lib/generators/authlogic/templates/session.rb",
91
+ "rails/init.rb",
92
+ "shoulda_macros/authlogic.rb",
93
+ "test/acts_as_authentic_test/base_test.rb",
94
+ "test/acts_as_authentic_test/email_test.rb",
95
+ "test/acts_as_authentic_test/logged_in_status_test.rb",
96
+ "test/acts_as_authentic_test/login_test.rb",
97
+ "test/acts_as_authentic_test/magic_columns_test.rb",
98
+ "test/acts_as_authentic_test/password_test.rb",
99
+ "test/acts_as_authentic_test/perishable_token_test.rb",
100
+ "test/acts_as_authentic_test/persistence_token_test.rb",
101
+ "test/acts_as_authentic_test/restful_authentication_test.rb",
102
+ "test/acts_as_authentic_test/session_maintenance_test.rb",
103
+ "test/acts_as_authentic_test/single_access_test.rb",
104
+ "test/authenticates_many_test.rb",
105
+ "test/crypto_provider_test/aes256_test.rb",
106
+ "test/crypto_provider_test/bcrypt_test.rb",
107
+ "test/crypto_provider_test/sha1_test.rb",
108
+ "test/crypto_provider_test/sha256_test.rb",
109
+ "test/crypto_provider_test/sha512_test.rb",
110
+ "test/fixtures/companies.yml",
111
+ "test/fixtures/employees.yml",
112
+ "test/fixtures/projects.yml",
113
+ "test/fixtures/users.yml",
114
+ "test/i18n_test.rb",
115
+ "test/libs/affiliate.rb",
116
+ "test/libs/company.rb",
117
+ "test/libs/employee.rb",
118
+ "test/libs/employee_session.rb",
119
+ "test/libs/ldaper.rb",
120
+ "test/libs/ordered_hash.rb",
121
+ "test/libs/project.rb",
122
+ "test/libs/user.rb",
123
+ "test/libs/user_session.rb",
124
+ "test/random_test.rb",
125
+ "test/session_test/activation_test.rb",
126
+ "test/session_test/active_record_trickery_test.rb",
127
+ "test/session_test/brute_force_protection_test.rb",
128
+ "test/session_test/callbacks_test.rb",
129
+ "test/session_test/cookies_test.rb",
130
+ "test/session_test/credentials_test.rb",
131
+ "test/session_test/existence_test.rb",
132
+ "test/session_test/http_auth_test.rb",
133
+ "test/session_test/id_test.rb",
134
+ "test/session_test/klass_test.rb",
135
+ "test/session_test/magic_columns_test.rb",
136
+ "test/session_test/magic_states_test.rb",
137
+ "test/session_test/params_test.rb",
138
+ "test/session_test/password_test.rb",
139
+ "test/session_test/perishability_test.rb",
140
+ "test/session_test/persistence_test.rb",
141
+ "test/session_test/scopes_test.rb",
142
+ "test/session_test/session_test.rb",
143
+ "test/session_test/timeout_test.rb",
144
+ "test/session_test/unauthorized_record_test.rb",
145
+ "test/session_test/validation_test.rb",
146
+ "test/test_helper.rb"
144
147
  ]
145
148
  s.homepage = %q{http://github.com/binarylogic/authlogic}
146
- s.rdoc_options = ["--charset=UTF-8"]
147
- s.require_paths = ["lib"]
148
- s.rubyforge_project = %q{authlogic}
149
- s.rubygems_version = %q{1.3.7}
149
+ s.require_paths = [%q{lib}]
150
+ s.rubygems_version = %q{1.8.5}
150
151
  s.summary = %q{A clean, simple, and unobtrusive ruby authentication solution.}
151
152
  s.test_files = [
152
153
  "test/acts_as_authentic_test/base_test.rb",
153
- "test/acts_as_authentic_test/email_test.rb",
154
- "test/acts_as_authentic_test/logged_in_status_test.rb",
155
- "test/acts_as_authentic_test/login_test.rb",
156
- "test/acts_as_authentic_test/magic_columns_test.rb",
157
- "test/acts_as_authentic_test/password_test.rb",
158
- "test/acts_as_authentic_test/perishable_token_test.rb",
159
- "test/acts_as_authentic_test/persistence_token_test.rb",
160
- "test/acts_as_authentic_test/restful_authentication_test.rb",
161
- "test/acts_as_authentic_test/session_maintenance_test.rb",
162
- "test/acts_as_authentic_test/single_access_test.rb",
163
- "test/authenticates_many_test.rb",
164
- "test/crypto_provider_test/aes256_test.rb",
165
- "test/crypto_provider_test/bcrypt_test.rb",
166
- "test/crypto_provider_test/sha1_test.rb",
167
- "test/crypto_provider_test/sha256_test.rb",
168
- "test/crypto_provider_test/sha512_test.rb",
169
- "test/i18n_test.rb",
170
- "test/libs/affiliate.rb",
171
- "test/libs/company.rb",
172
- "test/libs/employee.rb",
173
- "test/libs/employee_session.rb",
174
- "test/libs/ldaper.rb",
175
- "test/libs/ordered_hash.rb",
176
- "test/libs/project.rb",
177
- "test/libs/user.rb",
178
- "test/libs/user_session.rb",
179
- "test/random_test.rb",
180
- "test/session_test/activation_test.rb",
181
- "test/session_test/active_record_trickery_test.rb",
182
- "test/session_test/brute_force_protection_test.rb",
183
- "test/session_test/callbacks_test.rb",
184
- "test/session_test/cookies_test.rb",
185
- "test/session_test/credentials_test.rb",
186
- "test/session_test/existence_test.rb",
187
- "test/session_test/http_auth_test.rb",
188
- "test/session_test/id_test.rb",
189
- "test/session_test/klass_test.rb",
190
- "test/session_test/magic_columns_test.rb",
191
- "test/session_test/magic_states_test.rb",
192
- "test/session_test/params_test.rb",
193
- "test/session_test/password_test.rb",
194
- "test/session_test/perishability_test.rb",
195
- "test/session_test/persistence_test.rb",
196
- "test/session_test/scopes_test.rb",
197
- "test/session_test/session_test.rb",
198
- "test/session_test/timeout_test.rb",
199
- "test/session_test/unauthorized_record_test.rb",
200
- "test/session_test/validation_test.rb",
201
- "test/test_helper.rb"
154
+ "test/acts_as_authentic_test/email_test.rb",
155
+ "test/acts_as_authentic_test/logged_in_status_test.rb",
156
+ "test/acts_as_authentic_test/login_test.rb",
157
+ "test/acts_as_authentic_test/magic_columns_test.rb",
158
+ "test/acts_as_authentic_test/password_test.rb",
159
+ "test/acts_as_authentic_test/perishable_token_test.rb",
160
+ "test/acts_as_authentic_test/persistence_token_test.rb",
161
+ "test/acts_as_authentic_test/restful_authentication_test.rb",
162
+ "test/acts_as_authentic_test/session_maintenance_test.rb",
163
+ "test/acts_as_authentic_test/single_access_test.rb",
164
+ "test/authenticates_many_test.rb",
165
+ "test/crypto_provider_test/aes256_test.rb",
166
+ "test/crypto_provider_test/bcrypt_test.rb",
167
+ "test/crypto_provider_test/sha1_test.rb",
168
+ "test/crypto_provider_test/sha256_test.rb",
169
+ "test/crypto_provider_test/sha512_test.rb",
170
+ "test/i18n_test.rb",
171
+ "test/libs/affiliate.rb",
172
+ "test/libs/company.rb",
173
+ "test/libs/employee.rb",
174
+ "test/libs/employee_session.rb",
175
+ "test/libs/ldaper.rb",
176
+ "test/libs/ordered_hash.rb",
177
+ "test/libs/project.rb",
178
+ "test/libs/user.rb",
179
+ "test/libs/user_session.rb",
180
+ "test/random_test.rb",
181
+ "test/session_test/activation_test.rb",
182
+ "test/session_test/active_record_trickery_test.rb",
183
+ "test/session_test/brute_force_protection_test.rb",
184
+ "test/session_test/callbacks_test.rb",
185
+ "test/session_test/cookies_test.rb",
186
+ "test/session_test/credentials_test.rb",
187
+ "test/session_test/existence_test.rb",
188
+ "test/session_test/http_auth_test.rb",
189
+ "test/session_test/id_test.rb",
190
+ "test/session_test/klass_test.rb",
191
+ "test/session_test/magic_columns_test.rb",
192
+ "test/session_test/magic_states_test.rb",
193
+ "test/session_test/params_test.rb",
194
+ "test/session_test/password_test.rb",
195
+ "test/session_test/perishability_test.rb",
196
+ "test/session_test/persistence_test.rb",
197
+ "test/session_test/scopes_test.rb",
198
+ "test/session_test/session_test.rb",
199
+ "test/session_test/timeout_test.rb",
200
+ "test/session_test/unauthorized_record_test.rb",
201
+ "test/session_test/validation_test.rb",
202
+ "test/test_helper.rb"
202
203
  ]
203
204
 
204
205
  if s.respond_to? :specification_version then
205
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
206
206
  s.specification_version = 3
207
207
 
208
208
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
209
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
209
+ s.add_runtime_dependency(%q<activerecord>, [">= 3.0.7"])
210
+ s.add_runtime_dependency(%q<activerecord>, [">= 3.0.7"])
210
211
  else
211
- s.add_dependency(%q<activesupport>, [">= 0"])
212
+ s.add_dependency(%q<activerecord>, [">= 3.0.7"])
213
+ s.add_dependency(%q<activerecord>, [">= 3.0.7"])
212
214
  end
213
215
  else
214
- s.add_dependency(%q<activesupport>, [">= 0"])
216
+ s.add_dependency(%q<activerecord>, [">= 3.0.7"])
217
+ s.add_dependency(%q<activerecord>, [">= 3.0.7"])
215
218
  end
216
219
  end
217
220
 
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source :rubygems
2
+
3
+ gem 'activerecord', '>= 3.0.7'
4
+
5
+ group :test do
6
+ gem 'bcrypt-ruby'
7
+ gem 'jeweler'
8
+ gem 'ruby-debug19'
9
+ gem 'sqlite3'
10
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,49 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.7)
5
+ activesupport (= 3.0.7)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.5.0)
8
+ activerecord (3.0.7)
9
+ activemodel (= 3.0.7)
10
+ activesupport (= 3.0.7)
11
+ arel (~> 2.0.2)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.7)
14
+ archive-tar-minitar (0.5.2)
15
+ arel (2.0.9)
16
+ bcrypt-ruby (2.1.4)
17
+ builder (2.1.2)
18
+ columnize (0.3.2)
19
+ git (1.2.5)
20
+ i18n (0.5.0)
21
+ jeweler (1.5.2)
22
+ bundler (~> 1.0.0)
23
+ git (>= 1.2.5)
24
+ rake
25
+ linecache19 (0.5.12)
26
+ ruby_core_source (>= 0.1.4)
27
+ rake (0.8.7)
28
+ ruby-debug-base19 (0.11.25)
29
+ columnize (>= 0.3.1)
30
+ linecache19 (>= 0.5.11)
31
+ ruby_core_source (>= 0.1.4)
32
+ ruby-debug19 (0.11.6)
33
+ columnize (>= 0.3.1)
34
+ linecache19 (>= 0.5.11)
35
+ ruby-debug-base19 (>= 0.11.19)
36
+ ruby_core_source (0.1.5)
37
+ archive-tar-minitar (>= 0.5.2)
38
+ sqlite3 (1.3.3)
39
+ tzinfo (0.3.27)
40
+
41
+ PLATFORMS
42
+ ruby
43
+
44
+ DEPENDENCIES
45
+ activerecord (>= 3.0.7)
46
+ bcrypt-ruby
47
+ jeweler
48
+ ruby-debug19
49
+ sqlite3