fbdoorman 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
18
18
  gem.summary = "Rails authentication with facebook single sign-on OR email & password."
19
19
  gem.description = "Painless user registration and sign-in using Facebook single sign-on with JS. Typical email login still works too."
20
20
  gem.email = "pelaez89@gmail.com"
21
- gem.version = "0.7.3"
21
+ gem.version = "0.7.4"
22
22
  gem.homepage = "http://github.com/davidpelaez/minifb-clearance"
23
23
  gem.authors = ["Fbdoorman: David Pelaez","MiniFB: Appoxy","Clearance: Thoughtbot"]
24
24
  gem.files = FileList["[A-Z]*", "{app,config,generators,lib,shoulda_macros,rails}/**/*"]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.3
1
+ 0.7.4
@@ -2,7 +2,7 @@ class ClearanceMailer < ActionMailer::Base
2
2
 
3
3
  def change_password(user)
4
4
  from Clearance.configuration.mailer_sender
5
- recipients user.email
5
+ recipients user.email || user.email2
6
6
  subject I18n.t(:change_password,
7
7
  :scope => [:clearance, :models, :clearance_mailer],
8
8
  :default => "Change your password")
@@ -186,7 +186,7 @@ module Clearance
186
186
  end
187
187
 
188
188
  def send_confirmation_email
189
- ClearanceMailer.deliver_confirmation
189
+ ClearanceMailer.deliver_confirmation self
190
190
  end
191
191
  end
192
192
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbdoorman
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 3
10
- version: 0.7.3
9
+ - 4
10
+ version: 0.7.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Fbdoorman: David Pelaez"