authlogic 3.1.2 → 3.1.3

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.

@@ -0,0 +1,9 @@
1
+ .DS_Store
2
+ .swp
3
+ *.log
4
+ *.sqlite3
5
+ pkg/*
6
+ coverage/*
7
+ doc/*
8
+ benchmarks/*
9
+ .specification
data/Gemfile CHANGED
@@ -1,12 +1,2 @@
1
1
  source :rubygems
2
-
3
- gem 'activesupport', '>= 3.0.7'
4
- gem 'activerecord', '>= 3.0.7'
5
-
6
- group :test do
7
- gem 'bcrypt-ruby'
8
- gem 'jeweler'
9
- gem 'rake'
10
- gem 'debugger'
11
- gem 'sqlite3'
12
- end
2
+ gemspec
@@ -1,40 +1,30 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ authlogic (3.1.2)
5
+ activerecord (>= 3.0.0)
6
+ activesupport (>= 3.0.0)
7
+
1
8
  GEM
2
9
  remote: http://rubygems.org/
3
10
  specs:
4
- activemodel (3.2.5)
5
- activesupport (= 3.2.5)
11
+ activemodel (3.2.6)
12
+ activesupport (= 3.2.6)
6
13
  builder (~> 3.0.0)
7
- activerecord (3.2.5)
8
- activemodel (= 3.2.5)
9
- activesupport (= 3.2.5)
14
+ activerecord (3.2.6)
15
+ activemodel (= 3.2.6)
16
+ activesupport (= 3.2.6)
10
17
  arel (~> 3.0.2)
11
18
  tzinfo (~> 0.3.29)
12
- activesupport (3.2.5)
19
+ activesupport (3.2.6)
13
20
  i18n (~> 0.6)
14
21
  multi_json (~> 1.0)
15
22
  arel (3.0.2)
16
23
  bcrypt-ruby (3.0.1)
17
24
  builder (3.0.0)
18
- columnize (0.3.6)
19
- debugger (1.1.3)
20
- columnize (>= 0.3.1)
21
- debugger-linecache (~> 1.1.1)
22
- debugger-ruby_core_source (~> 1.1.2)
23
- debugger-linecache (1.1.1)
24
- debugger-ruby_core_source (>= 1.1.1)
25
- debugger-ruby_core_source (1.1.3)
26
- git (1.2.5)
27
25
  i18n (0.6.0)
28
- jeweler (1.8.3)
29
- bundler (~> 1.0)
30
- git (>= 1.2.5)
31
- rake
32
- rdoc
33
- json (1.7.3)
34
26
  multi_json (1.3.6)
35
27
  rake (0.9.2.2)
36
- rdoc (3.12)
37
- json (~> 1.4)
38
28
  sqlite3 (1.3.6)
39
29
  tzinfo (0.3.33)
40
30
 
@@ -42,10 +32,7 @@ PLATFORMS
42
32
  ruby
43
33
 
44
34
  DEPENDENCIES
45
- activerecord (>= 3.0.7)
46
- activesupport (>= 3.0.7)
35
+ authlogic!
47
36
  bcrypt-ruby
48
- debugger
49
- jeweler
50
37
  rake
51
38
  sqlite3
data/Rakefile CHANGED
@@ -1,25 +1,8 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
- require 'bundler'
4
3
 
5
4
  Bundler.setup
6
5
 
7
- begin
8
- require 'jeweler'
9
- Jeweler::Tasks.new do |gem|
10
- gem.name = "authlogic"
11
- gem.summary = "A clean, simple, and unobtrusive ruby authentication solution."
12
- gem.email = "bjohnson@binarylogic.com"
13
- gem.homepage = "http://github.com/binarylogic/authlogic"
14
- gem.authors = ["Ben Johnson of Binary Logic"]
15
- gem.add_dependency "activesupport", ">= 3.0.0"
16
- gem.add_dependency "activerecord", ">= 3.0.0"
17
- end
18
- Jeweler::GemcutterTasks.new
19
- rescue LoadError
20
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
21
- end
22
-
23
6
  require 'rake/testtask'
24
7
  Rake::TestTask.new(:test) do |test|
25
8
  test.libs << 'test'
@@ -1,174 +1,24 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
5
3
 
6
4
  Gem::Specification.new do |s|
7
- s.name = "authlogic"
8
- s.version = "3.1.2"
5
+ s.name = "authlogic"
6
+ s.version = "3.1.3"
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ["Ben Johnson"]
9
+ s.email = ["bjohnson@binarylogic.com"]
10
+ s.homepage = "http://github.com/binarylogic/authlogic"
11
+ s.summary = %q{A clean, simple, and unobtrusive ruby authentication solution.}
12
+ s.description = %q{A clean, simple, and unobtrusive ruby authentication solution.}
9
13
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Ben Johnson of Binary Logic"]
12
- s.date = "2012-06-01"
13
- s.email = "bjohnson@binarylogic.com"
14
- s.extra_rdoc_files = [
15
- "LICENSE",
16
- "README.rdoc"
17
- ]
18
- s.files = [
19
- "Gemfile",
20
- "Gemfile.lock",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION.yml",
25
- "authlogic.gemspec",
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"
147
- ]
148
- s.homepage = "http://github.com/binarylogic/authlogic"
149
- s.require_paths = ["lib"]
150
- s.rubygems_version = "1.8.24"
151
- s.summary = "A clean, simple, and unobtrusive ruby authentication solution."
152
-
153
- if s.respond_to? :specification_version then
154
- s.specification_version = 3
155
-
156
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
157
- s.add_runtime_dependency(%q<activesupport>, [">= 3.0.7"])
158
- s.add_runtime_dependency(%q<activerecord>, [">= 3.0.7"])
159
- s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
160
- s.add_runtime_dependency(%q<activerecord>, [">= 3.0.0"])
161
- else
162
- s.add_dependency(%q<activesupport>, [">= 3.0.7"])
163
- s.add_dependency(%q<activerecord>, [">= 3.0.7"])
164
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
165
- s.add_dependency(%q<activerecord>, [">= 3.0.0"])
166
- end
167
- else
168
- s.add_dependency(%q<activesupport>, [">= 3.0.7"])
169
- s.add_dependency(%q<activerecord>, [">= 3.0.7"])
170
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
171
- s.add_dependency(%q<activerecord>, [">= 3.0.0"])
172
- end
173
- end
14
+ s.add_dependency 'activerecord', '>= 3.0.0'
15
+ s.add_dependency 'activesupport', '>= 3.0.0'
16
+ s.add_development_dependency 'rake'
17
+ s.add_development_dependency 'bcrypt-ruby'
18
+ s.add_development_dependency 'sqlite3'
174
19
 
20
+ s.files = `git ls-files`.split("\n")
21
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
+ s.require_paths = ["lib"]
24
+ end
@@ -1,6 +1,5 @@
1
1
  require "test/unit"
2
2
  require "rubygems"
3
- require "ruby-debug"
4
3
  require "active_record"
5
4
  require "active_record/fixtures"
6
5
 
metadata CHANGED
@@ -1,24 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Ben Johnson of Binary Logic
8
+ - Ben Johnson
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-01 00:00:00.000000000 Z
12
+ date: 2012-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: activesupport
15
+ name: activerecord
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 3.0.7
21
+ version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,15 +26,15 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 3.0.7
29
+ version: 3.0.0
30
30
  - !ruby/object:Gem::Dependency
31
- name: activerecord
31
+ name: activesupport
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 3.0.7
37
+ version: 3.0.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,47 +42,63 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 3.0.7
45
+ version: 3.0.0
46
46
  - !ruby/object:Gem::Dependency
47
- name: activesupport
47
+ name: rake
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: 3.0.0
54
- type: :runtime
53
+ version: '0'
54
+ type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.0
61
+ version: '0'
62
62
  - !ruby/object:Gem::Dependency
63
- name: activerecord
63
+ name: bcrypt-ruby
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
67
  - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
- version: 3.0.0
70
- type: :runtime
69
+ version: '0'
70
+ type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
- version: 3.0.0
78
- description:
79
- email: bjohnson@binarylogic.com
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: sqlite3
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ description: A clean, simple, and unobtrusive ruby authentication solution.
95
+ email:
96
+ - bjohnson@binarylogic.com
80
97
  executables: []
81
98
  extensions: []
82
- extra_rdoc_files:
83
- - LICENSE
84
- - README.rdoc
99
+ extra_rdoc_files: []
85
100
  files:
101
+ - .gitignore
86
102
  - Gemfile
87
103
  - Gemfile.lock
88
104
  - LICENSE
@@ -223,9 +239,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
239
  - - ! '>='
224
240
  - !ruby/object:Gem::Version
225
241
  version: '0'
226
- segments:
227
- - 0
228
- hash: -4100786672371014491
229
242
  required_rubygems_version: !ruby/object:Gem::Requirement
230
243
  none: false
231
244
  requirements:
@@ -238,4 +251,58 @@ rubygems_version: 1.8.24
238
251
  signing_key:
239
252
  specification_version: 3
240
253
  summary: A clean, simple, and unobtrusive ruby authentication solution.
241
- test_files: []
254
+ test_files:
255
+ - test/acts_as_authentic_test/base_test.rb
256
+ - test/acts_as_authentic_test/email_test.rb
257
+ - test/acts_as_authentic_test/logged_in_status_test.rb
258
+ - test/acts_as_authentic_test/login_test.rb
259
+ - test/acts_as_authentic_test/magic_columns_test.rb
260
+ - test/acts_as_authentic_test/password_test.rb
261
+ - test/acts_as_authentic_test/perishable_token_test.rb
262
+ - test/acts_as_authentic_test/persistence_token_test.rb
263
+ - test/acts_as_authentic_test/restful_authentication_test.rb
264
+ - test/acts_as_authentic_test/session_maintenance_test.rb
265
+ - test/acts_as_authentic_test/single_access_test.rb
266
+ - test/authenticates_many_test.rb
267
+ - test/crypto_provider_test/aes256_test.rb
268
+ - test/crypto_provider_test/bcrypt_test.rb
269
+ - test/crypto_provider_test/sha1_test.rb
270
+ - test/crypto_provider_test/sha256_test.rb
271
+ - test/crypto_provider_test/sha512_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_test.rb
277
+ - test/libs/affiliate.rb
278
+ - test/libs/company.rb
279
+ - test/libs/employee.rb
280
+ - test/libs/employee_session.rb
281
+ - test/libs/ldaper.rb
282
+ - test/libs/ordered_hash.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/http_auth_test.rb
295
+ - test/session_test/id_test.rb
296
+ - test/session_test/klass_test.rb
297
+ - test/session_test/magic_columns_test.rb
298
+ - test/session_test/magic_states_test.rb
299
+ - test/session_test/params_test.rb
300
+ - test/session_test/password_test.rb
301
+ - test/session_test/perishability_test.rb
302
+ - test/session_test/persistence_test.rb
303
+ - test/session_test/scopes_test.rb
304
+ - test/session_test/session_test.rb
305
+ - test/session_test/timeout_test.rb
306
+ - test/session_test/unauthorized_record_test.rb
307
+ - test/session_test/validation_test.rb
308
+ - test/test_helper.rb