simple_auth 0.1.0 → 0.1.1

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.
@@ -99,7 +99,7 @@ You may receive strange errors related to `can't dup NilClass` or `You have a ni
99
99
  klass.instance_variables.each { |var| klass.send(:remove_instance_variable, var) }
100
100
  klass.instance_methods(false).each { |m| klass.send :undef_method, m }
101
101
 
102
- Dirty, but it works. Here's the ticket for this issue: [LINK TO LIGHTHOUSE TICKET]
102
+ Dirty, but it works. Here's the ticket for this issue: [Issue #1290](https://rails.lighthouseapp.com/projects/8994/tickets/1290-activerecord-raises-randomly-apparently-a-timezone-issue#ticket-1290-30)
103
103
 
104
104
  To-Do
105
105
  -----
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,9 +1,9 @@
1
1
  module SimpleAuth
2
2
  module ActionController
3
3
  module Implementation
4
- def self.included(klass)
5
- klass.prepend_before_filter :activate_simple_auth
6
- klass.helper_method :current_user, :current_session, :logged_in?
4
+ def self.included(base)
5
+ base.prepend_before_filter :activate_simple_auth
6
+ base.helper_method :current_user, :current_session, :logged_in?
7
7
  end
8
8
  end
9
9
 
@@ -63,6 +63,8 @@ module SimpleAuth
63
63
  end
64
64
 
65
65
  def initialize(options = {})
66
+ options ||= {}
67
+
66
68
  @credential = options[:credential]
67
69
  @password = options[:password]
68
70
  @controller = SimpleAuth::Config.controller
@@ -2,7 +2,7 @@ module SimpleAuth
2
2
  module Version
3
3
  MAJOR = "0"
4
4
  MINOR = "1"
5
- PATCH = "0"
5
+ PATCH = "1"
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{simple_auth}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nando Vieira"]
12
- s.date = %q{2010-01-04}
12
+ s.date = %q{2010-01-23}
13
13
  s.description = %q{When Authlogic & Devise are just too much.
14
14
  }
15
15
  s.email = %q{fnando.vieira@gmail.com}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-04 00:00:00 -02:00
12
+ date: 2010-01-23 00:00:00 -02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15