authlogic 2.1.8 → 2.1.10

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,7 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: 65da0c6f5fd6864251660c5f4a664358b30dc988
4
+ data.tar.gz: 7ea0d41d92635a9c28a1a5ccbd619bb37f562c8c
5
+ SHA512:
6
+ metadata.gz: a1ead9e2f007f5047839b0fd1ac838f468c35d13052764c6a1506a10228003271d45f301684604c922805ad464c33da5e5531d67a806003e8449691de5becef0
7
+ data.tar.gz: aeed0bd6382c40cc168bb481ef9432bbcaa8e882906d2c4dd761da4076ecb9f1b03e2cd2bbb7e964af45a72147cfae04000bb0ea190161b5c84299b415d52b7d
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  .swp
3
3
  *.log
4
4
  *.sqlite3
5
+ *.gem
5
6
  pkg/*
6
7
  coverage/*
7
8
  doc/*
data/Gemfile CHANGED
@@ -1,11 +1,2 @@
1
1
  source :rubygems
2
-
3
- gem 'activesupport', '~> 2.3.0'
4
- gem 'activerecord', '~> 2.3.0'
5
-
6
- group :test do
7
- gem 'bcrypt-ruby'
8
- gem 'rake'
9
- gem 'debugger'
10
- gem 'sqlite3'
11
- end
2
+ gemspec
@@ -1,3 +1,10 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ authlogic (2.1.9)
5
+ activerecord (~> 2.3.0)
6
+ activesupport (~> 2.3.0)
7
+
1
8
  GEM
2
9
  remote: http://rubygems.org/
3
10
  specs:
@@ -5,14 +12,6 @@ GEM
5
12
  activesupport (= 2.3.14)
6
13
  activesupport (2.3.14)
7
14
  bcrypt-ruby (3.0.1)
8
- columnize (0.3.6)
9
- debugger (1.1.3)
10
- columnize (>= 0.3.1)
11
- debugger-linecache (~> 1.1.1)
12
- debugger-ruby_core_source (~> 1.1.2)
13
- debugger-linecache (1.1.1)
14
- debugger-ruby_core_source (>= 1.1.1)
15
- debugger-ruby_core_source (1.1.3)
16
15
  rake (0.9.2.2)
17
16
  sqlite3 (1.3.6)
18
17
 
@@ -20,9 +19,7 @@ PLATFORMS
20
19
  ruby
21
20
 
22
21
  DEPENDENCIES
23
- activerecord (~> 2.3.0)
24
- activesupport (~> 2.3.0)
22
+ authlogic!
25
23
  bcrypt-ruby
26
- debugger
27
24
  rake
28
25
  sqlite3
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "authlogic"
6
- s.version = "2.1.8"
6
+ s.version = "2.1.10"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Ben Johnson"]
9
9
  s.email = ["bjohnson@binarylogic.com"]
@@ -13,9 +13,12 @@ Gem::Specification.new do |s|
13
13
 
14
14
  s.add_dependency 'activerecord', '~> 2.3.0'
15
15
  s.add_dependency 'activesupport', '~> 2.3.0'
16
+ s.add_development_dependency 'rake'
17
+ s.add_development_dependency 'bcrypt-ruby'
18
+ s.add_development_dependency 'sqlite3'
16
19
 
17
20
  s.files = `git ls-files`.split("\n")
18
21
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
22
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
23
  s.require_paths = ["lib"]
21
- end
24
+ end
@@ -48,12 +48,25 @@ module Authlogic
48
48
  end
49
49
  alias_method :session_ids=, :session_ids
50
50
 
51
+ # In some cases, you can use a different namespace for the session class. If you want to use a model
52
+ # to control access in a namespace and edit it in another namespace, you can define the session class
53
+ # namespace here so authlogic knows where to find it without problems.
54
+ #
55
+ # * <tt>Default:</tt> nil
56
+ # * <tt>Accepts:</tt> Strings
57
+ def session_class_namespace(value = nil)
58
+ rw_config(:session_class_namespace, value, nil)
59
+ end
60
+ alias_method :session_class_namespace=, :session_class_namespace
61
+
51
62
  # The name of the associated session class. This is inferred by the name of the model.
52
63
  #
53
64
  # * <tt>Default:</tt> "#{klass.name}Session".constantize
54
65
  # * <tt>Accepts:</tt> Class
55
66
  def session_class(value = nil)
56
- const = "#{base_class.name}Session".constantize rescue nil
67
+ namespace = rw_config(:session_class_namespace, nil)
68
+
69
+ const = ((namespace.nil? ? "" : "#{namespace}::") + "#{base_class.name}Session").constantize rescue nil
57
70
  rw_config(:session_class, value, const)
58
71
  end
59
72
  alias_method :session_class=, :session_class
@@ -136,4 +149,4 @@ module Authlogic
136
149
  end
137
150
  end
138
151
  end
139
- end
152
+ end
@@ -58,4 +58,4 @@ module Authlogic
58
58
  end
59
59
  end
60
60
 
61
- Sinatra::Request.send(:include, Authlogic::ControllerAdapters::SinatraAdapter::Adapter::Implementation)
61
+ Sinatra::Base.send(:include, Authlogic::ControllerAdapters::SinatraAdapter::Adapter::Implementation)
@@ -9,17 +9,18 @@ module Authlogic
9
9
  # by reading this website: http://www.regular-expressions.info/email.html, which is an excellent resource
10
10
  # for regular expressions.
11
11
  def self.email
12
- return @email_regex if @email_regex
13
- email_name_regex = '[A-Z0-9_\.%\+\-]+'
14
- domain_head_regex = '(?:[A-Z0-9\-]+\.)+'
15
- domain_tld_regex = '(?:[A-Z]{2,4}|museum|travel)'
16
- @email_regex = /^#{email_name_regex}@#{domain_head_regex}#{domain_tld_regex}\z/i
12
+ @email_regex ||= begin
13
+ email_name_regex = '[A-Z0-9_\.%\+\-\']+'
14
+ domain_head_regex = '(?:[A-Z0-9\-]+\.)+'
15
+ domain_tld_regex = '(?:[A-Z]{2,4}|museum|travel)'
16
+ /\A#{email_name_regex}@#{domain_head_regex}#{domain_tld_regex}\z/i
17
+ end
17
18
  end
18
19
 
19
20
  # A simple regular expression that only allows for letters, numbers, spaces, and .-_@. Just a standard login / username
20
21
  # regular expression.
21
22
  def self.login
22
- /\A\w[\w\.+\-_@ ]+$/
23
+ /\A\w[\w\.+\-_@ ]+\z/
23
24
  end
24
25
  end
25
- end
26
+ end
@@ -40,7 +40,7 @@ module Authlogic
40
40
 
41
41
  # For rails >= 3.0
42
42
  def model_name
43
- if defined?(::ActiveModel)
43
+ if defined?(::ActiveModel.version)
44
44
  ::ActiveModel::Name.new(self)
45
45
  else
46
46
  ::ActiveSupport::ModelName.new(self.to_s)
@@ -168,7 +168,7 @@ module Authlogic
168
168
  :value => "#{record.persistence_token}::#{record.send(record.class.primary_key)}",
169
169
  :expires => remember_me_until,
170
170
  :secure => secure,
171
- :http_only => httponly,
171
+ :httponly => httponly,
172
172
  :domain => controller.cookie_domain
173
173
  }
174
174
  end
@@ -179,4 +179,4 @@ module Authlogic
179
179
  end
180
180
  end
181
181
  end
182
- end
182
+ end
@@ -13,8 +13,8 @@ module Authlogic
13
13
  # errors.add(:base, "You must be awesome to log in") unless attempted_record.awesome?
14
14
  # end
15
15
  # end
16
- class Errors < (defined?(::ActiveModel) ? ::ActiveModel::Errors : ::ActiveRecord::Errors)
17
- unless defined?(::ActiveModel)
16
+ class Errors < (defined?(::ActiveModel.version) ? ::ActiveModel::Errors : ::ActiveRecord::Errors)
17
+ unless defined?(::ActiveModel.version)
18
18
  def [](key)
19
19
  value = super
20
20
  value.is_a?(Array) ? value : [value].compact
@@ -5,101 +5,101 @@ module ActsAsAuthenticTest
5
5
  def test_login_field_config
6
6
  assert_equal :login, User.login_field
7
7
  assert_nil Employee.login_field
8
-
8
+
9
9
  User.login_field = :nope
10
10
  assert_equal :nope, User.login_field
11
11
  User.login_field :login
12
12
  assert_equal :login, User.login_field
13
13
  end
14
-
14
+
15
15
  def test_validate_login_field_config
16
16
  assert User.validate_login_field
17
17
  assert Employee.validate_login_field
18
-
18
+
19
19
  User.validate_login_field = false
20
20
  assert !User.validate_login_field
21
21
  User.validate_login_field true
22
22
  assert User.validate_login_field
23
23
  end
24
-
24
+
25
25
  def test_validates_length_of_login_field_options_config
26
26
  assert_equal({:within => 3..100}, User.validates_length_of_login_field_options)
27
27
  assert_equal({:within => 3..100}, Employee.validates_length_of_login_field_options)
28
-
28
+
29
29
  User.validates_length_of_login_field_options = {:yes => "no"}
30
30
  assert_equal({:yes => "no"}, User.validates_length_of_login_field_options)
31
31
  User.validates_length_of_login_field_options({:within => 3..100})
32
32
  assert_equal({:within => 3..100}, User.validates_length_of_login_field_options)
33
33
  end
34
-
34
+
35
35
  def test_validates_format_of_login_field_options_config
36
- default = {:with => /\A\w[\w\.+\-_@ ]+$/, :message => I18n.t('error_messages.login_invalid', :default => "should use only letters, numbers, spaces, and .-_@ please.")}
36
+ default = {:with => /\A\w[\w\.+\-_@ ]+\z/, :message => I18n.t('error_messages.login_invalid', :default => "should use only letters, numbers, spaces, and .-_@ please.")}
37
37
  assert_equal default, User.validates_format_of_login_field_options
38
38
  assert_equal default, Employee.validates_format_of_login_field_options
39
-
39
+
40
40
  User.validates_format_of_login_field_options = {:yes => "no"}
41
41
  assert_equal({:yes => "no"}, User.validates_format_of_login_field_options)
42
42
  User.validates_format_of_login_field_options default
43
43
  assert_equal default, User.validates_format_of_login_field_options
44
44
  end
45
-
45
+
46
46
  def test_validates_uniqueness_of_login_field_options_config
47
47
  default = {:case_sensitive => false, :scope => User.validations_scope, :if => "#{User.login_field}_changed?".to_sym}
48
48
  assert_equal default, User.validates_uniqueness_of_login_field_options
49
-
49
+
50
50
  User.validates_uniqueness_of_login_field_options = {:yes => "no"}
51
51
  assert_equal({:yes => "no"}, User.validates_uniqueness_of_login_field_options)
52
52
  User.validates_uniqueness_of_login_field_options default
53
53
  assert_equal default, User.validates_uniqueness_of_login_field_options
54
54
  end
55
-
55
+
56
56
  def test_validates_length_of_login_field
57
57
  u = User.new
58
58
  u.login = "a"
59
59
  assert !u.valid?
60
60
  assert u.errors[:login].size > 0
61
-
61
+
62
62
  u.login = "aaaaaaaaaa"
63
63
  assert !u.valid?
64
64
  assert u.errors[:login].size == 0
65
65
  end
66
-
66
+
67
67
  def test_validates_format_of_login_field
68
68
  u = User.new
69
69
  u.login = "fdsf@^&*"
70
70
  assert !u.valid?
71
71
  assert u.errors[:login].size > 0
72
-
72
+
73
73
  u.login = "fdsfdsfdsfdsfs"
74
74
  assert !u.valid?
75
75
  assert u.errors[:login].size == 0
76
-
76
+
77
77
  u.login = "dakota.dux+1@gmail.com"
78
78
  assert !u.valid?
79
79
  assert u.errors[:login].size == 0
80
80
  end
81
-
81
+
82
82
  def test_validates_uniqueness_of_login_field
83
83
  u = User.new
84
84
  u.login = "bjohnson"
85
85
  assert !u.valid?
86
86
  assert u.errors[:login].size > 0
87
-
87
+
88
88
  u.login = "BJOHNSON"
89
89
  assert !u.valid?
90
90
  assert u.errors[:login].size > 0
91
-
91
+
92
92
  u.login = "fdsfdsf"
93
93
  assert !u.valid?
94
94
  assert u.errors[:login].size == 0
95
95
  end
96
-
96
+
97
97
  def test_find_by_smart_case_login_field
98
98
  ben = users(:ben)
99
99
  assert_equal ben, User.find_by_smart_case_login_field("bjohnson")
100
100
  assert_equal ben, User.find_by_smart_case_login_field("BJOHNSON")
101
101
  assert_equal ben, User.find_by_smart_case_login_field("Bjohnson")
102
-
102
+
103
103
  drew = employees(:drew)
104
104
  assert_equal drew, Employee.find_by_smart_case_login_field("dgainor@binarylogic.com")
105
105
  assert_equal drew, Employee.find_by_smart_case_login_field("Dgainor@binarylogic.com")
@@ -6,35 +6,35 @@ module SessionTest
6
6
  def test_cookie_key
7
7
  UserSession.cookie_key = "my_cookie_key"
8
8
  assert_equal "my_cookie_key", UserSession.cookie_key
9
-
9
+
10
10
  UserSession.cookie_key "user_credentials"
11
11
  assert_equal "user_credentials", UserSession.cookie_key
12
12
  end
13
-
13
+
14
14
  def test_default_cookie_key
15
15
  assert_equal "user_credentials", UserSession.cookie_key
16
16
  assert_equal "back_office_user_credentials", BackOfficeUserSession.cookie_key
17
17
  end
18
-
18
+
19
19
  def test_remember_me
20
20
  UserSession.remember_me = true
21
21
  assert_equal true, UserSession.remember_me
22
22
  session = UserSession.new
23
23
  assert_equal true, session.remember_me
24
-
24
+
25
25
  UserSession.remember_me false
26
26
  assert_equal false, UserSession.remember_me
27
27
  session = UserSession.new
28
28
  assert_equal false, session.remember_me
29
29
  end
30
-
30
+
31
31
  def test_remember_me_for
32
32
  UserSession.remember_me_for = 3.years
33
33
  assert_equal 3.years, UserSession.remember_me_for
34
34
  session = UserSession.new
35
35
  session.remember_me = true
36
36
  assert_equal 3.years, session.remember_me_for
37
-
37
+
38
38
  UserSession.remember_me_for 3.months
39
39
  assert_equal 3.months, UserSession.remember_me_for
40
40
  session = UserSession.new
@@ -42,48 +42,48 @@ module SessionTest
42
42
  assert_equal 3.months, session.remember_me_for
43
43
  end
44
44
  end
45
-
45
+
46
46
  class InstanceMethodsTest < ActiveSupport::TestCase
47
47
  def test_credentials
48
48
  session = UserSession.new
49
49
  session.credentials = {:remember_me => true}
50
50
  assert_equal true, session.remember_me
51
51
  end
52
-
52
+
53
53
  def test_remember_me
54
54
  session = UserSession.new
55
55
  assert_equal false, session.remember_me
56
56
  assert !session.remember_me?
57
-
57
+
58
58
  session.remember_me = false
59
59
  assert_equal false, session.remember_me
60
60
  assert !session.remember_me?
61
-
61
+
62
62
  session.remember_me = true
63
63
  assert_equal true, session.remember_me
64
64
  assert session.remember_me?
65
-
65
+
66
66
  session.remember_me = nil
67
67
  assert_nil session.remember_me
68
68
  assert !session.remember_me?
69
-
69
+
70
70
  session.remember_me = "1"
71
71
  assert_equal "1", session.remember_me
72
72
  assert session.remember_me?
73
-
73
+
74
74
  session.remember_me = "true"
75
75
  assert_equal "true", session.remember_me
76
76
  assert session.remember_me?
77
77
  end
78
-
78
+
79
79
  def test_remember_me_until
80
80
  session = UserSession.new
81
81
  assert_nil session.remember_me_until
82
-
82
+
83
83
  session.remember_me = true
84
84
  assert 3.months.from_now <= session.remember_me_until
85
85
  end
86
-
86
+
87
87
  def test_persist_persist_by_cookie
88
88
  ben = users(:ben)
89
89
  assert !UserSession.find
@@ -91,14 +91,16 @@ module SessionTest
91
91
  assert session = UserSession.find
92
92
  assert_equal ben, session.record
93
93
  end
94
-
94
+
95
95
  def test_after_save_save_cookie
96
96
  ben = users(:ben)
97
97
  session = UserSession.new(ben)
98
98
  assert session.save
99
+ debugger
99
100
  assert_equal "#{ben.persistence_token}::#{ben.id}", controller.cookies["user_credentials"]
101
+ assert_equal nil, controller.cookies["httponly"]
100
102
  end
101
-
103
+
102
104
  def test_after_destroy_destroy_cookie
103
105
  ben = users(:ben)
104
106
  set_cookie_for(ben)
@@ -109,4 +111,4 @@ module SessionTest
109
111
  end
110
112
  end
111
113
  end
112
- end
114
+ end
@@ -1,12 +1,11 @@
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
 
7
6
  # A temporary fix to bring active record errors up to speed with rails edge.
8
7
  # I need to remove this once the new gem is released. This is only here so my tests pass.
9
- unless defined?(::ActiveModel)
8
+ unless defined?(::ActiveModel.version)
10
9
  class ActiveRecord::Errors
11
10
  def [](key)
12
11
  value = on(key)
@@ -27,25 +26,25 @@ end
27
26
  ActiveRecord::Base.configurations = true
28
27
  ActiveRecord::Schema.define(:version => 1) do
29
28
  create_table :companies do |t|
30
- t.datetime :created_at
29
+ t.datetime :created_at
31
30
  t.datetime :updated_at
32
31
  t.string :name
33
32
  t.boolean :active
34
33
  end
35
34
 
36
35
  create_table :projects do |t|
37
- t.datetime :created_at
36
+ t.datetime :created_at
38
37
  t.datetime :updated_at
39
38
  t.string :name
40
39
  end
41
-
40
+
42
41
  create_table :projects_users, :id => false do |t|
43
42
  t.integer :project_id
44
43
  t.integer :user_id
45
44
  end
46
-
45
+
47
46
  create_table :users do |t|
48
- t.datetime :created_at
47
+ t.datetime :created_at
49
48
  t.datetime :updated_at
50
49
  t.integer :lock_version, :default => 0
51
50
  t.integer :company_id
@@ -69,9 +68,9 @@ ActiveRecord::Schema.define(:version => 1) do
69
68
  t.boolean :approved, :default => true
70
69
  t.boolean :confirmed, :default => true
71
70
  end
72
-
71
+
73
72
  create_table :employees do |t|
74
- t.datetime :created_at
73
+ t.datetime :created_at
75
74
  t.datetime :updated_at
76
75
  t.integer :company_id
77
76
  t.string :email
@@ -87,9 +86,9 @@ ActiveRecord::Schema.define(:version => 1) do
87
86
  t.string :current_login_ip
88
87
  t.string :last_login_ip
89
88
  end
90
-
89
+
91
90
  create_table :affiliates do |t|
92
- t.datetime :created_at
91
+ t.datetime :created_at
93
92
  t.datetime :updated_at
94
93
  t.integer :company_id
95
94
  t.string :username
@@ -97,9 +96,9 @@ ActiveRecord::Schema.define(:version => 1) do
97
96
  t.string :pw_salt
98
97
  t.string :persistence_token
99
98
  end
100
-
99
+
101
100
  create_table :ldapers do |t|
102
- t.datetime :created_at
101
+ t.datetime :created_at
103
102
  t.datetime :updated_at
104
103
  t.string :ldap_login
105
104
  t.string :persistence_token
@@ -127,7 +126,7 @@ class ActiveSupport::TestCase
127
126
  self.pre_loaded_fixtures = false
128
127
  fixtures :all
129
128
  setup :activate_authlogic
130
-
129
+
131
130
  private
132
131
  def password_for(user)
133
132
  case user
@@ -137,7 +136,7 @@ class ActiveSupport::TestCase
137
136
  "zackrocks"
138
137
  end
139
138
  end
140
-
139
+
141
140
  def http_basic_auth_for(user = nil, &block)
142
141
  unless user.blank?
143
142
  controller.http_user = user.login
@@ -146,36 +145,36 @@ class ActiveSupport::TestCase
146
145
  yield
147
146
  controller.http_user = controller.http_password = nil
148
147
  end
149
-
148
+
150
149
  def set_cookie_for(user, id = nil)
151
150
  controller.cookies["user_credentials"] = {:value => user.persistence_token, :expires => nil}
152
151
  end
153
-
152
+
154
153
  def unset_cookie
155
154
  controller.cookies["user_credentials"] = nil
156
155
  end
157
-
156
+
158
157
  def set_params_for(user, id = nil)
159
158
  controller.params["user_credentials"] = user.single_access_token
160
159
  end
161
-
160
+
162
161
  def unset_params
163
162
  controller.params["user_credentials"] = nil
164
163
  end
165
-
164
+
166
165
  def set_request_content_type(type)
167
166
  controller.request_content_type = type
168
167
  end
169
-
168
+
170
169
  def unset_request_content_type
171
170
  controller.request_content_type = nil
172
171
  end
173
-
172
+
174
173
  def set_session_for(user, id = nil)
175
174
  controller.session["user_credentials"] = user.persistence_token
176
175
  controller.session["user_credentials_id"] = user.id
177
176
  end
178
-
177
+
179
178
  def unset_session
180
179
  controller.session["user_credentials"] = controller.session["user_credentials_id"] = nil
181
180
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.8
5
- prerelease:
4
+ version: 2.1.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ben Johnson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-06-01 00:00:00.000000000 Z
11
+ date: 2015-03-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activerecord
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: activesupport
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,11 +34,52 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
45
40
  version: 2.3.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bcrypt-ruby
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
46
83
  description: A clean, simple, and unobtrusive ruby authentication solution.
47
84
  email:
48
85
  - bjohnson@binarylogic.com
@@ -179,27 +216,26 @@ files:
179
216
  - test/test_helper.rb
180
217
  homepage: http://github.com/binarylogic/authlogic
181
218
  licenses: []
219
+ metadata: {}
182
220
  post_install_message:
183
221
  rdoc_options: []
184
222
  require_paths:
185
223
  - lib
186
224
  required_ruby_version: !ruby/object:Gem::Requirement
187
- none: false
188
225
  requirements:
189
226
  - - ! '>='
190
227
  - !ruby/object:Gem::Version
191
228
  version: '0'
192
229
  required_rubygems_version: !ruby/object:Gem::Requirement
193
- none: false
194
230
  requirements:
195
231
  - - ! '>='
196
232
  - !ruby/object:Gem::Version
197
233
  version: '0'
198
234
  requirements: []
199
235
  rubyforge_project:
200
- rubygems_version: 1.8.24
236
+ rubygems_version: 2.2.2
201
237
  signing_key:
202
- specification_version: 3
238
+ specification_version: 4
203
239
  summary: A clean, simple, and unobtrusive ruby authentication solution.
204
240
  test_files:
205
241
  - test/acts_as_authentic_test/base_test.rb