novelys_authlogic 2.1.5 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 1
4
- :patch: 5
4
+ :patch: 6
5
5
  :build:
@@ -274,7 +274,7 @@ module Authlogic
274
274
  # Resets the password to a random friendly token and then saves the record.
275
275
  def reset_password!
276
276
  reset_password
277
- save_without_session_maintenance(false)
277
+ save_without_session_maintenance(:validate => false)
278
278
  end
279
279
  alias_method :randomize_password!, :reset_password!
280
280
 
@@ -91,7 +91,7 @@ module Authlogic
91
91
  # Same as reset_perishable_token, but then saves the record afterwards.
92
92
  def reset_perishable_token!
93
93
  reset_perishable_token
94
- save_without_session_maintenance(false)
94
+ save_without_session_maintenance(:validate => false)
95
95
  end
96
96
 
97
97
  # A convenience method based on the disable_perishable_token_maintenance configuration option.
@@ -53,7 +53,7 @@ module Authlogic
53
53
  # Same as reset_persistence_token, but then saves the record.
54
54
  def reset_persistence_token!
55
55
  reset_persistence_token
56
- save_without_session_maintenance(false)
56
+ save_without_session_maintenance(:validate => false)
57
57
  end
58
58
  alias_method :forget!, :reset_persistence_token!
59
59
 
@@ -92,7 +92,7 @@ module Authlogic
92
92
 
93
93
  def save_record(alternate_record = nil)
94
94
  r = alternate_record || record
95
- r.save_without_session_maintenance(false) if r && r.changed? && !r.readonly?
95
+ r.save_without_session_maintenance(:validate => false) if r && r.changed? && !r.readonly?
96
96
  end
97
97
  end
98
98
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{novelys_authlogic}
8
- s.version = "2.1.5"
8
+ s.version = "2.1.6"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: novelys_authlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson of Binary Logic