authlogic 2.1.4 → 2.1.5
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.
- data/VERSION.yml +2 -2
- data/authlogic.gemspec +2 -2
- data/lib/authlogic/acts_as_authentic/password.rb +1 -1
- data/lib/authlogic/session/callbacks.rb +1 -1
- metadata +4 -4
data/VERSION.yml
CHANGED
data/authlogic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{authlogic}
|
8
|
-
s.version = "2.1.
|
8
|
+
s.version = "2.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Johnson of Binary Logic"]
|
12
|
-
s.date = %q{2010-05-
|
12
|
+
s.date = %q{2010-05-26}
|
13
13
|
s.email = %q{bjohnson@binarylogic.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
@@ -182,7 +182,7 @@ module Authlogic
|
|
182
182
|
klass.define_callbacks *METHODS
|
183
183
|
|
184
184
|
# If Rails 3, support the new callback syntax
|
185
|
-
if klass.singleton_class.method_defined?(:set_callback)
|
185
|
+
if klass.send(klass.respond_to?(:singleton_class) ? :singleton_class : :metaclass).method_defined?(:set_callback)
|
186
186
|
METHODS.each do |method|
|
187
187
|
klass.class_eval <<-"end_eval", __FILE__, __LINE__
|
188
188
|
def self.#{method}(*methods, &block)
|
@@ -66,7 +66,7 @@ module Authlogic
|
|
66
66
|
base.define_callbacks *METHODS
|
67
67
|
|
68
68
|
# If Rails 3, support the new callback syntax
|
69
|
-
if base.singleton_class.method_defined?(:set_callback)
|
69
|
+
if base.send(base.respond_to?(:singleton_class) ? :singleton_class : :metaclass).method_defined?(:set_callback)
|
70
70
|
METHODS.each do |method|
|
71
71
|
base.class_eval <<-"end_eval", __FILE__, __LINE__
|
72
72
|
def self.#{method}(*methods, &block)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 5
|
10
|
+
version: 2.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ben Johnson of Binary Logic
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-05-
|
18
|
+
date: 2010-05-26 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|