Empact-authlogic 2.1.4 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.1.5
2
+
3
+ * Avoid deprecated Rails #metaclass method
4
+
1
5
  == 2.1.3
2
6
 
3
7
  * Accepts all valid characters for the local part of an email address
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{Empact-authlogic}
8
- s.version = "2.1.4"
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", "Ben Woosley"]
12
- s.date = %q{2010-04-15}
12
+ s.date = %q{2010-05-30}
13
13
  s.email = %q{bjohnson@binarylogic.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -146,7 +146,7 @@ Gem::Specification.new do |s|
146
146
  s.rdoc_options = ["--charset=UTF-8"]
147
147
  s.require_paths = ["lib"]
148
148
  s.rubyforge_project = %q{authlogic}
149
- s.rubygems_version = %q{1.3.6}
149
+ s.rubygems_version = %q{1.3.7}
150
150
  s.summary = %q{A clean, simple, and unobtrusive ruby authentication solution.}
151
151
  s.test_files = [
152
152
  "test/acts_as_authentic_test/base_test.rb",
@@ -205,7 +205,7 @@ Gem::Specification.new do |s|
205
205
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
206
206
  s.specification_version = 3
207
207
 
208
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
208
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
209
209
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
210
210
  else
211
211
  s.add_dependency(%q<activesupport>, [">= 0"])
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 4
3
2
  :major: 2
4
3
  :build:
5
4
  :minor: 1
5
+ :patch: 5
@@ -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.metaclass.method_defined?(:set_callback)
185
+ if klass.singleton_class.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.metaclass.method_defined?(:set_callback)
69
+ if base.singleton_class.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,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Empact-authlogic
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 1
4
5
  prerelease: false
5
6
  segments:
6
7
  - 2
7
8
  - 1
8
- - 4
9
- version: 2.1.4
9
+ - 5
10
+ version: 2.1.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - Ben Johnson of Binary Logic
@@ -15,16 +16,18 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-04-15 00:00:00 -04:00
19
+ date: 2010-05-30 00:00:00 -04:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: activesupport
23
24
  prerelease: false
24
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
28
  - - ">="
27
29
  - !ruby/object:Gem::Version
30
+ hash: 3
28
31
  segments:
29
32
  - 0
30
33
  version: "0"
@@ -175,23 +178,27 @@ rdoc_options:
175
178
  require_paths:
176
179
  - lib
177
180
  required_ruby_version: !ruby/object:Gem::Requirement
181
+ none: false
178
182
  requirements:
179
183
  - - ">="
180
184
  - !ruby/object:Gem::Version
185
+ hash: 3
181
186
  segments:
182
187
  - 0
183
188
  version: "0"
184
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
+ none: false
185
191
  requirements:
186
192
  - - ">="
187
193
  - !ruby/object:Gem::Version
194
+ hash: 3
188
195
  segments:
189
196
  - 0
190
197
  version: "0"
191
198
  requirements: []
192
199
 
193
200
  rubyforge_project: authlogic
194
- rubygems_version: 1.3.6
201
+ rubygems_version: 1.3.7
195
202
  signing_key:
196
203
  specification_version: 3
197
204
  summary: A clean, simple, and unobtrusive ruby authentication solution.