fbrails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/fbrails/version.rb +1 -1
  2. data/lib/fbrails.rb +1 -1
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module Fbrails
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/fbrails.rb CHANGED
@@ -29,7 +29,7 @@ end
29
29
  end
30
30
 
31
31
  def self.token_valid?(token,expires = false)
32
- if expires != false && expires < Time.new
32
+ if expires != false && expires != nil && expires < Time.new
33
33
  return false
34
34
  end
35
35
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: