fbdoorman 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/VERSION +1 -1
  3. data/lib/clearance/user.rb +2 -2
  4. metadata +4 -4
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.0.4"
21
+ gem.version = "0.0.5"
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.0.4
1
+ 0.0.5
@@ -54,8 +54,8 @@ module Clearance
54
54
  validates_uniqueness_of :fbid, :unless => Proc.new { |user| user.fbid.blank? }
55
55
  validates_format_of :email, :with => %r{.+@.+\..+}, :allow_blank => true
56
56
 
57
- validates_presence_of :password, :unless => Proc.new { |user| !user.fbid.blank? } #:unless => :password_optional?
58
- validates_confirmation_of :password, :unless => Proc.new { |user| !user.fbid.blank? }#:unless => :password_optional?
57
+ validates_presence_of :password, :unless => Proc.new { |user| !user.fbid.blank? or :password_optional? }
58
+ validates_confirmation_of :password, :unless => Proc.new { |user| !user.fbid.blank? or :password_optional? }
59
59
  end
60
60
  end
61
61
  end
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Fbdoorman: David Pelaez"
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-08-17 00:00:00 -05:00
20
+ date: 2010-08-20 00:00:00 -05:00
21
21
  default_executable:
22
22
  dependencies: []
23
23